/* ===== GLOBAL STYLES ===== */
:root {
    --iara-blue: #0349D6;
    --iara-green: #4AC900;
    --iara-green-hover: #269168;
    --iara-dark: #06132a;
    --iara-deeper: #0A192F;
    --iara-white: #ffffff;
    --iara-yellow: #EFE300;
    --iara-dark-blue: #0A192F;
    --iara-light-bg: #F8FAFC;
    --muted: #6c757d;
    --ink: #dbe4ee;
    --divider: rgba(255, 255, 255, .15);
    --primary-color: #2eaf7d;
    --primary-hover: #269168;
    --primary-hover-color: #269168;
    --primary-light-bg: #eaf7f2;
    --bg: #f8f9fa;
    --border: #e9ecef;
    --border-color: #e9ecef;
    --light: #F8FAFC;
    --text: #212529;
    --text-color: #212529;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --sidebar-w: 300px;
    --sidebar-width: 280px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: #fff;
}

.link-clean {
    color: inherit;
    text-decoration: none;
}

.fw-bold {
    font-weight: 700 !important
}

.section-padding {
    padding: 100px 0
}

/* ===== NAVBAR (mantido) ===== */
.app-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: .75rem 1rem
}

.navbar-brand img {
    height: 60px;
    width: auto
}

.navbar-nav {
    gap: .85rem
}

.nav-link {
    padding: .5rem .9rem !important;
    border-radius: .5rem;
    color: #6c757d;
    font-weight: 500
}

.nav-link:hover,
.nav-link.active {
    background: #0349d6;
    color: var(--iara-light-bg) !important
}

/* ===== HERO (mantido) ===== */
.hero {
    background: url("/assets/images/IARA_Backgrounds_4.png") no-repeat center center fixed;
}

.hero.section-padding {
    padding-top: 2rem;
    padding-bottom: 0;
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(150px);
    opacity: .15
}

.hero::before {
    width: 400px;
    height: 400px;
    background: var(--iara-blue);
    top: -100px;
    left: -150px
}

.hero::after {
    width: 350px;
    height: 350px;
    background: var(--iara-green);
    bottom: -50px;
    right: -100px
}

.hero h1 {
    font-weight: 700
}

.hero .highlight {
    color: var(--iara-green)
}

.mascot-wrap {
    max-width: 440px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
    margin-bottom: -90px
}

.mascot-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .15))
}

/* ===== FEATURES ===== */
.features.section-padding {
    padding-top: 140px;
    background: var(--iara-light-bg)
}

.feature-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2.5rem;
    background: #fff;
    text-align: left;
    height: 100%;
    transition: transform .3s, box-shadow .3s
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08)
}

.feature-icon-wrapper {
    background: #fff;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 4px
}

.feature-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center
}

.feature-icon-wrapper.blue {
    box-shadow: 0 0 0 4px var(--iara-blue);
    color: var(--iara-blue)
}

.feature-icon-wrapper.green {
    box-shadow: 0 0 0 4px var(--iara-green);
    color: var(--iara-green)
}

.feature-icon-wrapper.yellow {
    box-shadow: 0 0 0 4px var(--iara-yellow);
    color: var(--iara-yellow)
}

/* ===== PARTNERS CAROUSEL ===== */
.partners {
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.partners .title {
    font-weight: 700;
    margin-bottom: 18px;
}

.partner-strip {
    position: relative;
    overflow: hidden;
}

.partner-strip::before,
.partner-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.partner-strip::before {
    left: 0;
}

.partner-strip::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.partner-track {
    --scroll-distance: 50%;
    --scroll-duration: 20s;
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    will-change: transform;
    animation: partner-scroll var(--scroll-duration) linear infinite;
}

@keyframes partner-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * var(--scroll-distance)));
    }
}

/* Base para todos */
.partner-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 6px 6px;
    background: transparent;
}

/* Tamanhos específicos */
.partner-item_gold {
    width: 220px;
    height: 220px;
}

