:root {
    --bg: #050b16;
    --bg-soft: #081326;
    --surface: #0b1930;
    --surface-light: #10213d;

    --text: #f5f8ff;
    --muted: #9baabd;

    --blue: #1683ff;
    --blue-light: #55aaff;
    --blue-deep: #075fc5;

    --border: rgba(110, 174, 255, 0.18);
    --border-strong: rgba(64, 153, 255, 0.5);

    --shadow:
        0 26px 70px rgba(0, 0, 0, 0.38);

    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    min-width: 320px;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 75% 5%,
            rgba(22, 131, 255, 0.09),
            transparent 25%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

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

/* HEADER */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;

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

    background: rgba(5, 11, 22, 0.82);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    width: min(var(--container), 92%);
    min-height: 104px;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    position: relative;
    z-index: 1002;

    display: flex;
    align-items: center;

    margin-right: auto;
}

.brand-logo {
    width: 190px;
    height: 88px;
    object-fit: contain;

    filter:
        drop-shadow(0 0 12px rgba(22, 131, 255, 0.45))
        drop-shadow(0 0 34px rgba(22, 131, 255, 0.2));

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.04);

    filter:
        drop-shadow(0 0 16px rgba(85, 170, 255, 0.62))
        drop-shadow(0 0 42px rgba(22, 131, 255, 0.28));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;

    list-style: none;
}

.nav-links a {
    position: relative;

    color: var(--muted);

    font-size: 0.94rem;
    font-weight: 600;

    transition: color 0.25s ease;
}

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

    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;

    height: 2px;

    background: var(--blue);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.25s ease;
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta,
.button {
    min-height: 54px;
    padding: 0 25px;

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

    border: 0;
    border-radius: 10px;

    font-weight: 800;

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

.nav-cta,
.button-primary {
    background:
        linear-gradient(
            135deg,
            var(--blue-light),
            var(--blue)
        );

    color: #02101f;

    box-shadow:
        0 12px 32px rgba(22, 131, 255, 0.24);
}

.nav-cta:hover,
.button-primary:hover {
    transform: translateY(-3px);

    background:
        linear-gradient(
            135deg,
            #77bcff,
            #2890ff
        );

    box-shadow:
        0 18px 42px rgba(22, 131, 255, 0.34);
}

.button-secondary {
    border: 1px solid rgba(110, 174, 255, 0.3);

    background: rgba(11, 25, 48, 0.56);

    color: var(--text);
}

.button-secondary:hover {
    transform: translateY(-3px);

    border-color: rgba(85, 170, 255, 0.62);

    background: rgba(22, 131, 255, 0.1);
}

.menu-toggle {
    display: none;

    width: 48px;
    height: 48px;

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

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

    cursor: pointer;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    margin: 5px auto;

    display: block;

    border-radius: 999px;

    background: var(--text);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* HERO */

.hero {
    position: relative;

    width: min(var(--container), 92%);
    min-height: 100vh;
    margin: auto;
    padding: 165px 0 90px;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: center;
    gap: 58px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;

    overflow: hidden;
    pointer-events: none;
}

.grid-glow {
    position: absolute;
    inset: 10% -20% auto 20%;

    height: 70%;

    opacity: 0.25;

    background-image:
        linear-gradient(
            rgba(85, 170, 255, 0.09) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(85, 170, 255, 0.09) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 72%
        );
}

.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(30px);
}

.orb-one {
    width: 250px;
    height: 250px;
    top: 12%;
    right: 8%;

    background: rgba(22, 131, 255, 0.14);
}

.orb-two {
    width: 190px;
    height: 190px;
    right: 34%;
    bottom: 10%;

    background: rgba(85, 170, 255, 0.08);
}

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

.eyebrow {
    margin-bottom: 20px;

    color: var(--blue-light);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(3.8rem, 7vw, 7rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            var(--text),
            var(--blue-light)
        );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
}

.hero-actions {
    margin-top: 38px;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    display: grid;
    place-items: center;
}

.security-core {
    position: relative;

    width: min(450px, 38vw);
    aspect-ratio: 1;

    display: grid;
    place-items: center;

    border: 1px solid rgba(85, 170, 255, 0.15);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 131, 255, 0.13),
            rgba(5, 11, 22, 0.1) 55%,
            transparent 72%
        );

    box-shadow:
        inset 0 0 80px rgba(22, 131, 255, 0.06),
        0 0 100px rgba(22, 131, 255, 0.08);
}

