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


/* ========================================
   KRYVIA — DARK
======================================== */

:root {

    --color-bg: #1f1f23;
    --color-surface: #25252b;
    --color-surface-soft: #29292f;

    --color-text: #f8fafc;
    --color-text-soft: #a1a1aa;

    --color-border: rgba(255, 255, 255, 0.08);

    --color-purple: #6d28d9;
    --color-purple-light: #8b5cf6;
    --color-purple-dark: #4c1d95;

    --page-width: 1200px;

}


/* ========================================
   LIGHT
======================================== */

body.light-theme {

    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-soft: #f1f1f5;

    --color-text: #1f1f23;
    --color-text-soft: #66666f;

    --color-border: rgba(31, 31, 35, 0.10);

}


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

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    font-family: "Space Grotesk", sans-serif;

    background: var(--color-bg);

    color: var(--color-text);

    transition:
        background-color 0.3s ease,
        color 0.3s ease;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font: inherit;

}


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

.site-header {

    width: 100%;

    background: var(--color-bg);

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

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease;

}


.header-container {

    width: min(90%, var(--page-width));

    height: 84px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 32px;

}


/* ========================================
   MARCA
======================================== */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-right: auto;

}


.brand-symbol {

    display: block;

    width: 44px;

    height: auto;

}


.brand-title {

    width: 135px;

    height: auto;

}


.brand-title-dark {

    display: block;

}


.brand-title-light {

    display: none;

}


body.light-theme .brand-title-dark {

    display: none;

}


body.light-theme .brand-title-light {

    display: block;

}


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

.main-nav {

    display: flex;

    align-items: center;

    gap: 32px;

}


.main-nav a {

    color: var(--color-text);

    font-size: 15px;

    font-weight: 500;

    transition: color 0.2s ease;

}


.main-nav a:hover {

    color: var(--color-purple-light);

}


/* ========================================
   TEMA
======================================== */

.theme-toggle {

    width: 40px;
    height: 40px;

    display: flex;

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

    flex-shrink: 0;

    background: var(--color-surface);

    color: var(--color-text);

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

    border-radius: 10px;

    font-size: 18px;

    cursor: pointer;

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

}


.theme-toggle:hover {

    border-color: var(--color-purple-light);

    transform: translateY(-1px);

}


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

.header-cta {

    padding: 12px 20px;

    flex-shrink: 0;

    background: var(--color-purple);

    color: #ffffff;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

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

}


.header-cta:hover {

    background: var(--color-purple-light);

    transform: translateY(-1px);

    box-shadow:
        0 8px 25px rgba(109, 40, 217, 0.25);

}


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

.hero {

    position: relative;

    overflow: hidden;

}


.hero-container {

    width: min(90%, var(--page-width));

    min-height: calc(100vh - 84px);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 80px;

    padding: 80px 0;

}


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

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

}


.hero-eyebrow,
.section-eyebrow {

    display: flex;

    align-items: center;

    gap: 14px;

    color: var(--color-text-soft);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.18em;

}


.hero-eyebrow {

    margin-bottom: 24px;

}


.eyebrow-line {

    width: 34px;

    height: 2px;

    flex-shrink: 0;

    background: var(--color-purple-light);

}


.hero-title {

    max-width: 620px;

    font-size: clamp(58px, 6vw, 92px);

    line-height: 0.98;

    letter-spacing: -0.055em;

    font-weight: 500;

}


.hero-title span {

    display: block;

    color: var(--color-purple-light);

}


.hero-description {

    max-width: 540px;

    margin-top: 30px;

    color: var(--color-text-soft);

    font-size: 18px;

    line-height: 1.65;

}


/* ========================================
   HERO — CATEGORIAS
======================================== */

.hero-categories {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 11px;

    margin-top: 26px;

    color: var(--color-text-soft);

    font-size: 13px;

    font-weight: 500;

}


.category-dot {

    width: 4px;

    height: 4px;

    background: var(--color-purple-light);

    border-radius: 50%;

}


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

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 38px;

}


.button {

    min-height: 50px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    border-radius: 11px;

    font-size: 14px;

    font-weight: 600;

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

}


.button-primary {

    background: var(--color-purple);

    color: #ffffff;

}


.button-primary:hover {

    background: var(--color-purple-light);

    transform: translateY(-2px);

    box-shadow:
        0 12px 35px rgba(109, 40, 217, 0.30);

}


.button-arrow {

    font-size: 20px;

    line-height: 1;

}


.button-secondary {

    color: var(--color-text);

    background: transparent;

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

}


.button-secondary:hover {

    background: var(--color-surface);

    border-color: var(--color-purple-light);

    transform: translateY(-2px);

}


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

.hero-visual {

    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    max-width: 520px;

    justify-self: end;

    display: flex;

    align-items: center;

    justify-content: center;

    isolation: isolate;

}


.hero-glow {

    position: absolute;

    width: 70%;

    height: 70%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(109, 40, 217, 0.30) 0%,
            rgba(139, 92, 246, 0.12) 35%,
            rgba(109, 40, 217, 0) 72%
        );

    filter: blur(15px);

    z-index: -3;

}


.hero-grid {

    position: absolute;

    inset: 8%;

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

    border-radius: 30px;

    background-image:
        linear-gradient(
            var(--color-border) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            var(--color-border) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    opacity: 0.45;

    transform:
        perspective(600px)
        rotateY(-7deg)
        rotateX(3deg);

    z-index: -2;

}


.hero-logo {

    width: 55%;

    height: auto;

    filter:
        drop-shadow(
            0 25px 30px rgba(0, 0, 0, 0.25)
        );

    transform: rotate(-3deg);

    z-index: 2;

}


.hero-shape {

    position: absolute;

    border: 1px solid rgba(139, 92, 246, 0.28);

    z-index: -1;

}


.hero-shape-one {

    width: 180px;

    height: 180px;

    top: 6%;

    right: 1%;

    transform: rotate(35deg);

}


.hero-shape-two {

    width: 110px;

    height: 110px;

    bottom: 12%;

    left: 3%;

    transform: rotate(18deg);

}


.hero-caption {

    position: absolute;

    right: 7%;

    bottom: 8%;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 3px;

}


.hero-caption span {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.25em;

}


.hero-caption small {

    color: var(--color-text-soft);

    font-size: 10px;

}


/* ========================================
   PRODUTOS
======================================== */

.products-section {

    position: relative;

    padding: 120px 0;

    background: var(--color-surface);

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

    transition: background-color 0.3s ease;

}


.products-container {

    width: min(90%, var(--page-width));

    margin: 0 auto;

}


/* ========================================
   CABEÇALHO DA SEÇÃO
======================================== */

.section-heading {

    display: grid;

    grid-template-columns: 1fr 0.7fr;

    align-items: end;

    gap: 80px;

}


.section-eyebrow {

    margin-bottom: 18px;

}


.section-heading h2 {

    max-width: 600px;

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

    line-height: 1;

    letter-spacing: -0.045em;

    font-weight: 500;

}


.section-heading h2 span {

    color: var(--color-purple-light);

}


.section-heading > p {

    max-width: 430px;

    color: var(--color-text-soft);

    font-size: 16px;

    line-height: 1.7;

}


/* ========================================
   FILTROS
======================================== */

.product-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 50px;

    padding-bottom: 24px;

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

}


