:root {
    --bg-dark: #071b2a;
    --bg-dark-soft: #0c2638;
    --blue: #159bd7;
    --blue-light: #28b6ef;
    --green: #51b848;
    --green-light: #8bc63f;
    --text: #18232b;
    --text-soft: #64707a;
    --white: #ffffff;
    --border: #e4e9ed;
    --bg-light: #f6f9fb;
    --shadow: 0 20px 50px rgba(7, 27, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    background: var(--white);
    color: var(--bg-dark);
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================
   HEADER
================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(7, 27, 42, 0.08);
}

.header-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 380px;
    max-width: none;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #53616b;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--bg-dark);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        var(--blue),
        var(--green)
    );
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.menu-button span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--bg-dark);
    margin: 5px auto;
    transition: 0.2s ease;
}

/* ================================
   HERO
================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 120px;
    background:
        radial-gradient(
            circle at top left,
            rgba(21, 155, 215, 0.08),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fafc 100%
        );
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #48707d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 28px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        var(--blue),
        var(--green)
    );
}

.hero h1 {
    margin: 0;
    color: var(--bg-dark);
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.hero-text {
    max-width: 660px;
    margin: 28px 0 0;
    color: var(--text-soft);
    font-size: 19px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.button-primary {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--blue),
        #0f8ed0
    );
    box-shadow:
        0 14px 30px
        rgba(21, 155, 215, 0.24);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px
        rgba(21, 155, 215, 0.32);
}

.button-link {
    color: var(--bg-dark);
}

.button-link:hover {
    color: var(--blue);
}

.hero-panel {
    position: relative;
    min-height: 440px;
    padding: 34px;
    border-radius: 28px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            rgba(7, 27, 42, 0.98),
            rgba(10, 50, 70, 0.97)
        );
    box-shadow:
        0 30px 80px
        rgba(7, 27, 42, 0.25);
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(27, 174, 231, 0.23),
            transparent 32%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(81, 184, 72, 0.17),
            transparent 32%
        );
}

.panel-topline {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d7e9f2;
    font-size: 14px;
    font-weight: 700;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5dd55d;
    box-shadow:
        0 0 0 6px
        rgba(93, 213, 93, 0.13);
}

.signal {
    position: relative;
    z-index: 2;
    width: 240px;
    height: 240px;
    margin: 45px auto 30px;
}

.signal-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid
        rgba(255, 255, 255, 0.20);
}

.signal-ring-one {
    width: 220px;
    height: 220px;
}

.signal-ring-two {
    width: 155px;
    height: 155px;
}

.signal-ring-three {
    width: 90px;
    height: 90px;
}

.signal-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--blue-light),
        var(--green)
    );
    box-shadow:
        0 0 0 12px
        rgba(21, 155, 215, 0.08),
        0 0 50px
        rgba(21, 155, 215, 0.55);
}

.panel-list {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.panel-list span {
    padding: 13px 15px;
    border-radius: 10px;
    background:
        rgba(255, 255, 255, 0.06);
    border:
        1px solid
        rgba(255, 255, 255, 0.08);
    color: #d7e7ed;
    font-size: 14px;
}

/* ================================
   GLOW
================================ */

.hero-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.18;
}

.hero-glow-blue {
    top: 0;
    right: 10%;
    background: var(--blue);
}

.hero-glow-green {
    bottom: -140px;
    left: -120px;
    background: var(--green);
}

/* ================================
   SOLUÇÕES
================================ */

.solutions {
    padding: 110px 0;
    background: #ffffff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2,
.about-copy h2 {
    margin: 0;
    color: var(--bg-dark);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.section-heading > p:last-child {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--text-soft);
    font-size: 17px;
}

.solution-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.solution-card {
    position: relative;
    min-height: 320px;
    padding: 28px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow:
        0 12px 35px
        rgba(7, 27, 42, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 22px 45px
        rgba(7, 27, 42, 0.10);
}

.solution-card.featured {
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #071b2a,
            #0b3046
        );
    border-color: transparent;
}

.card-number {
    display: block;
    margin-bottom: 48px;
    color: #a8b2b9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.featured .card-number {
    color: #8fb3c4;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 12px;
    background:
        rgba(21, 155, 215, 0.10);
}

.card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.featured .card-icon {
    background:
        rgba(255, 255, 255, 0.08);
}

.featured .card-icon svg {
    stroke: #ffffff;
}

.solution-card h3 {
    margin: 0 0 12px;
    color: var(--bg-dark);
    font-size: 21px;
}

.featured h3 {
    color: #ffffff;
}

.solution-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.75;
}

.featured p {
    color: #c6d5dd;
}

/* ================================
   EMPRESA
================================ */

.about {
    padding: 110px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.45fr 1.55fr;
    gap: 80px;
    align-items: start;
}

.about-label {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.about-label span {
    color: var(--green);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.about-copy {
    max-width: 760px;
}

.about-copy > p:last-child {
    margin: 24px 0 0;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.8;
}

/* ================================
   FOOTER
================================ */

.site-footer {
    padding: 42px 0;
    color: #b8c6cf;
    background: var(--bg-dark);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand strong {
    display: block;
    color: #ffffff;
    font-size: 26px;
    letter-spacing: -0.04em;
}

.footer-brand strong span {
    color: var(--green);
}

.footer-brand p,
.footer-inner > p {
    margin: 5px 0 0;
    font-size: 13px;
}

/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

    .header-inner {
        min-height: 100px;
    }

    .brand img {
        width: 320px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-panel {
        max-width: 680px;
    }

    .solution-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-label span {
        writing-mode: initial;
        transform: none;
    }

}

/* ================================
   MOBILE MENU
================================ */

@media (max-width: 760px) {

    .container {
        width: min(
            100% - 28px,
            1180px
        );
    }

    .header-inner {
        min-height: 84px;
        gap: 15px;
    }

    .brand img {
        width: 250px;
        max-width: 70vw;
    }

    .menu-button {
        display: block;
        flex-shrink: 0;
    }

    .main-nav {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 22px;
        background: #ffffff;
        border-bottom:
            1px solid var(--border);
        box-shadow:
            0 15px 30px
            rgba(7, 27, 42, 0.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 0;
    }

    .main-nav a::after {
        bottom: 7px;
    }

    .hero {
        padding: 70px 0 85px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-panel {
        min-height: 400px;
        padding: 28px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solutions,
    .about {
        padding: 80px 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* ================================
   MOBILE PEQUENO
================================ */

@media (max-width: 480px) {

    .brand img {
        width: 205px;
        max-width: 68vw;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button-primary,
    .button-link {
        width: 100%;
    }

    .button-link {
        justify-content: flex-start;
    }

    .hero-panel {
        min-height: 350px;
    }

    .signal {
        width: 200px;
        height: 200px;
    }

    .signal-ring-one {
        width: 190px;
        height: 190px;
    }

    .signal-ring-two {
        width: 130px;
        height: 130px;
    }

    .signal-ring-three {
        width: 75px;
        height: 75px;
    }

}