.security-core::before,
.security-core::after {
    content: "";

    position: absolute;
    inset: 50% auto auto 50%;

    background: rgba(85, 170, 255, 0.13);

    transform: translate(-50%, -50%);
}

.security-core::before {
    width: 1px;
    height: 100%;
}

.security-core::after {
    width: 100%;
    height: 1px;
}

.security-core img {
    position: relative;
    z-index: 3;

    width: 84%;

    filter:
        drop-shadow(0 0 15px rgba(85, 170, 255, 0.48))
        drop-shadow(0 0 44px rgba(22, 131, 255, 0.22));
}

.core-ring {
    position: absolute;

    border: 1px solid rgba(85, 170, 255, 0.16);
    border-radius: 50%;
}

.core-ring-one {
    inset: 10%;

    animation: rotateCore 30s linear infinite;
}

.core-ring-two {
    inset: 24%;

    border-style: dashed;

    animation: rotateCoreReverse 22s linear infinite;
}

.core-ring-three {
    inset: 36%;

    box-shadow:
        0 0 25px rgba(22, 131, 255, 0.16);
}

@keyframes rotateCore {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCoreReverse {
    to {
        transform: rotate(-360deg);
    }
}

/* SEÇÕES */

.section {
    width: min(var(--container), 92%);
    margin: auto;
    padding: 115px 0;
}

.section-wide {
    width: 100%;
    max-width: none;
}

.section-inner {
    width: min(var(--container), 92%);
    margin: auto;
}

.section-soft {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(22, 131, 255, 0.08),
            transparent 25%
        ),
        var(--bg-soft);
}

.section-heading {
    max-width: 850px;
    margin-bottom: 50px;
}

.section-heading h2,
.about-content h2,
.final-cta h2 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.about-content > p:last-child,
.final-cta p {
    max-width: 750px;
    margin-top: 22px;

    color: var(--muted);

    font-size: 1.08rem;
}

