@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap");

:root {
    font-synthesis: none;
    --primary: #111111;
    --primary-dark: #000000;
    --accent: #244638;
    --accent-2: #8a6f4d;
    --accent-soft: #e9e1d4;
    --accent-soft-2: #f0ebe3;
    --ink: #121212;
    --muted: #65605a;
    --soft: #f6f3ee;
    --soft-2: #eee8df;
    --surface: #ffffff;
    --surface-muted: #faf8f4;
    --line: rgba(18, 18, 18, 0.11);
    --line-strong: rgba(18, 18, 18, 0.18);
    --shadow: 0 28px 80px rgba(18, 18, 18, 0.11);
    --shadow-soft: 0 18px 48px rgba(18, 18, 18, 0.08);
    --dark-card: #171717;
    --dark-card-2: #24211d;
    --dark-card-line: rgba(255, 255, 255, 0.12);
    --dark-card-text: #fffaf2;
    --dark-card-muted: rgba(255, 250, 242, 0.68);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --container: 1180px;
    --font: "Sora", "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 8%, rgba(138, 111, 77, 0.10), transparent 28rem),
        radial-gradient(circle at 86% 0%, rgba(36, 70, 56, 0.08), transparent 24rem),
        linear-gradient(180deg, var(--soft) 0%, #fbfaf7 44%, var(--soft) 100%);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: none;
}

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

img {
    height: auto;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

::selection {
    background: #111111;
    color: #ffffff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
}

.narrow {
    max-width: 860px;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: rgba(246, 243, 238, 0.76);
    backdrop-filter: blur(18px);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header.scrolled {
    border-bottom-color: rgba(18, 18, 18, 0.09);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 34px rgba(18, 18, 18, 0.06);
}

.header-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: var(--ink);
    font-weight: 850;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(18, 18, 18, 0.14);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: rgba(18, 18, 18, 0.62);
    font-size: 14px;
    font-weight: 750;
    transition: color 0.2s ease;
}

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

.header-cta,
.cta-button,
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 20px;
    box-shadow: 0 16px 34px rgba(18, 18, 18, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.cta-button:hover,
.contact-submit:hover {
    transform: translateY(-2px);
    background: #2a2a2a;
    box-shadow: 0 20px 46px rgba(18, 18, 18, 0.18);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(18, 18, 18, 0.06);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.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);
}

/* Tipografia e blocos base */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.section-heading .eyebrow,
.narrow .eyebrow {
    justify-content: center;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(42px, 5.2vw, 68px);
    font-weight: 800;
}

h2 {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 800;
}

.section {
    position: relative;
    padding: 96px 0;
    background: transparent;
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-heading p,
.section p,
.final-cta p {
    color: var(--muted);
}

.card-grid,
.process-grid {
    display: grid;
    gap: 20px;
}

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

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

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

.info-card,
.solution-card,
.process-step {
    min-width: 0;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover,
.solution-card:hover,
.process-step:hover,
.benefit-slide:hover,
.project-case:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 18, 18, 0.18);
    box-shadow: var(--shadow);
}

.card-icon,
.solution-number,
.process-step span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 900;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 154px 0 104px;
    background:
        radial-gradient(circle at 18% 20%, rgba(138, 111, 77, 0.14), transparent 28rem),
        radial-gradient(circle at 92% 24%, rgba(36, 70, 56, 0.11), transparent 26rem),
        linear-gradient(180deg, #fbfaf7 0%, var(--soft) 100%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(18, 18, 18, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 18, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 86%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    align-items: center;
    gap: clamp(42px, 6vw, 72px);
    min-width: 0;
}

.hero-copy {
    max-width: 720px;
}

.hero-copy p {
    max-width: 590px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.hero-button-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 18, 18, 0.16);
}

.hero-button-primary:hover {
    background: #2a2a2a;
    box-shadow: 0 24px 58px rgba(18, 18, 18, 0.2);
}

.hero-button-secondary {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    box-shadow: 0 12px 30px rgba(18, 18, 18, 0.06);
}

.hero-button-secondary:hover {
    background: #ffffff;
    border-color: rgba(18, 18, 18, 0.26);
}

.hero-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.hero-note span:first-child {
    color: var(--accent);
    font-weight: 900;
}

.hero-benefits {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hero-benefits span,
.solutions-tags li {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(18, 18, 18, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: rgba(18, 18, 18, 0.68);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 12px;
}

.hero-visual {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 20px 0;
}

.hero-visual::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(540px, 82%);
    height: 78%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(18, 18, 18, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-soft);
    z-index: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36, 70, 56, 0.14), rgba(138, 111, 77, 0.10), transparent 72%);
    filter: blur(18px);
    z-index: 0;
}

.hero-glow-left {
    left: 4%;
    top: 16%;
    opacity: 0.7;
}

.hero-glow-right {
    right: 4%;
    bottom: 8%;
    opacity: 0.72;
}

.hero-device-frame {
    position: relative;
    z-index: 2;
    width: clamp(340px, 32vw, 490px);
    max-width: 490px;
    margin-left: 18px;
}

.hero-device-image {
    display: block;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 26px 48px rgba(18, 18, 18, 0.25));
    animation: heroPhoneFloat 6s ease-in-out infinite;
}

@keyframes heroPhoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-saas-card {
    position: absolute;
    z-index: 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    width: 220px;
    min-width: 200px;
    max-width: 240px;
    padding: 13px 14px;
    border: 1px solid rgba(18, 18, 18, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 46px rgba(18, 18, 18, 0.10);
}

.hero-saas-card::before {
    content: "";
    position: absolute;
    opacity: 0.48;
    background: linear-gradient(90deg, rgba(36, 70, 56, 0.44), rgba(138, 111, 77, 0.26));
}

.hero-saas-card strong {
    display: block;
    font-size: 13px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hero-saas-card small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
}

.hero-card-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.hero-card-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.hero-card-check {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(36, 70, 56, 0.10);
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
}

.hero-progress {
    width: 38px;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.08);
}

