/* Landing Page Styles */

/* Sticky Navbar */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-brand-image {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

/* Scroll smooth behavior */
html {
    scroll-behavior: smooth;
}

.scroll-margin {
    scroll-margin-top: 80px;
}

/* Hero Section */
.hero-section {
    padding: 3rem 0;
    animation: fadeInDown 0.8s ease-in-out;
}

.hero-section h1 {
    line-height: 1.2;
}

.landing-page {
    min-height: calc(100vh - 200px);
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Carrossel customizado */
#carouselBeneficios .carousel-inner {
    min-height: 350px;
}

#carouselBeneficios .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#carouselBeneficios .carousel-control-prev,
#carouselBeneficios .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#carouselBeneficios .carousel-control-prev:hover,
#carouselBeneficios .carousel-control-next:hover {
    opacity: 1;
}

#carouselBeneficios .carousel-indicators button {
    background-color: var(--tblr-primary);
}

/* Cards de recursos */
.row-cards .card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.row-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--tblr-primary);
}

.row-cards .card-body {
    padding: 1.5rem;
}

.card-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Login Card - Destaque */
.sticky-top {
    z-index: 100;
}

.sticky-top .card {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(var(--tblr-primary-rgb), 0.2);
}

/* Form hints */
.form-hint {
    color: var(--tblr-muted);
    font-size: 0.875rem;
}

/* Hr text styling */
.hr-text {
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
}

.hr-text:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tblr-border-color);
}

.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: var(--tblr-body-bg);
    color: var(--tblr-muted);
    font-size: 0.875rem;
}

/* Botão SSO destaque */
.btn-azure {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-azure:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(32, 107, 196, 0.3);
}

.btn-azure::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-azure:hover::before {
    width: 300px;
    height: 300px;
}

/* Espaço de anúncios */
.bg-primary-lt {
    background-color: rgba(var(--tblr-primary-rgb), 0.06) !important;
    border: 2px dashed rgba(var(--tblr-primary-rgb), 0.3);
    transition: all 0.3s ease;
}

.bg-primary-lt:hover {
    background-color: rgba(var(--tblr-primary-rgb), 0.1) !important;
    border-color: rgba(var(--tblr-primary-rgb), 0.5);
}

/* Stats section */
.display-6 {
    font-size: 3rem;
    line-height: 1;
}

/* List group custom */
.list-group-item {
    padding: 0.5rem 0;
}

/* Alert personalizado */
.alert-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .landing-logo {
        max-width: 150px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    #carouselBeneficios .carousel-inner {
        min-height: 300px;
    }

    .sticky-top {
        position: relative !important;
        top: 0 !important;
    }

    .display-6 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .landing-logo {
        max-width: 120px;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    #carouselBeneficios .carousel-inner {
        min-height: 280px;
    }

    .card-body {
        padding: 1rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }
}

/* Loading animation para quando a página carrega */
.landing-page > .row > div {
    animation: fadeInUp 0.6s ease-in-out;
}

.landing-page > .row > div:nth-child(2) {
    animation-delay: 0.2s;
}

/* Card hover effects */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Melhoria visual para cards de benefícios */
.card-sm .ti {
    transition: transform 0.3s ease;
}

.card-sm:hover .ti {
    transform: scale(1.1);
}

/* Footer ajuste */
.footer {
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* Text gradient para títulos especiais */
.text-gradient {
    background: linear-gradient(135deg, var(--tblr-primary) 0%, var(--tblr-azure) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation para o botão SSO */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(32, 107, 196, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(32, 107, 196, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(32, 107, 196, 0);
    }
}

.btn-azure:focus {
    animation: pulse 1.5s infinite;
}

/* Border top colorido */
.border-top-wide {
    border-top: 4px solid var(--tblr-primary) !important;
}

/* Ajustes para melhor acessibilidade */
.card:focus-within {
    outline: 2px solid var(--tblr-primary);
    outline-offset: 2px;
}

/* Melhoria de contraste para textos */
.text-muted {
    color: #6c757d !important;
}

/* Estilo para ícones grandes */
.ti[style*="font-size: 4rem"],
.ti[style*="font-size: 3rem"],
.ti[style*="font-size: 2rem"] {
    line-height: 1;
    display: inline-block;
}
