/* ============================================================
   KP PERSONALIZADOS — Custom Styles (Light Mode)
   Theme: Light, corporate and lilac
   Principal color: var(--cor-02) / #575181
   ============================================================ */

:root {
    --cor-01: #ffffff;
    --cor-02: #575181;
    --cor-03: #b8b2d7;
    --cor-04: #f4f1fb;
    --cor-05: #34304a;
    --cor-02-light: #77709f;
    --cor-02-dark: #3f3a62;
    --cor-06: #e8e2f6;
    --cor-07: #f9f7fd;
    --cor-whatsapp: #25d366;
    --shadow-lilac: 0 24px 80px rgba(111, 107, 140, 0.16);
}

body {
    background:
        radial-gradient(circle at 8% 8%, rgba(184, 178, 215, 0.24), transparent 28rem),
        radial-gradient(circle at 92% 18%, rgba(232, 226, 246, 0.75), transparent 30rem),
        linear-gradient(180deg, var(--cor-01) 0%, #fbfaff 42%, var(--cor-01) 100%);
}

.tracking-tight {
    letter-spacing: -0.035em;
}

.top-ribbon {
    background: linear-gradient(90deg, var(--cor-04), #ffffff 48%, var(--cor-06));
    border-color: rgba(111, 107, 140, 0.14);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1.5rem 0;
}

.hero-menu-pill {
    box-sizing: border-box;
    width: min(calc(100vw - 3rem), 800px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    gap: 16px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(87, 81, 129, 0.08);
    box-shadow: 0 8px 32px rgba(87, 81, 129, 0.10);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header #mobile-menu {
    box-sizing: border-box;
    width: min(calc(100vw - 3rem), 800px);
    margin-left: auto;
    margin-right: auto;
    pointer-events: auto;
}

.main-menu-pill {
    flex: 1;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--cor-05);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    white-space: nowrap;
    transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease;
}

.nav-link::after {
    content: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-clicked {
    color: #ffffff;
    background: var(--cor-02);
    border-color: var(--cor-02);
    transform: none;
    box-shadow: 0 8px 18px rgba(87, 81, 129, 0.16);
}

.menu-cta {
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    color: #ffffff;
    background: #18151f;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(24, 21, 31, 0.16);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.24s ease, box-shadow 0.24s ease;
}

.menu-cta:hover,
.menu-cta:focus-visible {
    background: var(--cor-02);
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(87, 81, 129, 0.22);
}

.header-quick-contact {
    position: relative;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(87, 81, 129, 0.12);
    font-size: 0.82rem;
    line-height: 1;
    transition: color 0.24s ease, background 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease;
}

.header-quick-contact:hover,
.header-quick-contact:focus-visible {
    color: #ffffff;
    background: var(--cor-02);
    border-color: var(--cor-02);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(87, 81, 129, 0.2);
}

.hero-lilac {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 241, 251, 0.92)),
        radial-gradient(circle at 15% 20%, rgba(184, 178, 215, 0.36), transparent 28rem),
        radial-gradient(circle at 88% 18%, rgba(111, 107, 140, 0.18), transparent 28rem);
 }

.hero-lilac::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(111, 107, 140, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 107, 140, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.effect-orb {
    position: absolute;
    width: clamp(18rem, 42vw, 34rem);
    height: clamp(18rem, 42vw, 34rem);
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite;
}

.effect-orb-left {
    top: -12%;
    left: -8%;
    background: rgba(184, 178, 215, 0.46);
}

.effect-orb-right {
    right: -10%;
    bottom: -16%;
    background: rgba(111, 107, 140, 0.18);
    animation-delay: -4s;
}

.sparkle-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(111, 107, 140, 0.22) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(184, 178, 215, 0.32) 0 1px, transparent 1.7px);
    background-size: 120px 120px, 170px 170px;
    background-position: 12px 22px, 80px 90px;
    opacity: 0.5;
}

.card-glow {
    background: linear-gradient(135deg, rgba(111, 107, 140, 0.22), rgba(184, 178, 215, 0.18), transparent 70%);
    filter: blur(12px);
}

.hero-title,
.animated-title {
    perspective: 900px;
}

