/* =========================================================
   TECHNOSERP — STYLE PRINCIPAL
   Design System Base
========================================================= */


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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: "Inter", sans-serif;

    background: #05080D;
    color: #F5F7FA;

    line-height: 1.6;

    overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
    font-family: "Inter", sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

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

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

::selection {
    background: rgba(0, 217, 255, 0.25);
    color: #FFFFFF;
}


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {

    /* Fundos */
    --bg: #05080D;
    --bg-2: #080C12;

    /* Cards */
    --card: #101820;
    --card-2: #16212C;

    /* Bordas */
    --border: #1E2935;

    /* Cores principais */
    --cyan: #00D9FF;
    --blue: #008CFF;
    --green: #5FFFCB;

    /* Cores auxiliares */
    --yellow: #FFC928;
    --orange: #FF7A00;
    --red: #FF1645;

    /* Texto */
    --text: #F5F7FA;
    --muted: #A7B0BC;
    --dim: #6B7684;

    /* Outros */
    --radius: 16px;

    --shadow:
        0 18px 50px rgba(0, 0, 0, 0.32);

    --container: 1180px;
}


/* =========================================================
   CONTAINER
========================================================= */

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

    margin-inline: auto;
}


/* =========================================================
   FUNDO TECNOLÓGICO
========================================================= */

.site-background {
    position: fixed;

    inset: 0;

    z-index: -10;

    pointer-events: none;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(0, 217, 255, 0.045),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(0, 140, 255, 0.04),
            transparent 30%
        ),
        var(--bg);
}


/* Grade */

.background-grid {
    position: absolute;

    inset: 0;

    opacity: 0.28;

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

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            rgba(0, 0, 0, 0.5) 60%,
            transparent 100%
        );
}


/* Glows */

.background-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.08;
}

.background-glow-1 {
    top: -300px;
    left: -180px;

    background: var(--cyan);
}

.background-glow-2 {
    right: -250px;
    top: 45%;

    background: var(--blue);
}


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

.site-header {
    position: relative;

    z-index: 100;

    width: 100%;

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

    background:
        rgba(5, 8, 13, 0.78);

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


.header-container {
    min-height: 78px;

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

    gap: 32px;
}


/* =========================================================
   LOGO / BRAND
========================================================= */

.brand {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}

.brand img {
    width: 42px;
    height: 42px;

    object-fit: contain;
}

.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1.15;
}

.brand-text strong {
    font-size: 16px;

    font-weight: 800;

    letter-spacing: -0.02em;
}

.brand-text span {
    margin-top: 4px;

    color: var(--dim);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.main-navigation {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-left: auto;
}

.nav-link {
    position: relative;

    padding: 9px 12px;

    color: var(--muted);

    font-size: 13px;

    font-weight: 500;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;

    bottom: 2px;

    height: 1px;

    background: var(--cyan);

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--text);
}


/* =========================================================
   BOTÃO HEADER
========================================================= */

.header-action {
    display: inline-flex;

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

    gap: 8px;

    min-height: 38px;

    padding: 0 15px;

    border: 1px solid rgba(0, 217, 255, 0.25);

    border-radius: 10px;

    background:
        rgba(0, 217, 255, 0.055);

    color: var(--cyan);

    font-size: 12px;

    font-weight: 600;

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

.header-action:hover {
    border-color: rgba(0, 217, 255, 0.5);

    background:
        rgba(0, 217, 255, 0.1);

    transform: translateY(-1px);
}


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

.menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

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

    flex-direction: column;

    gap: 5px;

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

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.025);
}

.menu-toggle span {
    width: 17px;
    height: 1.5px;

    border-radius: 5px;

    background: var(--text);

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

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

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

.hero {
    position: relative;

    padding:
        100px
        0
        105px;

    overflow: hidden;
}

.hero-container {
    min-height: 540px;

    display: grid;

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

    align-items: center;

    gap: 70px;
}


/* =========================================================
   HERO — TEXTO
========================================================= */

.hero-content {
    max-width: 650px;
}

.section-label {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--cyan);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.label-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 12px rgba(0, 217, 255, 0.8);
}


.hero h1 {
    max-width: 700px;

    margin-top: 20px;

    font-size: clamp(
        44px,
        5vw,
        68px
    );

    line-height: 1.03;

    letter-spacing: -0.055em;

    font-weight: 800;
}