.hero-progress span {
    display: block;
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
}

.hero-avatar-group {
    display: flex;
    align-items: center;
}

.hero-avatar-group span {
    width: 18px;
    height: 18px;
    margin-left: -6px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--accent-2);
}

.hero-avatar-group span:first-child {
    margin-left: 0;
    background: var(--accent);
}

.hero-avatar-group span:nth-child(2) {
    background: #b9aa92;
}

.hero-avatar-group span:nth-child(3) {
    background: #111111;
}

.hero-card-top { top: 70px; left: -78px; }
.hero-card-left { top: 260px; left: -88px; }
.hero-card-right { top: 128px; right: -78px; }
.hero-card-bottom { right: -64px; bottom: 84px; }

.hero-card-top::before {
    width: 58px;
    height: 1px;
    right: -58px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-card-left::before {
    width: 1px;
    height: 58px;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-card-right::before {
    width: 1px;
    height: 58px;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-card-bottom::before {
    width: 68px;
    height: 1px;
    left: -68px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-wave-divider,
.problems-wave-divider {
    display: none;
}

/* Marquee mantido caso seja reativado no HTML */
.hero-marquee {
    width: calc(100% + 120px);
    max-width: none;
    position: relative;
    left: -60px;
    margin-top: 22px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
}

.hero-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 18px;
    padding: 14px 22px;
    animation: heroMarquee 24s linear infinite;
}

.hero-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 0 10px;
}

.hero-marquee-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.hero-marquee-track span:not(.hero-marquee-icon) {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@keyframes heroMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Problems */
.problems {
    position: relative;
    overflow: hidden;
    padding-top: 96px;
    padding-bottom: 96px;
    background: var(--surface);
}

.problems::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 22%, rgba(138, 111, 77, 0.08), transparent 24rem),
        radial-gradient(circle at 86% 64%, rgba(36, 70, 56, 0.06), transparent 24rem);
}

.problems > .container {
    position: relative;
    z-index: 2;
}

.problems-heading h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(32px, 4.1vw, 50px);
}

.problems-subtitle {
    max-width: 760px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.problem-card {
    position: relative;
    overflow: hidden;
    padding-top: 28px;
}

.problem-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 3px;
    border-radius: 99px;
    background: var(--accent);
    opacity: 0.26;
}

.problem-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(36, 70, 56, 0.06);
    pointer-events: none;
}

.problem-card .card-icon {
    margin-bottom: 16px;
}

.problem-card .card-icon svg {
    width: 22px;
    height: 22px;
}

.problem-card h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 19px;
}

.problem-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.problem-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.problem-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.problem-card .problem-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--accent);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.problem-card .card-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.problem-card .card-icon svg {
    width: 18px;
    height: 18px;
}

.problem-card h3 {
    margin-top: 0;
}

/* Solutions */
.solutions {
    position: relative;
    overflow: hidden;
    padding-top: 104px;
    padding-bottom: 104px;
    background: var(--soft);
}

.solutions::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 620px;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.82), transparent 32rem),
        radial-gradient(circle at 80% 18%, rgba(36, 70, 56, 0.06), transparent 24rem);
}

.solutions-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
    gap: clamp(42px, 6vw, 90px);
    align-items: start;
}

.solutions-copy {
    max-width: 700px;
}

.solutions-copy h2 {
    max-width: none;
    margin: 0 0 18px;
    text-align: left;
}

.solutions-copy > p {
    max-width: 62ch;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.solutions-list {
    display: grid;
    gap: 0;
    margin-top: 32px;
}

.solutions-item {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(18, 18, 18, 0.09);
}

.solutions-item:first-child {
    padding-top: 0;
}

.solutions-item:last-child {
    border-bottom: 0;
}

.solutions-number {
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    border: 1px solid rgba(18, 18, 18, 0.08);
    background: #ffffff;
    color: var(--ink);
    font-size: 12px;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.06);
}

.solutions-item-content h3 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.24;
    letter-spacing: -0.03em;
}

.solutions-item-content p {
    max-width: 58ch;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.58;
}

.solutions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.solutions-tags li {
    padding: 5px 10px;
    background: #ffffff;
    font-size: 11px;
    line-height: 1;
}

.solutions-visual {
    position: sticky;
    top: 108px;
    min-height: auto;
    display: flex;
    justify-content: flex-end;
    padding-top: 56px;
}

.solutions-visual::before {
    content: "";
    position: absolute;
    inset: 20% 2%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 111, 77, 0.13), rgba(36, 70, 56, 0.08), transparent 68%);
    filter: blur(24px);
    opacity: 0.74;
}

.solutions-flow-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.solutions-flow-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0.95;
}

.solutions-flow-header {
    margin-bottom: 24px;
}

.solutions-flow-kicker,
.solutions-flow-label,
.solutions-result-label {
    display: inline-flex;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solutions-flow-header h3 {
    max-width: 380px;
    margin: 8px 0 8px;
    font-size: 28px;
    line-height: 1.1;
}

.solutions-flow-header p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.solutions-flow-steps {
    display: grid;
    gap: 0;
}

.solutions-flow-step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.solutions-step-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--primary);
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(18, 18, 18, 0.14);
}

.solutions-flow-text {
    min-width: 0;
    padding: 15px 18px;
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: 18px;
    background: var(--surface-muted);
}

.solutions-flow-text strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.36;
}

.solutions-flow-connector {
    width: 2px;
    height: 24px;
    margin: 7px 0 7px 23px;
    border-radius: 99px;
    background: rgba(36, 70, 56, 0.28);
}

.solutions-result-card {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(36, 70, 56, 0.18);
    border-radius: 20px;
    background: #f5f1ea;
}