.partner-item_silver {
    width: 120px;
    height: 120px;
}

.partner-item_green {
    width: 60px;
    height: 60px;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: .9;
    transition: filter .2s, opacity .2s, transform .2s;
}

.partner-item img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .partner-item_gold {
        width: 140px;
        height: 140px;
    }

    .partner-item_silver {
        width: 90px;
        height: 90px;
    }

    .partner-item_green {
        width: 60px;
        height: 60px;
    }
}

/* ===== HOW IT WORKS ===== */

.how-it-works .process-container {    
    position: relative
}

.how-it-works .process-line {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, var(--iara-blue) 0%, var(--iara-green) 100%);
    width: 66%;
    top: 40px;
    left: 17%;
    z-index: 0
}

.how-it-works .process-step {
    z-index: 1
}

.how-it-works .process-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, var(--iara-blue) 0%, var(--iara-green) 100%);
    margin: 0 auto 1.5rem
}

/* ===== STATS ===== */
.stats-bar {
    background: linear-gradient(90deg, var(--iara-blue) 0%, var(--iara-green) 100%);
    color: #fff;
    padding: 60px 0
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 700
}

.stat-item p {
    opacity: .9
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--iara-light-bg)
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    height: 100%
}

.testimonial-card .stars {
    color: var(--iara-yellow);
    font-size: 1.2rem
}

/* ===== CTA ===== */
.cta-section {
    background: var(--iara-white);
    color: #adb5bd
}

.cta-section h2 {
    color: var(--iara-dark-blue);
    font-weight: 700
}

.cta-section .input-group {
    display: grid;
    align-items: center;
    place-items: center;
    justify-content: center;
    max-width: 560px;
    margin-inline: auto
}

.cta-section .form-control {
    border-radius: .5rem 0 0 .5rem !important;
    padding: .75rem 1rem;
    border: 1px solid #556277;
    background: #1a2538;
    color: #fff
}

.cta-section .form-control::placeholder {
    color: #bfc6d1
}

.cta-section .btn-success {
    background: var(--iara-green) !important;
    border-color: var(--iara-green) !important;
    border-radius: 0 .5rem .5rem 0 !important;
    padding: .75rem 1.5rem;
    font-weight: 600
}

/* ===== FOOTER ===== */
.footer {
    background: var(--iara-white);
    color: var(--iara-dark-blue);
    border-top: 1px solid var(--divider)
}

.footer a {
    color: var(--iara-dark-blue);
    text-decoration: none;
    transition: color .3s
}

.footer a:hover {
    color: var(--iara-dark-blue)
}

.footer .container .row>div {
    text-align: center;
}

.footer-bottom {
    background: var(--iara-dark-blue);
    color: #adb5bd;
    padding: 1rem 0;
    font-size: .9rem;
    border-top: 1px solid var(--divider)
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 80px 0
    }

    .navbar-brand img {
        height: 40px
    }

    .mascot-wrap {
        max-width: 300px;
        margin-bottom: -60px
    }

    .features.section-padding {
        padding-top: 100px
    }

    .hero .col-lg-6 {
        text-align: center
    }

    .hero h1 {
        font-size: 2.5rem
    }

    .hero .d-flex {
        flex-direction: column !important
    }

    .hero .btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto 10px auto !important
    }

    .how-it-works .process-line {
        display: none
    }

    .how-it-works .process-step {
        margin-bottom: 2rem
    }

    .feature-card,
    .testimonial-card {
        padding: 1.5rem
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.2rem
    }

    .stat-item h2 {
        font-size: 2.5rem
    }

    .cta-section .input-group {
        flex-direction: column;
        gap: 10px
    }

    .cta-section .form-control,
    .cta-section .btn-success {
        border-radius: .5rem !important;
        width: 100%
    }
}

@media (min-width:768px) {
    .stat-item-container:not(:last-child) .stat-item {
        border-right: 1px solid rgba(255, 255, 255, .2)
    }
}