.filter-button {

    padding: 10px 17px;

    background: transparent;

    color: var(--color-text-soft);

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

    border-radius: 999px;

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

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

}


.filter-button:hover {

    color: var(--color-text);

    border-color: var(--color-purple-light);

}


.filter-button.active {

    background: var(--color-purple);

    color: #ffffff;

    border-color: var(--color-purple);

}


/* ========================================
   GRID DE PRODUTOS
======================================== */

.products-grid {

    display: grid;

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

    gap: 24px;

    margin-top: 32px;

}


/* ========================================
   CARD
======================================== */

.product-card {

    position: relative;

    overflow: hidden;

    background: var(--color-bg);

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

    border-radius: 18px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}


.product-card:hover {

    transform: translateY(-6px);

    border-color: rgba(139, 92, 246, 0.45);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.15);

}


/* ========================================
   IMAGEM DO CARD
======================================== */

.product-image-wrapper {

    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 4 / 5;

    background: var(--color-surface-soft);

}


.product-image {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;

}


.product-card:hover .product-image {

    transform: scale(1.035);

}


/* ========================================
   BADGE
======================================== */

.product-badge {

    position: absolute;

    top: 16px;
    left: 16px;

    padding: 8px 12px;

    background: rgba(31, 31, 35, 0.82);

    color: #ffffff;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 999px;

    backdrop-filter: blur(10px);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.05em;

}


/* ========================================
   CONTEÚDO DO CARD
======================================== */

.product-content {

    padding: 22px;

}


.product-category {

    margin-bottom: 8px;

    color: var(--color-purple-light);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}


.product-name {

    font-size: 21px;

    line-height: 1.2;

    font-weight: 600;

}


.product-description {

    margin-top: 10px;

    color: var(--color-text-soft);

    font-size: 13px;

    line-height: 1.55;

}


/* ========================================
   RODAPÉ DO CARD
======================================== */

.product-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 22px;

    padding-top: 18px;

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

}


.product-price {

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.product-price small {

    color: var(--color-text-soft);

    font-size: 10px;

}


.product-price strong {

    font-size: 15px;

    font-weight: 600;

}


.product-link {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    background: var(--color-purple);

    color: #ffffff;

    border-radius: 10px;

    font-size: 20px;

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

}


.product-link:hover {

    background: var(--color-purple-light);

    transform: translateX(2px);

}


/* ========================================
   SEM PRODUTOS
======================================== */

.products-empty {

    grid-column: 1 / -1;

    padding: 60px 20px;

    color: var(--color-text-soft);

    text-align: center;

    border: 1px dashed var(--color-border);

    border-radius: 16px;

}


/* ========================================
   LIGHT — AJUSTES
======================================== */

body.light-theme .hero-glow {

    opacity: 0.75;

}


body.light-theme .hero-logo {

    filter:
        drop-shadow(
            0 25px 35px rgba(76, 29, 149, 0.18)
        );

}


body.light-theme .product-card {

    background: #ffffff;

}


body.light-theme .product-card:hover {

    box-shadow:
        0 22px 50px rgba(31, 31, 35, 0.10);

}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

    .hero-container {

        grid-template-columns: 1fr 0.75fr;

        gap: 40px;

    }


    .hero-title {

        font-size:
            clamp(54px, 7vw, 76px);

    }


    .products-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 900px) {

    .main-nav {

        display: none;

    }


    .hero-container {

        grid-template-columns: 1fr;

        min-height: auto;

        padding: 80px 0 60px;

    }


    .hero-content {

        max-width: 700px;

    }


    .hero-visual {

        max-width: 500px;

        justify-self: center;

    }


    .section-heading {

        grid-template-columns: 1fr;

        gap: 24px;

    }

}


/* ========================================
   CELULAR
======================================== */

@media (max-width: 600px) {

    .header-container {

        width: 92%;

        height: 72px;

        gap: 12px;

    }


    .brand {

        gap: 9px;

    }


    .brand-symbol {

        width: 36px;

    }


    .brand-title {

        width: 105px;

    }


    .theme-toggle {

        width: 38px;
        height: 38px;

        font-size: 16px;

    }


    .header-cta {

        padding: 10px 13px;

        font-size: 12px;

    }


    .hero-container {

        width: 92%;

        padding: 65px 0 45px;

        gap: 45px;

    }


    .hero-eyebrow {

        margin-bottom: 20px;

        font-size: 10px;

    }


    .hero-title {

        font-size:
            clamp(50px, 16vw, 70px);

    }


    .hero-description {

        margin-top: 24px;

        font-size: 16px;

    }


    .hero-actions {

        margin-top: 30px;

    }


    .button {

        min-height: 48px;

    }


    .hero-visual {

        width: 92%;

    }


    .products-section {

        padding: 80px 0;

    }


    .products-container {

        width: 92%;

    }


    .section-heading h2 {

        font-size: 44px;

    }


    .product-filters {

        margin-top: 35px;

    }


    .products-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .product-image-wrapper {

        aspect-ratio: 4 / 4.5;

    }

}


/* ========================================
   CELULAR PEQUENO
======================================== */

@media (max-width: 440px) {

    .brand-title {

        width: 88px;

    }


    .hero-actions {

        flex-direction: column;

    }


    .button {

        width: 100%;

    }

}

/* ========================================
   PROJETOS PERSONALIZADOS
======================================== */

.custom-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.custom-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -260px;
    bottom: -280px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(109, 40, 217, 0.16) 0%,
            rgba(109, 40, 217, 0) 70%
        );
    pointer-events: none;
}

