﻿:root {
    --bg: #071120;
    --bg-soft: #0d1b34;
    --surface: rgba(8, 19, 40, 0.78);
    --surface-border: rgba(148, 163, 184, 0.14);
    --primary: #ff7a1a;
    --primary-soft: rgba(255, 122, 26, 0.18);
    --accent: #ff9b52;
    --text: #f8fbff;
    --muted: #97a6ba;
    --page: #eef4fb;
    --page-text: #12233d;
    --page-muted: #52657f;
    --shadow: 0 24px 60px rgba(7, 17, 32, 0.22);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: min(1180px, calc(100% - 2rem));
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(47, 124, 255, 0.25), transparent 28%),
        radial-gradient(circle at top right, rgba(79, 209, 197, 0.16), transparent 22%),
        linear-gradient(180deg, #071120 0%, #0d1730 16%, #eff5fb 16%, #eff5fb 100%);
    color: var(--page-text);
    font-family: 'Manrope', sans-serif;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.content {
    flex: 1;
}

.site-header {
    backdrop-filter: blur(18px);
    background: rgba(7, 17, 32, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff9a3d, #ff5a1f);
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 18px 40px rgba(255, 106, 31, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: white;
}

.brand-text strong,
.hero-copy h1,
.section-heading h2,
.hero-card h3,
.inner-hero h1,
.cta-banner h2,
.site-footer h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.brand-text small {
    color: rgba(255, 255, 255, 0.7);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.82);
}

.site-nav a {
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a.active,
.site-nav a:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 999px;
    padding: 0.95rem 1.45rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta,
.button-primary {
    background: linear-gradient(135deg, #ff8f34, #ff5a1f);
    color: white;
    box-shadow: 0 18px 40px rgba(255, 106, 31, 0.28);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-2px);
}

.button-icon,
.card-icon,
.contact-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: transparent;
    border: 0;
    padding: 0;
}

.menu-toggle span {
    width: 1.6rem;
    height: 2px;
    background: white;
    border-radius: 999px;
}

.page-hero,
.inner-hero {
    padding-top: 3.5rem;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 160px);
    color: white;
}

.hero-copy,
.hero-panel {
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero-copy h1,
.inner-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-copy p,
.inner-hero p,
.section-heading p,
.surface-panel p,
.contact-details p,
.site-footer p,
.site-footer span,
.site-footer a {
    color: var(--muted);
    line-height: 1.75;
}

.hero-copy > p,
.inner-hero p {
    max-width: 720px;
    margin: 1.4rem 0 0;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-highlights div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-highlights strong,
.hero-metrics strong,
.service-card h3,
.tech-card h3,
.portfolio-card h3,
.differential-card h3,
.contact-details h2,
.surface-panel h2,
.footer-grid h3 {
    color: white;
}

.hero-highlights span,
.hero-metrics span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.hero-glow {
    position: absolute;
    inset: 8% 12%;
    background: radial-gradient(circle, rgba(79, 209, 197, 0.24), transparent 60%);
    filter: blur(18px);
}

.surface-panel {
    border: 1px solid var(--surface-border);
    background: var(--surface);
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
}

.hero-card {
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.stack-badge {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stack-badge span {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: white;
    font-size: 0.88rem;
}

.hero-card h3 {
    font-size: 1.7rem;
    margin: 1.4rem 0 0.85rem;
}

.hero-card p {
    margin: 0;
}

.hero-metrics {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.section {
    padding: 5.5rem 0 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.section-heading h2,
.cta-banner h2,
.contact-details h2,
.surface-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    letter-spacing: -0.04em;
    color: var(--page-text);
}

.section-heading p,
.surface-panel p,
.contact-details p {
    color: var(--page-muted);
    margin: 1rem 0 0;
}

.about-grid,
.content-grid,
.mvv-grid,
.contact-layout {
    display: grid;
    gap: 1.5rem;
}

.about-grid,
.content-grid,
.contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card-grid {
    display: grid;
    gap: 1.5rem;
}

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

.card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.tech-card,
.differential-card,
.contact-details,
.contact-form,
.about-grid .surface-panel,
.content-grid .surface-panel,
.mvv-grid .surface-panel,
.cta-banner {
    padding: 1.8rem;
}

.service-card,
.tech-card,
.differential-card,
.portfolio-card {
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover,
.tech-card:hover,
.differential-card:hover,
.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 26, 0.32);
}

.icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.18), rgba(255, 188, 128, 0.2));
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.icon-wrap.soft {
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.12), rgba(255, 188, 128, 0.12));
}

.service-card h3,
.tech-card h3,
.differential-card h3,
.portfolio-card h3 {
    margin: 0;
    color: var(--page-text);
    font-size: 1.2rem;
}

.service-card p,
.tech-card p,
.differential-card p,
.portfolio-card p {
    margin: 0.85rem 0 0;
    color: var(--page-muted);
}

.compact-grid .tech-card {
    min-height: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.portfolio-copy {
    padding: 1.5rem;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(7, 17, 32, 0.96), rgba(14, 32, 64, 0.92));
}

.cta-banner h2,
.cta-banner p {
    color: white;
}

.contact-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.contact-list > div {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-list strong {
    display: block;
    color: var(--page-text);
}

.contact-list span {
    color: var(--page-muted);
}

.contact-form {
    background: rgba(255, 255, 255, 0.78);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-grid label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--page-text);
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    border: 1px solid rgba(18, 35, 61, 0.12);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: white;
    color: var(--page-text);
}

.form-grid textarea {
    min-height: 160px;
    resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus {
    outline: 2px solid rgba(255, 122, 26, 0.2);
    border-color: rgba(255, 122, 26, 0.36);
}

.full-width {
    grid-column: 1 / -1;
}

.validation-message {
    display: block;
    margin-top: 0.4rem;
}

.form-feedback {
    margin: 1rem 0 0;
    color: #166534;
}

.site-footer {
    margin-top: 5rem;
    padding: 3rem 0 2rem;
    background: #071120;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 2rem;
}

.footer-grid h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-grid > div,
.footer-grid > div a {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.reveal-up {
    animation: revealUp 0.7s ease both;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero-section,
    .about-grid,
    .content-grid,
    .contact-layout,
    .portfolio-grid,
    .card-grid-4,
    .card-grid-3,
    .mvv-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 2rem;
    }
}

@media (max-width: 760px) {
    .nav-container {
        min-height: 76px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 0 1.25rem;
    }

    .site-nav.open {
        display: flex;
    }

    .hero-section,
    .hero-highlights,
    .about-grid,
    .content-grid,
    .contact-layout,
    .portfolio-grid,
    .card-grid-4,
    .card-grid-3,
    .mvv-grid,
    .form-grid,
    .footer-grid,
    .cta-banner {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .inner-hero h1 {
        font-size: 2.5rem;
    }

    .hero-highlights {
        gap: 0.75rem;
    }

    .cta-banner {
        align-items: flex-start;
    }

    .page-hero,
    .inner-hero {
        padding-top: 2.25rem;
    }
}



/* Ajustes finos de legibilidade e escala do hero */
.hero-copy {
    max-width: 640px;
}

.hero-copy h1 {
    font-size: clamp(2.3rem, 4.2vw, 4rem);
    line-height: 1.08;
    max-width: 11ch;
}

.hero-copy > p {
    color: rgba(255, 255, 255, 0.86);
    max-width: 620px;
}

.hero-card h3 {
    color: #ffffff;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.84);
}

.hero-highlights strong,
.hero-metrics strong {
    color: #ffffff;
}

.hero-highlights span,
.hero-metrics span {
    color: rgba(255, 255, 255, 0.8);
}

/* Cards claros logo abaixo do banner */
.about-grid .surface-panel,
.content-grid .surface-panel,
.mvv-grid .surface-panel {
    background: #ffffff;
    border: 1px solid rgba(18, 35, 61, 0.08);
}

.about-grid .surface-panel h3,
.content-grid .surface-panel h2,
.mvv-grid .surface-panel h2,
.about-grid .surface-panel p,
.content-grid .surface-panel p,
.mvv-grid .surface-panel p {
    color: var(--page-text);
}

.about-grid .surface-panel p,
.content-grid .surface-panel p,
.mvv-grid .surface-panel p {
    color: var(--page-muted);
}

@media (max-width: 760px) {
    .hero-copy h1 {
        font-size: 2.2rem;
        max-width: none;
    }
}

/* Ajuste de escala da logo e alinhamento do hero */
.nav-container {
    min-height: 72px;
}

.brand-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.hero-section {
    align-items: start;
    min-height: auto;
    padding-top: 1.25rem;
}

.hero-panel {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 4.25rem;
}

.hero-card {
    width: min(100%, 460px);
}

.hero-highlights {
    align-items: start;
}

@media (max-width: 1080px) {
    .hero-panel {
        padding-top: 1rem;
        justify-content: flex-start;
    }

    .hero-card {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .brand-logo {
        height: 24px;
    }

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

    .hero-panel {
        padding-top: 0;
    }
}

/* Correção dos cards de destaque do hero */
.page-hero {
    padding-bottom: 3.5rem;
}

.hero-section {
    row-gap: 2.5rem;
}

.hero-highlights {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.hero-highlights div {
    min-height: 170px;
    background: rgba(7, 21, 48, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(4, 10, 24, 0.26);
    backdrop-filter: blur(6px);
}

.hero-highlights strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #ffffff;
}

.hero-highlights span {
    color: rgba(255, 255, 255, 0.82);
}

.section.container.reveal-up {
    position: relative;
    z-index: 1;
}

@media (max-width: 1080px) {
    .page-hero {
        padding-bottom: 2rem;
    }

    .hero-highlights div {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .page-hero {
        padding-bottom: 1.25rem;
    }

    .hero-highlights {
        margin-top: 1.5rem;
    }
}

/* Hero profissional: composição unificada e sem sobreposição visual */
body {
    background: var(--page);
}

.page-hero {
    position: relative;
    isolation: isolate;
    padding-top: 2.75rem;
    padding-bottom: 4.5rem;
    margin-bottom: 0;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -2.75rem;
    bottom: 0;
    left: calc((100vw - 100%) / -2);
    right: calc((100vw - 100%) / -2);
    background:
        radial-gradient(circle at 18% 22%, rgba(41, 108, 214, 0.22), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(255, 122, 26, 0.14), transparent 18%),
        linear-gradient(90deg, #10285d 0%, #071a42 55%, #0a243d 100%);
    z-index: -1;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    column-gap: 4rem;
    row-gap: 2rem;
    align-items: start;
    min-height: auto;
    padding-top: 0;
}

.hero-copy {
    max-width: none;
    padding-top: 0.5rem;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 4.6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    max-width: 9.5ch;
}

.hero-copy > p {
    max-width: 660px;
    margin-top: 1.5rem;
}

.hero-panel {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 1.5rem;
}

.hero-card {
    width: min(100%, 460px);
    padding: 2rem 2rem 2.1rem;
    background: linear-gradient(180deg, rgba(4, 18, 46, 0.96), rgba(4, 18, 46, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(2, 10, 26, 0.32);
}

.hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
    position: static;
}

.hero-highlights div {
    min-height: 0;
    padding: 1.25rem 1.15rem;
    background: rgba(10, 29, 64, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(4, 10, 24, 0.18);
    backdrop-filter: none;
}

.hero-highlights strong {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.hero-highlights span {
    font-size: 0.98rem;
    line-height: 1.65;
}

.section.container.reveal-up {
    position: static;
}

.section {
    padding-top: 4.25rem;
}

@media (max-width: 1080px) {
    .page-hero {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .hero-section {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .hero-panel {
        justify-content: flex-start;
        padding-top: 0;
    }

    .hero-card {
        width: 100%;
        max-width: 640px;
    }
}

@media (max-width: 760px) {
    .page-hero {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .page-hero::before {
        top: -1.5rem;
    }

    .hero-copy h1 {
        font-size: 2.4rem;
        max-width: none;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }
}

/* Refino de escala do hero */
.page-hero {
    padding-top: 1.75rem;
    padding-bottom: 2.75rem;
}

.page-hero::before {
    top: -1.75rem;
}

.hero-section {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    column-gap: 3rem;
}

.hero-copy {
    padding-top: 0;
}

.hero-copy h1 {
    font-size: clamp(2.15rem, 3.5vw, 3.75rem);
    line-height: 1.06;
    max-width: 10.5ch;
}

.hero-copy > p {
    max-width: 600px;
    margin-top: 1.15rem;
    font-size: 0.98rem;
    line-height: 1.65;
}

.hero-actions {
    margin-top: 1.5rem;
}

.hero-panel {
    padding-top: 0.5rem;
}

.hero-card {
    width: min(100%, 400px);
    padding: 1.45rem 1.45rem 1.55rem;
}

.hero-card h3 {
    font-size: 1.18rem;
    line-height: 1.35;
    margin: 1rem 0 0.65rem;
}

.hero-card p,
.hero-metrics span {
    font-size: 0.95rem;
    line-height: 1.55;
}

.hero-metrics {
    margin-top: 1rem;
    gap: 0.8rem;
}

.hero-highlights {
    margin-top: 1.5rem;
}

.hero-highlights div {
    padding: 1rem 0.95rem;
}

.hero-highlights strong {
    font-size: 0.95rem;
}

.hero-highlights span {
    font-size: 0.92rem;
    line-height: 1.55;
}

@media (max-width: 1080px) {
    .page-hero {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .page-hero::before {
        top: -1.25rem;
    }

    .hero-copy h1 {
        max-width: 12ch;
    }
}

@media (max-width: 760px) {
    .hero-copy h1 {
        font-size: 2rem;
        max-width: none;
    }

    .hero-card {
        width: 100%;
    }
}

/* Hero refinado: composição mais profissional */
.page-hero {
    padding-top: 1.5rem;
    padding-bottom: 3.25rem;
}

.page-hero::before {
    top: -1.5rem;
    background:
        radial-gradient(circle at 18% 20%, rgba(44, 111, 219, 0.24), transparent 28%),
        radial-gradient(circle at 78% 10%, rgba(255, 122, 26, 0.14), transparent 16%),
        linear-gradient(90deg, #102a61 0%, #071d49 52%, #0a243d 100%);
}

.hero-section {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    column-gap: 4rem;
    align-items: center;
}

.hero-copy {
    padding-top: 0.5rem;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 3.9vw, 4.2rem);
    line-height: 1.04;
    max-width: 12.5ch;
    margin-bottom: 0;
}

.hero-copy > p {
    max-width: 640px;
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 1.75rem;
}

.hero-panel {
    justify-content: center;
    padding-top: 0;
}

.hero-card {
    position: relative;
    width: min(100%, 500px);
    padding: 2rem 2rem 2.1rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(3, 18, 49, 0.98), rgba(4, 22, 58, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(2, 10, 28, 0.38);
    transform: translateY(8px);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -18px 28px auto;
    height: 90px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.18), transparent 70%);
    filter: blur(18px);
    z-index: -1;
}

.stack-badge {
    gap: 0.6rem;
}

.stack-badge span {
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
}

.hero-card h3 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin: 1.3rem 0 0.9rem;
}

.hero-card p {
    font-size: 1rem;
    line-height: 1.7;
}

.hero-metrics {
    margin-top: 1.35rem;
    gap: 1rem;
}

.hero-metrics li {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.9rem;
}

.hero-highlights div {
    padding: 1rem 1rem 1.05rem;
    min-height: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(12, 35, 78, 0.92), rgba(10, 28, 63, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 16px 34px rgba(4, 10, 24, 0.16);
}

.hero-highlights strong {
    font-size: 0.98rem;
}

.hero-highlights span {
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 1080px) {
    .hero-section {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }

    .hero-copy h1 {
        max-width: 13ch;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .hero-card {
        width: 100%;
        max-width: 620px;
        transform: none;
    }
}

@media (max-width: 760px) {
    .page-hero {
        padding-top: 1.1rem;
        padding-bottom: 2rem;
    }

    .page-hero::before {
        top: -1.1rem;
    }

    .hero-copy h1 {
        font-size: 2.1rem;
        max-width: none;
    }

    .hero-card {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .hero-card h3 {
        font-size: 1.45rem;
    }

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

/* Ajuste fino solicitado: título menor e cards com altura uniforme */
.hero-copy h1 {
    font-size: clamp(2.15rem, 3.35vw, 3.65rem);
    max-width: 13.2ch;
}

.hero-highlights {
    align-items: stretch;
}

.hero-highlights div {
    min-height: 182px;
    display: flex;
    flex-direction: column;
}

.hero-highlights strong {
    min-height: 48px;
}

.hero-highlights span {
    flex: 1;
}

@media (max-width: 760px) {
    .hero-copy h1 {
        font-size: 1.95rem;
        max-width: none;
    }

    .hero-highlights div,
    .hero-highlights strong {
        min-height: 0;
    }
}

/* Cards flutuantes no hero */
.page-hero {
    padding-bottom: 1.25rem;
}

.hero-highlights {
    position: relative;
    z-index: 3;
    margin-top: 2rem;
    transform: translateY(54px);
}

.hero-highlights div {
    background: linear-gradient(180deg, rgba(11, 36, 82, 0.98), rgba(8, 28, 66, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(4, 10, 24, 0.24);
}

.section.container.reveal-up:first-of-type {
    padding-top: 7.5rem;
}

@media (max-width: 1080px) {
    .hero-highlights {
        transform: translateY(32px);
    }

    .section.container.reveal-up:first-of-type {
        padding-top: 5.5rem;
    }
}

@media (max-width: 760px) {
    .page-hero {
        padding-bottom: 1.5rem;
    }

    .hero-highlights {
        transform: none;
        margin-top: 1.5rem;
    }

    .section.container.reveal-up:first-of-type {
        padding-top: 4.25rem;
    }
}

/* Correção visual da seção de serviços */
#servicos-home .service-card {
    background: linear-gradient(180deg, #ffffff, #f7f9fd);
    border: 1px solid rgba(18, 35, 61, 0.08);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

#servicos-home .service-card h3 {
    color: #162847;
}

#servicos-home .service-card p {
    color: #5f7088;
}

#servicos-home .service-card .icon-wrap {
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(255, 176, 102, 0.2));
    color: #ff7a1a;
}

#servicos-home .service-card:hover {
    border-color: rgba(255, 122, 26, 0.22);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

/* Fundo dedicado para a seção de serviços */
#servicos-home {
    margin-top: 1.5rem;
    padding: 3rem 2.2rem;
    background: linear-gradient(180deg, #eef3f9, #e8eef6);
    border: 1px solid rgba(18, 35, 61, 0.06);
    border-radius: 32px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

#servicos-home .section-heading {
    margin-bottom: 2.2rem;
}

@media (max-width: 760px) {
    #servicos-home {
        padding: 2rem 1.2rem;
        border-radius: 24px;
    }
}

/* Correção da seção de tecnologias */
.compact-grid {
    align-items: stretch;
}

.compact-grid .tech-card {
    min-height: 220px;
    background: linear-gradient(180deg, #ffffff, #f7f9fc);
    border: 1px solid rgba(18, 35, 61, 0.08);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.compact-grid .tech-card h3 {
    color: #162847;
}

.compact-grid .tech-card p {
    color: #61728a;
}

.compact-grid .tech-card .icon-wrap.soft {
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(255, 176, 102, 0.2));
    color: #ff7a1a;
}

.compact-grid .tech-card:hover {
    border-color: rgba(255, 122, 26, 0.22);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}

/* Refino do CTA final e footer */
.cta-banner {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.2rem 2.4rem;
    border-radius: 26px;
    align-items: center;
}

.cta-banner h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    max-width: 14ch;
}

.cta-banner p {
    max-width: 620px;
}

.cta-banner .button {
    min-width: 180px;
    white-space: nowrap;
}

.site-footer {
    margin-top: 4rem;
    padding: 3.4rem 0 2rem;
    background: linear-gradient(180deg, #03142f 0%, #021127 100%);
}

.site-footer .container {
    width: min(1060px, calc(100% - 2rem));
}

.footer-grid {
    grid-template-columns: 1.15fr 0.7fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand {
    margin-bottom: 1.35rem;
}

.footer-logo {
    display: block;
    width: min(100%, 440px);
    height: auto;
}

.footer-grid > div:first-child p {
    max-width: 470px;
    margin: 0;
    color: #9db1cd;
}

.footer-grid h3 {
    margin-bottom: 1.15rem;
    font-size: 1.2rem;
    color: #ffffff;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-grid > div a,
.footer-grid > div span {
    color: #9db1cd;
    line-height: 1.7;
}

.footer-grid > div a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 2.4rem;
    padding-top: 1.25rem;
    color: #8aa0bf;
}

@media (max-width: 760px) {
    .cta-banner {
        padding: 1.6rem;
    }

    .cta-banner h2 {
        max-width: none;
        font-size: 2rem;
    }

    .site-footer {
        padding-top: 2.5rem;
    }

    .footer-logo {
        width: min(100%, 320px);
    }
}

/* Ajuste fino: logo do footer menor */
.footer-logo {
    width: min(100%, 280px);
}

@media (max-width: 760px) {
    .footer-logo {
        width: min(100%, 220px);
    }
}

/* Serviços principais com fundo full-width */
#servicos-home {
    position: relative;
    margin-top: 1.5rem;
    padding: 3rem 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#servicos-home::before {
    content: "";
    position: absolute;
    inset: 0;
    left: calc((100vw - 100%) / -2);
    right: calc((100vw - 100%) / -2);
    background: linear-gradient(180deg, #eef3f9, #e8eef6);
    border-top: 1px solid rgba(18, 35, 61, 0.05);
    border-bottom: 1px solid rgba(18, 35, 61, 0.05);
    z-index: -1;
}

#servicos-home .section-heading,
#servicos-home .card-grid {
    width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

#servicos-home .section-heading {
    margin-bottom: 2.2rem;
}

@media (max-width: 760px) {
    #servicos-home {
        padding: 2rem 0;
    }
}

/* Fundo de serviços mais escuro */
#servicos-home::before {
    background: linear-gradient(180deg, #dde4ed, #d3dbe6);
}

/* Sobre a empresa: mais respiro e cartões diferenciados */
.section-about-home {`r`n    padding-top: 6.5rem;`r`n    padding-bottom: 2rem;`r`n}

.about-grid-featured {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1.8rem;
    align-items: stretch;
}

.about-panel {
    padding: 2rem;
    border-radius: 30px;
}

.about-panel-primary {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(18, 35, 61, 0.08);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.08);
}

.about-panel-secondary {
    background: linear-gradient(180deg, #132b57, #0e2246);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 44px rgba(8, 18, 40, 0.16);
}

.about-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff7a1a;
}

.about-panel h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    line-height: 1.2;
}

.about-panel-primary h3 {
    color: #162847;
}

.about-panel-secondary h3 {
    color: #ffffff;
}

.about-panel-primary p {
    color: #5f7088;
    font-size: 1.03rem;
}

.about-panel-secondary p,
.about-panel-secondary li {
    color: rgba(235, 243, 255, 0.82);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.about-stats div {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: #eff4fb;
    border: 1px solid rgba(18, 35, 61, 0.06);
}

.about-stats strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #162847;
}

.about-stats span {
    color: #5f7088;
    line-height: 1.55;
}

.about-list {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.about-list li {
    position: relative;
    padding-left: 1.3rem;
    line-height: 1.65;
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #ff7a1a;
}

#servicos-home {`r`n    margin-top: 5.5rem;`r`n}

@media (max-width: 1080px) {
    .about-grid-featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .section-about-home {
        padding-top: 4.75rem;
    }

    .about-panel {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .about-panel h3 {
        font-size: 1.55rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    #servicos-home {
        margin-top: 2.5rem;
    }
}

