/* PSLTI Control - Custom Styles */

body {
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Estilos para o acordeão de soluções - REFATORADO */
.solutions-container {
    max-width: 80%;
    margin: 0 auto;
}

.solutions-accordion {
    max-width: 100%;
    overflow-x: auto;
}

.solutions-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.solutions-row h3 {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.solutions-row .solutions-flex {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #003366 #f1f1f1;
    justify-content: center;
}

.solutions-row .solutions-flex::-webkit-scrollbar {
    height: 8px;
}

.solutions-row .solutions-flex::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.solutions-row .solutions-flex::-webkit-scrollbar-thumb {
    background-color: #003366;
    border-radius: 10px;
}

/* Estilos para os cards do acordeão - REFATORADO */
.solution-card {
    border: none;
    border-radius: 12px;
    display: flex;
    height: 500px;
    min-width: 204px;
    max-width: 652px;
    transition: all 0.5s ease;
    animation: slideInUp 0.5s ease-out;
    opacity: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.solution-card.loaded {
    opacity: 1;
}

.solution-card:nth-child(1) {
    animation-delay: 0.1s;
}

.solution-card:nth-child(2) {
    animation-delay: 0.2s;
}

.solution-card:nth-child(3) {
    animation-delay: 0.3s;
}

.solution-card:nth-child(4) {
    animation-delay: 0.4s;
}

.solution-card-header {
    position: relative;
    width: 204px;
    flex-shrink: 0;
}

.solution-card-title {
    position: absolute;
    margin: 0;
    padding: 16px;
    height: 130px;
    border-radius: 10px;
    width: 100%;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: -0.02em;
    text-align: left;
    color: white;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.8) 23%,
            rgba(0, 0, 0, 0) 100%);
}

.solution-card-image {
    width: 100%;
    height: 100%;
    min-width: 204px;
    object-fit: cover;
    overflow-clip-margin: unset;
    border-radius: 12px;
}

.image-no-radius-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.solution-card-content {
    width: 0;
    overflow: hidden;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    transition: width 0.5s ease;
}

.solution-card-content.active {
    width: 448px;
}

.solution-card-content-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    padding: 24px 48px 24px 24px;
    width: 448px;
    transition: opacity 0.3s ease;
}

.solution-card-content.active .solution-card-content-container {
    opacity: 1;
    visibility: visible;
}

.solution-card-content-subtitle {
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.02em;
    text-align: left;
    margin-bottom: 8px;
    color: var(--subtitle-color);
}

.solution-card-content-description {
    font-size: 12px;
    font-weight: 400;
    line-height: 17.6px;
    text-align: left;
}

.solution-card-content-anchor {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    line-height: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-top: 16px;
    transition: all 0.3s ease;
    border-width: 0.01em;
    border-style: solid;
}

.solution-card-content-options {
    list-style: none;
    padding: 0;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-card-content-options li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: slideInUp 0.3s ease-out;
}

.solution-card-content-options li:nth-child(1) {
    animation-delay: 0.1s;
}

.solution-card-content-options li:nth-child(2) {
    animation-delay: 0.2s;
}

.solution-card-content-options li:nth-child(3) {
    animation-delay: 0.3s;
}

.solution-card-option-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 19.8px;
    text-align: left;
    margin: 0;
}

.solution-card-option-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 17.6px;
    text-align: left;
}

/* Versão Mobile - REFATORADO */
@media (max-width: 1024px) {
    .solutions-row {
        margin-bottom: 1.5rem;
    }

    .solutions-row .solutions-flex {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        height: auto;
        width: 100%;
        overflow-x: visible;
    }

    .solution-card {
        position: relative;
        flex-direction: row-reverse;
        width: 100%;
        max-width: 372px;
        height: 72px;
        transition: all 0.3s ease-in-out;
        margin-bottom: 16px;
    }

    .solution-card.active {
        min-height: 380px;
        height: auto;
        flex-wrap: wrap;
    }

    .solution-card.active .solution-card-title {
        width: 220px;
        display: contents;
    }

    .solution-card-content-container {
        width: 252px;
        padding-top: 72px;
        transition: all 0.5s ease-in-out;
    }

    .solution-card-content {
        border-radius: 12px;
    }

    .solution-card-title {
        font-size: 18px;
        font-weight: 600;
        line-height: 20px;
        text-align: left;
        color: var(--subtitle-color);
        background: none;
        left: 2px;
        width: 332px;
        height: fit-content;
        display: flex;
        align-items: center;
    }

    .solution-card-image {
        position: absolute;
        right: 0;
        width: 0;
        height: 0;
        min-width: 0;
        min-height: 0;
        transition: all 0.3s ease-in-out;
    }

    .solution-card-image.active {
        width: 120px;
        min-height: 376px;
        height: 100%;
    }

    .image-no-radius-right {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }
}

/* Menu Mobile Animado */
.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Animações para elementos */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Botão de WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    animation: pulse-slow 2s infinite;
}

/* Loading spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #28a745;
    animation: spin 1s ease infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: flex;
}

.carousel-indicator {
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
    width: 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /*background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;*/
}

.solution-issues-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.issue-item-red {
    background-color: #fee2e2;
    /* red-100 */
    color: #b91c1c;
    /* red-600 */
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    /* full rounded */
    display: flex;
    align-items: center;
}

.issue-item-green {
    background-color: #d1fae5;
    /* green-100 */
    color: #065f46;
    /* green-600 */
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    /* full rounded */
    display: flex;
    align-items: center;
}