.custom-container {
    position: relative;
    z-index: 1;
    width: min(90%, var(--page-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(420px, 0.75fr);
    gap: 90px;
    align-items: start;
}

.custom-intro {
    position: sticky;
    top: 40px;
}

.custom-intro h2 {
    max-width: 650px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.custom-intro h2 span {
    display: block;
    color: var(--color-purple-light);
}

.custom-intro > p {
    max-width: 560px;
    margin-top: 28px;
    color: var(--color-text-soft);
    font-size: 16px;
    line-height: 1.75;
}

.custom-example {
    max-width: 560px;
    margin-top: 38px;
    padding: 22px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.custom-example-label {
    display: block;
    margin-bottom: 9px;
    color: var(--color-purple-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.custom-example strong {
    display: block;
    font-size: 17px;
    font-weight: 600;
}

.custom-example p {
    margin-top: 8px;
    color: var(--color-text-soft);
    font-size: 13px;
    line-height: 1.6;
}

.custom-note {
    max-width: 560px;
    display: flex;
    gap: 13px;
    margin-top: 18px;
    padding: 17px 18px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 13px;
    background: rgba(109, 40, 217, 0.06);
}

.custom-note-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-purple-light);
    background: rgba(109, 40, 217, 0.12);
    border-radius: 8px;
}

.custom-note p {
    color: var(--color-text-soft);
    font-size: 12px;
    line-height: 1.6;
}

.custom-form {
    padding: 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.10);
}

.custom-form-heading {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.custom-form-heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--color-purple-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.custom-form-heading h3 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.custom-form-heading p {
    margin-top: 7px;
    color: var(--color-text-soft);
    font-size: 12px;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    margin-top: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 11px;
    font-weight: 600;
}

.form-group label span {
    color: var(--color-purple-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.3s ease;
}

.form-group input,
.form-group select {
    height: 46px;
    padding: 0 13px;
}

.form-group textarea {
    min-height: 125px;
    padding: 13px;
    resize: vertical;
    line-height: 1.55;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-soft);
    opacity: 0.72;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-purple-light);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.10);
}

.form-group select {
    cursor: pointer;
}

.reference-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 18px;
    padding: 13px;
    background: var(--color-surface-soft);
    border-radius: 10px;
}

.reference-note > span {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--color-purple);
    border-radius: 7px;
    font-size: 17px;
}

.reference-note p {
    color: var(--color-text-soft);
    font-size: 10px;
    line-height: 1.5;
}

