/* ===========================================
   1º FÓRUM NACIONAL DE ENGENHARIA HOSPITALAR
   Custom CSS - FNEH 2025
   Author: POINT Comunicação e Marketing
=========================================== */

/* ===========================================
   GLOBAL STYLES
=========================================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: "Open Sans", sans-serif !important;
}

/* ===========================================
   LOGO CARDS
=========================================== */
.logo-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 135, 197, 0.15);
}

.logo-card img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.logo-card:hover img {
    filter: grayscale(0%);
}

/* ===========================================
   LOGO CARDS SEM FUNDO (para seções de apoio)
=========================================== */
#apoio .logo-card,
#apoio-institucional .logo-card,
section[id*="patrocinios"] .logo-card {
    background: transparent;
    border-radius: 0;
    padding: 15px;
    height: auto;
    min-height: 240px;
    box-shadow: none;
    border: none;
}

#apoio .logo-card:hover,
#apoio-institucional .logo-card:hover,
section[id*="patrocinios"] .logo-card:hover {
    transform: scale(1.05);
    box-shadow: none;
    background: transparent;
}

#apoio .logo-card img,
#apoio-institucional .logo-card img,
section[id*="patrocinios"] .logo-card img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

#apoio .logo-card:hover img,
#apoio-institucional .logo-card:hover img,
section[id*="patrocinios"] .logo-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1.1);
}

/* Centralização dos títulos das cotas */
.col-lg-6 h4 {
    text-align: center !important;
    display: block;
    width: 100%;
}

@media (max-width: 767px) {
    .col-lg-6:first-child {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}

/* ===========================================
   SEÇÃO DE VALORES - FNEH
=========================================== */
#inscricoes {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#inscricoes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%236c87c5" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.pricing-title {
    font-size: 2.8rem;
    color: #19253e !important;
    text-shadow: none;
    position: relative;
    z-index: 2;
}

.pricing-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #6c87c5, #4a6fa5);
    border-radius: 2px;
    margin: 0 auto 20px auto;
    box-shadow: 0 2px 8px rgba(108, 135, 197, 0.3);
}

/* Card Principal de Preços */
.pricing-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    border-radius: 24px;
    padding: 35px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.pricing-card:hover::before {
    left: 100%;
}

