/* Substituindo fundo preto (bg-ink) por gradiente dourado mais escuro e profissional */
.bg-ink {
    background: linear-gradient(135deg, #5A4509 0%, #7A5C0E 50%, #8B6914 100%) !important;
}

.bg-ink\/90 {
    background: linear-gradient(135deg, rgba(90, 69, 9, 0.95) 0%, rgba(122, 92, 14, 0.95) 50%, rgba(139, 105, 20, 0.95) 100%) !important;
}

.bg-ink\/85 {
    background: linear-gradient(135deg, rgba(90, 69, 9, 0.90) 0%, rgba(122, 92, 14, 0.90) 50%, rgba(139, 105, 20, 0.90) 100%) !important;
}

.bg-ink\/75 {
    background: linear-gradient(135deg, rgba(90, 69, 9, 0.80) 0%, rgba(122, 92, 14, 0.80) 50%, rgba(139, 105, 20, 0.80) 100%) !important;
}

.bg-ink\/60 {
    background: linear-gradient(135deg, rgba(90, 69, 9, 0.65) 0%, rgba(122, 92, 14, 0.65) 50%, rgba(139, 105, 20, 0.65) 100%) !important;
}

/* Ajustando cores de texto para garantir contraste no novo fundo dourado escuro */
.bg-ink, .bg-ink\/90, .bg-ink\/85, .bg-ink\/75, .bg-ink\/60 {
    color: #ffffff !important;
}

.bg-ink .text-white,
.bg-ink\/90 .text-white,
.bg-ink\/85 .text-white,
.bg-ink\/75 .text-white,
.bg-ink\/60 .text-white {
    color: #ffffff !important;
}

.bg-ink .text-sun,
.bg-ink\/90 .text-sun,
.bg-ink\/85 .text-sun,
.bg-ink\/75 .text-sun,
.bg-ink\/60 .text-sun {
    color: #FFD700 !important;
}

/* Removendo negrito dos botões verdes */
.bg-gradient-to-r.from-course-start.via-course-mid.to-course-end {
    font-weight: 600 !important;
}

.bg-gradient-to-r.from-course-start.via-course-mid.to-course-end .font-extrabold {
    font-weight: 600 !important;
}

/* Removendo completamente o badge do Repaint */
.repaint-badge,
#__repaint_badge,
a[href*="repaint.com"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#__repaint_badge_style {
    display: none !important;
}

/* Estilizando os cards de cursos com sombras atraentes */
#formacoes article {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    margin-bottom: 24px !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 8px 40px rgba(139, 105, 20, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(218, 165, 32, 0.2) !important;
}

#formacoes article:hover {
    transform: translateY(-4px) !important;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 12px 50px rgba(139, 105, 20, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Menu fixo com backdrop blur e sombra */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15) !important;
    border-bottom: none !important;
}

/* Ajuste para compensar o menu fixo */
body {
    padding-top: 80px !important;
}

/* Container da barra de busca no menu */
.header-search-container {
    display: none;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 16px;
    max-width: 320px;
    flex: 1;
}

.header-search-container.show {
    display: flex !important;
}

.header-search-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.header-search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 217, 77, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 217, 77, 0.15);
}