.custom-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 22px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #ffffff;
    background: var(--color-purple);
    border: none;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.custom-submit:hover {
    background: var(--color-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(109, 40, 217, 0.28);
}

.custom-submit-arrow {
    font-size: 20px;
}

.custom-form-footer {
    display: block;
    margin-top: 11px;
    color: var(--color-text-soft);
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 900px) {
    .custom-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .custom-intro {
        position: static;
    }

    .custom-intro > p,
    .custom-example,
    .custom-note {
        max-width: 700px;
    }
}

@media (max-width: 600px) {
    .custom-section {
        padding: 80px 0;
    }

    .custom-container {
        width: 92%;
    }

    .custom-intro h2 {
        font-size: 44px;
    }

    .custom-form {
        padding: 21px;
        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ========================================
   SOBRE A KRYVIA
======================================== */

.about-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.about-section::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -180px;
    right: -120px;
    border: 1px solid rgba(139, 92, 246, 0.14);
    transform: rotate(32deg);
    pointer-events: none;
}

.about-container {
    position: relative;
    z-index: 1;
    width: min(90%, var(--page-width));
    margin: 0 auto;
}

.about-heading {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 80px;
    align-items: end;
    padding-bottom: 45px;
    border-bottom: 1px solid var(--color-border);
}

.about-heading .section-eyebrow {
    margin-bottom: 0;
    align-self: start;
}

.about-heading h2 {
    max-width: 650px;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.about-heading h2 span {
    display: block;
    color: var(--color-purple-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 90px;
    margin-top: 52px;
}

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

.about-copy p {
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.75;
}

.about-copy p + p {
    margin-top: 18px;
}

.about-copy .about-lead {
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: -0.015em;
}

.about-copy strong {
    color: var(--color-purple-light);
    font-weight: 600;
}

.about-principles {
    border-top: 1px solid var(--color-border);
}

.about-principle {
    min-height: 118px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 22px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border);
    transition:
        padding-left 0.2s ease,
        border-color 0.2s ease;
}

.about-principle:hover {
    padding-left: 8px;
    border-color: rgba(139, 92, 246, 0.35);
}

.about-principle-number {
    color: var(--color-purple-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.about-principle h3 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.about-principle p {
    margin-top: 5px;
    color: var(--color-text-soft);
    font-size: 12px;
}

body.light-theme .about-section::after {
    border-color: rgba(109, 40, 217, 0.12);
}

@media (max-width: 900px) {
    .about-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

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

@media (max-width: 600px) {
    .about-section {
        padding: 80px 0;
    }

    .about-container {
        width: 92%;
    }

    .about-heading {
        padding-bottom: 32px;
    }

    .about-heading h2 {
        font-size: 48px;
    }

    .about-content {
        margin-top: 36px;
    }

    .about-copy .about-lead {
        font-size: 18px;
    }

    .about-principle {
        min-height: 100px;
    }
}

/* ========================================
   CONTATO
======================================== */

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.contact-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -220px;
    bottom: -320px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(109, 40, 217, 0.22) 0%,
            rgba(109, 40, 217, 0) 70%
        );
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: 1;
    width: min(90%, var(--page-width));
    margin: 0 auto;
}

.contact-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 70px;
    align-items: end;
    padding: 56px;
    background:
        linear-gradient(
            135deg,
            rgba(109, 40, 217, 0.10),
            rgba(139, 92, 246, 0.03)
        ),
        var(--color-surface);
    border: 1px solid rgba(139, 92, 246, 0.20);
    border-radius: 24px;
}

.contact-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -100px;
    right: 22%;
    border: 1px solid rgba(139, 92, 246, 0.18);
    transform: rotate(35deg);
    pointer-events: none;
}

.contact-copy {
    position: relative;
    z-index: 1;
}

.contact-copy h2 {
    max-width: 760px;
    margin-top: 18px;
    font-size: clamp(44px, 5.5vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.contact-copy h2 span {
    display: block;
    color: var(--color-purple-light);
}

.contact-copy > p {
    max-width: 590px;
    margin-top: 25px;
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.7;
}

.contact-button {
    position: relative;
    z-index: 1;
    min-width: 220px;
    min-height: 58px;
    padding: 0 20px 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--color-purple);
    color: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-button:hover {
    background: var(--color-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(109, 40, 217, 0.28);
}

.contact-button-arrow {
    font-size: 21px;
    line-height: 1;
}


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

.site-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.footer-container {
    width: min(90%, var(--page-width));
    margin: 0 auto;
    padding: 54px 0 28px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-symbol {
    display: block;
    width: 46px;
    height: auto;
}

.footer-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.footer-title {
    width: 126px;
    height: auto;
}

.footer-title-dark {
    display: block;
}

.footer-title-light {
    display: none;
}

body.light-theme .footer-title-dark {
    display: none;
}

body.light-theme .footer-title-light {
    display: block;
}

.footer-brand-copy span {
    color: var(--color-text-soft);
    font-size: 10px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.footer-nav a {
    color: var(--color-text-soft);
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--color-purple-light);
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-soft);
    font-size: 10px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .contact-card {
        grid-template-columns: 1fr;
        gap: 38px;
        align-items: start;
    }

    .contact-button {
        width: fit-content;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-container,
    .footer-container {
        width: 92%;
    }

    .contact-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .contact-copy h2 {
        font-size: 44px;
    }

    .contact-button {
        width: 100%;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 32px;
    }

    .footer-nav {
        justify-content: flex-start;
        gap: 18px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 440px) {
    .footer-title {
        width: 112px;
    }
}

/* ========================================
   ÍCONE DO WHATSAPP
======================================== */

.whatsapp-button-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-icon {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    display: block;
}

/* ========================================
   FOOTER — MOBILE CENTRALIZADO
======================================== */

@media (max-width: 600px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-brand-copy {
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom p {
        text-align: center;
    }
}

/* ========================================
   ETAPA 1 — ESTRUTURA E NAVEGAÇÃO
======================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-nav a:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
.header-cta:focus-visible,
.button:focus-visible,
.filter-button:focus-visible,
.product-name a:focus-visible,
.product-link:focus-visible,
.empty-reset-filter:focus-visible {
    outline: 3px solid var(--color-purple-light);
    outline-offset: 3px;
}

.product-image-link {
    display: block;
}

.product-name a {
    transition: color 0.2s ease;
}

.product-name a:hover {
    color: var(--color-purple-light);
}

.products-grid[data-count="1"] {
    grid-template-columns: minmax(0, 390px);
}

.products-grid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
}

.products-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.products-empty strong {
    color: var(--color-text);
    font-size: 18px;
}

.products-empty p {
    max-width: 520px;
    line-height: 1.6;
}

.products-empty a,
.empty-reset-filter {
    margin-top: 8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: var(--color-purple);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.product-filters[hidden] {
    display: none;
}

@media (max-width: 900px) {
    .site-header {
        position: relative;
        z-index: 50;
    }

    .header-container {
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--color-bg);
        border: 1px solid var(--color-border);
        border-radius: 0 0 16px 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 0 14px;
        border-radius: 9px;
    }

    .main-nav a:hover {
        background: var(--color-surface);
    }
}

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

@media (max-width: 600px) {
    .header-container {
        gap: 10px;
    }

    .header-actions {
        gap: 8px;
    }

    .products-grid[data-count="1"],
    .products-grid[data-count="2"] {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   COMO ENCOMENDAR — ETAPA 2
======================================== */

.order-section {
    padding: 96px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.order-container {
    width: min(90%, var(--page-width));
    margin: 0 auto;
}

.order-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 64px;
    align-items: end;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.order-heading .section-eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -28px;
}

.order-heading h2 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.order-heading h2 span {
    display: block;
    color: var(--color-purple-light);
}

.order-heading > p {
    color: var(--color-text-soft);
    font-size: 16px;
    line-height: 1.65;
}

.order-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 44px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.order-step {
    min-height: 210px;
    padding: 28px 26px 30px;
    border-right: 1px solid var(--color-border);
}

.order-step:last-child {
    border-right: 0;
}

.order-step > span {
    display: block;
    margin-bottom: 42px;
    color: var(--color-purple-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.order-step h3 {
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.order-step p {
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .order-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .order-heading .section-eyebrow {
        grid-column: auto;
        margin-bottom: 4px;
    }

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

    .order-step:nth-child(2) {
        border-right: 0;
    }

    .order-step:nth-child(-n + 2) {
        border-bottom: 1px solid var(--color-border);
    }
}

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

    .order-container {
        width: 92%;
    }

    .order-heading h2 {
        font-size: 38px;
    }

    .order-steps {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .order-step,
    .order-step:nth-child(2) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .order-step:last-child {
        border-bottom: 0;
    }

    .order-step > span {
        margin-bottom: 22px;
    }
}

.demand-notice{max-width:1180px;margin:18px auto;padding:14px 18px;border:1px solid var(--purple-light,#8B5CF6);border-radius:12px}.demand-notice.paused{font-weight:700}.category-checkboxes{display:flex;flex-wrap:wrap;gap:10px}.category-manager{display:grid;gap:8px;margin-top:12px}.category-manage-item,.inline-editor-row{display:flex;gap:10px;align-items:center}.category-manage-item{justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(128,128,128,.2)}



/* ========================================
   MOBILE + ACESSIBILIDADE
======================================== */

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #A78BFA;
    outline-offset: 3px;
}

button, .button, .primary-button, .secondary-button, .filter-button,
.theme-toggle, .menu-toggle, input, select {
    min-height: 44px;
}

@media (max-width: 600px) {
    html, body { max-width: 100%; overflow-x: clip; }
    .hero-title, .section-title, .product-name { overflow-wrap: anywhere; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .header-container, .hero-container, .section-container, .footer-container { width: 94%; }
    .brand-title { width: 84px; }
}


/* Etapa 6 — estado estável para mídia indisponível */
.product-image-fallback {
    width: 100%;
    height: 100%;
    min-height: 260px;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    background: var(--surface, #25252b);
    color: var(--text-muted, #a8a8b3);
}

/* ========================================
   HERO / IDENTIDADE KRYVIA
======================================== */

.hero-container {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
    gap: clamp(48px, 7vw, 108px);
}

.hero-description {
    max-width: 500px;
}

.hero-showcase {
    position: relative;
    width: min(100%, 460px);
    justify-self: end;
}

.hero-showcase::before {
    content: "";
    position: absolute;
    width: 62%;
    aspect-ratio: 1;
    top: -8%;
    right: -12%;
    border: 1px solid rgba(139, 92, 246, 0.16);
    transform: rotate(13deg);
    pointer-events: none;
}

.hero-media-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #09090b;
    border: 1px solid var(--color-border);
    border-radius: 18px 18px 54px 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-media-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: inherit;
    pointer-events: none;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.018);
    transition: opacity 0.65s ease, transform 1.1s ease;
    pointer-events: none;
}

.hero-media.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-media-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.76) 100%);
    pointer-events: none;
}

.hero-piece-info {
    position: absolute;
    z-index: 4;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: grid;
    gap: 3px;
    color: #f8fafc;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-piece-kicker {
    margin-bottom: 4px;
    color: rgba(248, 250, 252, 0.7);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hero-piece-info strong {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-piece-info > span:last-child {
    color: rgba(248, 250, 252, 0.72);
    font-size: 12px;
}

.hero-media-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
    padding-right: 4px;
}

.hero-media-dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--color-border);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-media-dot.is-active {
    width: 48px;
    background: var(--color-purple-light);
}

.hero-media-dot:focus-visible {
    outline: 2px solid var(--color-purple-light);
    outline-offset: 5px;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 52px;
        padding: 72px 0 64px;
    }

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

    .hero-showcase {
        width: min(100%, 520px);
        justify-self: center;
    }
}

@media (max-width: 600px) {
    .hero-container {
        gap: 40px;
        padding: 54px 0 52px;
    }

    .hero-eyebrow {
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(52px, 17vw, 72px);
    }

    .hero-description {
        margin-top: 24px;
        font-size: 16px;
    }

    .hero-actions {
        margin-top: 30px;
    }

    .hero-actions .button {
        flex: 1 1 100%;
    }

    .hero-showcase {
        width: min(92%, 430px);
    }

    .hero-media-frame {
        border-radius: 14px 14px 42px 14px;
    }

    .hero-piece-info {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media {
        transition: none;
    }
}

/* ========================================
   ASSINATURA GEOMÉTRICA KRYVIA
   A base continua suave; ações e pontos de destaque recebem
   um corte curto inspirado nos ângulos do símbolo K.
======================================== */

/* CTAs: menos "pill/card de SaaS", sem perder suavidade. */
.button {
    border-radius: 10px 10px 3px 10px;
}

.button-primary,
.button-secondary {
    position: relative;
}

/* Pequeno traço diagonal: assinatura, não decoração dominante. */
.button-primary::after,
.button-secondary::after {
    content: "";
    width: 9px;
    height: 1px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    background: currentColor;
    opacity: 0.34;
    transform: rotate(-45deg);
    transform-origin: center;
    pointer-events: none;
}

/* Filtros continuam cápsulas porque representam seleção.
   Só o estado ativo recebe a geometria mais marcada. */
.filter-button.active {
    border-radius: 999px 999px 5px 999px;
}

/* Cards: forma ainda amigável, com um canto mais firme e
   um pequeno corte visual roxo que se repete pela marca. */
.product-card {
    border-radius: 16px 16px 5px 16px;
}

.product-card::after {
    content: "";
    width: 22px;
    height: 2px;
    position: absolute;
    right: -5px;
    bottom: 5px;
    z-index: 2;
    background: var(--color-purple-light);
    opacity: 0.72;
    transform: rotate(-45deg);
    transform-origin: center;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover::after {
    opacity: 1;
    transform: rotate(-45deg) translateX(-2px);
}

/* A ação dentro do card recebe um pouco mais do lado "B". */
.product-link {
    border-radius: 9px 9px 2px 9px;
}

/* Badges informativos ficam menos "pill" sem competir com filtros. */
.product-badge {
    border-radius: 8px 8px 3px 8px;
}

/* Estado vazio acompanha a nova família de cantos. */
.products-empty {
    border-radius: 14px 14px 4px 14px;
}

@media (prefers-reduced-motion: reduce) {
    .product-card::after {
        transition: none;
    }
}

/* ========================================
   SISTEMA GRÁFICO KRYVIA
   Fragmentos ampliados da geometria do K aparecem em escala macro.
   O footer é o ponto mais expressivo; a seção de personalizados recebe
   apenas um eco discreto para manter o restante da página respirando.
======================================== */

/* Eco intermediário: duas diagonais largas, quase como um recorte do K. */
.custom-section::before {
    width: 440px;
    height: 620px;
    left: auto;
    right: -190px;
    bottom: -210px;
    border-radius: 0;
    opacity: 0.52;
    background:
        linear-gradient(132deg,
            transparent 0 43%,
            rgba(139, 92, 246, 0.12) 43.2% 44.1%,
            transparent 44.3% 100%),
        linear-gradient(48deg,
            transparent 0 57%,
            rgba(109, 40, 217, 0.08) 57.2% 58%,
            transparent 58.2% 100%);
    transform: rotate(-4deg);
    transform-origin: center;
}

/* Footer: a assinatura gráfica aparece grande e parcialmente fora do quadro.
   Não é um K repetido; são os encontros e diagonais do símbolo ampliados. */
.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.site-footer::before {
    width: 560px;
    height: 420px;
    right: -135px;
    top: -155px;
    opacity: 0.9;
    background:
        linear-gradient(138deg,
            transparent 0 42%,
            rgba(139, 92, 246, 0.18) 42.15% 43.05%,
            transparent 43.2% 100%),
        linear-gradient(42deg,
            transparent 0 57%,
            rgba(109, 40, 217, 0.10) 57.15% 58.05%,
            transparent 58.2% 100%),
        linear-gradient(90deg,
            transparent 0 49%,
            rgba(139, 92, 246, 0.055) 49.15% 49.75%,
            transparent 49.9% 100%);
    transform: rotate(-7deg);
}

.site-footer::after {
    width: 360px;
    height: 260px;
    left: -125px;
    bottom: -125px;
    opacity: 0.72;
    background:
        linear-gradient(135deg,
            transparent 0 48%,
            rgba(109, 40, 217, 0.12) 48.2% 49.15%,
            transparent 49.35% 100%),
        linear-gradient(45deg,
            transparent 0 59%,
            rgba(139, 92, 246, 0.07) 59.2% 60%,
            transparent 60.2% 100%);
}

.footer-container {
    position: relative;
    z-index: 1;
}

/* Um pequeno segmento físico no topo do footer conecta o macro ao micro. */
.footer-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 74px;
    height: 2px;
    background: var(--color-purple-light);
    transform: skewX(-42deg);
    transform-origin: left center;
    opacity: 0.9;
}

body.light-theme .site-footer::before {
    opacity: 0.48;
}

body.light-theme .site-footer::after {
    opacity: 0.4;
}

body.light-theme .custom-section::before {
    opacity: 0.34;
}

@media (max-width: 700px) {
    .custom-section::before {
        width: 300px;
        height: 470px;
        right: -175px;
        bottom: -160px;
        opacity: 0.38;
    }

    .site-footer::before {
        width: 390px;
        height: 330px;
        right: -205px;
        top: -125px;
        opacity: 0.7;
    }

    .site-footer::after {
        width: 270px;
        height: 220px;
        left: -155px;
        bottom: -105px;
    }
}

/* ========================================
   SISTEMA GRÁFICO KRYVIA / INTENSIDADE
   A assinatura deixa de ser só um acento: mais fragmentos, escalas e
   cruzamentos, mantendo o conteúdo limpo e os mesmos ângulos-base do K.
======================================== */

/* Personalizados: o desenho aparece com mais clareza, mas continua atrás do conteúdo. */
.custom-section::before {
    width: 560px;
    height: 720px;
    right: -205px;
    bottom: -245px;
    opacity: 0.78;
    background:
        linear-gradient(132deg, transparent 0 35%, rgba(139, 92, 246, 0.075) 35.2% 35.75%, transparent 35.95% 100%),
        linear-gradient(132deg, transparent 0 43%, rgba(139, 92, 246, 0.18) 43.2% 44.15%, transparent 44.35% 100%),
        linear-gradient(48deg, transparent 0 51%, rgba(109, 40, 217, 0.07) 51.2% 51.75%, transparent 51.95% 100%),
        linear-gradient(48deg, transparent 0 58%, rgba(109, 40, 217, 0.13) 58.2% 59.05%, transparent 59.25% 100%),
        linear-gradient(90deg, transparent 0 67%, rgba(139, 92, 246, 0.045) 67.15% 67.55%, transparent 67.75% 100%);
    transform: rotate(-5deg);
}

/* Terceiro ponto: o Sobre recebe um fragmento bem mais calmo no lado oposto. */
.about-section::after {
    width: 520px;
    height: 600px;
    top: auto;
    right: auto;
    left: -245px;
    bottom: -260px;
    border: 0;
    opacity: 0.48;
    background:
        linear-gradient(42deg, transparent 0 42%, rgba(139, 92, 246, 0.10) 42.2% 42.9%, transparent 43.1% 100%),
        linear-gradient(138deg, transparent 0 54%, rgba(109, 40, 217, 0.075) 54.2% 54.85%, transparent 55.05% 100%),
        linear-gradient(42deg, transparent 0 63%, rgba(139, 92, 246, 0.045) 63.15% 63.65%, transparent 63.85% 100%);
    transform: rotate(7deg);
}

/* Footer: composição mais densa. Linhas fortes + ecos finos criam profundidade
   sem recorrer a logos repetidos ou polígonos aleatórios. */
.site-footer::before {
    width: 720px;
    height: 520px;
    right: -175px;
    top: -205px;
    opacity: 1;
    background:
        linear-gradient(138deg, transparent 0 28%, rgba(139, 92, 246, 0.065) 28.15% 28.65%, transparent 28.8% 100%),
        linear-gradient(138deg, transparent 0 41%, rgba(139, 92, 246, 0.25) 41.15% 42.15%, transparent 42.3% 100%),
        linear-gradient(138deg, transparent 0 52%, rgba(109, 40, 217, 0.075) 52.15% 52.65%, transparent 52.8% 100%),
        linear-gradient(42deg, transparent 0 47%, rgba(109, 40, 217, 0.075) 47.15% 47.7%, transparent 47.85% 100%),
        linear-gradient(42deg, transparent 0 58%, rgba(109, 40, 217, 0.16) 58.15% 59.1%, transparent 59.25% 100%),
        linear-gradient(42deg, transparent 0 69%, rgba(139, 92, 246, 0.055) 69.15% 69.6%, transparent 69.75% 100%),
        linear-gradient(90deg, transparent 0 48%, rgba(139, 92, 246, 0.075) 48.15% 48.7%, transparent 48.85% 100%);
    transform: rotate(-7deg);
}

.site-footer::after {
    width: 520px;
    height: 390px;
    left: -175px;
    bottom: -180px;
    opacity: 0.9;
    background:
        linear-gradient(135deg, transparent 0 31%, rgba(109, 40, 217, 0.055) 31.15% 31.7%, transparent 31.85% 100%),
        linear-gradient(135deg, transparent 0 47%, rgba(109, 40, 217, 0.18) 47.2% 48.2%, transparent 48.4% 100%),
        linear-gradient(135deg, transparent 0 61%, rgba(139, 92, 246, 0.065) 61.15% 61.7%, transparent 61.85% 100%),
        linear-gradient(45deg, transparent 0 49%, rgba(139, 92, 246, 0.055) 49.15% 49.7%, transparent 49.85% 100%),
        linear-gradient(45deg, transparent 0 59%, rgba(139, 92, 246, 0.12) 59.2% 60.05%, transparent 60.25% 100%),
        linear-gradient(90deg, transparent 0 70%, rgba(109, 40, 217, 0.045) 70.15% 70.55%, transparent 70.75% 100%);
}

body.light-theme .custom-section::before { opacity: 0.48; }
body.light-theme .about-section::after { opacity: 0.34; }
body.light-theme .site-footer::before { opacity: 0.62; }
body.light-theme .site-footer::after { opacity: 0.52; }

@media (max-width: 700px) {
    .custom-section::before {
        width: 390px;
        height: 540px;
        right: -220px;
        bottom: -180px;
        opacity: 0.58;
    }

    .about-section::after {
        width: 350px;
        height: 420px;
        left: -210px;
        bottom: -190px;
        opacity: 0.34;
    }

    .site-footer::before {
        width: 500px;
        height: 390px;
        right: -270px;
        top: -145px;
        opacity: 0.84;
    }

    .site-footer::after {
        width: 360px;
        height: 285px;
        left: -205px;
        bottom: -125px;
        opacity: 0.72;
    }
}

/* ========================================
   MALHA AMBIENTAL KRYVIA
   A geometria derivada do K passa a ocupar também os grandes vazios da home.
   Três intensidades: ambiental, média e forte. O conteúdo continua acima da malha.
======================================== */

/* Base segura: os padrões nunca capturam interação. */
.hero::before, .hero::after,
.products-section::before, .products-section::after,
.order-section::before, .order-section::after,
.contact-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-container,
.products-container,
.order-container,
.contact-container {
    position: relative;
    z-index: 1;
}

/* HERO — substitui a sensação do quadrado isolado por uma malha ampla,
   quase escondida atrás do vídeo e dos vazios laterais. */
.hero::before {
    width: 760px;
    height: 680px;
    right: -250px;
    top: 30px;
    opacity: .72;
    background:
        linear-gradient(132deg, transparent 0 31%, rgba(139,92,246,.055) 31.15% 31.65%, transparent 31.8% 100%),
        linear-gradient(132deg, transparent 0 44%, rgba(139,92,246,.14) 44.15% 44.85%, transparent 45% 100%),
        linear-gradient(48deg, transparent 0 51%, rgba(109,40,217,.055) 51.15% 51.7%, transparent 51.85% 100%),
        linear-gradient(48deg, transparent 0 63%, rgba(109,40,217,.095) 63.15% 63.85%, transparent 64% 100%);
    transform: rotate(-5deg);
}

.hero::after {
    width: 470px;
    height: 430px;
    left: -250px;
    bottom: -170px;
    opacity: .36;
    background:
        linear-gradient(42deg, transparent 0 44%, rgba(139,92,246,.08) 44.2% 44.8%, transparent 45% 100%),
        linear-gradient(138deg, transparent 0 58%, rgba(109,40,217,.055) 58.2% 58.75%, transparent 58.95% 100%);
}

/* O antigo quadrado atrás da mídia deixa de competir com a nova linguagem. */
.hero-shape-one { opacity: 0; }

/* CATÁLOGO — padrão ambiental só nos vazios. Produtos continuam protagonistas. */
.products-section {
    overflow: hidden;
    isolation: isolate;
}

.products-section::before {
    width: 720px;
    height: 640px;
    right: -330px;
    top: 55px;
    opacity: .42;
    background:
        linear-gradient(138deg, transparent 0 36%, rgba(139,92,246,.065) 36.15% 36.65%, transparent 36.8% 100%),
        linear-gradient(138deg, transparent 0 49%, rgba(109,40,217,.045) 49.15% 49.65%, transparent 49.8% 100%),
        linear-gradient(42deg, transparent 0 57%, rgba(139,92,246,.055) 57.15% 57.7%, transparent 57.85% 100%);
    transform: rotate(4deg);
}

.products-section::after {
    width: 430px;
    height: 500px;
    left: -260px;
    bottom: -210px;
    opacity: .26;
    background:
        linear-gradient(45deg, transparent 0 46%, rgba(109,40,217,.065) 46.2% 46.8%, transparent 47% 100%),
        linear-gradient(135deg, transparent 0 62%, rgba(139,92,246,.045) 62.2% 62.75%, transparent 62.95% 100%);
}

/* SOBRE — ocupa mais área sem aumentar muito o brilho. */
.about-section::after {
    width: 760px;
    height: 720px;
    left: -330px;
    bottom: -315px;
    opacity: .58;
    background:
        linear-gradient(42deg, transparent 0 31%, rgba(139,92,246,.045) 31.15% 31.65%, transparent 31.85% 100%),
        linear-gradient(42deg, transparent 0 43%, rgba(139,92,246,.105) 43.2% 43.9%, transparent 44.1% 100%),
        linear-gradient(138deg, transparent 0 51%, rgba(109,40,217,.07) 51.2% 51.85%, transparent 52.05% 100%),
        linear-gradient(138deg, transparent 0 64%, rgba(139,92,246,.04) 64.15% 64.65%, transparent 64.85% 100%);
    transform: rotate(7deg);
}

/* PROCESSO — continua sendo respiro, mas deixa de parecer abandonado. */
.order-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.order-section::before {
    width: 600px;
    height: 560px;
    right: -315px;
    top: -120px;
    opacity: .34;
    background:
        linear-gradient(135deg, transparent 0 40%, rgba(139,92,246,.07) 40.15% 40.7%, transparent 40.9% 100%),
        linear-gradient(45deg, transparent 0 57%, rgba(109,40,217,.05) 57.15% 57.7%, transparent 57.9% 100%),
        linear-gradient(135deg, transparent 0 68%, rgba(139,92,246,.035) 68.15% 68.6%, transparent 68.8% 100%);
}

.order-section::after {
    width: 430px;
    height: 400px;
    left: -245px;
    bottom: -185px;
    opacity: .24;
    background:
        linear-gradient(42deg, transparent 0 48%, rgba(139,92,246,.065) 48.2% 48.75%, transparent 48.95% 100%),
        linear-gradient(138deg, transparent 0 61%, rgba(109,40,217,.04) 61.15% 61.65%, transparent 61.85% 100%);
}

/* CONTATO — conecta o bloco ao footer sem transformar o card em estampa. */
.contact-section::after {
    width: 680px;
    height: 520px;
    left: -310px;
    top: -150px;
    opacity: .34;
    background:
        linear-gradient(132deg, transparent 0 38%, rgba(139,92,246,.06) 38.15% 38.7%, transparent 38.9% 100%),
        linear-gradient(48deg, transparent 0 55%, rgba(109,40,217,.045) 55.15% 55.7%, transparent 55.9% 100%);
    transform: rotate(-4deg);
}

/* O detalhe antigo do card vira um eco do sistema, não um quadrado solto. */
.contact-card::after {
    width: 360px;
    height: 260px;
    top: -115px;
    right: 5%;
    border: 0;
    opacity: .8;
    background:
        linear-gradient(132deg, transparent 0 43%, rgba(139,92,246,.12) 43.15% 43.8%, transparent 44% 100%),
        linear-gradient(48deg, transparent 0 58%, rgba(109,40,217,.065) 58.15% 58.7%, transparent 58.9% 100%);
    transform: rotate(-3deg);
}

body.light-theme .hero::before { opacity: .42; }
body.light-theme .hero::after { opacity: .24; }
body.light-theme .products-section::before { opacity: .27; }
body.light-theme .products-section::after { opacity: .18; }
body.light-theme .about-section::after { opacity: .38; }
body.light-theme .order-section::before { opacity: .22; }
body.light-theme .order-section::after { opacity: .16; }
body.light-theme .contact-section::after { opacity: .22; }

@media (max-width: 900px) {
    .hero::before {
        width: 560px;
        height: 560px;
        right: -300px;
        top: 100px;
        opacity: .48;
    }
    .products-section::before {
        width: 520px;
        height: 520px;
        right: -330px;
        top: 90px;
        opacity: .30;
    }
    .about-section::after {
        width: 540px;
        height: 560px;
        left: -330px;
        bottom: -250px;
        opacity: .42;
    }
    .order-section::before {
        width: 470px;
        height: 470px;
        right: -300px;
        top: -80px;
        opacity: .26;
    }
}

@media (max-width: 600px) {
    /* Mobile recebe menos linhas e menos contraste para preservar leitura. */
    .hero::before {
        width: 430px;
        height: 480px;
        right: -285px;
        top: 130px;
        opacity: .38;
    }
    .hero::after { display: none; }
    .products-section::before {
        width: 400px;
        height: 430px;
        right: -285px;
        top: 120px;
        opacity: .24;
    }
    .products-section::after { display: none; }
    .about-section::after {
        width: 430px;
        height: 460px;
        left: -285px;
        bottom: -205px;
        opacity: .32;
    }
    .order-section::before {
        width: 390px;
        height: 410px;
        right: -275px;
        top: -80px;
        opacity: .22;
    }
    .order-section::after { display: none; }
    .contact-section::after {
        width: 420px;
        height: 390px;
        left: -290px;
        top: -80px;
        opacity: .22;
    }
}

/* ========================================
   REFINO DE MARCA E HERO
   Mais presença para a assinatura KRYVIA e menos disputa visual no hero.
======================================== */

/* A marca assume mais presença sem aumentar a altura do header. */
.brand-symbol {
    width: 52px;
}

.brand-title {
    width: 160px;
}

/* O vídeo volta a ser o foco: menos linhas, menor contraste e mais respiro. */
.hero::before {
    width: 650px;
    height: 610px;
    right: -300px;
    top: 62px;
    opacity: .46;
    background:
        linear-gradient(132deg, transparent 0 43%, rgba(139,92,246,.095) 43.15% 43.75%, transparent 43.9% 100%),
        linear-gradient(48deg, transparent 0 61%, rgba(109,40,217,.06) 61.15% 61.7%, transparent 61.85% 100%),
        linear-gradient(132deg, transparent 0 72%, rgba(139,92,246,.035) 72.15% 72.55%, transparent 72.7% 100%);
    transform: rotate(-4deg);
}

/* Remove de vez os quadrados antigos: a malha K é a linguagem do hero agora. */
.hero-shape-one,
.hero-shape-two {
    display: none;
}

body.light-theme .hero::before {
    opacity: .30;
}

@media (max-width: 900px) {
    .brand-symbol { width: 48px; }
    .brand-title { width: 148px; }

    .hero::before {
        width: 520px;
        height: 520px;
        right: -305px;
        top: 110px;
        opacity: .36;
    }
}

@media (max-width: 600px) {
    .brand-symbol { width: 44px; }
    .brand-title { width: 128px; }

    .hero::before {
        width: 400px;
        height: 440px;
        right: -285px;
        top: 145px;
        opacity: .28;
    }
}

@media (max-width: 440px) {
    .brand-title { width: 116px; }
}

@media (max-width: 360px) {
    .brand-symbol { width: 40px; }
    .brand-title { width: 106px; }
}

/* ========================================
   BALANÇO DO HERO
   A cruz ambiental sai da direita e passa para a esquerda.
   A direita fica reservada aos quadrados inclinados da vitrine.
======================================== */
.hero::before {
    width: 650px;
    height: 610px;
    left: -365px;
    right: auto;
    top: 105px;
    opacity: .42;
    background:
        linear-gradient(132deg, transparent 0 43%, rgba(139,92,246,.09) 43.15% 43.75%, transparent 43.9% 100%),
        linear-gradient(48deg, transparent 0 61%, rgba(109,40,217,.055) 61.15% 61.7%, transparent 61.85% 100%),
        linear-gradient(132deg, transparent 0 72%, rgba(139,92,246,.03) 72.15% 72.55%, transparent 72.7% 100%);
    transform: rotate(4deg);
}

/* Evita duplicar geometria no lado esquerdo: fica uma única composição maior. */
.hero::after {
    display: none;
}

body.light-theme .hero::before {
    opacity: .27;
}

@media (max-width: 900px) {
    .hero::before {
        width: 520px;
        height: 520px;
        left: -330px;
        right: auto;
        top: 150px;
        opacity: .32;
    }
}

@media (max-width: 600px) {
    .hero::before {
        width: 400px;
        height: 440px;
        left: -285px;
        right: auto;
        top: 185px;
        opacity: .24;
    }
}

/* ========================================
   VITRINE DO CATÁLOGO
   Mais hierarquia comercial, menos aparência de card genérico.
======================================== */

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-image-link {
    overflow: hidden;
}

.product-image-wrapper {
    aspect-ratio: 4 / 5;
}

.product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 24px 22px;
}

.product-category {
    margin-bottom: 9px;
    max-width: 100%;
    overflow: hidden;
    color: var(--color-purple-light);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-name {
    font-size: clamp(20px, 1.7vw, 24px);
    letter-spacing: -0.025em;
}

.product-description {
    display: -webkit-box;
    min-height: 3.15em;
    margin-top: 10px;
    overflow: hidden;
    color: var(--color-text-soft);
    font-size: 13px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 17px;
    color: var(--color-text-soft);
    font-size: 11px;
    line-height: 1.35;
}

.product-meta span {
    position: relative;
}

.product-meta span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    position: absolute;
    left: -9px;
    top: 0.55em;
    background: var(--color-purple-light);
    transform: rotate(45deg);
}

.product-footer {
    align-items: flex-end;
    margin-top: auto;
    padding-top: 20px;
}

.product-price {
    gap: 3px;
}

.product-price small {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-price strong {
    font-size: 16px;
    letter-spacing: -0.015em;
}

.product-link {
    width: auto;
    min-width: 104px;
    height: 42px;
    gap: 10px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.product-link span:last-child {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.product-card:hover .product-link span:last-child {
    transform: translateX(3px);
}

.product-badge {
    padding: 7px 10px;
    font-size: 9px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

@media (max-width: 1100px) and (min-width: 701px) {
    .product-content {
        padding: 20px;
    }

    .product-link {
        min-width: 42px;
        padding: 0 12px;
    }

    .product-link span:first-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (max-width: 700px) {
    .product-description {
        min-height: 0;
    }

    .product-content {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-link span:last-child {
        transition: none;
    }
}


/* ========================================
   FECHAMENTO DA HOME
   O contato deixa o antigo card de SaaS e passa a usar a geometria KRYVIA.
======================================== */

.contact-section {
    padding: 118px 0 126px;
}

.contact-section::before {
    width: 640px;
    height: 520px;
    right: -310px;
    bottom: -250px;
    border-radius: 0;
    background:
        linear-gradient(138deg, transparent 0 44%, rgba(139,92,246,.08) 44.15% 44.7%, transparent 44.9% 100%),
        linear-gradient(42deg, transparent 0 58%, rgba(109,40,217,.05) 58.15% 58.65%, transparent 58.85% 100%);
}

.contact-card {
    min-height: 330px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(48px, 8vw, 130px);
    align-items: center;
    padding: 58px 62px 58px 68px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.contact-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-purple-light), var(--color-purple));
    pointer-events: none;
}

.contact-card::after {
    width: 500px;
    height: 360px;
    top: -150px;
    right: 2%;
    opacity: .56;
    background:
        linear-gradient(132deg, transparent 0 43%, rgba(139,92,246,.10) 43.15% 43.65%, transparent 43.85% 100%),
        linear-gradient(132deg, transparent 0 52%, rgba(139,92,246,.045) 52.15% 52.55%, transparent 52.75% 100%),
        linear-gradient(48deg, transparent 0 60%, rgba(109,40,217,.07) 60.15% 60.65%, transparent 60.85% 100%);
    transform: rotate(-4deg);
}

.contact-copy h2 {
    max-width: 720px;
    margin-top: 20px;
    font-size: clamp(44px, 5vw, 70px);
}

.contact-copy > p {
    max-width: 570px;
    margin-top: 28px;
}

.contact-button {
    min-width: 232px;
    min-height: 62px;
    padding: 0 22px 0 25px;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.contact-button-arrow {
    transition: transform .2s ease;
}

.contact-button:hover .contact-button-arrow {
    transform: translateX(4px);
}

body.light-theme .contact-card {
    background: var(--color-surface);
}

@media (max-width: 900px) {
    .contact-card {
        min-height: 0;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 38px;
        padding: 48px;
    }

    .contact-button {
        width: fit-content;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 82px 0 90px;
    }

    .contact-card {
        padding: 38px 28px 34px 32px;
        clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    }

    .contact-card::after {
        width: 330px;
        height: 260px;
        right: -150px;
        top: -90px;
        opacity: .38;
    }

    .contact-copy h2 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .contact-button {
        width: 100%;
        min-width: 0;
    }
}
