/* =========================================================
   LEVEL7 DIGITAL
   DESIGN SYSTEM
========================================================= */

:root {
    --primary: #1677ff;
    --primary-dark: #075ed1;
    --primary-soft: #eef6ff;

    --navy: #071a33;
    --navy-2: #0d284d;

    --text: #122033;
    --text-soft: #5d6b7d;
    --text-light: #8390a1;

    --white: #ffffff;
    --background: #ffffff;
    --background-soft: #f6f9fc;

    --border: #e5ebf2;

    --shadow:
        0 18px 50px rgba(17, 38, 70, 0.08);

    --shadow-hover:
        0 24px 65px rgba(17, 38, 70, 0.13);

    --radius: 22px;
    --radius-small: 14px;

    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-label,
.eyebrow,
.custom-label {
    display: inline-block;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-header h2 {
    margin-top: 14px;

    font-size: clamp(
        34px,
        5vw,
        54px
    );

    line-height: 1.06;

    letter-spacing: -2px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    max-width: 650px;

    margin-top: 20px;

    color: var(--text-soft);

    font-size: 18px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 23px;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 750;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border 0.2s ease,
        box-shadow 0.2s ease;
}

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

.btn-primary {
    color: var(--white);
    background: var(--primary);

    box-shadow:
        0 12px 30px
        rgba(22, 119, 255, 0.22);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    color: var(--text);

    border:
        1px solid
        var(--border);

    background: var(--white);
}

.btn-secondary:hover {
    border-color: #b8c8db;
}

.btn-white {
    color: var(--navy);

    background: var(--white);

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.12);
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;

    top: 0;
    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.94);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid
        rgba(229, 235, 242, 0.9);
}

.header-container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    min-height: 76px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: baseline;

    white-space: nowrap;

    letter-spacing: -0.7px;
}

.brand strong {
    color: var(--navy);

    font-size: 21px;
    font-weight: 900;
}

.brand span {
    margin-left: 5px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}

.nav {
    display: flex;
    align-items: center;

    gap: 34px;

    margin-left: auto;
}

.nav a {
    position: relative;

    color: #445267;

    font-size: 14px;
    font-weight: 650;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: width 0.2s ease;
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

.btn-header {
    min-height: 42px;

    padding: 0 18px;

    color: var(--white);

    background: var(--navy);

    border-radius: 9px;
}

.btn-header:hover {
    background: var(--primary);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 35%,
            rgba(22, 119, 255, 0.10),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 100%
        );

    border-bottom:
        1px solid
        var(--border);
}


/*
IMPORTANTE:
não existe mais 100vh ou min-height gigante.
O tamanho do Hero agora depende do conteúdo.
*/

.hero-container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(330px, 0.92fr);

    align-items: center;

    gap: 70px;

    padding:
        85px 0
        90px;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 670px;
}

.eyebrow {
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--navy);

    font-size: clamp(
        46px,
        6vw,
        72px
    );

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 850;
}

.hero h1 span {
    display: block;

    margin-top: 8px;

    color: var(--primary);
}

.hero-description {
    max-width: 630px;

    margin-top: 27px;

    color: var(--text-soft);

    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 33px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;

    gap: 22px;

    margin-top: 30px;

    color: #5b6878;

    font-size: 13px;
    font-weight: 650;
}

.hero-features span::first-letter {
    color: var(--primary);
}

.hero-image {
    position: relative;

    min-height: 460px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image::before {
    content: "";

    position: absolute;

    width: 410px;
    height: 410px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 119, 255, 0.13),
            rgba(22, 119, 255, 0.02) 55%,
            transparent 72%
        );
}

.hero-image-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        rgba(22, 119, 255, 0.16);

    filter: blur(65px);
}

.hero-image img {
    position: relative;
    z-index: 2;

    width: min(
        100%,
        430px
    );

    object-fit: contain;

    /*
    ajuda a integrar imagens de fundo claro
    ao novo layout branco
    */

    mix-blend-mode: multiply;

    filter:
        drop-shadow(
            0 28px 35px
            rgba(25, 93, 170, 0.18)
        );
}


/* =========================================================
   TECHNOLOGY STRIP
========================================================= */

.technology-strip {
    background: var(--white);

    border-bottom:
        1px solid
        var(--border);
}

.technology-strip-container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    min-height: 74px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    overflow: hidden;
}

.technology-strip span {
    color: #6d7988;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.6px;

    white-space: nowrap;
}

.technology-strip i {
    width: 4px;
    height: 4px;

    flex: 0 0 4px;

    border-radius: 50%;

    background: var(--primary);
}


/* =========================================================
   MAIN SERVICES
========================================================= */

.services {
    background: var(--white);
}

