/* Homepage product cards: keep imagery and product details in separate zones. */
.homepage-trust-band {
    position: relative;
    overflow: hidden;
    background: #000;
    color: #fff;
}

.homepage-trust-inner {
    display: grid;
    width: min(100%, 80rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    padding: 0 1.5rem;
}

.homepage-trust-item {
    display: flex;
    min-width: 0;
    min-height: 5.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 1rem clamp(0.65rem, 2vw, 1.5rem);
    color: #f8fafc;
    font-size: clamp(0.88rem, 1.25vw, 1rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.homepage-trust-item + .homepage-trust-item {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.homepage-trust-icon {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 2.8rem;
    place-items: center;
    border: 1px solid rgba(239, 72, 37, 0.36);
    border-radius: 50%;
    background: rgba(239, 72, 37, 0.13);
    color: #ff7658;
}

.homepage-trust-icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.homepage .homepage-hero-layout {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.homepage .homepage-section {
    padding-top: clamp(0.75rem, 1.4vw, 1.2rem);
    padding-bottom: clamp(0.75rem, 1.4vw, 1.2rem);
}

.homepage-category-showcase {
    background: #fffdfa;
}

.homepage-category-heading {
    max-width: 48rem;
    margin: 0 auto 1.65rem;
    text-align: center;
}

.homepage-category-kicker {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: #d83c1e;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.homepage-category-heading h2 {
    margin: 0;
    color: #171717;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.homepage-category-heading p {
    max-width: 40rem;
    margin: 0.8rem auto 0;
    color: #68635d;
    font-size: 1rem;
    line-height: 1.55;
}

.homepage-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.15rem;
}

.homepage-category-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e9e3dc;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 26px rgba(48, 37, 27, 0.055);
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.homepage-category-card:hover {
    transform: translateY(-3px);
    border-color: #e1c7b9;
    box-shadow: 0 17px 34px rgba(48, 37, 27, 0.11);
}

.homepage-category-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: #f3f0eb;
}

.homepage-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    transition: transform 240ms ease;
}

.homepage-category-card:hover .homepage-category-image img {
    transform: scale(1.04);
}

.homepage-category-number {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: #41372f;
    font-size: 0.68rem;
    font-weight: 800;
}

.homepage-category-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1rem 1.1rem 1.05rem;
}

.homepage-category-label {
    color: #d83c1e;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.35;
    text-transform: uppercase;
}

.homepage-category-body h3 {
    margin: 0.35rem 0 0;
    color: #191714;
    font-size: 1.12rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.homepage-category-body > p {
    min-height: 2.9em;
    margin: 0.45rem 0 0.9rem;
    color: #68635d;
    font-size: 0.83rem;
    line-height: 1.45;
}

.homepage-category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.7rem;
    border-top: 1px solid #f0ece7;
    color: #6a625b;
    font-size: 0.72rem;
}

.homepage-category-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.25rem;
    color: #d83c1e;
    font-weight: 750;
}

.homepage-category-link svg {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 180ms ease;
}

.homepage-category-card:hover .homepage-category-link svg {
    transform: translate(2px, -2px);
}

.homepage #products-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.25rem;
}

.homepage #products-container .product-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    border: 1px solid #e7e5e4;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.homepage #products-container .product-card:hover {
    transform: translateY(-3px);
    border-color: #d6d3d1;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.11);
}

.homepage #products-container .product-card-image {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    padding: 0.8rem 1rem 0.4rem;
    background: #f8f7f5;
    cursor: default;
}

.homepage #products-container .product-card-image > img {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0.55rem;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
}

.homepage #products-container .product-card-body {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    min-height: 0;
    gap: 0.55rem;
    padding: 0.75rem 0.85rem 0.85rem;
    border-top: 1px solid #f1efed;
    background: #fff;
    opacity: 1;
    transform: none;
}

.homepage #products-container .product-card-content {
    min-height: 0;
}

.homepage #products-container .product-card-title {
    min-height: 2.4em;
    max-height: 2.4em;
    color: #171717;
    font-size: 0.95rem;
    line-height: 1.2;
    -webkit-line-clamp: 2;
}