/* CARDS */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.premium-card {
    position: relative;

    overflow: hidden;

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

    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(22, 131, 255, 0.14),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 18px 45px rgba(0, 0, 0, 0.21),
        0 0 28px rgba(22, 131, 255, 0.06);

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

.premium-card::before {
    content: "";

    position: absolute;
    inset: 0 auto 0 0;

    width: 4px;

    background:
        linear-gradient(
            180deg,
            var(--blue-light),
            var(--blue),
            rgba(22, 131, 255, 0.16)
        );

    box-shadow:
        0 0 15px rgba(22, 131, 255, 0.6),
        0 0 32px rgba(22, 131, 255, 0.22);
}

.premium-card::after {
    content: "";

    position: absolute;
    top: -100px;
    right: -95px;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background: rgba(22, 131, 255, 0.14);

    filter: blur(15px);
    pointer-events: none;
}

.premium-card:hover {
    transform: translateY(-9px);

    border-color: var(--border-strong);

    box-shadow:
        0 0 0 1px rgba(22, 131, 255, 0.08),
        0 28px 62px rgba(0, 0, 0, 0.36),
        0 0 42px rgba(22, 131, 255, 0.14);
}

.premium-card > * {
    position: relative;
    z-index: 2;
}

.service-card {
    min-height: 300px;
    padding: 40px;
}

.process-step {
    min-height: 270px;
    padding: 36px;
}

.card-number {
    min-width: 45px;
    height: 30px;
    padding: 0 11px;

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

    border: 1px solid rgba(85, 170, 255, 0.32);
    border-radius: 999px;

    background: rgba(22, 131, 255, 0.09);

    color: var(--blue-light);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.service-card h3,
.process-step h3 {
    margin: 52px 0 14px;

    font-size: 1.35rem;
}

.process-step h3 {
    margin-top: 38px;
}

.service-card p,
.process-step p {
    color: var(--muted);
}

/* SOBRE */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: start;
}

.about-points {
    display: grid;
    gap: 16px;
}

.about-points article {
    padding: 28px;
}

.about-points strong {
    display: block;
    margin-bottom: 8px;

    font-size: 1.08rem;
}

.about-points span {
    color: var(--muted);
}

/* DEPOIMENTOS SEM EFEITO DE CARD */

.testimonials-placeholder {
    min-height: 160px;
    padding: 34px;

    display: grid;
    place-items: center;

    border: 1px dashed rgba(110, 174, 255, 0.24);
    border-radius: 14px;

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

    color: var(--muted);

    text-align: center;
}

/* CTA */

.final-cta {
    width: min(var(--container), 92%);
    margin: 20px auto 110px;
    padding: 64px;

    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 45px;

    overflow: hidden;

    border: 1px solid rgba(85, 170, 255, 0.23);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(22, 131, 255, 0.19),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            var(--surface),
            #081426
        );

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

.final-cta > div {
    max-width: 750px;
}

/* RODAPÉ */

.site-footer {
    width: min(var(--container), 92%);
    margin: auto;
    padding: 46px 0;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: var(--muted);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-brand img {
    width: 150px;

    filter:
        drop-shadow(0 0 12px rgba(22, 131, 255, 0.26));
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.site-footer > p {
    grid-column: 1 / -1;

    font-size: 0.88rem;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 2000;

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    border: 2px solid rgba(255, 255, 255, 0.23);
    border-radius: 50%;

    background: #25d366;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.42),
        0 0 30px rgba(37, 211, 102, 0.3);

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

.whatsapp-float svg {
    width: 35px;
    height: 35px;

    fill: white;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.07);

    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.46),
        0 0 40px rgba(37, 211, 102, 0.44);
}

/* TABLET */

@media (max-width: 1050px) {

    .nav-links {
        gap: 18px;
    }

    .nav-cta {
        display: none;
    }

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

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

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

}

/* MOBILE */

@media (max-width: 780px) {

    html {
        scroll-padding-top: 88px;
    }

    .nav-container {
        min-height: 86px;
    }

    .brand-logo {
        width: 145px;
        height: 70px;
    }

    .menu-toggle {
        position: relative;
        z-index: 1002;

        display: block;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        inset: 0;

        min-height: 100vh;
        padding: 125px 6% 40px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 34px;

        background:
            radial-gradient(
                circle at 75% 8%,
                rgba(22, 131, 255, 0.15),
                transparent 28%
            ),
            rgba(5, 11, 22, 0.98);

        transform: translateX(100%);

        transition: transform 0.32s ease;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-links a {
        padding: 18px 0;

        display: block;

        color: var(--text);

        font-size: 1.3rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        min-height: 58px;

        display: inline-flex;
    }

    .hero {
        min-height: auto;
        padding: 135px 0 80px;

        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 14vw, 5.2rem);
        line-height: 0.98;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .security-core {
        width: min(330px, 82vw);
    }

    .section {
        padding: 85px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading h2,
    .about-content h2,
    .final-cta h2 {
        font-size: clamp(2.35rem, 10vw, 3.8rem);
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .final-cta {
        padding: 42px 30px;

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

    .site-footer {
        grid-template-columns: 1fr;
    }

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

}

/* CELULAR PEQUENO */

@media (max-width: 560px) {

    .brand-logo {
        width: 130px;
        height: 64px;
    }

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

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

    .button {
        width: 100%;
    }

    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 270px;
        padding: 30px;
    }

    .process-step {
        min-height: 240px;
    }

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

    .final-cta {
        width: calc(100% - 32px);
        margin-bottom: 85px;
    }

    .whatsapp-float {
        right: 17px;
        bottom: 17px;

        width: 59px;
        height: 59px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }

}

/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
