:root {
    color-scheme: light;
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #eef4fb;
    --text: #102033;
    --muted: #64748b;
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #0f172a;
    --secondary-soft: #1e293b;
    --line: rgba(15, 23, 42, 0.1);
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --radius: 28px;
    --container: 1160px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(245, 158, 11, 0.13), transparent 30rem),
        radial-gradient(circle at 88% 5%, rgba(14, 165, 233, 0.1), transparent 28rem),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: -100%;
    left: 1rem;
    z-index: 1000;
    background: var(--secondary);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: auto;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--secondary);
    font-weight: 750;
}

.main-nav a {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(245, 158, 11, 0.13);
    color: #92400e;
    outline: none;
}

.menu-button {
    display: none;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--secondary);
    padding: 0.6rem 0.75rem;
    cursor: pointer;
}

.menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    display: block;
}

.menu-button strong {
    margin-left: 0.25rem;
    font-size: 0.82rem;
}

.hero {
    padding-top: 92px;
    overflow: hidden;
}

.hero-grid,
.split-grid,
.contact-grid,
.company-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    margin: 0 0 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #a16207;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

.eyebrow.light {
    color: #fbbf24;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.55rem, 6vw, 5.25rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
    margin-bottom: 1.35rem;
    color: #0f172a;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    margin-bottom: 1rem;
    color: #0f172a;
}

h3 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 0.65rem;
    color: #0f172a;
}

.hero-text,
.section-heading p,
.split-grid p,
.contact-grid p,
.cta-card p,
.company-grid p {
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 2rem 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.86rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 850;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.btn-primary {
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 20px 42px rgba(245, 158, 11, 0.33);
}

.btn-secondary {
    background: #fff;
    color: var(--secondary);
    border-color: var(--line);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.trust-row span {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    color: #334155;
    padding: 0.48rem 0.75rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 750;
}

.hero-panel {
    position: relative;
    min-height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 36px;
    background:
        radial-gradient(circle at 80% 10%, rgba(245, 158, 11, 0.42), transparent 18rem),
        radial-gradient(circle at 15% 90%, rgba(14, 165, 233, 0.18), transparent 16rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 1.2rem;
}

.panel-top {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.45rem;
    margin-bottom: 3.3rem;
}

.panel-top span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.dashboard-card,
.metric-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(12px);
    border-radius: 24px;
}

.dashboard-card.large {
    padding: 1.3rem;
    max-width: 92%;
    margin-inline: auto;
}

.dashboard-card small,
.metric-card small {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.dashboard-card strong {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.progress {
    margin-top: 1.35rem;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f59e0b, #fcd34d);
}

.metrics-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem auto 0;
    max-width: 92%;
}

.metric-card {
    padding: 1rem;
}

.metric-card strong {
    font-size: 1.2rem;
}

.corporate-stack {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 2rem auto 0;
    max-width: 92%;
}

.corporate-stack span {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    font-weight: 750;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 2.5rem;
}

.company-section {
    background: rgba(255, 255, 255, 0.38);
}

.company-grid {
    align-items: center;
}

.company-card,
.value-card,
.service-card,
.step,
.contact-card,
.cta-card,
.tech-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border-radius: var(--radius);
}

.company-card {
    padding: 2rem;
}

.company-card img {
    width: min(220px, 100%);
    height: auto;
    object-fit: contain;
    margin-bottom: 1.4rem;
}

.company-card p,
.value-card p,
.service-card p,
.step p,
.tech-card p,
.feature-item p,
.form-note {
    color: var(--muted);
    margin-bottom: 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.value-card {
    padding: 1.25rem;
}

.value-card span,
.icon-box,
.step span {
    display: grid;
    place-items: center;
    font-weight: 900;
}

.value-card span,
.icon-box {
    width: 52px;
    height: 52px;
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
    border-radius: 18px;
    margin-bottom: 1.2rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-card {
    padding: 1.35rem;
    min-height: 260px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.tech-card:hover,
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
}

.segments-section {
    background:
        radial-gradient(circle at 12% 30%, rgba(245, 158, 11, 0.12), transparent 22rem),
        #ffffff;
}

.segments-list {
    display: grid;
    gap: 0.85rem;
}

.segments-list div {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(248, 250, 252, 0.86);
}

.segments-list strong {
    color: #0f172a;
}

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

.tech-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(238,244,251,0.65));
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.tech-card {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-logo-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(239,246,255,0.88));
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.75rem;
}

.tech-logo-wrap img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.dark-section {
    background:
        radial-gradient(circle at 15% 30%, rgba(245, 158, 11, 0.18), transparent 25rem),
        linear-gradient(135deg, #0f172a, #111827 62%, #1f2937);
    color: rgba(255, 255, 255, 0.78);
}

.dark-section h2,
.dark-section h3 {
    color: #fff;
}

.dark-section p {
    color: rgba(255, 255, 255, 0.68);
}

.features-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}

.feature-item > span {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    position: relative;
}

.feature-item > span::after {
    content: "";
    position: absolute;
    inset: 13px 11px;
    border-right: 3px solid #111827;
    border-bottom: 3px solid #111827;
    transform: rotate(45deg) translateY(-2px);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.step {
    padding: 1.25rem;
}

.step span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    margin-bottom: 1.1rem;
}

.cta-section {
    padding-top: 0;
}

.cta-card {
    padding: clamp(1.35rem, 4vw, 2.2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background:
        radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.24), transparent 18rem),
        #fff;
}

.cta-card h2 {
    font-size: clamp(1.75rem, 4vw, 2.7rem);
}

.cta-card p {
    margin-bottom: 0;
}

.contact-grid {
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.contact-list a {
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: #334155;
}

.contact-list strong {
    color: #0f172a;
}

.contact-card {
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
}

.contact-card label {
    display: grid;
    gap: 0.45rem;
    font-weight: 800;
    color: #1e293b;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 0.85rem 0.95rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.contact-card textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.85rem;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    box-shadow: 0 16px 32px rgba(22, 163, 74, 0.28);
    font-weight: 850;
}

.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.64);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand img {
    width: auto;
    height: auto;
    max-height: 82px;
    object-fit: contain;
}

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

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

@media (max-width: 1080px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 980px) {
    .hero-grid,
    .split-grid,
    .contact-grid,
    .company-grid {
        grid-template-columns: 1fr;
        gap: 2.3rem;
    }

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

    .hero-panel {
        min-height: 400px;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 72px 0;
    }

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        max-height: 62px;
    }

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

    .main-nav {
        position: fixed;
        inset: 70px 1rem auto 1rem;
        display: grid;
        gap: 0.4rem;
        padding: 0.9rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 0.85rem 1rem;
    }

    .hero {
        padding-top: 64px;
    }

    .solutions-grid,
    .value-grid,
    .timeline,
    .metrics-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-card,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-float {
        right: 0.75rem;
        bottom: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}


.tech-logo-wide img {
    max-height: 86px;
    width: 100%;
}

.tech-logo-text strong {
    color: #0f172a;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}


/* Ajuste revisado do portfólio de tecnologias */
.tech-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(238,244,251,0.65));
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
}