.solutions-result-card strong {
    display: block;
    margin-top: 7px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.45;
}

.solutions-mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.solutions-mini-metrics div {
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: 16px;
    background: #ffffff;
}

.solutions-mini-metrics strong {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 15px;
    line-height: 1;
}

.solutions-mini-metrics span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

/* Process / Como funciona */
.process-section {
    background: var(--surface);
    overflow: visible;
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 76px;
    align-items: start;
}

/* Coluna esquerda sticky */
.process-content {
    position: sticky;
    top: 120px;
}

.process-content h2 {
    max-width: 560px;
    margin: 0;
    text-align: left;
}

.process-content p {
    max-width: 520px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.process-note {
    max-width: 500px;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--soft);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.process-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 16px;
    letter-spacing: -0.02em;
}

.process-note span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.process-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 28px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    padding: 10px 20px;
    box-shadow: 0 18px 40px rgba(18, 18, 18, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(18, 18, 18, 0.18);
}

/* Pipeline */
.process-pipeline {
    position: relative;
    display: grid;
    gap: 22px;
    padding: 6px 0;
}

/* Linha vertical base */
.process-pipeline::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 25px;
    width: 2px;
    border-radius: 999px;
    background: rgba(36, 70, 56, 0.22);
    box-shadow: 0 0 18px rgba(36, 70, 56, 0.16);
}

/* Etapa */
.process-step {
    position: relative;
    min-height: 132px;
    padding-left: 88px;
}

/* Trecho brilhante da linha */
.process-step::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -22px;
    left: 25px;
    width: 2px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.78;
    box-shadow: 0 0 18px rgba(36, 70, 56, 0.34);
    transition: all 0.3s ease;
}

/* Último item não prolonga a linha para baixo */
.process-step:last-child::before {
    bottom: 50%;
}

/* Nó circular em cima da linha */
.process-node {
    position: absolute;
    top: 28px;
    left: 0;
    z-index: 3;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(36, 70, 56, 0.38);
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    box-shadow:
        0 0 0 7px rgba(36, 70, 56, 0.10),
        0 18px 36px rgba(18, 18, 18, 0.16);
    transition: all 0.3s ease;
    margin-left: 10px;
    margin-top: 20px;
}

/* Card como node do fluxo */
.process-card {
    position: relative;
    min-height: 132px;
    border: 1px solid var(--dark-card-line);
    border-radius: 26px;
    background: var(--dark-card);
    color: var(--dark-card-text);
    padding: 22px 24px;
    box-shadow: 0 26px 70px rgba(18, 18, 18, 0.20);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

/* Pequeno conector horizontal entre o nó e o card */
.process-card::before {
    content: "";
    position: absolute;
    top: 47px;
    left: -38px;
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(36, 70, 56, 0.42);
    transition: all 0.3s ease;
}

.process-card .process-card-tag {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: max-content !important;
    min-width: max-content;
    max-width: 100%;

    height: auto !important;
    min-height: 28px;
    aspect-ratio: auto !important;

    margin: 0 0 16px;
    padding: 7px 13px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: #e9e1d4;
    color: #000000;

    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;

    overflow: visible;
    box-sizing: border-box;
    flex: 0 0 auto;

    transition: all 0.3s ease;
}

.process-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.035em;
    transition: color 0.3s ease;
}

.process-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Hover sutil para dar sensação de node ativo */
.process-step:hover::before {
    opacity: 1;
    box-shadow: 0 0 26px rgba(36, 70, 56, 0.48);
}

.process-step:hover .process-node {
    transform: scale(1.04);
    box-shadow:
        0 0 0 9px rgba(36, 70, 56, 0.13),
        0 22px 42px rgba(18, 18, 18, 0.20);
}

.process-step:hover .process-card {
    transform: translateY(-3px);
    box-shadow: 0 32px 80px rgba(18, 18, 18, 0.24);
}

.process-step:hover .process-card::before {
    box-shadow: 0 0 24px rgba(36, 70, 56, 0.54);
}