.hero h1 span {
    display: block;

    color: var(--cyan);
}


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

    margin-top: 24px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   HERO — BOTÕES
========================================================= */

.hero-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


/* =========================================================
   BOTÕES
========================================================= */

.btn {
    min-height: 46px;

    display: inline-flex;

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

    gap: 9px;

    padding:
        0
        18px;

    border-radius: 11px;

    font-size: 12px;

    font-weight: 700;

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

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


.btn-primary {
    border: 1px solid var(--cyan);

    background: var(--cyan);

    color: #021116;

    box-shadow:
        0 8px 28px rgba(0, 217, 255, 0.12);
}

.btn-primary:hover {
    box-shadow:
        0 10px 34px rgba(0, 217, 255, 0.2);
}


.btn-secondary {
    border: 1px solid var(--border);

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

    color: var(--text);
}

.btn-secondary:hover {
    border-color: #334252;

    background: rgba(255, 255, 255, 0.05);
}


/* =========================================================
   HERO — INFORMAÇÕES
========================================================= */

.hero-info {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 28px;
}

.hero-info-item {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--dim);

    font-size: 10px;

    font-weight: 500;
}

.hero-info-item i {
    color: var(--green);

    font-size: 10px;
}


/* =========================================================
   HERO — VISUAL
========================================================= */

.hero-visual {
    display: flex;

    justify-content: center;

    perspective: 1000px;
}

.hero-carousel {
    width: min(100%, 430px);
}

.hero-carousel .hero-card {
    width: 100%;
    transition: opacity .24s ease, border-color .24s ease;
}

.hero-carousel .hero-card.is-changing .hero-card-icon,
.hero-carousel .hero-card.is-changing .hero-card-content,
.hero-carousel .hero-card.is-changing .hero-card-footer {
    opacity: .18;
    transform: translateY(5px);
}

.hero-card-icon,
.hero-card-content,
.hero-card-footer {
    transition: opacity .24s ease, transform .24s ease;
}

.hero-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.hero-carousel-controls button {
    width: 24px;
    height: 6px;
    border-radius: 999px;
    background: rgba(167, 176, 188, .3);
    transition: width .2s ease, background .2s ease, box-shadow .2s ease;
}

.hero-carousel-controls button:hover,
.hero-carousel-controls button:focus-visible {
    background: rgba(0, 217, 255, .7);
    outline: 2px solid rgba(0, 217, 255, .3);
    outline-offset: 4px;
}

.hero-carousel-controls button.is-active {
    width: 40px;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 217, 255, .4);
}

.terminal-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(0, 217, 255, .1);
    border-bottom: 1px solid rgba(0, 217, 255, .1);
    background: rgba(8, 12, 18, .88);
}

.terminal-marquee-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px 0;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.terminal-marquee-viewport::-webkit-scrollbar,
.system-stats-marquee::-webkit-scrollbar { display: none; }
.terminal-marquee-viewport.is-dragging,
.system-stats-marquee.is-dragging { cursor: grabbing; }
.terminal-marquee-viewport.is-dragging .terminal-marquee-track { animation-play-state: paused; }

.terminal-marquee-track {
    display: flex;
    width: max-content;
    animation: terminal-marquee-scroll 40s linear infinite;
    will-change: transform;
}

.terminal-marquee-copy {
    width: max-content;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 42px;
    color: #c4ccd5;
    font-family: "Consolas", "SFMono-Regular", "Courier New", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .055em;
    white-space: nowrap;
}

.terminal-prompt,
.terminal-status { color: var(--cyan); }
.terminal-prompt { text-shadow: 0 0 10px rgba(0, 217, 255, .45); }
.terminal-separator { color: rgba(95, 255, 203, .64); }
.terminal-status-accent { color: var(--green); }

@keyframes terminal-marquee-scroll {
    to { transform: translateX(-12.5%); }
}

@media (prefers-reduced-motion: reduce) {
    .terminal-marquee-track { animation: none; }
    .terminal-marquee-viewport { overflow-x: auto; }
}

