/**
 * Mais Vitalidade - Estilos Customizados Conforme Figma
 * Layout baseado em template-figma-mais-vitalidade.pdf
 */

/* ===== CORES LARANJA (COR PRIMÁRIA DO TEMPLATE) ===== */
:root {
    --color-orange: #FF6600;
    --color-orange--hover: #E55A00;
    --color-orange-light: #FF8533;
}

.text-orange {
    color: var(--color-orange) !important;
}

.bg-orange {
    background-color: var(--color-orange) !important;
}

/* Botões Laranja */
.btn-orange {
    background-color: var(--color-orange);
    color: white;
    border: none;
    transition: all 0.3s ease;
    font-family: 'UnimedSans', sans-serif;
}

/* Menu e ícones de navegação */
.navbar .nav-link,
.navbar-brand,
.navbar-toggler {
    font-family: 'UnimedSans', sans-serif;
}

.btn-orange:hover {
    background-color: var(--color-orange--hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-orange:focus,
.btn-orange:active {
    background-color: var(--color-orange--hover) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25) !important;
}

/* ===== HERO SECTION ===== */
.hero-vitalidade {
    min-height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-vitalidade .hero-background img {
    filter: brightness(0.6);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.min-vh-75 {
    min-height: 75vh !important;
}

/* ===== ÍCONES CIRCULARES LARANJA ===== */
.icon-circle-orange {
    width: 80px;
    height: 80px;
    background-color: var(--color-orange);
    padding: 15px;
}

.icon-circle-orange img {
    filter: brightness(0) invert(1);
}

/* Bootstrap rounded-4 (caso não exista) */
.rounded-4 {
    border-radius: 1rem !important;
}

/* ===== CARDS DE PROGRAMAÇÃO (AMARELOS) ===== */
.card[style*="FFF4D9"] {
    transition: all 0.3s ease;
}

.card[style*="FFF4D9"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Badge laranja */
.badge.bg-orange {
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== ACCORDION FAQ ===== */
/* Remover seta padrão do Bootstrap */
.accordion-button::after {
    display: none !important;
}

.accordion-button:not(.collapsed)::after {
    display: none !important;
}

/* ===== FOOTER - REDES SOCIAIS ===== */
footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer .social-link:hover {
    transform: translateY(-3px);
}

footer .social-link i {
    transition: color 0.3s ease;
}

footer .social-link:hover i {
    color: #E55A00 !important;
}

/* ===== FAQ ACCORDION ===== */
.accordion-button {
    position: relative;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background-color: white !important;
    color: #333 !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button .text-orange {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .text-orange {
    transform: rotate(45deg);
}

.accordion-body {
    padding-top: 1rem;
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    transform: scale(1.15);
}

/* ===== HEADER ===== */
.navbar {
    transition: all 0.3s ease;
}

/* ===== SCROLL BUTTON ===== */
#scrollToTop {
    transition: all 0.3s ease;
}

#scrollToTop:hover {
    transform: scale(1.1);
}

/* Cores Personalizadas Baseadas na Paleta */
.bg-gradient-primary-custom {
    background: linear-gradient(135deg, #33BD7C 0%, #00A859 50%, #008A47 100%);
}

.bg-gradient-secondary-custom {
    background: linear-gradient(135deg, #3385D6 0%, #0066CC 50%, #0052A3 100%);
}

.bg-gradient-accent-custom {
    background: linear-gradient(135deg, #FFC933 0%, #FFB800 50%, #CC9300 100%);
}

/* Hero Section Customizado */
.hero-section {
    background: linear-gradient(135deg, #00A859 0%, #0066CC 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/background-header.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

/* Cards com Hover Effect Customizado */
.card-hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0, 168, 89, 0.15), 0 10px 10px rgba(0, 168, 89, 0.12);
}

/* Formulário Estilizado */
.form-control-custom {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: #00A859;
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 89, 0.15);
}

/* Seções com Fundo Alternado */
.section-bg-alternate:nth-of-type(even) {
    background-color: #F8F9FA;
}

.section-bg-alternate:nth-of-type(odd) {
    background-color: #FFFFFF;
}

/* Overlay Escuro para Imagens de Fundo */
.overlay-dark {
    position: relative;
}

.overlay-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.overlay-dark > * {
    position: relative;
    z-index: 2;
}

/* Botões Customizados com Gradiente */
.btn-gradient-primary {
    background: linear-gradient(45deg, #00A859, #33BD7C);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #008A47, #00A859);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 168, 89, 0.3);
    color: white;
}

.btn-gradient-secondary {
    background: linear-gradient(45deg, #0066CC, #3385D6);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-gradient-secondary:hover {
    background: linear-gradient(45deg, #0052A3, #0066CC);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 102, 204, 0.3);
    color: white;
}

/* Stats / Números com Destaque */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00A859, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Timeline Style (se necessário) */
.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -30px;
    width: 2px;
    background: linear-gradient(180deg, #00A859, #0066CC);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00A859;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #00A859;
}

.timeline-item:last-child::before {
    display: none;
}

/* Responsividade Adicional */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
}

@media (min-width: 992px) {
    .hero-subtitle-nowrap {
        white-space: nowrap;
    }
}