/* Responsivo */
@media (max-width: 980px) {
    .process-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .process-content {
        position: static;
        text-align: center;
    }

    .process-content h2,
    .process-content p,
    .process-note {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .process-pipeline {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .process-step {
        min-height: auto;
        padding-left: 62px;
    }

    .process-pipeline::before {
        left: 21px;
    }

    .process-step::before {
        left: 21px;
    }

    .process-node {
        top: 22px;
        width: 42px;
        height: 42px;
        font-size: 12px;
    }

    .process-card {
        min-height: auto;
        padding: 20px;
        border-radius: 22px;
    }

    .process-card::before {
        top: 42px;
        left: -20px;
        width: 20px;
    }

    .process-card-tag {
        font-size: 9px;
        padding: 5px 10px;
        letter-spacing: 0.05em;
    }

    .process-card h3 {
        font-size: 18px;
    }

    .process-card p {
        font-size: 13.5px;
    }
}

/* Benefits */
.benefits {
    background: var(--soft);
    overflow: hidden;
}

.benefits-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    margin-bottom: 42px;
}

.benefits-top > div {
    width: 100%;
}

.benefits-top h2 {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.benefits-top p {
    max-width: 720px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.benefits-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 850;
    padding: 8px 15px;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(18, 18, 18, 0.06);
    transition: transform 0.2s ease, background 0.2s ease;
}

.benefits-pill:hover {
    transform: translateY(-2px);
    background: var(--soft);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.benefit-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    color: var(--ink);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(18, 18, 18, 0.12);
}

.benefit-art {
    position: relative;
    height: 96px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), #111111);
}

.benefit-art span {
    position: absolute;
    width: 118px;
    height: 118px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(28deg);
}

.benefit-art strong {
    position: relative;
    color: #ffffff;
    font-size: 34px;
    font-weight: 950;
}

.card-line {
    width: 22px;
    height: 2px;
    display: block;
    margin-bottom: 16px;
    background: rgba(18, 18, 18, 0.22);
}

.benefit-card h3 {
    max-width: 230px;
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.035em;
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.card-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    margin-top: auto;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

/* Cards escuros */
.featured-card,
.dark-card {
    border-color: var(--dark-card-line);
    background: var(--dark-card);
    color: var(--dark-card-text);
    box-shadow: 0 24px 60px rgba(18, 18, 18, 0.20);
}

/* Importante: deixar estas regras depois das regras gerais */
.featured-card h3,
.dark-card h3 {
    color: #ffffff;
}

.featured-card p,
.dark-card p {
    color: rgba(255, 255, 255, 0.72);
}

.featured-card .card-line,
.dark-card .card-line {
    background: rgba(255, 255, 255, 0.32);
}

.featured-card .card-icon,
.dark-card .card-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* Responsivo */
@media (max-width: 1180px) {
    .benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .benefits-top {
        align-items: flex-start;
        text-align: left;
    }

    .benefits-top h2,
    .benefits-top p {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .benefits-pill {
        width: fit-content;
    }

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

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

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

    .benefits-top p {
        font-size: 15px;
    }
}

/* Transformation */
.transformation-section {
    background: var(--soft);
}

.transformation-section .section-heading {
    margin-bottom: 52px;
}

.transformation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: min(100%, 820px);
    margin: 0 auto;
}

.transformation-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 32px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.without-automation {
    border-color: rgba(150, 54, 54, 0.18);
    background: #fffafa;
}

.with-automation {
    border-color: rgba(36, 70, 56, 0.22);
    background: #f7fbf8;
}

.transformation-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 26px;
}

.transformation-title h3 {
    margin: 0;
    font-size: 19px;
}

.without-automation h3 {
    color: #963636;
}

.with-automation h3 {
    color: var(--accent);
}

.transformation-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.without-automation .transformation-icon {
    background: rgba(150, 54, 54, 0.10);
    color: #963636;
}

.with-automation .transformation-icon {
    background: rgba(36, 70, 56, 0.10);
    color: var(--accent);
}

.transformation-card ul {
    display: grid;
    gap: 15px;
    list-style: none;
}

.transformation-card li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.48;
}

.transformation-card li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
}

.without-automation li::before {
    content: "×";
    color: #963636;
}

.with-automation li::before {
    content: "✓";
    color: var(--accent);
}

/* Projects */
.projects {
    background: var(--surface);
}

.project-cases {
    display: grid;
    gap: 24px;
}

.project-case {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 58px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
    padding: 44px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-case-copy {
    min-width: 0;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 32px;
    margin-bottom: 22px;
    border: 1px solid rgba(36, 70, 56, 0.16);
    border-radius: 999px;
    background: rgba(36, 70, 56, 0.08);
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
    padding: 6px 14px;
}

.project-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.project-case h3 {
    margin-bottom: 16px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.12;
}

.project-case p {
    max-width: 580px;
    color: var(--muted);
}

.project-checklist {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    color: var(--muted);
    list-style: none;
}

.project-checklist li {
    position: relative;
    padding-left: 28px;
}

.project-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 900;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.project-metric {
    min-height: 126px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    min-width: 0;
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: 22px;
    background: var(--surface-muted);
    padding: 20px;
    text-align: center;
}

.project-metric strong {
    color: var(--ink);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.project-metric span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

/* FAQ */
.faq-section {
    background: var(--surface);
}

.faq-section .section-heading {
    margin-bottom: 56px;
}

.faq-section h2 {
    font-size: clamp(34px, 5vw, 56px);
}

.faq-list {
    width: min(100%, 780px);
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    padding: 18px 0;
    text-align: left;
    font-size: 18px;
    font-weight: 800;
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-question:hover .faq-icon,
.faq-question[aria-expanded="true"] .faq-icon {
    background: var(--primary);
    color: #ffffff;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
    overflow: hidden;
    max-width: 660px;
    color: var(--muted);
    font-size: 15px;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding-bottom: 22px;
}

/* CTA e footer */
.final-cta {
    padding: 108px 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), transparent 28rem),
        var(--primary);
    text-align: center;
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p {
    color: var(--dark-card-text);
}

.final-cta .eyebrow {
    opacity: 0.9;
}

.final-cta p {
    max-width: 690px;
    margin: 22px auto 0;
    color: var(--dark-card-muted);
    font-size: 18px;
}

.final-cta .cta-button {
    margin-top: 30px;
    background: #ffffff;
    color: var(--ink);
}

.final-cta .cta-button:hover {
    background: var(--soft);
}

.footer {
    background: #0d0d0d;
    color: rgba(255, 250, 242, 0.72);
    padding: 64px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer h4 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 850;
}

.footer p {
    max-width: 440px;
    color: rgba(255, 250, 242, 0.62);
    font-size: 14px;
}

.footer ul {
    display: grid;
    gap: 10px;
    list-style: none;
}

.footer a {
    color: rgba(255, 250, 242, 0.64);
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 24px;
}

.footer-bottom p {
    max-width: none;
    font-size: 13px;
}

/* Página de contato / classes antigas preservadas */
.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 142px 0 78px;
    background: var(--soft);
}

.contact-grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(18, 18, 18, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 18, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
}

.contact-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
    align-items: start;
    gap: 56px;
}

.contact-copy h1 {
    margin-bottom: 20px;
}

.contact-copy p {
    max-width: 640px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
}

.contact-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.contact-highlights div {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    padding: 16px 18px;
    box-shadow: var(--shadow-soft);
}

.contact-info-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--surface-muted);
    font-size: 16px;
}

.contact-info-card h3 {
    margin: 0 0 2px;
    font-size: 15px;
}

.contact-info-card a,
.contact-info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