.h1-word,
.title-word {
    display: inline-block;
    transform-origin: 50% 100%;
    opacity: 0;
    transform: translateY(26px) rotateX(42deg) scale(0.96);
    filter: blur(10px);
    animation: wordLift 0.82s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--word-index, 0) * 0.055s + 0.12s);
}

.hero-visual-wrap {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 610px;
    margin-bottom: -1px;
}

.hero-product-frame {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 610px;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    transform-style: preserve-3d;
}

.hero-product-frame::before {
    content: "";
    position: absolute;
    inset: 18% -12% 2%;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(87, 81, 129, 0.24), transparent 66%);
    filter: blur(34px);
}

.hero-product-frame::after {
    content: none;
}

.hero-product-image {
    position: relative;
    z-index: 2;
    width: min(124%, 660px);
    max-width: none;
    max-height: 650px;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 36px 54px rgba(87, 81, 129, 0.24));
    transform: translateY(0) rotate(-0.8deg) scale(1);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.hero-visual-wrap:hover .hero-product-image {
    transform: translateY(-8px) rotate(0.4deg) scale(1.025);
    filter: drop-shadow(0 42px 58px rgba(87, 81, 129, 0.3));
}

.hero-product-orbit {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    border: 1px solid rgba(87, 81, 129, 0.16);
    pointer-events: none;
    animation: orbitPulse 7s ease-in-out infinite;
}

.hero-product-orbit-a {
    inset: 8% 2% 12% 4%;
}

.hero-product-orbit-b {
    inset: 18% 12% 8% 10%;
    animation-delay: -2.4s;
}

.hero-product-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 999px;
    color: var(--cor-05);
    font-size: 12px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(87, 81, 129, 0.16);
    animation: badgeFloat 5.2s ease-in-out infinite;
}

.hero-product-badge i {
    color: var(--cor-02);
}

.hero-product-badge-top {
    top: 18%;
    left: 3%;
}

.hero-product-badge-bottom {
    right: 2%;
    bottom: 18%;
    animation-delay: -2s;
}

/* --- Ambient Glow Elements --- */
.radial-glow {
    background: radial-gradient(circle at 50% 50%, rgba(111, 107, 140, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}

/* --- Footer menu feedback --- */
.footer-menu-link {
    position: relative;
    width: fit-content;
    padding: 3px 0 3px 14px;
    transition: color 0.24s ease, transform 0.24s ease;
}

.footer-menu-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--cor-03);
    transform: translateY(-50%) scale(0.8);
    transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.24s ease, transform 0.24s ease;
}

.footer-menu-link:hover,
.footer-menu-link:focus-visible,
.footer-menu-link.is-clicked {
    color: var(--cor-02);
    transform: translateX(4px);
}

.footer-menu-link:hover::before,
.footer-menu-link:focus-visible::before,
.footer-menu-link.is-clicked::before {
    width: 22px;
    background: var(--cor-02);
    transform: translateY(-50%) scale(1);
}

/* --- Visual proof image cards --- */
.visual-proof-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 18px;
    border: 0;
    background: var(--cor-05);
    box-shadow: 0 24px 70px rgba(23, 21, 36, 0.16);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.34s ease, border-color 0.34s ease;
}

.visual-proof-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.visual-proof-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(23, 21, 36, 0.58), rgba(23, 21, 36, 0.08) 42%, rgba(23, 21, 36, 0.72)),
        radial-gradient(circle at 20% 0%, rgba(255,255,255,0.16), transparent 36%);
}

.visual-proof-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    color: #ffffff;
}

