:root {
    --navy-blue: #232284;
    --navy-blue-light: #3a39a0;
    --navy-blue-dark: #16155e;
    --yellow: #feca05;
    --yellow-hover: #e5b604;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --gray-text: #2d3436;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --max-width: 1200px;
}

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

    body {
        font-family: 'Sora', sans-serif;
        color: var(--gray-text);
        line-height: 1.6;
        overflow-x: hidden;
    }

    body.no-scroll {
        overflow: hidden;
    }

/* Barra Superior */
.top-bar {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 40px;
    background-color: #fdb82b;
}

/* Gradiente do Cabeçalho */
.header-gradient {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom, rgba(40, 40, 87, 0.96) 0%, rgba(40, 40, 87, 0.68) 42%, transparent 100%);
    z-index: 500;
    pointer-events: none;
}

/* Cabeçalho */
header {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    z-index: 1000;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.logo-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.logo-container img {
    display: block;
    max-width: 100%;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav .products-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-speed);
}

nav a:hover {
    color: var(--yellow);
}

.products-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    display: grid;
    grid-template-columns: repeat(5, minmax(118px, 1fr));
    gap: 18px;
    width: min(760px, calc(100vw - 40px));
    padding: 22px;
    background: rgba(254, 202, 5, 0.8);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.products-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 16px;
}

.products-nav-item:hover .products-dropdown,
.products-nav-item:focus-within .products-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

nav .products-dropdown a {
    display: block;
    color: var(--navy-blue);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    padding: 4px 0;
}

nav .products-dropdown a:hover,
nav .products-dropdown a:focus-visible {
    color: #ffffff;
}

.products-page nav .products-dropdown a:hover,
.products-page nav .products-dropdown a:focus-visible {
    color: var(--white) !important;
}

nav .products-dropdown .products-dropdown-title {
    color: var(--navy-blue);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.products-dropdown-close {
    display: none;
}

.products-dropdown-all {
    display: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-speed);
}

.social-icons a:hover img {
    transform: scale(1.2);
}

.social-icons-hover a {
    position: relative;
    display: inline-flex;
    width: 24px;
    height: 24px;
}

.social-icons-hover .icon-default,
.social-icons-hover .icon-hover {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 1;
    transition: opacity 0.2s ease, transform var(--transition-speed);
}

.social-icons-hover .icon-hover {
    opacity: 0;
}

.social-icons-hover a:hover .icon-default,
.social-icons-hover a:focus-visible .icon-default {
    opacity: 0;
}

