/* ==========================================================================
   INOVACARE LANDING PAGE - KLINGO STYLE MAPPING
   ========================================================================== */

:root {
    /* Cores Principais */
    --primary-blue: #003D7A;
    /* Azul Escuro (Institucional/Fundo Seções) */
    --primary-light: #00BCD4;
    /* Turquesa/Cyan (Destaques, Contadores, Botões) */
    --primary-hover: #00ACC1;
    /* Turquesa um pouco mais escuro para hover */

    /* Textos */
    --text-dark: #333333;
    /* Headlines H2, H3 */
    --text-medium: #666666;
    /* Subtítulos e Parágrafos */
    --text-white: #FFFFFF;
    /* Texto sobre fundo azul */

    /* Fundos */
    --bg-white: #FFFFFF;
    --bg-gray: #F5F5F5;
    /* Rodapé e Seções alternadas */
    --bg-blue-dark: #003D7A;
    /* Seção Cloud */

    /* Elementos */
    --whatsapp-green: #25D366;
    --border-light: #E0E0E0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   TIPOGRAFIA & UTILITÁRIOS
   ========================================================================== */

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
}

p {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 400;
}

.text-turq {
    color: var(--primary-light) !important;
}

.text-blue {
    color: var(--primary-blue) !important;
}

.bg-blue {
    background-color: var(--primary-blue) !important;
}

.section-padding {
    padding: 80px 0;
}

/* Botões */
.btn-turq {
    background-color: var(--primary-light);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    /* Mais quadrado conforme estilo corporativo */
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s;
}

.btn-turq:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
}

.btn-form-submit {
    background-color: var(--primary-blue);
    color: white;
    width: 100%;
    padding: 15px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-form-submit:hover {
    background-color: #002a55;
    color: white;
}


/* ==========================================================================
   1. HEADER / NAVBAR
   ========================================================================== */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

.top-bar i {
    margin-right: 5px;
}

.navbar-klingo {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-blue) !important;
    font-size: 1.8rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    font-size: 1rem;
}

.nav-link.active {
    color: var(--primary-blue) !important;
    border-bottom: 2px solid var(--primary-blue);
}

.social-nav a {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-left: 10px;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 80px 0 20px 0;
    /* Pequeno respiro na base */
    min-height: 700px;
    display: flex;
    align-items: center;
    /* Faixa cinza horizontal ajustada */
    background: linear-gradient(to bottom,
            #FFFFFF 10%,
            #F8F9FA 10%,
            #F8F9FA 90%,
            #FFFFFF 90%);
    overflow: visible !important;
}

.hero-cards-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 150px;
}

.hero-mini-card i {
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-top: 3px;
}

.hero-mini-card p {
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.slide-image {
    display: flex;
    align-items: flex-end;
    align-self: stretch;
}

.hero-image-wrapper {
    position: relative;
    margin-bottom: -1px;
    /* Garante que toque o limite inferior */
}

.hero-image-wrapper img {
    border-radius: 20px 0 20px 0;
    box-shadow: none;
    /* Removido conforme solicitação */
}

.hero-floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
}

/* ==========================================================================
   3. MÓDULOS (LISTA)
   ========================================================================== */
.modules-list {
    list-style: none;
    padding: 0;
}

.modules-list li {
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.modules-list li:last-child {
    border-bottom: none;
    color: var(--primary-light);
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   4. CLOUD SECTION (DARK BLUE)
   ========================================================================== */
.cloud-section {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
}

.cloud-section h3 {
    color: white;
    margin-bottom: 50px;
}

.cloud-icon-box i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cloud-icon-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 250px;
    margin: 0 auto;
    color: white;
}

.cloud-counter {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 10px;
    display: block;
}

/* ==========================================================================
   5. FAQ ACCORDION
   ========================================================================== */
.accordion-klingo .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
}

.accordion-klingo .accordion-button {
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 20px 0;
    font-weight: 500;
    background: transparent;
    box-shadow: none;
}

.accordion-klingo .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background: transparent;
}

/* ==========================================================================
   6. JORNADA (3 CARDS)
   ========================================================================== */
.journey-card {
    text-align: center;
    padding: 20px;
}

.journey-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 10px;
}

.journey-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* ==========================================================================
   8. FORMULÁRIO DE CONTATO
   ========================================================================== */