.visual-proof-content h3 {
    max-width: 82%;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.visual-proof-content p {
    max-width: 86%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.55;
    font-weight: 700;
}

.visual-proof-card:hover {
    transform: translateY(-6px);
    border-color: rgba(87, 81, 129, 0.26);
    box-shadow: 0 26px 64px rgba(87, 81, 129, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.visual-proof-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

/* --- Modern process cards --- */
.process-editorial-section {
    background:
        radial-gradient(circle at 10% 18%, rgba(184, 178, 215, 0.26), transparent 24rem),
        radial-gradient(circle at 88% 78%, rgba(87, 81, 129, 0.1), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
}

.process-editorial-grid {
    counter-reset: process-step;
}

.process-editorial-card {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(87, 81, 129, 0.13);
    box-shadow: 0 24px 70px rgba(87, 81, 129, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    filter: blur(10px);
    transition:
        opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.34s ease,
        border-color 0.34s ease;
    transition-delay: var(--process-delay, 0s);
}

.process-editorial-card:nth-child(1) { --process-delay: 0.08s; }
.process-editorial-card:nth-child(2) { --process-delay: 0.45s; }
.process-editorial-card:nth-child(3) { --process-delay: 0.82s; }
.process-editorial-card:nth-child(4) { --process-delay: 1.19s; }

.process-editorial-section.is-visible .process-editorial-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.process-editorial-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    opacity: 0.72;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.95), transparent 40%),
        radial-gradient(circle at 16% 10%, rgba(184, 178, 215, 0.26), transparent 16rem);
}

.process-editorial-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    pointer-events: none;
    border-radius: 1.45rem;
    border: 1px solid rgba(87, 81, 129, 0.06);
}

.process-card-copy {
    position: relative;
    z-index: 2;
    max-width: 28rem;
}

.process-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.35rem;
    color: var(--cor-02);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.process-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cor-02);
    box-shadow: 0 0 0 6px rgba(87, 81, 129, 0.08);
}

.line-md-icon-wrap {
    display: grid !important;
    place-items: center !important;
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.line-md-animated-icon {
    display: block;
    color: var(--cor-02);
    font-size: 48px;
}

.line-md-icon-wrap:hover {
    transform: translateY(-2px) scale(1.06);
    background: rgba(87, 81, 129, 0.1);
    box-shadow: 0 10px 22px rgba(87, 81, 129, 0.14);
}

.process-card-copy h3 {
    color: var(--cor-05);
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.process-card-copy p {
    margin-top: 1.15rem;
    color: rgba(52, 48, 74, 0.7);
    font-size: 0.96rem;
    line-height: 1.65;
}

.process-step-number {
    position: absolute;
    right: -0.18em;
    bottom: -0.22em;
    z-index: 1;
    color: rgba(87, 81, 129, 0.18);
    font-family: "Outfit", sans-serif;
    font-size: clamp(6.8rem, 14vw, 11rem);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.08em;
}

.process-editorial-card:hover {
    transform: translateY(-7px) scale(1.01);
    border-color: rgba(87, 81, 129, 0.28);
    box-shadow: 0 34px 90px rgba(87, 81, 129, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (max-width: 640px) {
    .pt-8 {
        padding-top: 7rem !important;
    }

    .process-editorial-card {
        min-height: 270px;
    }
}

@media (max-width: 640px) {
    .visual-proof-card {
        min-height: 360px;
    }

    .visual-proof-content {
        padding: 22px;
    }
}

/* --- Pain + Solution sequenced reveal --- */
.ps-card,
.ps-title,
.ps-item {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(8px);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ps-delay, 0s);
}

.pain-solution-sequence.is-visible .ps-card,
.pain-solution-sequence.is-visible .ps-title,
.pain-solution-sequence.is-visible .ps-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.ps-pain { --ps-delay: 0.02s; }
.ps-pain .ps-title { --ps-delay: 0.18s; }
.ps-pain .ps-item:nth-child(1) { --ps-delay: 0.34s; }
.ps-pain .ps-item:nth-child(2) { --ps-delay: 0.46s; }
.ps-pain .ps-item:nth-child(3) { --ps-delay: 0.58s; }
.ps-pain .ps-item:nth-child(4) { --ps-delay: 0.70s; }
.ps-pain .ps-item:nth-child(5) { --ps-delay: 0.82s; }
.ps-solution { --ps-delay: 1.02s; }
.ps-solution .ps-title { --ps-delay: 1.18s; }
.ps-solution .ps-item:nth-child(1) { --ps-delay: 1.34s; }
.ps-solution .ps-item:nth-child(2) { --ps-delay: 1.46s; }
.ps-solution .ps-item:nth-child(3) { --ps-delay: 1.58s; }
.ps-solution .ps-item:nth-child(4) { --ps-delay: 1.70s; }
.ps-solution .ps-item:nth-child(5) { --ps-delay: 1.82s; }

.ps-dot {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    font-size: 14px;
    line-height: 1;
}

@keyframes orbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(1.5rem, -1rem, 0) scale(1.08); }
}

/* --- Floating Animation for Visual Assets --- */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
.animate-float {
    animation: float 6s infinite ease-in-out;
}

/* --- Marquee Effect for Logo Cloud --- */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* --- Glassmorphism Effects --- */
.glass-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-lilac);
}