.header-search-wrapper svg {
    color: rgba(255, 255, 255, 0.7);
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.header-search-input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 0.875rem !important;
    width: 100% !important;
    padding: 0 !important;
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Mostrar busca após rolar 300px */
@media (min-width: 768px) {
    .header-search-container {
        display: flex;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .header-search-container.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 767px) {
    .header-search-container {
        display: none !important;
    }
}

/* Diminuindo o tamanho da fonte do título principal */
h1.font-display {
    font-size: clamp(2rem, 4.5vw, 4rem) !important;
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3), 0 8px 30px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    
    50% {
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    
    100% {
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Tooltip do WhatsApp */
.whatsapp-float::before {
    content: "Fale conosco";
    position: absolute;
    right: 70px;
    background-color: #2b2730;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: var(--font-sans);
    font-weight: 600;
}

.whatsapp-float:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    .whatsapp-float::before {
        display: none;
    }
}

/* Fotos da Dra. Priscila mais vívidas e com efeito pulsar */
/* REMOVIDO - Mantendo fotos originais */

/* Container das imagens com efeito hover */
/* REMOVIDO - Mantendo fotos originais */

/* Ícones mais vívidos e com efeito pulsar */
svg {
    transition: all 0.3s ease !important;
}

/* Ícones com cores vívidas */
.text-rose svg,
svg.text-rose {
    filter: brightness(1.2) saturate(1.3) drop-shadow(0 0 8px rgba(255, 79, 139, 0.4)) !important;
}

.text-sun svg,
svg.text-sun {
    filter: brightness(1.2) saturate(1.3) drop-shadow(0 0 8px rgba(255, 217, 77, 0.4)) !important;
}

.text-course-end svg,
svg.text-course-end {
    filter: brightness(1.2) saturate(1.3) drop-shadow(0 0 8px rgba(27, 199, 121, 0.4)) !important;
}

/* Efeito pulsar ao passar o mouse nos ícones */
svg:hover,
.lucide:hover {
    animation: pulse-icon 0.6s ease-in-out !important;
    filter: brightness(1.4) saturate(1.5) !important;
    transform: scale(1.15) !important;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1.15);
    }
    50% {
        transform: scale(1.25);
    }
}

/* Ícones nos botões */
a svg,
button svg {
    transition: all 0.3s ease !important;
}

a:hover svg,
button:hover svg {
    animation: pulse-icon 0.6s ease-in-out !important;
    filter: brightness(1.3) !important;
}

/* Ícones de check nos cursos */
.lucide-check {
    filter: brightness(1.3) saturate(1.4) drop-shadow(0 2px 6px rgba(27, 199, 121, 0.5)) !important;
}

.lucide-check:hover {
    filter: brightness(1.5) saturate(1.6) drop-shadow(0 3px 10px rgba(27, 199, 121, 0.7)) !important;
}

/* Ícones decorativos (sparkles) */
.lucide-sparkles {
    filter: brightness(1.4) saturate(1.5) drop-shadow(0 0 10px rgba(255, 79, 139, 0.6)) !important;
    animation: sparkle-glow 2s ease-in-out infinite !important;
}

@keyframes sparkle-glow {
    0%, 100% {
        filter: brightness(1.4) saturate(1.5) drop-shadow(0 0 10px rgba(255, 79, 139, 0.6));
    }
    50% {
        filter: brightness(1.6) saturate(1.7) drop-shadow(0 0 15px rgba(255, 79, 139, 0.8));
    }
}

/* Ícone de busca */
.lucide-search {
    filter: brightness(1.3) saturate(1.4) drop-shadow(0 2px 6px rgba(255, 79, 139, 0.4)) !important;
}

/* Ícones de setas */
.lucide-arrow-up-right,
.lucide-chevron-down {
    filter: brightness(1.2) saturate(1.3) !important;
}

/* Melhorar contraste das fotos nos containers escuros */
/* REMOVIDO - Mantendo fotos originais */

/* Botões verdes com gradiente escuro-claro e efeito pulsar */
.bg-gradient-to-r.from-course-start.via-course-mid.to-course-end,
a.bg-gradient-to-r.from-course-start,
button.bg-gradient-to-r.from-course-start {
    background: linear-gradient(135deg, #0d7a3f 0%, #1bc779 50%, #31e88f 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 24px rgba(27, 199, 121, 0.35), 0 4px 12px rgba(13, 122, 63, 0.25) !important;
    transition: all 0.4s ease !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-to-r.from-course-start.via-course-mid.to-course-end::before,
a.bg-gradient-to-r.from-course-start::before,
button.bg-gradient-to-r.from-course-start::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.bg-gradient-to-r.from-course-start.via-course-mid.to-course-end:hover,
a.bg-gradient-to-r.from-course-start:hover,
button.bg-gradient-to-r.from-course-start:hover {
    background: linear-gradient(135deg, #0a5e30 0%, #17a562 50%, #28d67d 100%) !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 12px 36px rgba(27, 199, 121, 0.5), 0 6px 18px rgba(13, 122, 63, 0.35) !important;
    animation: pulse-button 0.8s ease-in-out !important;
}

.bg-gradient-to-r.from-course-start.via-course-mid.to-course-end:hover::before,
a.bg-gradient-to-r.from-course-start:hover::before,
button.bg-gradient-to-r.from-course-start:hover::before {
    left: 100%;
}

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

/* Garantir que o texto dos botões seja branco e visível */
.bg-gradient-to-r.from-course-start.via-course-mid.to-course-end *,
a.bg-gradient-to-r.from-course-start *,
button.bg-gradient-to-r.from-course-start * {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* Destaque cinematográfico para Mentoria Global Skin */
#premium {
    position: relative;
    overflow: hidden;
}

#premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 217, 77, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 79, 139, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, rgba(139, 105, 20, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

#premium > * {
    position: relative;
    z-index: 2;
}

#premium {
    box-shadow: 
        inset 0 2px 40px rgba(255, 217, 77, 0.15),
        inset 0 -2px 40px rgba(255, 79, 139, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.2) !important;
    border-top: 2px solid rgba(255, 217, 77, 0.3) !important;
    border-bottom: 2px solid rgba(255, 79, 139, 0.25) !important;
}

/* Destaque cinematográfico para "Qual formação combina com seu momento?" */
section.bg-linen:has(h2:contains("Qual formação combina")),
section.bg-paper:has(h2:contains("Qual formação combina")) {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #fbf8f3 0%, #fffdf9 100%) !important;
}

/* Usando selector mais específico para o bloco após Mentoria */
#premium + section,
section:has(h2) + section.bg-paper,
section.bg-paper {
    position: relative;
}

section.bg-paper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 217, 77, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: float-glow 8s ease-in-out infinite;
}

section.bg-paper::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 79, 139, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(30px, 30px) scale(1.1);
        opacity: 0.8;
    }
}

/* Bordas decorativas nos blocos especiais */
#premium .mx-auto,
section.bg-paper .mx-auto {
    position: relative;
    z-index: 2;
}
