/* PRIME SOL - Estilos Personalizados (Além do Tailwind) */

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gradientes e Fundos */
.bg-gradient-navy {
    background: linear-gradient(135deg, #071A33 0%, #173C6E 100%);
}
.text-gradient-gold {
    background: linear-gradient(to right, #C89B3C, #F4D068);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Divisor Dourado (Fio de Luz) */
.gold-divider {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, #C89B3C, transparent);
    margin: 20px auto;
}

.gold-divider-left {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, #C89B3C, transparent);
    margin: 20px 0;
}

/* Moldura e Overlay do Hero */
.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(11, 36, 71, 0.4), transparent);
    z-index: 1;
}
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent 40%, #C89B3C 50%, transparent 60%);
    z-index: -1;
    animation: border-shimmer 3s infinite linear;
}

/* Hover dos Cards (Elevação Premium) */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 36, 71, 0.08);
}

/* Acordeão FAQ */
.faq-answer {
    display: none;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-header.active .faq-icon {
    transform: rotate(180deg);
}
.faq-header.active {
    color: #2E5FA3;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: pulse-wa 2.5s infinite;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #0B2447;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: #2E5FA3;
}

/* Botões com Efeito Shimmer (Brilho Dourado) */
.btn-gold-shimmer {
    position: relative;
    overflow: hidden;
    background-color: #0B2447;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.btn-gold-shimmer:hover {
    background-color: #071A33;
    border-color: #C89B3C;
    box-shadow: 0 5px 15px rgba(200, 155, 60, 0.2);
}
.btn-gold-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}
.btn-gold-shimmer:hover::after {
    animation: shimmer 1.5s infinite;
}

/* Header Sticky Transition */
#header {
    transition: all 0.4s ease;
}
#header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Keyframes */
@keyframes border-shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); opacity: 1; }
    100% { transform: translateX(100%) rotate(45deg); opacity: 0; }
}

/* Placeholder Pattern */
.bg-pattern {
    background-image: radial-gradient(#2E5FA3 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: #F4F8FD;
}

/* Form Highlight */
.form-highlight {
    animation: form-glow 1.5s ease-out;
    border: 2px solid #C89B3C !important;
}

@keyframes form-glow {
    0% { box-shadow: 0 0 0 0 rgba(200, 155, 60, 0.8); }
    50% { box-shadow: 0 0 0 25px rgba(200, 155, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 155, 60, 0); }
}