.hero-card {
    position: relative;

    width: min(100%, 430px);

    min-height: 400px;

    padding: 28px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    border:
        1px solid
        rgba(0, 217, 255, 0.15);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(22, 33, 44, 0.96),
            rgba(9, 15, 21, 0.96)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4);

    transform:
        perspective(1000px)
        rotateY(-4deg)
        rotateX(2deg);
}

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

    position: absolute;

    width: 240px;
    height: 240px;

    top: -110px;
    right: -80px;

    border-radius: 50%;

    background: var(--cyan);

    opacity: 0.07;

    filter: blur(45px);
}

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

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.04),
            transparent 35%
        );

    pointer-events: none;
}


.hero-card-top {
    position: relative;

    z-index: 1;

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--dim);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.12em;
}

.status-indicator {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px rgba(95, 255, 203, 0.8);
}


.hero-card-icon {
    position: relative;

    z-index: 1;

    width: 84px;
    height: 84px;

    display: flex;

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

    margin-top: 35px;

    border:
        1px solid
        rgba(0, 217, 255, 0.18);

    border-radius: 20px;

    background:
        rgba(0, 217, 255, 0.06);

    color: var(--cyan);

    font-size: 35px;

    box-shadow:
        inset 0 0 30px rgba(0, 217, 255, 0.03);
}


.hero-card-content {
    position: relative;

    z-index: 1;

    margin-top: auto;
}

.hero-card-label {
    display: block;

    margin-bottom: 8px;

    color: var(--dim);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;
}

.hero-card-content strong {
    display: block;

    max-width: 300px;

    font-size: 28px;

    line-height: 1.15;

    letter-spacing: -0.035em;
}

.hero-card-content strong span {
    display: block;

    color: var(--cyan);
}


.hero-card-line {
    position: relative;

    z-index: 1;

    width: 100%;

    height: 1px;

    margin: 24px 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 217, 255, 0.3),
            transparent
        );
}


.hero-card-footer {
    position: relative;

    z-index: 1;

    display: flex;

    justify-content: space-between;

    color: var(--dim);

    font-size: 10px;

    font-weight: 600;
}

.hero-card-footer span {
    display: flex;

    align-items: center;

    gap: 7px;
}

.hero-card-footer i {
    color: var(--cyan);
}


/* =========================================================
   SEÇÃO DE SERVIÇOS
========================================================= */

.home-services {
    padding: 90px 0;

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

    background:
        rgba(8, 12, 18, 0.45);
}


.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 38px;
}

.section-heading h2 {
    max-width: 650px;

    margin-top: 12px;

    font-size: clamp(
        27px,
        3vw,
        38px
    );

    line-height: 1.15;

    letter-spacing: -0.04em;
}


.section-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    color: var(--cyan);

    font-size: 11px;

    font-weight: 700;

    transition:
        gap 0.2s ease;
}

.section-link:hover {
    gap: 8px;
}

.section-link i {
    transition: transform 0.2s ease;
}

.section-link:hover i,
.section-link:focus-visible i {
    transform: translateX(4px);
}


/* =========================================================
   GRID DE SERVIÇOS
========================================================= */

.services-grid {
    display: grid;

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

    gap: 16px;
}


.service-card {
    padding: 27px;

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

    border-radius: var(--radius);

    background:
        rgba(16, 24, 32, 0.72);

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

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

    border-color:
        rgba(0, 217, 255, 0.22);

    background:
        rgba(22, 33, 44, 0.85);
}


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

    display: flex;

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

    margin-bottom: 23px;

    border:
        1px solid
        rgba(0, 217, 255, 0.16);

    border-radius: 12px;

    background:
        rgba(0, 217, 255, 0.055);

    color: var(--cyan);

    font-size: 17px;
}


.service-card h3 {
    margin-bottom: 9px;

    font-size: 17px;

    letter-spacing: -0.02em;
}

.service-card p {
    min-height: 53px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}

.service-card > a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 22px;

    color: var(--cyan);

    font-size: 10px;

    font-weight: 700;

    transition:
        gap 0.2s ease;
}

.service-card > a:hover {
    gap: 10px;
}


/* =========================================================
   DESTAQUE
========================================================= */

.home-highlight {
    padding: 90px 0;
}


.highlight-card {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 45px;

    overflow: hidden;

    border:
        1px solid
        rgba(0, 217, 255, 0.13);

    border-radius: 20px;

    background:
        linear-gradient(
            110deg,
            rgba(16, 24, 32, 0.95),
            rgba(10, 18, 26, 0.75)
        );
}

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

    position: absolute;

    width: 300px;
    height: 300px;

    right: -130px;
    top: -160px;

    border-radius: 50%;

    background: var(--cyan);

    opacity: 0.055;

    filter: blur(35px);
}