/* --- Smooth Transitions --- */
.transition-all-custom {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(135deg, var(--cor-02-light) 0%, var(--cor-02) 44%, var(--cor-02-dark) 100%);
    box-shadow:
        0 16px 34px rgba(87, 81, 129, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--cor-02-dark) 0%, var(--cor-02) 48%, var(--cor-02-light) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.btn-gradient::after {
    content: "";
    position: absolute;
    inset: -60% -20%;
    z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-120%) rotate(12deg);
    transition: transform 0.7s ease;
}

.btn-gradient:hover {
    box-shadow:
        0 20px 42px rgba(87, 81, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient:hover::after {
    transform: translateX(120%) rotate(12deg);
}

.spin-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    animation: numberSpin 5.5s cubic-bezier(0.76, 0, 0.24, 1) infinite;
    will-change: transform;
}

.spin-number:hover {
    animation-duration: 1.2s;
}

@keyframes numberSpin {
    0%, 68%, 100% {
        transform: rotateY(0deg) scale(1);
    }
    78% {
        transform: rotateY(180deg) scale(1.06);
    }
    88% {
        transform: rotateY(360deg) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .spin-number {
        animation: none;
    }
}

.motion-ready .motion-hero-item {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    animation: heroEntrance 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-reveal {
    opacity: 0;
    transform: translateY(42px);
    transition:
        opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.motion-button {
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        filter 0.24s ease;
}

.motion-button:hover {
    transform: translateY(-3px) scale(1.035);
    filter: saturate(1.08);
}

.motion-button:active {
    transform: translateY(0) scale(0.97);
}

.motion-card {
    transform: translateY(0) scale(1);
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.34s ease,
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.motion-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 22px 55px rgba(87, 81, 129, 0.16);
}

/* Card Entrance Animation (Replica do Framer Motion) */
.motion-card-entrance {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-visible .motion-card-entrance,
.motion-card-entrance.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Suporte de hover para cards com animação de entrada */
.motion-card-entrance.motion-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 22px 55px rgba(87, 81, 129, 0.16);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.flowline-section {
    min-height: 760px;
    background:
        radial-gradient(circle at 15% 18%, rgba(184, 178, 215, 0.32), transparent 26rem),
        radial-gradient(circle at 88% 22%, rgba(87, 81, 129, 0.12), transparent 28rem),
        linear-gradient(180deg, #ffffff 0%, var(--cor-07) 48%, #ffffff 100%);
}

.flow-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.52;
    background-image:
        linear-gradient(rgba(87, 81, 129, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(87, 81, 129, 0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 76%);
}

.flow-bg-dot {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(42px);
    opacity: 0.55;
    animation: flowBlob 12s ease-in-out infinite;
}

.flow-bg-dot-a {
    width: 22rem;
    height: 22rem;
    left: 5%;
    top: 20%;
    background: rgba(184, 178, 215, 0.32);
}

.flow-bg-dot-b {
    width: 18rem;
    height: 18rem;
    right: 8%;
    bottom: 8%;
    background: rgba(87, 81, 129, 0.18);
    animation-delay: -5s;
}

.flow-canvas {
    --flow-progress: 0;
    position: relative;
    height: 820px;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.44);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62), 0 30px 90px rgba(87, 81, 129, 0.11);
    overflow: hidden;
}

.flow-canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 8%, rgba(87, 81, 129, 0.08), transparent 18rem),
        linear-gradient(90deg, rgba(255,255,255,0.85), transparent 24%, transparent 76%, rgba(255,255,255,0.85));
}

.flow-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-path-bg {
    fill: none;
    stroke: rgba(87, 81, 129, 0.12);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-path {
    fill: none;
    stroke: var(--cor-02);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    filter: drop-shadow(0 2px 4px rgba(87, 81, 129, 0.25));
    transition: stroke-dashoffset 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 280px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 18px 42px rgba(87, 81, 129, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    transition:
        opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

.flowline-section.is-flow-active .flow-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.flowline-section.is-flow-active .flow-card:not(.is-step-visible) {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
}

.flowline-section[data-auto-flow].is-flow-active .flow-card:not(.is-step-visible) {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
}

.flow-card:hover {
    transform: translateY(-7px) scale(1.025);
    box-shadow: 0 28px 70px rgba(87, 81, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.flow-card-trigger  { left: 50%; top: 30px;  transform-origin: center; translate: -50% 0; }
.flow-card-branch   { left: 60px;  top: 200px; }
.flow-card-sales    { left: 60px;  top: 370px; }
.flow-card-crm      { right: 60px; top: 200px; }
.flow-card-production { right: 46px; top: 560px; }
.flow-card-delivery { left: 50%; top: 660px; translate: -50% 0; }

.process-flow-scroll {
    overflow: visible;
}

.process-flow-canvas {
    height: 260px;
    max-width: 1080px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.process-flow-canvas::before {
    content: none;
}

.process-flow-canvas .flow-path-bg {
    stroke: rgba(87, 81, 129, 0.09);
    stroke-width: 2.25;
}

.process-flow-canvas .flow-path {
    stroke-width: 3.25;
    filter: drop-shadow(0 6px 14px rgba(87, 81, 129, 0.18));
}

.process-flow-card {
    width: 220px;
    height: 168px;
    min-height: 168px;
    align-items: flex-start;
}

.process-flow-card .flow-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #ffffff;
    font: 800 17px/1 "Outfit", sans-serif;
    background: var(--cor-02);
}

.process-flow-card-1 { left: 10px; top: 58px; }
.process-flow-card-2 { left: 285px; top: 58px; }
.process-flow-card-3 { left: 560px; top: 58px; }
.process-flow-card-4 { left: 835px; top: 58px; }

.flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--cor-02);
    font-size: 20px;
    background: linear-gradient(145deg, #ffffff, var(--cor-04));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 22px rgba(87,81,129,0.12);
}

.flow-card h3 {
    margin: 0;
    color: var(--cor-05);
    font: 800 15px/1.1 "Outfit", sans-serif;
}

.flow-card span {
    display: block;
    margin-top: 4px;
    color: rgba(52, 48, 74, 0.66);
    font-size: 12px;
    line-height: 1.35;
}

.flow-eyebrow {
    margin: 0 0 4px;
    color: var(--cor-02);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.flow-tag {
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 8px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--cor-02);
    border: 1px solid var(--cor-06);
    box-shadow: 0 8px 20px rgba(87, 81, 129, 0.12);
    font-size: 11px;
    font-weight: 800;
}

@keyframes flowBlob {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(22px, -16px, 0) scale(1.08); }
}

@media (max-width: 900px) {
    .flow-canvas {
        height: auto;
        padding: 28px 18px;
        display: grid;
        gap: 18px;
        overflow: visible;
    }

    .flow-lines {
        display: none;
    }

    .flow-card,
    .flow-card-trigger,
    .flow-card-branch,
    .flow-card-sales,
    .flow-card-crm,
    .flow-card-production,
    .flow-card-delivery,
    .process-flow-card,
    .process-flow-card-1,
    .process-flow-card-2,
    .process-flow-card-3,
    .process-flow-card-4 {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        translate: none;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: auto;
    }

    .flow-card::after {
        content: "";
        position: absolute;
        left: 40px;
        bottom: -18px;
        width: 2px;
        height: 18px;
        background: linear-gradient(var(--cor-03), transparent);
    }

    .flow-card:last-child::after {
        display: none;
    }

    .flow-tag {
        right: 14px;
        top: 14px;
        transform: none;
    }

    .flowline-section[data-auto-flow] .process-flow-scroll {
        overflow-x: auto;
        overflow-y: visible;
        margin: 0 -16px;
        padding: 0 16px 18px;
        scrollbar-width: thin;
    }

    .flowline-section[data-auto-flow] .flow-canvas.process-flow-canvas {
        display: block;
        height: 260px;
        min-width: 1080px;
        padding: 0;
        overflow: visible;
    }

    .flowline-section[data-auto-flow] .flow-lines {
        display: block;
    }

    .flowline-section[data-auto-flow] .process-flow-card,
    .flowline-section[data-auto-flow] .process-flow-card-1,
    .flowline-section[data-auto-flow] .process-flow-card-2,
    .flowline-section[data-auto-flow] .process-flow-card-3,
    .flowline-section[data-auto-flow] .process-flow-card-4 {
        position: absolute;
        width: 220px;
        height: 168px;
        min-height: 168px;
    }

    .flowline-section[data-auto-flow] .process-flow-card-1 { left: 10px; top: 58px; }
    .flowline-section[data-auto-flow] .process-flow-card-2 { left: 285px; top: 58px; }
    .flowline-section[data-auto-flow] .process-flow-card-3 { left: 560px; top: 58px; }
    .flowline-section[data-auto-flow] .process-flow-card-4 { left: 835px; top: 58px; }

    .flowline-section[data-auto-flow] .flow-card::after {
        content: none;
        display: none;
    }
}

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

@keyframes wordLift {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0);
    }
}

@keyframes orbitPulse {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.48; }
    50% { transform: rotate(2deg) scale(1.035); opacity: 0.86; }
}

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

@media (max-width: 1024px) {
    .hero-visual-wrap {
        min-height: 460px;
    }

    .hero-product-frame {
        min-height: 460px;
    }

    .hero-product-image {
        width: min(112%, 560px);
        max-height: 500px;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 0.75rem 1rem 0;
    }

    .hero-menu-pill {
        width: calc(100vw - 2rem);
        padding: 12px 18px;
        gap: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .site-header #mobile-menu {
        width: calc(100vw - 2rem);
    }

    .hero-lilac {
        padding-bottom: 0;
    }

    .hero-visual-wrap {
        min-height: 360px;
        margin-top: 1rem;
    }

    .hero-product-frame {
        min-height: 360px;
    }

    .hero-product-image {
        width: min(118%, 430px);
        max-height: 390px;
    }

    .hero-product-badge {
        font-size: 10px;
        padding: 8px 10px;
    }

    .hero-product-badge-top {
        top: 15%;
        left: 0;
    }

    .hero-product-badge-bottom {
        right: 0;
        bottom: 14%;
    }

    .text-4xl {
        font-size: 2.5rem !important;
    }

    .text-3xl {
        font-size: 1.65rem !important;
    }
}

@media (min-width: 640px) {
    .sm\:text-4xl {
        font-size: 2.05rem !important;
    }

    .sm\:text-3xl {
        font-size: 2rem !important;
        line-height: 2.25rem !important;
    }
}

@media (min-width: 1280px) {
    .xl\:text-6xl {
        font-size: 5rem !important;
        line-height: 0.8 !important;
    }
}

/* --- Process Flow Arrows --- */
.process-card::after {
    content: "";
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .process-card:not(:last-child)::after {
        top: 28px;
        right: -20px;
        width: 24px;
        height: 24px;
        border-top: 2px solid var(--cor-03);
        border-right: 2px solid var(--cor-03);
        transform: rotate(45deg);
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .process-card:nth-child(odd)::after {
        top: 28px;
        right: -16px;
        width: 16px;
        height: 16px;
        border-top: 2px solid var(--cor-03);
        border-right: 2px solid var(--cor-03);
        transform: rotate(45deg);
    }
}

@media (max-width: 639px) {
    .process-card:not(:last-child)::after {
        bottom: -18px;
        left: 50%;
        margin-left: -8px;
        width: 16px;
        height: 16px;
        border-bottom: 2px solid var(--cor-03);
        border-right: 2px solid var(--cor-03);
        transform: rotate(45deg);
    }
}


@media (min-width: 1024px) {
    .lg\:pt-10 {
        padding-top: 10rem !important;
    }
}

/* Commented out to ensure animations are always visible for testing
@media (prefers-reduced-motion: reduce) {
    .motion-ready .motion-hero-item,
    .motion-reveal,
    .motion-reveal.is-visible,
    .motion-button,
    .motion-card {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

    .h1-word,
    .hero-product-orbit,
    .hero-product-badge {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }
}
*/