.main-services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.main-service-card {
    position: relative;

    min-height: 385px;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    background:
        var(--white);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.main-service-card:hover {
    transform:
        translateY(-7px);

    border-color:
        #c9d9eb;

    box-shadow:
        var(--shadow-hover);
}

.service-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 27px;

    border-radius: 13px;

    color: var(--primary);

    background:
        var(--primary-soft);

    font-size: 13px;
    font-weight: 850;
}

.main-service-card h3 {
    color: var(--navy);

    font-size: 22px;
    line-height: 1.2;
}

.main-service-card p {
    margin-top: 15px;

    color: var(--text-soft);

    font-size: 15px;
}

.main-service-card ul {
    margin-top: 24px;

    list-style: none;
}

.main-service-card li {
    position: relative;

    margin-top: 10px;

    padding-left: 18px;

    color: #526173;

    font-size: 14px;
}

.main-service-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 9px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--primary);
}


/* =========================================================
   SYSTEMS
========================================================= */

.systems {
    background:
        var(--background-soft);

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.systems-heading {
    max-width: 790px;
}

.systems-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.system-card {
    min-height: 225px;

    padding: 27px;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background:
        var(--white);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.system-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow);
}

.system-card-icon {
    min-width: 48px;
    height: 34px;

    width: fit-content;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 11px;

    margin-bottom: 20px;

    border-radius: 8px;

    color: var(--primary);

    background:
        var(--primary-soft);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.7px;
}

.system-card h3 {
    color: var(--navy);

    font-size: 19px;
}