.contact-form-section input {
    height: 50px;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 0 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.contact-form-section input:focus {
    border-color: var(--primary-blue);
    box-shadow: none;
    outline: none;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer-klingo {
    background-color: var(--bg-gray);
    padding: 40px 0;
    font-size: 0.85rem;
    color: var(--text-medium);
}

.footer-klingo a {
    color: var(--text-medium);
    text-decoration: none;
}

.footer-klingo a:hover {
    color: var(--primary-blue);
}

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

.float-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Responsividade Básica Ajustes */
@media (max-width: 768px) {
    .border-end-md {
        border-right: none !important;
    }

    .hero-section {
        background: white;
        text-align: center;
        min-height: auto;
        padding-top: 40px;
    }

    .hero-cards-container {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-mini-card {
        max-width: 100%;
        justify-content: center;
    }

    .hero-floating-badge {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
        justify-content: center;
    }

    .carousel-indicators {
        bottom: 10px;
    }
}

/* ==========================================================================
   PAGE: MÓDULOS & FUNCIONALIDADES
   ========================================================================== */
.feature-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.feature-section:nth-of-type(even) {
    background-color: var(--bg-gray);
}

.module-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 188, 212, 0.3);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-light);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-card i {
    font-size: 3.5rem;
    color: var(--primary-light);
    margin-bottom: 25px;
    display: inline-block;
}

.module-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.module-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.hero-subpage {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002a55 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.hero-subpage h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subpage p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ==========================================================================
   JOURNEY STEP CARDS (SIGMED FLOW)
   ========================================================================== */
.journey-step-card {
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.journey-step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 61, 122, 0.12) !important;
    border-color: var(--primary-light) !important;
}

.journey-step-card .badge {
    transition: all 0.3s ease;
}

.journey-step-card:hover .badge {
    transform: scale(1.1) rotate(5deg);
}

.journey-step-card i {
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.journey-step-card:hover i {
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* Connectors on Desktop */
@media (min-width: 992px) {
    .journey-step-card::after {
        content: '\ee82';
        /* Boxicons right arrow */
        font-family: 'boxicons';
        position: absolute;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        color: var(--primary-light);
        opacity: 0;
        transition: all 0.4s ease;
        pointer-events: none;
    }

    .journey-step-card:hover::after {
        opacity: 0.4;
        right: -30px;
    }
}

/* ==========================================================================
   6. CAROUSEL INDICATORS & ANIMATIONS
   ========================================================================== */

/* Carousel Transition */
.carousel-inner,
.carousel-item {
    overflow: visible !important;
    /* Essencial para evitar o corte da imagem e adornos */
}

.carousel-item {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

/* Indicators */
.carousel-indicators {
    bottom: 30px;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    padding-left: calc((100% - 1320px) / 2 + 12px);
    z-index: 15;
}

@media (max-width: 1400px) {
    .carousel-indicators {
        padding-left: calc((100% - 1140px) / 2 + 12px);
    }
}

@media (max-width: 1200px) {
    .carousel-indicators {
        padding-left: calc((100% - 960px) / 2 + 12px);
    }
}

@media (max-width: 992px) {
    .carousel-indicators {
        padding-left: 0;
        justify-content: center;
    }
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-light);
    border: none;
    margin: 0 6px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.3);
    background-color: var(--primary-blue);
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-up-1,
.animate-up-2,
.animate-up-3,
.animate-up-4,
.animate-right,
.animate-scale {
    opacity: 0;
}

.active .animate-up-1 {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.active .animate-up-2 {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.active .animate-up-3 {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.active .animate-up-4 {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.active .animate-right {
    animation: slideInRight 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    animation-delay: 0.3s;
}

.active .animate-scale {
    animation: scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 1s;
}

/* ==========================================================================
   SVG FLOATING & DASHBOARD ANIMATIONS
   ========================================================================== */
/* Animação geral de flutuar */
.active .hero-image-wrapper object,
.active .dashboard-svg-wrapper object {
    animation: floatingSVG 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes floatingSVG {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Efeito de carregamento para camadas internas (se houver IDs padrão ou seletores genéricos) */
.active .dashboard-svg-wrapper object:hover {
    filter: brightness(1.05);
    transition: filter 0.3s ease;
}

/* ==========================================================================
   SVGATOR WATERMARK REMOVAL (Extra protection)
   ========================================================================== */
svg g[id*="watermark"],
svg text[id*="watermark"],
svg [opacity="0.01"][transform*="matrix(0.001"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}