.highlight-content {
    position: relative;

    z-index: 1;
}

.highlight-content h2 {
    max-width: 600px;

    margin-top: 13px;

    font-size: clamp(
        27px,
        3vw,
        38px
    );

    line-height: 1.12;

    letter-spacing: -0.04em;
}

.highlight-content p {
    max-width: 600px;

    margin-top: 13px;

    color: var(--muted);

    font-size: 13px;
}


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

.site-footer {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);

    background:
        #04070B;
}


.footer-container {
    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1fr
        1fr;

    gap: 50px;

    padding:
        65px
        0
        55px;
}


.footer-brand {
    max-width: 300px;
}

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

    color: var(--dim);

    font-size: 11px;

    line-height: 1.7;
}


.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 7px;

    color: var(--text);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.04em;
}

.footer-column a,
.footer-column span {
    color: var(--dim);

    font-size: 10px;

    transition:
        color 0.2s ease;
}

.footer-column a:hover {
    color: var(--cyan);
}

.footer-column a i {
    margin-right: 5px;
}


.footer-bottom {
    min-height: 62px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

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

    color: #4E5966;

    font-size: 9px;
}


/* =========================================================
   BARRA DE ROLAGEM
========================================================= */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #05080D;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background: #1C2935;
}

::-webkit-scrollbar-thumb:hover {
    background: #263746;
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

:focus-visible {
    outline: 2px solid var(--cyan);

    outline-offset: 3px;
}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
========================================================= */

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}

/* =========================================================
   ANIMAÇÕES
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Evita animações para usuários que preferem movimento reduzido */

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* =========================================================
   AJUSTES — PÁGINAS INTERNAS
   ========================================================= */

/* HEADER */

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex: 1;
}

.main-nav a {
    white-space: nowrap;
}


/* FOOTER */

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-brand {
    max-width: 360px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h3 {
    margin: 0 0 8px;
}

.footer-column a,
.footer-column span {
    display: block;
}


/* CTA */

.cta {
    position: relative;
    overflow: hidden;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content > div {
    min-width: 0;
}

.highlight-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
}

.footer-social-links a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--dim);
    font-size: 13px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-social-links a:hover {
    border-color: rgba(0, 217, 255, 0.28);
    background: rgba(0, 217, 255, 0.07);
    color: var(--cyan);
}

.cta-content > .cta-actions {
    margin-top: 0;
}

.cta h2 {
    margin: 8px 0 10px;
}

.cta p {
    margin: 0;
}


/* PAGE HEADER */

.page-header-content {
    position: relative;
    z-index: 1;
}


/* =========================================================
   RESPONSIVO DOS AJUSTES
   ========================================================= */

@media (max-width: 1024px) {

    .main-nav {
        gap: 14px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 35px;
    }

    .menu-toggle {
    display: flex;
    }

}

.menu-toggle {
    display: none;
}


@media (max-width: 768px) {

    .header-container {
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 480px) {

    .footer-grid {
        gap: 28px;
    }

}

/* =========================================================
   COMPONENTES COMPARTILHADOS DAS PÁGINAS INTERNAS
   Mantém aliases usados pelas páginas antigas no mesmo padrão
   visual da navegação e do rodapé da página inicial.
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 9px 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 10px;
    background: rgba(0, 217, 255, 0.055);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
    border-color: rgba(0, 217, 255, 0.5);
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-1px);
}

.mobile-menu {
    position: absolute;
    z-index: 99;
    top: 78px;
    left: 0;
    right: 0;
    padding: 12px max(20px, calc((100vw - var(--container)) / 2));
    border-bottom: 1px solid var(--border);
    background: rgba(5, 8, 13, 0.97);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu nav {
    display: grid;
    gap: 4px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(0, 217, 255, 0.07);
    color: var(--cyan);
}

.mobile-menu a i {
    width: 18px;
    text-align: center;
}

.mobile-menu .mobile-menu-whatsapp {
    margin-top: 6px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--cyan);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(auto-fit, minmax(140px, 1fr));
    align-items: start;
    gap: 50px;
    padding: 65px 0 55px;
}

.footer-grid .footer-brand {
    max-width: 300px;
}