.system-card p {
    margin-top: 11px;

    color: var(--text-soft);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   CUSTOM SOFTWARE
========================================================= */

.custom-software {
    padding: 90px 0;

    background: var(--white);
}

.custom-software-box {
    position: relative;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 70px;

    padding: 65px;

    border-radius: 28px;

    color: var(--white);

    background:
        radial-gradient(
            circle at 100% 0%,
            #164d8f,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071a33,
            #0a2c58
        );
}

.custom-software-box::after {
    content: "7";

    position: absolute;

    right: -15px;
    bottom: -145px;

    color:
        rgba(255, 255, 255, 0.035);

    font-size: 440px;
    font-weight: 900;

    line-height: 1;
}

.custom-software-content {
    position: relative;
    z-index: 2;
}

.custom-label {
    color: #7db8ff;
}

.custom-software h2 {
    max-width: 650px;

    margin-top: 15px;

    font-size: clamp(
        34px,
        5vw,
        52px
    );

    line-height: 1.05;

    letter-spacing: -2px;
}

.custom-software p {
    max-width: 600px;

    margin-top: 23px;

    color: #b9c8d9;

    font-size: 17px;
    line-height: 1.75;
}

.custom-software .btn {
    margin-top: 30px;
}

.custom-list {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.custom-list div {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 18px 0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.12);
}

.custom-list strong {
    color: #70afff;

    font-size: 12px;
}

.custom-list span {
    font-size: 16px;
    font-weight: 650;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    background: var(--white);
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.process-grid article {
    min-height: 240px;

    padding: 30px 25px;

    border-right:
        1px solid
        var(--border);
}

.process-grid article:last-child {
    border-right: 0;
}

.process-grid article > span {
    color: var(--primary);

    font-size: 12px;
    font-weight: 850;
}

.process-grid h3 {
    margin-top: 35px;

    color: var(--navy);

    font-size: 19px;
}

.process-grid p {
    margin-top: 12px;

    color: var(--text-soft);

    font-size: 14px;
}


/* =========================================================
   MANAGEMENT
========================================================= */

.management {
    background:
        var(--background-soft);

    border-top:
        1px solid
        var(--border);
}

.management-container {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 90px;

    align-items: center;
}

.management-content h2 {
    margin-top: 14px;

    color: var(--navy);

    font-size: clamp(
        35px,
        5vw,
        50px
    );

    line-height: 1.05;

    letter-spacing: -2px;
}

.management-content h2 span {
    color: var(--primary);
}

.management-content p {
    margin-top: 22px;

    color: var(--text-soft);

    font-size: 17px;
}

.management-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.management-grid div {
    min-height: 130px;

    padding: 23px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background: var(--white);
}

.management-grid strong {
    color: var(--navy);

    font-size: 16px;
}

.management-grid span {
    margin-top: 7px;

    color: var(--text-soft);

    font-size: 13px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 95px 20px;

    color: var(--white);

    background:
        radial-gradient(
            circle at 70% 20%,
            #174f92,
            transparent 32%
        ),
        var(--navy);
}

.final-cta-container {
    max-width: 800px;

    margin: 0 auto;

    text-align: center;
}

.final-cta-container > span {
    color: #75b4ff;

    font-size: 12px;
    font-weight: 850;

    letter-spacing: 2px;
}

.final-cta h2 {
    margin-top: 16px;

    font-size: clamp(
        38px,
        6vw,
        60px
    );

    line-height: 1;

    letter-spacing: -2.5px;
}

.final-cta p {
    max-width: 650px;

    margin:
        23px auto 0;

    color: #bdcad9;

    font-size: 17px;
}

.final-cta .btn {
    margin-top: 31px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--white);
}

.footer-container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    min-height: 160px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.footer-brand p {
    margin-top: 10px;

    color: var(--text-light);

    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 28px;
}

.footer-links a {
    color: var(--text-soft);

    font-size: 13px;
    font-weight: 650;
}

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

.footer-bottom {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;

    padding: 22px 0;

    color: var(--text-light);

    border-top:
        1px solid
        var(--border);

    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .nav {
        gap: 20px;
    }

    .hero-container {
        gap: 35px;
    }

    .main-services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .systems-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .process-grid article {
        border-bottom:
            1px solid
            var(--border);
    }

    .custom-software-box {
        padding: 50px;
        gap: 45px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width:
            calc(100% - 32px);
    }

    .section {
        padding: 72px 0;
    }


    /* HEADER */

    .header-container {
        width:
            calc(100% - 28px);

        min-height: 67px;

        gap: 12px;
    }

    .brand strong {
        font-size: 18px;
    }

    .brand span {
        font-size: 10px;
    }

    .nav {
        display: none;
    }

    .btn-header {
        min-height: 39px;

        padding: 0 13px;

        font-size: 11px;
    }


    /* HERO */

    .hero-container {
        width:
            calc(100% - 32px);

        display: flex;
        flex-direction: column;

        gap: 35px;

        padding:
            58px 0
            55px;
    }

    .hero-content {
        width: 100%;
    }

    .eyebrow {
        margin-bottom: 15px;

        font-size: 9px;

        letter-spacing: 1.6px;
    }

    .hero h1 {
        font-size:
            clamp(
                42px,
                13vw,
                59px
            );

        line-height: 0.98;

        letter-spacing: -2.8px;
    }

    .hero h1 span {
        margin-top: 6px;
    }

    .hero-description {
        margin-top: 22px;

        font-size: 16px;
        line-height: 1.65;
    }

    .hero-buttons {
        width: 100%;

        margin-top: 27px;
    }

    .hero-buttons .btn {
        flex: 1;

        min-width: 150px;
    }

    .hero-features {
        gap: 11px 18px;

        margin-top: 24px;

        font-size: 11px;
    }

    .hero-image {
        width: 100%;

        min-height: 280px;
    }

    .hero-image::before {
        width: 280px;
        height: 280px;
    }

    .hero-image img {
        width:
            min(
                82vw,
                320px
            );
    }


    /* STRIP */

    .technology-strip-container {
        width: 100%;

        min-height: 61px;

        padding: 0 18px;

        justify-content: flex-start;

        overflow-x: auto;

        scrollbar-width: none;
    }

    .technology-strip-container::-webkit-scrollbar {
        display: none;
    }


    /* HEADINGS */

    .section-header {
        margin-bottom: 37px;
    }

    .section-header h2 {
        font-size: 36px;

        letter-spacing: -1.6px;
    }

    .section-header p {
        margin-top: 15px;

        font-size: 15px;
    }


    /* SERVICES */

    .main-services-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .main-service-card {
        min-height: auto;

        padding: 25px;
    }


    /* SYSTEMS */

    .systems-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .system-card {
        min-height: auto;

        padding: 23px;
    }


    /* CUSTOM SOFTWARE */

    .custom-software {
        padding: 60px 0;
    }

    .custom-software-box {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 36px 25px;

        border-radius: 22px;
    }

    .custom-software h2 {
        font-size: 36px;

        letter-spacing: -1.5px;
    }

    .custom-software p {
        font-size: 15px;
    }

    .custom-software .btn {
        width: 100%;

        text-align: center;
    }

    .custom-software-box::after {
        font-size: 300px;

        right: -40px;
        bottom: -80px;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns: 1fr;

        border-bottom: 0;
    }

    .process-grid article {
        min-height: auto;

        padding:
            24px 5px;

        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .process-grid h3 {
        margin-top: 14px;
    }


    /* MANAGEMENT */

    .management-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .management-content h2 {
        font-size: 36px;
    }

    .management-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .management-grid div {
        min-height: 105px;
    }


    /* CTA */

    .final-cta {
        padding: 75px 20px;
    }

    .final-cta h2 {
        font-size: 39px;
    }

    .final-cta p {
        font-size: 15px;
    }

    .final-cta .btn {
        width: 100%;
    }


    /* FOOTER */

    .footer-container {
        width:
            calc(100% - 32px);

        padding: 42px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 30px;
    }

    .footer-links {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        width: 100%;

        gap: 15px;
    }

    .footer-bottom {
        width:
            calc(100% - 32px);
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-image {
        min-height: 245px;
    }

    .hero-image img {
        width: 270px;
    }

}