.tech-logo-wrap {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(239,246,255,0.88));
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.75rem;
}

.tech-logo-wrap img {
    max-height: 76px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.tech-card p {
    color: var(--muted);
    margin-bottom: 0;
}

@media (max-width: 1080px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}


/* Ajuste fino de fontes para dispositivos móveis */
@media (max-width: 760px) {
    body {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
        line-height: 1.04;
        letter-spacing: -0.045em;
    }

    h2 {
        font-size: clamp(1.55rem, 7vw, 2.15rem);
        line-height: 1.12;
        letter-spacing: -0.035em;
    }

    h3 {
        font-size: 1rem;
        line-height: 1.25;
    }

    .hero-text,
    .section-heading p,
    .split-grid p,
    .contact-grid p,
    .cta-card p,
    .company-grid p {
        font-size: 0.98rem;
    }

    .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
        margin-bottom: 0.75rem;
    }

    .trust-row span,
    .corporate-stack span,
    .main-nav a,
    .btn {
        font-size: 0.88rem;
    }

    .service-card p,
    .value-card p,
    .step p,
    .tech-card p,
    .feature-item p,
    .segments-list span,
    .contact-list a,
    .form-note {
        font-size: 0.9rem;
    }

    .dashboard-card strong {
        font-size: 1.55rem;
        line-height: 1.08;
    }

    .metric-card strong {
        font-size: 1.02rem;
    }

    .section {
        padding: 58px 0;
    }

    .hero {
        padding-top: 46px;
    }

    .section-heading {
        margin-bottom: 1.6rem;
    }

    .service-card,
    .tech-card,
    .value-card,
    .step,
    .contact-card,
    .company-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.92rem;
    }

    h1 {
        font-size: clamp(1.75rem, 10vw, 2.25rem);
        line-height: 1.08;
    }

    h2 {
        font-size: clamp(1.35rem, 8vw, 1.8rem);
        line-height: 1.14;
    }

    h3 {
        font-size: 0.96rem;
    }

    .hero-text,
    .section-heading p,
    .split-grid p,
    .contact-grid p,
    .cta-card p,
    .company-grid p {
        font-size: 0.92rem;
    }

    .eyebrow {
        font-size: 0.62rem;
    }

    .btn {
        min-height: 44px;
        padding: 0.72rem 0.95rem;
    }

    .brand img {
        max-height: 54px;
    }

    .dashboard-card strong {
        font-size: 1.35rem;
    }

    .tech-logo-wrap {
        height: 86px;
    }

    .tech-logo-wrap img {
        max-height: 60px;
    }

    .whatsapp-float {
        font-size: 0.86rem;
        min-height: 42px;
        padding: 0.65rem 0.85rem;
    }
}


.hp-field {
    position: absolute;
    left: -10000px;
    opacity: 0;
    pointer-events: none;
}

.contact-return-message {
    display: none;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 18px;
    font-weight: 800;
}

.contact-return-message.is-success,
.contact-return-message.is-error {
    display: block;
}

.contact-return-message.is-success {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.contact-return-message.is-error {
    background: rgba(220, 38, 38, 0.1);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.22);
}


.brand-notice {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.78);
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.55;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);

    font-style: italic;
}


@media (max-width: 760px) {
    .brand-notice {
        font-size: 0.78rem;
        line-height: 1.5;
        padding: 0.85rem;
        border-radius: 16px;
    }
}