.homepage #products-container .product-card-footer {
    margin-top: 0;
}

.homepage #products-container .product-card-cta {
    width: 100%;
    min-height: 2.35rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 0.7rem;
    background: #ef4825;
    font-size: 0.82rem;
}

.homepage #products-container .product-card-cta:hover {
    background: #d83c1e;
}

@media (max-width: 1023px) {
    .homepage #products-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .homepage section.homepage-section {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }

    .homepage #produtos.homepage-section {
        padding-top: 0.27rem !important;
        padding-bottom: 0.54rem !important;
    }
}

@media (max-width: 767px) {
    .homepage-category-heading {
        margin: 0 auto 0.9rem;
        text-align: left;
    }

    .homepage-category-kicker {
        margin-bottom: 0.35rem;
        font-size: 0.62rem;
    }

    .homepage-category-heading h2 {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.02;
    }

    .homepage-category-heading p {
        margin: 0.5rem 0 0;
        font-size: 0.85rem;
        line-height: 1.42;
    }

    .homepage-category-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.6rem;
    }

    .homepage-category-card {
        min-height: 8.5rem;
        flex-direction: row;
        border-radius: 0.95rem;
    }

    .homepage-category-image {
        flex: 0 0 34%;
        min-width: 5.4rem;
        height: auto;
        align-self: center;
        aspect-ratio: 5 / 4;
    }

    .homepage-category-image img {
        padding: 0;
    }

    .homepage-category-number {
        top: 0.4rem;
        left: 0.4rem;
        width: 1.55rem;
        height: 1.55rem;
        font-size: 0.58rem;
    }

    .homepage-category-body {
        justify-content: center;
        padding: 0.62rem 0.7rem;
    }

    .homepage-category-label {
        font-size: 0.55rem;
        letter-spacing: 0.065em;
    }

    .homepage-category-body h3 {
        margin-top: 0.2rem;
        font-size: 0.92rem;
        line-height: 1.12;
    }

    .homepage-category-body > p {
        display: -webkit-box;
        min-height: 0;
        margin: 0.28rem 0 0.45rem;
        overflow: hidden;
        font-size: 0.68rem;
        line-height: 1.3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .homepage-category-footer {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.25rem 0.55rem;
        padding-top: 0.4rem;
        font-size: 0.61rem;
    }

    .homepage-category-link {
        gap: 0.1rem;
        font-size: 0.61rem;
    }

    .homepage-category-link svg {
        width: 0.78rem;
        height: 0.78rem;
    }
}

@media (max-width: 767px) {
    .homepage #products-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem;
    }

    .homepage #products-container .product-card:nth-child(n + 5) {
        display: none;
    }

    .homepage #products-container .product-card {
        border-radius: 1rem;
    }

    .homepage #products-container .product-card-image {
        padding: 0.55rem 0.55rem 0.2rem;
    }

    .homepage #products-container .product-card-body {
        gap: 0.35rem;
        padding: 0.48rem 0.52rem 0.58rem;
    }

    .homepage #products-container .product-card-title {
        min-height: 2.24em;
        max-height: 2.24em;
        font-size: 0.72rem;
        line-height: 1.12;
    }

    .homepage #products-container .product-card-cta {
        min-height: 1.9rem;
        padding: 0.35rem 0.4rem;
        font-size: 0.69rem;
    }
}