.social-icons-hover a:hover .icon-hover,
.social-icons-hover a:focus-visible .icon-hover {
    opacity: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 3001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Seção Hero */
.hero {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    color: var(--white);
    background-color: #000;
    /* Prevent white during transitions */
}

.slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0s 1.2s;
    /* Stay visible while the next one fades in */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transition: opacity 1.2s ease-in-out;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(35, 34, 132, 0.4), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2000;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Controles do Slider */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2001;
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-pause-btn {
    width: 38px;
    height: 38px;
    background: #feca05;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-pause,
.icon-play {
    width: 18px;
    height: 18px;
    background: #232284;
}

.icon-pause {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z'/%3E%3C/svg%3E") no-repeat center;
}

.icon-play {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center;
    margin-left: 4px;
}

.dots-container {
    background: #feca05;
    height: 38px;
    padding: 0 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #232284;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.dot.active {
    width: 72px;
    background: rgba(35, 34, 132, 0.2);
    border-radius: 20px;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #232284;
    opacity: 0.3;
}

.dot.active .progress {
    background: #232284;
    opacity: 1;
}

.hero-text {
    text-align: right;
}

.hero-text h1 {
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-text h1 span {
    font-weight: 300;
    display: block;
}

.hero-box {
    background: rgba(35, 34, 132, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    text-align: left;
}

/* Slide Tipo B (Split Layout) */
.slide-type-b {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.split-left {
    text-align: right;
}

.split-left .label {
    display: block;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2px;
    opacity: 0.9;
}

.split-left .main-name {
    font-size: 72px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -2px;
    margin: 0;
}

.split-divider {
    width: 2px;
    height: 84px;
    background-color: var(--white);
    opacity: 0.6;
}

.split-right .tagline {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
}

.split-right .tagline strong {
    font-weight: 700;
}

/* Ajuste para Mobile */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .split-left {
        text-align: center;
    }

    .split-divider {
        width: 60px;
        height: 2px;
    }

    .split-left .label {
        font-size: 30px;
    }

    .split-left .main-name {
        font-size: 60px;
    }

    .split-right .tagline {
        font-size: 32px;
    }
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 18px;
    }

    .hero-text,
    .hero-box {
        text-align: center;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 42px;
        line-height: 0.95;
    }

    .hero-text h1 span {
        font-size: 22px;
        line-height: 1.12;
        margin-top: 6px;
    }

    .hero-box {
        padding: 10px;
        border-radius: 14px;
    }

    .hero-box p {
        font-size: 13px;
        line-height: 1.35;
    }

    .split-layout {
        gap: 12px;
    }

    .split-left .label {
        font-size: 16px;
    }

    .split-left .main-name {
        font-size: 42px;
        line-height: 0.95;
        letter-spacing: 0;
    }

    .split-right .tagline {
        font-size: 22px;
        line-height: 1.12;
    }

    .split-divider {
        width: 48px;
    }
}

.hero-box p {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.5;
}

.carousel-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-controls img {
    height: 50px;
    cursor: pointer;
}

.main-bg {
    background-image: url('images/bg-s-line-e-colorido.svg');
    background-size: 110% auto;
    background-position: top center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100%;
}

/* Seção de Filosofia */
.philosophy {
    padding: 60px 0 100px;
    text-align: center;
    background: transparent;
}

.philosophy-line-art {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    margin-bottom: 60px;
    opacity: 0.9;
    line-height: 0;
    overflow: hidden;
}

.philosophy-line-art img {
    width: 100%;
    display: block;
}

.philosophy-line-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    -webkit-mask-image: radial-gradient(circle 150px at var(--zoom-x, 50%) var(--zoom-y, 50%), #000 0 68%, transparent 100%);
    mask-image: radial-gradient(circle 150px at var(--zoom-x, 50%) var(--zoom-y, 50%), #000 0 68%, transparent 100%);
}

.philosophy-line-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/produtos-linhas.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
    transition: opacity 0.18s ease;
    -webkit-mask-image: radial-gradient(circle 150px at var(--zoom-x, 50%) var(--zoom-y, 50%), #000 0 72%, transparent 100%);
    mask-image: radial-gradient(circle 150px at var(--zoom-x, 50%) var(--zoom-y, 50%), #000 0 72%, transparent 100%);
}

.philosophy-line-art.is-magnifying::before {
    opacity: 0.92;
}

.philosophy-line-art.is-magnifying::after {
    opacity: 1;
    transform: scale(1.18);
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-text p {
    color: var(--navy-blue);
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.philosophy-text p strong {
    font-weight: 700;
}

/* Divisor */
.divider-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Banner de Cores (largura total) */
.color-banner {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    line-height: 0;
    overflow: hidden;
    display: block;
}

.color-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Categorias */
.categories {
    padding: 100px 0;
    width: 100%;
}

.categories-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.categories-title h2 {
    color: var(--navy-blue);
    font-size: 32px;
    font-weight: 400;
}

.categories-title h3 {
    color: var(--navy-blue);
    font-size: 42px;
    font-weight: 800;
}

.categories-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 10px;
}

.category-slider-nav {
    display: none;
}

.category-card {
    display: block;
    flex: 0 0 min(357px, calc((100vw - 60px) / 5));
    color: inherit;
    text-decoration: none;
    perspective: 1500px;
    aspect-ratio: 357 / 445;
    cursor: pointer;
}

.category-card:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 6px;
    border-radius: 20px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.category-card:hover .card-inner,
.category-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.card-front {
    background-color: #fff;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-back {
    background-color: #ce5205;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
/*BACK CONTEUDO POLTRONAS BISTROS */
.card-back-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    width: 80%;
}

.card-back-content h4 {
    font-size: 18px;
    font-weight: 50;
    margin-left: 13px;
    margin-bottom: 2px;
    text-align: left;
}

.card-back-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    text-align: left;
}

.card-back-content ul li {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: -2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-back-content ul li::before {
    content: "■";
    font-size: 8px;
    flex-shrink: 0;
}

/*BACK CONTEUDO MESAS*/
.card-back-content-mesas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    width: 80%;
}

.card-back-content-mesas h4 {
    font-size: 18px;
    font-weight: 50;
    margin-left: 13px;
    margin-top: 50px;
    text-align: left;
}

.card-back-content-mesas ul {
    list-style: none;
    padding: 0;
    margin-top: -20px;
    margin-bottom: -10px;
    text-align: left;
}

.card-back-content-mesas ul li {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: -2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-back-content-mesas ul li::before {
    content: "■";
    font-size: 8px;
    flex-shrink: 0;
}

/*BACK CONTEUDO BANQUETAS*/
.card-back-content-banquetas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    width: 80%;
}

.card-back-content-banquetas h4 {
    font-size: 18px;
    font-weight: 50;
    margin-left: 13px;
    margin-top: 50px;
    text-align: left;
}

.card-back-content-banquetas ul {
    list-style: none;
    padding: 0;
    margin-top: -50px;
    margin-bottom: -10px;
    text-align: left;
}

.card-back-content-banquetas ul li {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: -20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-back-content-banquetas ul li::before {
    content: "■";
    font-size: 8px;
    flex-shrink: 0;
}

/*BACK CONTEUDO PRIMES*/
.card-back-content-primes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    width: 80%;
}

.card-back-content-primes h4 {
    font-size: 18px;
    font-weight: 50;
    margin-left: 14px;
    margin-top: 50px;
    text-align: left;
}

.card-back-content-primes ul {
    list-style: none;
    padding: 0;
    margin-top: -20px;
    margin-bottom: -10px;
    text-align: left;
}

.card-back-content-primes ul li {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: -2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-back-content-primes ul li::before {
    content: "■";
    font-size: 8px;
    flex-shrink: 0;
}

.material-info {
    margin-bottom: 30px;
    text-align: left;
}

.material-info span {
    display: block;
    font-size: 18px;
    font-weight: 200;
}

.material-info strong {
    display: block;
    font-size: 22px;
    font-weight: 200;
    text-transform: uppercase;
}

.btn-card {
    background: white;
    color: #ce5205;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    white-space: nowrap;
    align-self: center;
}

.btn-card:hover {
    transform: scale(1.1);
    background: #f8f9fa;
}

/* Removido efeito de escala no hover para cards de categoria */

/* Seção de Portfólio */
.portfolio {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
    background: transparent;
}

.portfolio-container {
    max-width: min(100%, 1380px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(48px, 5vw, 78px);
    padding: 0 40px;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    transform: translateX(50px);
}

.portfolio-video-showcase {
    flex: 1 1 760px;
    height: clamp(420px, 46vw, 560px);
    position: relative;
    min-width: 0;
    margin-left: 0;
}

.portfolio-slider-nav {
    display: none;
}

.portfolio-slider-nav .slider-arrow {
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: var(--navy-blue);
    color: var(--white);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.portfolio-slider-nav .slider-arrow:active {
    transform: scale(0.9);
}

.portfolio-video-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(170px, 18vw, 255px);
    aspect-ratio: 406 / 720;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: 0 18px 38px rgba(7, 22, 63, 0.16);
    cursor: pointer;
    overflow: hidden;
    --portfolio-card-hover-y: 0px;
    transform: translate(-50%, -50%) translateX(var(--portfolio-card-x, 0)) translateY(calc(var(--portfolio-card-y, 0px) + var(--portfolio-card-hover-y))) scale(var(--portfolio-card-scale, 1));
    transition:
        transform 0.55s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.35s ease,
        filter 0.35s ease;
    z-index: var(--portfolio-card-z, 1);
}

.portfolio-video-card[data-slot="0"] {
    --portfolio-card-x: clamp(-365px, -29vw, -270px);
    --portfolio-card-y: 20px;
    --portfolio-card-scale: 0.88;
    --portfolio-card-z: 1;
}

.portfolio-video-card[data-slot="1"] {
    --portfolio-card-x: clamp(-225px, -17vw, -150px);
    --portfolio-card-y: -4px;
    --portfolio-card-scale: 0.96;
    --portfolio-card-z: 2;
}

.portfolio-video-card[data-slot="2"] {
    --portfolio-card-x: 0px;
    --portfolio-card-y: -28px;
    --portfolio-card-scale: 1.08;
    --portfolio-card-z: 5;
}

.portfolio-video-card[data-slot="3"] {
    --portfolio-card-x: clamp(150px, 17vw, 225px);
    --portfolio-card-y: 0px;
    --portfolio-card-scale: 0.96;
    --portfolio-card-z: 3;
}

.portfolio-video-card[data-slot="4"] {
    --portfolio-card-x: clamp(270px, 29vw, 365px);
    --portfolio-card-y: 18px;
    --portfolio-card-scale: 0.88;
    --portfolio-card-z: 1;
}

.portfolio-video-card.is-active {
    box-shadow: 0 28px 54px rgba(7, 22, 63, 0.24);
}

.portfolio-video-card:hover,
.portfolio-video-card:focus-visible {
    --portfolio-card-hover-y: -22px;
    box-shadow: 0 34px 58px rgba(7, 22, 63, 0.28);
    z-index: 10;
}

.portfolio-video-card img,
.portfolio-video-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-video-card video {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: #000;
    transition: opacity 0.2s ease;
}

.portfolio-video-card.is-playing video {
    opacity: 1;
    cursor: pointer;
}

.portfolio-video-card.is-playing img {
    opacity: 0;
}

.portfolio-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(7, 22, 63, 0.22);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-play::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 18px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid var(--navy-blue);
}

.portfolio-video-card:hover .portfolio-play,
.portfolio-video-card:focus-visible .portfolio-play {
    transform: translate(-50%, -50%) scale(1.08);
}

.portfolio-video-card.is-playing .portfolio-play {
    opacity: 0;
    pointer-events: none;
}

.portfolio-mute {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 24px rgba(7, 22, 63, 0.22);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-mute::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 11px;
    width: 10px;
    height: 12px;
    background: var(--navy-blue);
    clip-path: polygon(0 28%, 42% 28%, 100% 0, 100% 100%, 42% 72%, 0 72%);
}

.portfolio-mute::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 10px;
    width: 9px;
    height: 14px;
    border: 2px solid var(--navy-blue);
    border-left: 0;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 0 18px 18px 0;
}

.portfolio-mute.is-muted::after {
    right: 7px;
    top: 16px;
    width: 17px;
    height: 2px;
    border: 0;
    border-radius: 3px;
    background: var(--navy-blue);
    transform: rotate(-42deg);
}

.portfolio-video-card.is-playing .portfolio-mute {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-mute:hover,
.portfolio-mute:focus-visible {
    transform: scale(1.08);
}

.portfolio-content {
    flex: 0 0 390px;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    transform: translateX(34px);
    background: transparent;
}

.portfolio-content .btn-outline {
    background: transparent;
}

.portfolio-content h2 {
    color: var(--navy-blue);
    font-size: clamp(28px, 2.6vw, 32px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
}

.portfolio-content h2 strong {
    font-weight: 600;
}

.portfolio-content p {
    color: var(--navy-blue);
    font-size: clamp(20px, 1.75vw, 25px);
    line-height: 1.24;
    margin-bottom: 32px;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--navy-blue);
    color: var(--navy-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all var(--transition-speed);
}

.btn-outline:hover {
    background: var(--navy-blue);
    color: var(--white);
}

/* S Decorativo */
.decorative-s {
    position: absolute;
    z-index: 0;
}

.scroll-float-s {
    --scroll-s-reveal-y: -42px;
    opacity: 0;
}

.scroll-float-s.is-visible {
    --scroll-s-reveal-y: 0px;
    opacity: 1;
}

.s-1 {
    top: 50px;
    left: 60px;
    width: 150px;
    transform: translate(
        0,
        calc(var(--scroll-s-reveal-y, 0px) + var(--portfolio-s-parallax, 0px) + var(--portfolio-s-hover-y, 0px))
    );
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.s-1:hover {
    --portfolio-s-hover-y: -18px;
}

.s-2 {
    bottom: 50px;
    right: 10%;
    width: 200px;
}

.s-3 {
    top: 20%;
    right: -50px;
    width: 250px;
}

/* Seção de Qualidade */
.quality {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: visible;
    z-index: 1;
    isolation: isolate;
}

.quality-bg-s {
    position: absolute;
    top: -120px;
    right: 3vw;
    width: min(360px, 42vw);
    transform: translate(
        var(--quality-s-hover-x, 0px),
        calc(var(--scroll-s-reveal-y, 0px) + var(--quality-s-parallax, 0px) + var(--quality-s-hover-y, 0px))
    );
    z-index: -1;
    pointer-events: none;
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.quality-bg-s:hover {
    --quality-s-hover-y: 18px;
}

.quality-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 80px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.quality-img-container {
    flex: 1;
}

.quality-img-container img,
.quality-img-container video {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.quality-img-container video {
    display: block;
    height: auto;
}

.quality-content {
    flex: 1;
}

.quality-content h2 {
    color: var(--navy-blue);
    font-size: 44px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 25px;
}

.quality-content h2 strong {
    font-weight: 600;
}

.quality-content p {
    color: var(--navy-blue);
    font-size: 22px;
    line-height: 1.8;
    font-weight: 400;
}

/* Rodapé */
footer {
    position: relative;
    z-index: 1;
    background: #232284;
    color: var(--white);
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.logo-footer {
    margin-bottom: 20px;
}

.logo-footer img {
    height: 60px;
}

.footer-brand .social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand .social-icons img {
    width: 28px;
    height: 28px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.8;
    max-width: 380px;
}

.footer-content-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: #00aeef;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
}

/* Endereço e Links (Subiram para perto do menu) */
.footer-extra-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-address img {
    width: 45px;
}

.footer-address p {
    font-size: 13px;
    opacity: 0.8;
}

.footer-info-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-legal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links {
    display: flex;
    gap: 10px;
}

.link-capsule {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 20px;
    border-radius: 50px;
}

.footer-certs img {
    height: 70px;
}

.copyright {
    font-size: 13px;
    color: #00aeef;
    opacity: 0.8;
}

/* Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-text h1 {
        font-size: 50px;
    }

    .portfolio {
        padding: 80px 0;
    }

    .portfolio-container {
        max-width: 100%;
        flex-direction: column;
        gap: 24px;
        padding: 0;
        text-align: center;
        transform: none;
    }

    .portfolio-video-showcase {
        display: flex;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-left: 0;
        justify-content: flex-start;
        align-items: center;
        padding: 18px calc((100vw - min(68vw, 440px)) / 2) 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        box-sizing: border-box;
        order: 1;
    }

    .portfolio-video-showcase::-webkit-scrollbar {
        display: none;
    }

    .portfolio-video-card,
    .portfolio-video-card[data-slot] {
        position: relative;
        top: auto;
        left: auto;
        flex: 0 0 min(68vw, 440px);
        width: min(68vw, 440px);
        height: auto;
        align-self: center;
        max-width: none;
        transform: none;
        scroll-snap-align: center;
        margin: 0 auto;
    }

    .portfolio-video-card + .portfolio-video-card {
        margin-left: 22px;
    }

    .portfolio-video-card.is-active {
        transform: none;
        z-index: 6;
    }

    .portfolio-video-card:hover,
    .portfolio-video-card:focus-visible,
    .portfolio-video-card.is-active:hover,
    .portfolio-video-card.is-active:focus-visible {
        transform: translateY(-14px);
        z-index: 10;
    }

    .portfolio-video-card img,
    .portfolio-video-card video {
        object-fit: cover;
        background: transparent;
    }

    .portfolio-slider-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: -4px;
        margin-bottom: 6px;
        order: 2;
    }

    .portfolio-content {
        width: 100%;
        max-width: 460px;
        flex: none;
        margin: 0 auto;
        padding: 0 28px;
        transform: none;
        box-sizing: border-box;
        order: 3;
    }

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

    .category-card {
        flex-basis: auto;
    }

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

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--navy-blue);
        z-index: 3000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 22px;
        padding: 96px 20px 36px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: var(--transition);
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    nav a {
        font-size: 24px;
        color: var(--white) !important;
    }

    nav .products-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(90vw, 360px);
    }

    .products-dropdown {
        position: relative;
        top: auto;
        left: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 12px;
        width: 100%;
        max-height: 0;
        margin-top: 0;
        padding: 0 14px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        box-shadow: none;
        transition: max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    nav .products-nav-item:not(.is-open):hover .products-dropdown,
    nav .products-nav-item:not(.is-open):focus-within .products-dropdown {
        max-height: 0;
        margin-top: 0;
        padding: 0 14px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
    }

    nav .products-nav-item.is-open .products-dropdown,
    nav .products-nav-item.is-open:hover .products-dropdown,
    nav .products-nav-item.is-open:focus-within .products-dropdown {
        max-height: 78vh;
        margin-top: 12px;
        padding: 42px 14px 14px;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .products-dropdown-close {
        display: block;
        position: absolute;
        top: 8px;
        right: 10px;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--navy-blue);
        padding: 0;
        font-family: inherit;
        font-size: 28px;
        font-weight: 800;
        line-height: 1;
        cursor: pointer;
    }

    .products-dropdown-all {
        display: block;
        grid-column: 1 / -1;
        justify-self: stretch;
        margin-top: 4px;
        padding: 11px 16px !important;
        border-radius: 999px;
        background: var(--navy-blue);
        color: var(--white) !important;
        font-size: 13px !important;
        font-weight: 800;
        line-height: 1.2;
        text-align: center;
    }

    .products-dropdown::before {
        display: none;
    }

    nav .products-dropdown a {
        color: var(--navy-blue) !important;
        font-size: 12px;
    }

    nav .products-dropdown a.products-dropdown-all {
        color: var(--white) !important;
    }

    nav .products-dropdown .products-dropdown-title {
        color: var(--navy-blue) !important;
        font-size: 13px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-right .social-icons {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-box {
        justify-self: center;
        margin-top: 0;
    }

    .portfolio {
        padding: 70px 0;
    }

    .portfolio-container,
    .quality-container {
        flex-direction: column;
        text-align: center;
    }

    .portfolio-container {
        gap: 34px;
        padding: 0;
        transform: none;
    }

    .portfolio-video-showcase {
        display: flex;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-left: 0;
        justify-content: flex-start;
        align-items: center;
        padding: 16px calc((100vw - min(88vw, 380px)) / 2) 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        box-sizing: border-box;
        order: 1;
    }

    .portfolio-video-showcase::-webkit-scrollbar {
        display: none;
    }

    .portfolio-video-card,
    .portfolio-video-card[data-slot] {
        position: relative;
        top: auto;
        left: auto;
        flex: 0 0 min(88vw, 380px);
        width: min(88vw, 380px);
        height: auto;
        align-self: center;
        max-width: none;
        transform: none;
        scroll-snap-align: center;
        margin: 0 auto;
    }

    .portfolio-video-card + .portfolio-video-card {
        margin-left: 18px;
    }

    .portfolio-video-card.is-active {
        transform: none;
        z-index: 6;
    }

    .portfolio-video-card:hover,
    .portfolio-video-card:focus-visible,
    .portfolio-video-card.is-active:hover,
    .portfolio-video-card.is-active:focus-visible {
        transform: translateY(-12px);
        z-index: 10;
    }

    .portfolio-video-card img,
    .portfolio-video-card video {
        object-fit: cover;
        background: transparent;
    }

    .portfolio-content {
        width: 100%;
        max-width: 360px;
        flex: none;
        margin: 0 auto;
        padding: 0 20px;
        transform: none;
        box-sizing: border-box;
        order: 3;
    }

    .portfolio-slider-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: -2px;
        order: 2;
    }

    .portfolio-content h2 {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .portfolio-content p {
        font-size: 20px;
        margin-bottom: 28px;
    }

    .portfolio-play {
        width: 52px;
        height: 52px;
    }

    .portfolio-play::before {
        left: 21px;
        top: 16px;
    }

    .portfolio-mute {
        right: 10px;
        bottom: 10px;
        width: 32px;
        height: 32px;
    }

    .quality {
        overflow: hidden;
    }

    .quality-container {
        width: 100%;
        max-width: 100%;
        gap: 42px;
        box-sizing: border-box;
    }

    .quality-img-container {
        width: 100%;
        max-width: 520px;
        flex: none;
        min-width: 0;
        box-sizing: border-box;
    }

    .quality-img-container img,
    .quality-img-container video {
        max-width: 100%;
        border-radius: 22px;
        box-sizing: border-box;
    }

    .quality-bg-s {
        top: -70px;
        left: 50%;
        width: min(260px, 62vw);
        right: auto;
        --quality-s-hover-x: -50%;
    }

    .quality-bg-s:hover {
        --quality-s-hover-y: 14px;
    }

    .categories {
        padding: 70px 0;
        overflow: hidden;
    }

    .categories-title {
        margin-bottom: 28px;
    }

    .categories-title h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .categories-title h3 {
        font-size: 30px;
        line-height: 1.15;
    }

    .categories-slider {
        width: 100%;
        padding: 0 10px;
    }

    .categories-grid {
        grid-template-columns: none;
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 28px 0;
    }

    .categories-grid::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        padding: 0 18px;
        scroll-snap-align: center;
        box-sizing: border-box;
    }

    .category-card .card-front,
    .category-card .card-back {
        border-radius: 18px;
    }

    .category-slider-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 4px;
    }

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

/* --- Estilos para Páginas Internas (Produtos) --- */

.top-color-banner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.top-color-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.internal-header {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    background-color: transparent;
    padding: 20px;
    box-shadow: none;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    z-index: 1000;
}

.internal-header .logo-container {
    max-width: 300px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.internal-header .logo-container img {
    height: 115px; /* Tamanho real da imagem para igualar à página principal */
    width: auto;
    display: block;
}

.internal-header nav {
    gap: 40px;
}

.internal-header nav a {
    color: var(--navy-blue);
    font-weight: 700;
    transition: color 0.3s ease;
}

.internal-header nav a:hover {
    color: var(--yellow);
}

.internal-header .header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.internal-header .mobile-menu-btn span {
    background: var(--navy-blue);
}

.products-page {
    background-color: var(--white);
    position: relative;
}

.products-bg-lines {
    position: fixed;
    top: 0;
    left: -450px;
    width: 150%;
    height: 150%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.products-bg-lines img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: translate3d(0, var(--products-bg-parallax, 0px), 0) scale(1);
    transform-origin: center center;
    will-change: transform;
}

main > :not(.products-bg-lines) {
    position: relative;
    z-index: 1;
}

.products-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.product-section {
    margin-bottom: 80px;
    scroll-margin-top: 30px;
}

.section-title {
    color: var(--navy-blue);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1020px;
    margin: 0 auto;
}

.slider-nav {
    display: none;
}

.product-card {
    background: transparent;
    perspective: 1500px;
    aspect-ratio: 357 / 445;
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover {
    /* Removido translateY para evitar cortes na animação 3D */
}

.product-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.product-card:hover .card-inner,
.product-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.product-card .card-front,
.product-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.product-card .card-front {
    background-color: #f8f9fa;
}

.product-card .card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-front img {
    transform: scale(1.05);
}

.card-front-info {
    position: absolute;
    top: 35px;
    left: 25px;
    text-align: left;
    z-index: 5;
    pointer-events: none;
}

.card-front-info .front-category {
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0px;
    color: var(--white);
    letter-spacing: -0.5px;
}

.card-front-info .front-name {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.card-front-info .front-description {
    display: block;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.1;
    max-width: 200px;
    color: var(--white);
    letter-spacing: -0.5px;
    white-space: pre-line;
}

/* Cores específicas conforme solicitado */
.product-card.text-blue .card-front-info .front-category,
.product-card.text-blue .card-front-info .front-name,
.product-card.text-blue .card-front-info .front-description {
    color: #27218e;
}

.product-card.text-prime .card-front-info .front-category,
.product-card.text-prime .card-front-info .front-name,
.product-card.text-prime .card-front-info .front-description {
    color: #1c2905;
}

.product-card .card-back {
    background-color: #ce5205;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.product-card .card-back-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.product-card .product-category {
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 5px;
    text-transform: capitalize;
}

.product-card .product-name {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product-card .material-info {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.product-card .material-info strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.support-box {
    border: 2px solid var(--white);
    border-radius: 15px;
    padding: 8px 15px;
    min-width: 130px;
    margin-bottom: 25px;
}

.support-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.support-divider {
    border-top: 2px dashed var(--white);
    margin: 4px 0 8px;
    width: 100%;
}

.support-weight {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.support-weight span {
    font-size: 18px;
    font-weight: 400;
}

.product-card .btn-more {
    padding: 8px 30px;
    border: 1.5px solid var(--white);
    background: transparent;
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: var(--transition);
}

.product-card .btn-more:hover {
    background: var(--white);
    color: #ce5205;
}

/* Cores de fundo do verso para variedade */
.product-card .card-back { background: #ce5205; }

/* Prime Cards - Removidos estilos que alteravam a cor do texto para manter o padrão */
.product-card.prime {
    background: transparent;
}

/* Ajustes Mobile e Carousel */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 25px;
    }

    .product-grid {
        grid-template-columns: none;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding: 40px 0; /* Padding vertical para evitar corte na rotação 3D */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .product-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .product-card {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: center;
        padding: 0 20px; /* Padding para ver um pouco das bordas do próximo card se quiser, ou manter full */
        box-sizing: border-box;
    }

    .product-card .card-inner {
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        will-change: transform;
    }

    .product-card .card-front,
    .product-card .card-back {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
    }

    .product-card .card-front {
        -webkit-transform: rotateY(0deg) translateZ(1px);
        transform: rotateY(0deg) translateZ(1px);
    }

    .product-card .card-back {
        -webkit-transform: rotateY(180deg) translateZ(1px);
        transform: rotateY(180deg) translateZ(1px);
    }

    .category-card:hover .card-inner,
    .product-card:hover .card-inner {
        -webkit-transform: none;
        transform: none;
    }

    .category-card.flipped .card-inner,
    .product-card.flipped .card-inner {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

    /* Slider Container */
    .product-section {
        position: relative;
        padding: 0 10px;
    }

    .slider-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

    .slider-arrow {
        background: var(--navy-blue);
        color: white;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .slider-arrow:active {
        transform: scale(0.9);
    }

    .slider-arrow i {
        font-size: 18px;
    }

    .internal-header {
        padding: 15px 20px;
    }

    .internal-header nav {
        display: flex; /* Override the previous display:none to use our visibility/opacity logic */
    }
}
