:root {
    --bg: #070c1f;
    --bg-soft: #101937;
    --surface: rgba(255, 255, 255, 0.06);
    --text: #e8edff;
    --text-soft: #b5bfdc;
    --primary: #4f7cff;
    --primary-dark: #355de0;
    --highlight: #17c0eb;
    --border: rgba(255, 255, 255, 0.14);
    --shadow: 0 20px 60px rgba(8, 12, 33, 0.45);
}

* {
    box-sizing: border-box;
}

html,
body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 15% 20%, #1b2a59, var(--bg) 40%);
    scroll-behavior: smooth;
}

main {
    overflow: hidden;
}

a {
    color: inherit;
}

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

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--highlight);
    font-weight: 600;
}

.section-heading {
    margin-bottom: 18px;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    line-height: 1.25;
    color: #fff;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 32px;
}

.section-intro p {
    color: var(--text-soft);
}

.navbar {
    padding: 16px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(18, 36, 87, 0.12);
}

.navbar .navbar-brand img {
    max-height: 44px;
}

.site-header .navbar .navbar-nav .nav-item a,
.navbar .nav-link {
    color: #121a33 !important;
    font-size: 0.92rem;
    font-weight: 500;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.site-header .navbar .navbar-nav .nav-item a:hover,
.navbar .nav-link:hover {
    color: var(--primary) !important;
}

.navbar .nav-link.nav-cta,
.site-header .navbar .navbar-nav .nav-item a.nav-cta {
    background: linear-gradient(135deg, #4f7cff, #17c0eb) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 999px;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 22px rgba(79, 124, 255, 0.38);
    margin-left: 12px;
}

.navbar .nav-link.nav-cta:hover,
.site-header .navbar .navbar-nav .nav-item a.nav-cta:hover {
    color: #ffffff !important;
    filter: brightness(1.06);
    box-shadow: 0 10px 26px rgba(79, 124, 255, 0.45);
}

.hero-section {
    position: relative;
    padding-top: 88px;
}

.hero-section h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.typed-title {
    min-height: 26px;
    margin: 0 0 10px;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8fa7ff;
    font-weight: 600;
}

#typed-strings {
    display: none;
}

.hero-section p {
    font-size: 1.02rem;
    color: var(--text-soft);
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin: 30px 0 36px;
    flex-wrap: wrap;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 12px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.primary-btn,
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    border: 0;
    color: #fff;
    box-shadow: 0 12px 30px rgba(52, 119, 255, 0.3);
}

.ghost-btn {
    border: 1px solid var(--border);
    color: #fff;
    background: transparent;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
}

.metric-card strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 0.96rem;
}

.metric-card span {
    font-size: 0.84rem;
    color: var(--text-soft);
}

.hero-panel {
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(27, 42, 89, 0.75), rgba(16, 25, 55, 0.92));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-panel h3 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.hero-panel ul {
    padding-left: 18px;
    margin: 0;
}

.hero-panel li {
    margin-bottom: 10px;
    color: var(--text-soft);
}

.scroll-down {
    text-align: center;
    margin-top: 26px;
}

.scroll-down a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: #fff;
}

.about-image {
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.service-wrapper,
.differential-card {
    background: #ffffff;
    border: 1px solid #e4e9f7;
    border-radius: 18px;
    padding: 26px;
    height: 100%;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-wrapper:hover,
.differential-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 124, 255, 0.6);
}

.service-section {
    background: #f5f8ff;
}

.service-section .section-heading,
.service-section .section-intro p,
.service-section .eyebrow {
    color: #121a33;
}

.service-section .eyebrow {
    color: #375edc;
}

.service-section .service-wrapper i.service-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 16px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #4f7cff, #17c0eb);
}

.service-wrapper h4,
.differential-card h5 {
    color: #121a33;
    margin-bottom: 10px;
}

.service-wrapper p,
.differential-card p {
    color: #4a567b;
    margin-bottom: 0;
}

.customer-section {
    position: relative;
    z-index: 1;
    padding-bottom: 56px;
}

.customer-section .logo-slider {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 8px;
}

.customer-section .logo-slider img {
    max-height: 72px;
    width: auto;
    margin: 0 auto;
    filter: none;
    opacity: 1;
}

.customer-section .slick-track {
    display: flex !important;
    align-items: center;
}

.customer-section .slick-slide {
    padding: 8px 14px;
    height: inherit !important;
}

.customer-section .slick-slide > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
}

.customer-section .section-heading {
    color: #ffffff;
}

.contact-box {
    border: 1px solid #e4e9f7;
    background: #ffffff;
    border-radius: 22px;
    padding: 26px 12px;
    box-shadow: 0 12px 40px rgba(18, 36, 87, 0.08);
}

.contact-section {
    position: relative;
    z-index: 2;
    margin-top: 0 !important;
}

.contact-section .contact-box {
    margin-top: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 12px 40px rgba(18, 36, 87, 0.1) !important;
}

.contact-section .section-heading,
.contact-section h2.section-heading {
    color: #121a33 !important;
}

.contact-section .eyebrow {
    color: #375edc !important;
}

.contact-left p {
    color: #4a567b !important;
}

.contact-section .form-group label {
    color: #3d4a6b !important;
    font-size: 0.84rem;
    margin-bottom: 8px;
}

.contact-section .form-control {
    height: auto;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f7f9fc !important;
    border: 1px solid #d0d8ea !important;
    color: #121a33 !important;
}

.contact-section .form-control::placeholder {
    color: #8894b3 !important;
}

.contact-section .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(79, 124, 255, 0.2) !important;
    background: #ffffff !important;
    color: #121a33 !important;
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-loader {
    display: none;
}

.contact-right {
    padding: 20px;
}

.contact-right h3 {
    color: #121a33 !important;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-section .contact-info i {
    color: #ffffff !important;
    margin-top: 0;
}

.contact-section .contact-text p {
    margin: 0;
    color: #4a567b !important;
}

.contact-section .contact-text a {
    color: #0d4fd4 !important;
}

.contact-section .contact-text a:hover {
    color: #0a3cad !important;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0 36px;
    background: rgba(7, 12, 31, 0.65);
}

.copyright {
    margin: 0;
    color: #8f9cc6;
}

.footer-social {
    margin: 0;
}

.footer-social li {
    display: inline-block;
    margin-left: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: #fff;
}

.scroll-to-top {
    position: fixed;
    right: 22px;
    bottom: 92px;
    display: none;
}

.scroll-to-top a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: #fff;
    background: rgba(7, 12, 31, 0.85);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 30px rgba(24, 148, 71, 0.35);
    z-index: 1000;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 48px 0;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        margin-top: 24px;
    }

    .navbar .nav-link {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: calc(88px + env(safe-area-inset-top, 0px));
        padding-bottom: 24px;
    }

    /* Evita centralizar o bloco na altura da tela: o texto sobe e fica sob o menu fixo */
    .hero-section .row.min-vh-100 {
        min-height: 0 !important;
        align-items: flex-start !important;
    }

    .hero-section h1 {
        margin-top: 8px;
    }

    .section-intro {
        margin-bottom: 24px;
    }

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

    .contact-box {
        padding: 18px 6px;
    }

    .footer-social li {
        margin: 0 6px;
    }
}