@media (max-width: 640px) {
    .homepage-trust-inner {
        padding: 0 0.55rem;
    }

    .homepage-trust-item {
        min-height: 6rem;
        flex-direction: column;
        gap: 0.45rem;
        padding: 0.8rem 0.3rem;
        font-size: 0.72rem;
        text-align: center;
    }

    .homepage-trust-icon {
        width: 2.35rem;
        height: 2.35rem;
        flex-basis: 2.35rem;
    }

    .homepage-trust-icon svg {
        width: 1.2rem;
        height: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage #products-container .product-card,
    .homepage-category-card,
    .homepage-category-image img,
    .homepage-category-link svg {
        transition: none;
    }
}

/* Homepage lead form: give the message column enough substance to balance the form. */
.homepage .homepage-cta.homepage-cta-band {
    width: calc(100% - clamp(1.25rem, 4vw, 3rem));
    max-width: 80rem;
    margin: clamp(1.25rem, 3vw, 2.5rem) auto !important;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 1.75rem !important;
    background-image:
        radial-gradient(ellipse at 8% 0%, rgba(239, 72, 37, 0.16), transparent 28rem),
        linear-gradient(145deg, #11151d 0%, #090b10 64%, #111827 100%) !important;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18) !important;
}

.homepage .homepage-cta-layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 1.5rem;
}

.homepage .homepage-cta-intro {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 0.25rem 0;
}

.homepage-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff947b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.homepage-cta-kicker::before {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #ef4825;
    content: "";
}

.homepage .homepage-cta-intro h2 {
    max-width: 13ch;
    margin: 0.85rem 0 0;
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.homepage .homepage-cta-intro > p {
    max-width: 34rem;
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.65;
}

.homepage-cta-steps {
    display: grid;
    gap: 0.9rem;
    margin: 1.45rem 0 0;
    padding: 0;
    list-style: none;
}

.homepage-cta-steps > li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
}

.homepage-cta-step-number {
    display: grid;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    border: 1px solid rgba(255, 118, 88, 0.32);
    border-radius: 0.8rem;
    background: rgba(239, 72, 37, 0.12);
    color: #ff947b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.homepage-cta-step-copy {
    display: grid;
    gap: 0.16rem;
    min-width: 0;
}

.homepage-cta-step-copy strong {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.3;
}

.homepage-cta-step-copy > span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.77rem;
    line-height: 1.4;
}

.homepage .homepage-cta .homepage-cta-response-note {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.55rem;
    margin-top: 1.35rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 650;
}

.homepage .homepage-cta-response-note > i {
    width: 1rem;
    height: 1rem;
    color: #ff947b;
}

.homepage .homepage-cta .homepage-inline-form {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.15rem, 2vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.homepage .homepage-cta .homepage-field > span {
    color: #475569;
}

.homepage .homepage-cta .homepage-field input,
.homepage .homepage-cta .homepage-field textarea {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #111827;
}

.homepage .homepage-cta .homepage-field input:focus,
.homepage .homepage-cta .homepage-field textarea:focus {
    border-color: #ef4825;
    box-shadow: 0 0 0 4px rgba(239, 72, 37, 0.13);
}

@media (min-width: 1024px) {
    .homepage .homepage-cta-layout {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
        gap: clamp(2rem, 4vw, 4rem);
    }
}

@media (max-width: 767px) {
    .homepage .homepage-cta.homepage-cta-band {
        width: calc(100% - 1.25rem);
        margin: 0.75rem auto !important;
        padding: 1.15rem 1rem !important;
        border-radius: 1.1rem !important;
    }

    .homepage .homepage-cta-layout {
        gap: 1.1rem !important;
    }

    .homepage .homepage-cta-intro {
        padding: 0.15rem 0;
    }

    .homepage .homepage-cta-intro h2 {
        max-width: 15ch;
        margin-top: 0.6rem;
        font-size: clamp(1.8rem, 7.8vw, 2.35rem);
    }

    .homepage .homepage-cta-intro > p {
        margin-top: 0.65rem;
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .homepage-cta-steps {
        gap: 0.7rem;
        margin-top: 1rem;
    }

    .homepage-cta-steps > li {
        grid-template-columns: 2.2rem minmax(0, 1fr);
        gap: 0.65rem;
    }

    .homepage-cta-step-number {
        width: 2.15rem;
        height: 2.15rem;
        border-radius: 0.68rem;
        font-size: 0.66rem;
    }

    .homepage-cta-step-copy strong {
        font-size: 0.8rem;
    }

    .homepage-cta-step-copy > span {
        font-size: 0.7rem;
    }

    .homepage .homepage-cta .homepage-cta-response-note {
        margin-top: 0.95rem;
        padding: 0.55rem 0.7rem;
        font-size: 0.72rem;
    }

    .homepage .homepage-cta .homepage-inline-form {
        min-height: 0;
        padding: 1rem !important;
        border-radius: 1rem !important;
    }
}