.contact-form {
    padding-top: 20px;
    height: 850px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0; /* remove a margem fixa, quem cuida do espaço agora é o justify-content acima */
}

.form-heading {
    margin-bottom: 22px;
}

.form-heading h2 {
    margin: 0 0 10px;
    text-align: left;
    font-size: 30px;
}

.form-heading p {
    color: var(--muted);
}


.form-row:last-of-type {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-muted);
    color: var(--ink);
    padding: 13px 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: rgba(36, 70, 56, 0.36);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(36, 70, 56, 0.08);
}

.contact-submit {
    width: 100%;
    margin-top: 6px;
}

/* Classes antigas que podem existir em alguma versão da hero */
.phone-mockup,
.ai-card,
.time-card,
.customers-card,
.about-chip,
.about-panel,
.about-phone-preview {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.about-agency {
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: 70px;
    min-height: 430px;
    min-width: 0;
}

.about-copy {
    max-width: 620px;
}

.about-copy h2 {
    margin: 0 0 34px;
    text-align: left;
}

.about-feature {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    max-width: 560px;
}

.about-feature + .about-feature {
    margin-top: 28px;
}

.about-icon,
.chip-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

.about-visual {
    position: relative;
    min-height: 430px;
}

.about-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 210px;
    padding: 14px 18px;
}

.chip-top { top: 48px; right: 42px; }
.chip-bottom { right: 88px; bottom: 62px; justify-content: space-between; }

.chip-badge {
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 9px;
}

.about-panel {
    position: absolute;
    top: 142px;
    left: 162px;
    width: min(280px, 58%);
    padding: 22px;
}

.about-phone-preview {
    position: absolute;
    left: -30px;
    bottom: -18px;
    width: 190px;
    height: 230px;
    padding: 24px 18px;
    transform: rotate(-8deg);
}

.preview-line {
    height: 10px;
    width: 64%;
    margin-bottom: 13px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.12);
}

.preview-line.wide { width: 100%; }

.preview-card {
    height: 84px;
    margin-top: 24px;
    border-radius: var(--radius);
    background: var(--accent-soft);
}

/* Animações */
.reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@keyframes orbitIn {
    to {
        opacity: 1;
        transform: translate(-50%, -42%) scale(1);
    }
}

@keyframes orbitSpin {
    to {
        transform: translate(-50%, -42%) scale(1) rotate(360deg);
    }
}

@keyframes coreIn {
    to {
        opacity: 1;
        transform: translate(-50%, -42%) scale(1);
    }
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 30px 70px rgba(18, 18, 18, 0.20); }
    50% { box-shadow: 0 30px 88px rgba(18, 18, 18, 0.28); }
}

@keyframes workflowCardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes progressFill {
    to { transform: scaleX(1); }
}