/* Header do Card */
.pricing-header {
    background: linear-gradient(135deg, #6c87c5 0%, #4a6fa5 50%, #6c87c5 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 18px;
    margin: -35px -35px 30px -35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(108, 135, 197, 0.3);
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pricing-lote-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.pricing-period {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* Linhas de Preço */
.pricing-row {
    padding: 18px 0;
    border-bottom: 1px solid rgba(108, 135, 197, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-row::before {
    content: '';
    position: absolute;
    left: -35px;
    right: -35px;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(108, 135, 197, 0.03), rgba(108, 135, 197, 0.06), rgba(108, 135, 197, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.pricing-row:hover::before {
    opacity: 1;
}

.pricing-row-last {
    border-bottom: none;
}

.pricing-category {
    font-size: 0.95rem;
    color: #555;
    flex: 1;
    margin-right: 15px;
}

.pricing-values {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pricing-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.pricing-discount {
    color: #28a745;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(40, 167, 69, 0.2);
}

.pricing-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    position: relative;
    overflow: hidden;
}

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

@keyframes badgeShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Card de Informações */
.pricing-info-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: 24px;
    padding: 35px;
    border-left: 5px solid #28a745;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-info-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.05) 0%, transparent 70%);
    transition: transform 0.6s ease;
    transform: scale(0);
}

.pricing-info-card:hover {
    transform: translateY(-8px);
    border-left-color: #20c997;
}

.pricing-info-card:hover::after {
    transform: scale(1);
}

.pricing-info-content {
    text-align: center;
    margin-bottom: 25px;
}

.pricing-info-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 15px;
}

.pricing-info-title {
    color: #19253e;
    font-weight: bold;
    margin-bottom: 15px;
}

.pricing-info-text {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

/* Box de Benefícios */
.pricing-benefits {
    background: linear-gradient(135deg, rgba(108, 135, 197, 0.08), rgba(108, 135, 197, 0.12));
    padding: 25px;
    border-radius: 18px;
    border-left: 5px solid #6c87c5;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.pricing-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(108, 135, 197, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-benefits:hover::before {
    opacity: 1;
}

.pricing-benefits-title {
    color: #19253e;
    font-weight: bold;
    margin-bottom: 15px;
}

.pricing-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-benefit-item {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
    color: #333;
}

.pricing-check {
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Botão CTA */
.pricing-cta-button {
    background: linear-gradient(135deg, #6c87c5, #4a6fa5);
    border: 2px solid #6c87c5;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(108, 135, 197, 0.3);
}

.pricing-cta-button::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;
}

.pricing-cta-button:hover {
    background: linear-gradient(135deg, #4a6fa5, #6c87c5);
    transform: translateY(-3px) scale(1.05);
    color: white;
    text-decoration: none;
    border-color: #4a6fa5;
    box-shadow: 0 12px 35px rgba(108, 135, 197, 0.4);
}

.pricing-cta-button:hover::before {
    left: 100%;
}

.pricing-cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Responsivo para Preços */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 2rem;
    }
    
    .pricing-card,
    .pricing-info-card {
        padding: 20px;
    }
    
    .pricing-values {
        flex-direction: column;
        gap: 5px;
        align-items: flex-end;
    }
    
    .pricing-category {
        font-size: 0.85rem;
        margin-right: 10px;
    }
    
    .pricing-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pricing-values {
        align-self: flex-end;
    }
}

/* ===========================================
   DEPOIMENTOS EM VÍDEO
=========================================== */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f9fa;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(108, 135, 197, 0.15);
}

.default-thumbnail {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid rgba(108, 135, 197, 0.2);
}

.default-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 135, 197, 0.1), rgba(74, 111, 165, 0.1));
    z-index: 1;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .default-thumbnail::before {
    background: linear-gradient(135deg, rgba(108, 135, 197, 0.2), rgba(74, 111, 165, 0.2));
}

/* Esconde as imagens dentro do default-thumbnail já que usaremos background */
.default-thumbnail img {
    display: none;
}

/* .default-thumbnail .video-icon {
    font-size: 80px;
    margin-bottom: 15px;
    opacity: 0.8;
} */

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(108, 135, 197, 0.85);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(108, 135, 197, 0.3);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(108, 135, 197, 0.3);
}

.video-thumbnail:hover .play-button {
    background: rgba(108, 135, 197, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(108, 135, 197, 0.4);
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.video-modal.show {
    display: block;
}

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

.modal-close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
}

.modal-close:hover {
    color: #6c87c5;
}

.modal-content-video {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 800px;
}

.video-frame {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .video-frame {
        height: 250px;
    }

    .modal-close {
        right: 15px;
        top: 15px;
        font-size: 30px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }

    .default-thumbnail {
        padding: 15px;
    }

    .default-thumbnail img {
        max-width: 75%;
        max-height: 55%;
        padding: 8px;
    }
}

@media (max-width: 576px) {
    .default-thumbnail {
        padding: 12px;
    }

    .default-thumbnail img {
        max-width: 70%;
        max-height: 50%;
        padding: 6px;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* ===========================================
   CONTATO SIMPLIFICADO
=========================================== */
.contact-card {
    background: rgba(108, 135, 197, 0.1);
    border: 1px solid rgba(108, 135, 197, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(108, 135, 197, 0.15);
    box-shadow: 0 8px 25px rgba(108, 135, 197, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c87c5, #4a6fa5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.05);
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-link {
    color: #e8ecf3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #6c87c5;
}

.contact-text {
    color: #e8ecf3;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Estilos para links de contato */
.contact-card .contact-link {
    transition: all 0.3s ease;
    pointer-events: auto;
}

.contact-card:hover .contact-title {
    color: #6c87c5;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #4a6fa5, #6c87c5);
}

.contact-card:hover .contact-text {
    color: white;
}

/* Efeito especial para o card de localização clicável */
.contact-card-clickable {
    cursor: pointer;
}

.contact-card-clickable:hover {
    background: rgba(108, 135, 197, 0.2);
    border-color: rgba(108, 135, 197, 0.5);
}

/* Links de contato externos */
a .contact-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

a .contact-card:hover {
    background: rgba(108, 135, 197, 0.15);
    box-shadow: 0 8px 25px rgba(108, 135, 197, 0.2);
}

a .contact-text {
    color: inherit;
}

a:hover .contact-text {
    color: white;
}

/* Responsivo para Contato */
@media (max-width: 768px) {
    .contact-card {
        padding: 25px 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .contact-icon i {
        font-size: 20px;
    }

    #contato {
        padding-bottom: 120px !important;
    }
}

/* ===========================================
   NAVBAR
=========================================== */
.navbar {
    transition: all 0.4s ease;
    box-shadow: none;
}

/* Centralizar o menu */
.navbar-nav.ms-auto {
    margin: 0 auto !important;
}

/* Reduzir espaçamento entre itens do menu */
.navbar-nav .nav-item {
    margin: 0 8px;
}

.navbar-nav .nav-link {
    padding: 8px 12px !important;
    font-weight: 500;
}

/* Responsivo para mobile */
@media (max-width: 991px) {
    .navbar-nav .nav-item {
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        text-align: center;
    }
}

/* ===========================================
   BUTTONS
=========================================== */
.btn:hover {
    transform: scale(1.05);
    transition: 0.3s;
    opacity: 0.9;
}

/* ===========================================
   PROGRAM CARDS
=========================================== */
.card.day-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease-in-out;
}

.card.day-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   ANIMATIONS
=========================================== */
.title-desc,
.program-section h2,
#sobre h2 {
    animation: fadeInUp 1.2s ease both;
}

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===========================================
   PRELOADER
=========================================== */
#preloader .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ccc;
    border-top-color: #6c87c5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* ===========================================
   WHATSAPP BUTTON
=========================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #FFF;
    transform: scale(1.05);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

#back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 120px;
    background: linear-gradient(135deg, #6c87c5, #4a6fa5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(108, 135, 197, 0.3);
}

#back-to-top:hover {
    background: linear-gradient(135deg, #4a6fa5, #6c87c5);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(108, 135, 197, 0.4);
}

/* Responsive para Botões Flutuantes */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 30px;
        right: 30px;
    }

    .whatsapp-float i {
        font-size: 20px;
    }

    #back-to-top {
        width: 45px;
        height: 45px;
        font-size: 16px;
        bottom: 30px;
        right: 90px;
    }
}