/* Responsivo */
@media (max-width: 1180px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
        gap: 42px;
    }

    .hero-card-top { left: -44px; }
    .hero-card-left { left: -52px; }
    .hero-card-right { right: -42px; }
    .hero-card-bottom { right: -34px; }

    .project-case {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .header-cta {
        display: none;
    }

    .hero {
        padding: 126px 0 80px;
    }

    .hero-content,
    .solutions-layout,
    .contact-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 780px;
    }

    .hero-visual {
        width: min(100%, 680px);
        margin: 0 auto;
    }

    .solutions-copy,
    .solutions-copy h2,
    .solutions-copy > p {
        max-width: 760px;
    }

    .solutions-copy h2 {
        white-space: normal;
    }

    .solutions-visual {
        position: relative;
        top: auto;
        justify-content: center;
        padding-top: 0;
    }

    .compact-grid,
    .benefits-grid,
    .solutions-grid,
    .projects-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-map {
        min-height: auto;
        display: grid;
        gap: 16px;
        padding-top: 260px;
    }

    .workflow-map::before,
    .workflow-orbit,
    .workflow-core {
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .workflow-map::before {
        width: 220px;
        transform: translate(-50%, 30px);
    }

    .workflow-orbit {
        width: 270px;
    }

    .workflow-section.visible .workflow-orbit {
        animation: orbitInTablet 0.85s ease forwards, orbitSpinTablet 34s linear 0.9s infinite;
    }

    .workflow-core {
        width: 132px;
        height: 132px;
        opacity: 1;
        transform: translate(-50%, 46px) scale(1);
        animation: none;
    }

    .workflow-section.visible .workflow-core {
        animation: none;
    }

    .workflow-card,
    .users-card,
    .income-card,
    .history-card,
    .import-card,
    .success-card {
        position: relative;
        inset: auto;
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .benefits-top {
        grid-template-columns: 1fr;
    }

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

@keyframes orbitInTablet {
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

@keyframes orbitSpinTablet {
    to {
        transform: translate(-50%, 0) scale(1) rotate(360deg);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

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

    .header-content {
        min-height: 68px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        z-index: 60;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
        padding: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

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

    .nav-link {
        display: block;
        border-radius: 14px;
        padding: 12px 14px;
        color: var(--ink);
    }

    .nav-link:hover {
        background: var(--soft);
    }

    .hero {
        padding: 104px 0 64px;
    }

    h1 {
        font-size: clamp(36px, 10vw, 54px);
    }

    h2 {
        font-size: clamp(28px, 8vw, 42px);
    }

    .hero-copy p,
    .contact-copy p,
    .final-cta p {
        font-size: 16px;
    }

    .hero-visual {
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 12px 0 0;
    }

    .hero-visual::before,
    .hero-glow,
    .hero-saas-card::before {
        display: none;
    }

    .hero-device-frame {
        grid-column: 1 / -1;
        width: min(100%, 380px);
        margin: 0 auto 10px;
    }

    .hero-saas-card,
    .hero-card-top,
    .hero-card-left,
    .hero-card-right,
    .hero-card-bottom {
        position: relative;
        inset: auto;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 12px;
    }

    .hero-saas-card {
        grid-template-columns: auto 1fr;
    }

    .hero-saas-card > :last-child:not(div:first-child) {
        display: none;
    }

    .section,
    .problems,
    .solutions,
    .final-cta {
        padding-top: 72px;
        padding-bottom: 72px;
    }

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

    .compact-grid,
    .benefits-grid,
    .solutions-grid,
    .projects-grid,
    .process-grid,
    .contact-highlights,
    .transformation-grid {
        grid-template-columns: 1fr;
    }

    .solutions-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 0;
    }

    .solutions-number {
        width: 38px;
        height: 38px;
    }

    .solutions-flow-panel,
    .project-case,
    .contact-form,
    .transformation-card {
        padding: 24px;
        border-radius: 24px;
    }

    .solutions-flow-header h3 {
        font-size: 23px;
    }

    .solutions-flow-step {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
    }

    .solutions-step-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .solutions-flow-text {
        padding: 14px;
    }

    .solutions-flow-connector {
        margin-left: 20px;
    }

    .solutions-mini-metrics,
    .project-metrics {
        grid-template-columns: 1fr;
    }

    .benefits-shell {
        padding: 0;
    }

    .benefits-controls {
        position: static;
        transform: none;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 14px;
    }

    .benefits-track {
        grid-auto-columns: minmax(248px, 82vw);
        padding-bottom: 14px;
    }

    .benefit-slide {
        min-height: 320px;
    }

    .project-metric {
        min-height: 108px;
    }

    .faq-section .section-heading {
        margin-bottom: 34px;
    }

    .faq-question {
        min-height: 68px;
        font-size: 16px;
    }

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

@media (max-width: 480px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .logo {
        font-size: 13px;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding: 92px 0 56px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }

    .hero-benefits span {
        flex: 1 1 auto;
        justify-content: center;
    }

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

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

    .hero-device-frame {
        width: min(100%, 320px);
    }

    .workflow-map {
        padding-top: 220px;
    }

    .workflow-map::before {
        width: 178px;
        transform: translate(-50%, 24px);
    }

    .workflow-orbit {
        width: 210px;
    }

    .workflow-core {
        width: 112px;
        height: 112px;
        border-radius: 26px;
    }

    .core-mark {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .orbit-node {
        width: 40px;
        height: 40px;
        font-size: 10px;
    }

    .workflow-card {
        min-height: 78px;
        border-radius: 20px;
        padding: 16px;
    }

    .workflow-icon {
        width: 38px;
        height: 38px;
    }

    .benefits-track {
        grid-auto-columns: minmax(232px, 86vw);
    }

    .project-case,
    .transformation-card,
    .solutions-flow-panel,
    .contact-form,
    .info-card,
    .solution-card,
    .process-step {
        padding: 22px;
    }

    .faq-question {
        gap: 16px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 390px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .hero-device-frame {
        width: min(100%, 292px);
    }

    .workflow-map {
        padding-top: 206px;
    }

    .workflow-orbit {
        width: 188px;
    }

    .workflow-map::before {
        width: 154px;
    }

    .workflow-core {
        width: 98px;
        height: 98px;
    }

    .benefits-track {
        grid-auto-columns: minmax(220px, 88vw);
    }
}

@media (min-width: 1200px) {
    .hero-content {
        width: min(100% - 48px, 1320px);
        grid-template-columns: minmax(0, 570px) minmax(560px, 1fr);
        gap: 96px;
    }

    .hero-copy {
        transform: translateX(-28px);
    }

    .hero-visual {
        transform: translateX(64px);
    }
}

.solutions-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 2px 0 0;
    border-radius: 999px;
    border: 1px solid rgba(23, 76, 60, 0.14);
    background: #eef3ee;
    color: #174c3c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

/* Workflow - posicionamento refinado dos cards */
@media (min-width: 1025px) {
    .workflow-map {
        position: relative;
        max-width: 1180px;
        min-height: 650px;
        margin: 34px auto 0;
    }

    .workflow-map::before {
        width: 360px;
        transform: translate(-50%, -40%);
    }

    .workflow-orbit {
        width: 500px;
        transform: translate(-50%, -40%) scale(1);
    }

    .workflow-core {
        width: 138px;
        height: 138px;
        border-radius: 30px;
        transform: translate(-50%, -40%) scale(1);
    }

    .workflow-card {
        width: 286px;
        min-height: 82px;
        padding: 18px 20px;
        border-radius: 18px;
    }

    .users-card {
        top: 96px;
        left: 0;
    }

    .income-card {
        top: 100px;
        right: -10px;
        width: 286px;
    }

    .success-card {
        top: 270px;
        right: 0;
        width: 286px;
    }

    .history-card {
        left: 0;
        bottom: 96px;
        width: 286px;
    }

    .import-card {
        right: -10px;
        bottom: 84px;
        width: 286px;
    }
}

/* Mantém os números da órbita sempre legíveis */
.workflow-section.visible .orbit-node {
    animation: orbitNodeCounterSpin 34s linear 0.9s infinite;
}

@keyframes orbitNodeCounterSpin {
    from {
        transform: rotate(0deg);
    }

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

/* Benefícios - correção dos cards escuros */
.benefits .featured-slide,
.benefits .benefit-slide:nth-child(4) {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.benefits .featured-slide h3,
.benefits .benefit-slide:nth-child(4) h3 {
    color: #ffffff;
}

.benefits .featured-slide p,
.benefits .benefit-slide:nth-child(4) p {
    color: rgba(255, 255, 255, 0.72);
}

.benefits .featured-slide .slide-line,
.benefits .benefit-slide:nth-child(4) .slide-line {
    background: rgba(255, 255, 255, 0.32);
}

.benefits .featured-slide .slide-icon,
.benefits .benefit-slide:nth-child(4) .slide-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.benefits .featured-slide .benefit-art {
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 36%),
        linear-gradient(135deg, #174c3c, #111111);
}

.benefits .featured-slide .benefit-art span {
    background: rgba(255, 255, 255, 0.12);
}

.benefits .featured-slide .benefit-art strong {
    color: #ffffff;
}

.benefits-top {
    align-items: end;
    margin-bottom: 36px;
}

.benefits-pill {
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(17, 17, 17, 0.10);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
}

.benefits-track {
    gap: 22px;
}

.benefit-slide {
    padding: 24px;
}

/* About / Quem está por trás */
.about-section {
    background: var(--soft);
    overflow: hidden;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media::before {
    content: "";
    position: absolute;
    inset: 22px -18px -18px 22px;
    border-radius: 32px;
    background: var(--soft);
    border: 1px solid var(--line);
    z-index: 0;
}

.about-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 520px;
    max-height: 620px;
    display: block;
    object-fit: cover;
    border-radius: 32px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.about-content h2 {
    max-width: 680px;
    margin: 0;
    text-align: left;
}

.about-content p {
    max-width: 660px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.about-points {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    padding: 10px 16px 10px 10px;
    box-shadow: 0 10px 28px rgba(18, 18, 18, 0.05);
}

.about-point span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

.about-point strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.2;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 32px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    padding: 10px 20px;
    box-shadow: 0 18px 40px rgba(18, 18, 18, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(18, 18, 18, 0.18);
}

/* Responsivo */
@media (max-width: 980px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

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

    .about-content h2,
    .about-content p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .about-points {
        justify-items: center;
    }

    .about-media {
        max-width: 620px;
        margin: 0 auto;
    }

    .about-media img {
        min-height: 420px;
    }
}

@media (max-width: 560px) {
    .about-media::before {
        inset: 14px -10px -10px 14px;
        border-radius: 24px;
    }

    .about-media img {
        min-height: 360px;
        border-radius: 24px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-point {
        width: 100%;
        justify-content: flex-start;
        border-radius: 18px;
    }

    .about-cta {
        width: 100%;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 18, 18, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 24px 56px rgba(18, 18, 18, 0.28);
    background: #1ebe5d;
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}
/* =========================================================
   RESPONSIVIDADE V2 — patch seguro
   Foco: corrigir cortes/overflow sem quebrar o sticky da seção Como funciona.
   Importante: não altera o layout sticky em desktop.
   ========================================================= */

/* Âncoras com header fixo */
.hero,
.problems,
.solutions,
.process-section,
.transformation-section,
.projects,
.about-section,
.faq-section,
.final-cta {
    scroll-margin-top: 88px;
}

/* Container mais flexível sem mexer no sticky */
.container {
    width: min(calc(100% - clamp(28px, 4vw, 56px)), var(--container));
}

/* Header: evita aperto antes de virar menu mobile */
@media (max-width: 1120px) and (min-width: 921px) {
    .header-content {
        gap: 16px;
    }

    .nav-list {
        gap: 18px;
    }

    .nav-link {
        font-size: 13px;
    }

    .logo {
        font-size: 14px;
    }

    .header-cta {
        min-height: 42px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Menu mobile começa antes para não quebrar em tablets/notebooks estreitos */
@media (max-width: 920px) {
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        z-index: 60;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
        padding: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

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

    .nav-link {
        display: block;
        border-radius: 14px;
        padding: 12px 14px;
        color: var(--ink);
    }

    .nav-link:hover {
        background: var(--soft);
    }
}

/* Hero desktop: remove deslocamentos que cortavam os cards em telas grandes */
@media (min-width: 1200px) {
    .hero {
        padding-top: clamp(132px, 9vw, 164px);
        padding-bottom: clamp(78px, 7vw, 112px);
    }

    .hero-content {
        width: min(calc(100% - 64px), 1260px);
        grid-template-columns: minmax(0, 560px) minmax(0, 600px);
        gap: clamp(54px, 5vw, 84px);
    }

    .hero-copy,
    .hero-visual {
        transform: none !important;
    }

    .hero-copy {
        max-width: 560px;
    }

    .hero-copy p {
        max-width: 560px;
    }

    .hero-visual {
        width: 100%;
        max-width: 610px;
        min-height: clamp(500px, 38vw, 570px);
        justify-self: center;
    }

    .hero-device-frame {
        width: clamp(330px, 25vw, 430px);
        margin-left: 0;
    }

    .hero-saas-card {
        width: clamp(184px, 14vw, 210px);
        min-width: 0;
        max-width: 220px;
    }

    .hero-card-top { top: 64px; left: 0; }
    .hero-card-left { top: 258px; left: -6px; }
    .hero-card-right { top: 130px; right: 0; }
    .hero-card-bottom { right: 6px; bottom: 82px; }

    .hero-card-top::before { width: 38px; right: -38px; }
    .hero-card-bottom::before { width: 42px; left: -42px; }
}

@media (min-width: 1440px) {
    .hero-content {
        width: min(calc(100% - 88px), 1340px);
        grid-template-columns: minmax(0, 590px) minmax(0, 660px);
        gap: clamp(64px, 6vw, 96px);
    }

    .hero-visual {
        max-width: 670px;
    }

    .hero-device-frame {
        width: clamp(370px, 26vw, 465px);
    }

    .hero-card-top { left: -2px; }
    .hero-card-left { left: -8px; }
    .hero-card-right { right: -2px; }
    .hero-card-bottom { right: 0; }
}

@media (min-width: 1800px) {
    .hero-content {
        width: min(calc(100% - 140px), 1420px);
        grid-template-columns: minmax(0, 620px) minmax(0, 700px);
    }

    .hero {
        padding-top: 170px;
        padding-bottom: 120px;
    }
}

/* Desktop menor / notebook: hero ainda em duas colunas, mas sem cards negativos demais */
@media (min-width: 1025px) and (max-width: 1199px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
        gap: 38px;
    }

    h1 {
        font-size: clamp(44px, 5vw, 60px);
    }

    .hero-copy p {
        font-size: 17px;
    }

    .hero-visual {
        min-height: 520px;
        max-width: 520px;
        justify-self: center;
    }

    .hero-device-frame {
        width: clamp(310px, 31vw, 400px);
        margin-left: 0;
    }

    .hero-saas-card {
        width: 190px;
        min-width: 0;
        max-width: 200px;
        padding: 12px;
    }

    .hero-card-top { top: 58px; left: 6px; }
    .hero-card-left { top: 254px; left: 0; }
    .hero-card-right { top: 126px; right: 4px; }
    .hero-card-bottom { right: 2px; bottom: 78px; }

    .hero-card-top::before { width: 28px; right: -28px; }
    .hero-card-bottom::before { width: 30px; left: -30px; }
}

/* Tablet: hero em uma coluna, visual centralizado */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        max-width: 860px;
        margin: 0 auto;
    }

    .hero-copy {
        text-align: center;
        margin: 0 auto;
    }

    .hero-copy h1,
    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        max-width: 680px;
        min-height: 540px;
    }

    .hero-device-frame {
        width: min(100%, 390px);
        margin-left: 0;
    }

    .hero-card-top { top: 52px; left: 22px; }
    .hero-card-left { top: 250px; left: 10px; }
    .hero-card-right { top: 118px; right: 20px; }
    .hero-card-bottom { right: 18px; bottom: 74px; }

    .hero-saas-card {
        width: 200px;
        min-width: 0;
    }
}

/* Ajustes gerais em notebooks sem alterar o sticky do Como funciona */
@media (max-width: 1180px) and (min-width: 1025px) {
    .solutions-layout,
    .process-layout,
    .about-layout {
        gap: 52px;
    }

    .solutions-layout {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
    }

    .solutions-flow-panel {
        padding: 28px;
    }

    .process-layout {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }
}

/* Proteção do sticky: mantido somente em telas com espaço suficiente */
@media (min-width: 981px) {
    .process-section {
        overflow: visible !important;
    }

    .process-section > .container,
    .process-layout {
        overflow: visible !important;
    }

    .process-layout {
        align-items: start !important;
    }

    .process-content {
        position: sticky !important;
        top: 118px !important;
        align-self: start !important;
        height: fit-content !important;
        z-index: 2;
    }
}

@media (max-width: 980px) {
    .process-content {
        position: static !important;
    }
}

/* Telas médias */
@media (max-width: 980px) {
    .section-heading,
    .problems-heading,
    .faq-section .section-heading {
        margin-bottom: 36px;
    }

    .problems-grid,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-case {
        gap: 34px;
        padding: 34px;
    }

    .transformation-grid {
        max-width: 760px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 76px;
    }

    .hero,
    .problems,
    .solutions,
    .process-section,
    .transformation-section,
    .projects,
    .about-section,
    .faq-section,
    .final-cta {
        scroll-margin-top: 76px;
    }

    .nav {
        top: 74px;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-visual {
        width: 100%;
        overflow: visible;
    }

    .hero-saas-card {
        min-height: 82px;
    }

    .problems-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .problem-card-head {
        margin-bottom: 22px;
    }

    .solutions-layout,
    .process-layout,
    .about-layout {
        gap: 40px;
    }

    .process-content,
    .process-content h2,
    .process-content p,
    .process-note {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .process-pipeline {
        width: 100%;
    }

    .project-case {
        padding: 26px;
    }

    .about-content,
    .about-content h2,
    .about-content p {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .about-points {
        justify-items: stretch;
    }

    .about-media img {
        min-height: 380px;
        max-height: 460px;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: clamp(38px, 12vw, 50px);
    }

    h2 {
        font-size: clamp(30px, 10vw, 40px);
    }

    .hero-copy p,
    .solutions-copy > p,
    .process-content p,
    .about-content p,
    .final-cta p {
        font-size: 15.5px;
        line-height: 1.65;
    }

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

    .hero-benefits span {
        flex: 1 1 100%;
    }

    .solutions-flow-panel,
    .project-case,
    .transformation-card,
    .info-card,
    .solution-card,
    .process-card,
    .contact-form {
        border-radius: 22px;
    }

    .solutions-mini-metrics {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding-left: 58px;
    }

    .process-node {
        margin-left: 0;
        margin-top: 0;
    }

    .process-card::before {
        left: -18px;
        width: 18px;
    }

    .project-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .about-media img {
        min-height: 330px;
    }

    .footer {
        padding-bottom: 92px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .hero {
        padding-top: 90px;
    }

    .logo span:last-child {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-saas-card {
        grid-template-columns: auto 1fr;
    }

    .hero-card-icon {
        width: 34px;
        height: 34px;
    }

    .hero-saas-card strong {
        font-size: 12px;
    }

    .hero-saas-card small {
        font-size: 10.5px;
    }

    .project-metrics {
        grid-template-columns: 1fr;
    }

    .process-card .process-card-tag {
        max-width: 100%;
        white-space: normal;
        line-height: 1.15;
        text-align: center;
    }
}
/* =========================================================
   DARK MODE (toggle no navbar)
   ========================================================= */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(18, 18, 18, 0.06);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-sun {
    display: none;
}

html.dark-mode .theme-toggle .icon-moon {
    display: none;
}

html.dark-mode .theme-toggle .icon-sun {
    display: block;
}

/* Inversão de cores da página inteira (claro <-> escuro) */
html.dark-mode {
    filter: invert(1) hue-rotate(180deg);
}

/* Contra-inverte fotos para elas não ficarem em "negativo" */
html.dark-mode img {
    filter: invert(1) hue-rotate(180deg);
}

.form-status {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    text-align: center;
}

.form-status-success {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status-error {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}