/*tech-foil*/
.banner-surfaces-tech-foil {
    position: relative;
    height: 100vh;
    background: url('../webp/banners/modulo-60-surfaces-banner.webp') no-repeat center;
    background-size: cover;
    background-position: 50% 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-surfaces-tech-foil {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-surfaces-tech-foil.animate {
    opacity: 1;
}

.banner-tech-surface {
    position: relative;
    height: 220px;
    background: url('../webp/banners/modulo-60-banner-tech-surfaces.webp') no-repeat center;
    background-size: cover;
    background-position: 50% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-tech-surface {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-tech-surface.animate {
    opacity: 1;
}

/*tech-comp*/
.banner-surfaces-tech-comp {
    position: relative;
    height: 100vh;
    background: url('../webp/banners/modulo-60-banner-surfaces-tech-comp.webp') no-repeat center;
    background-size: cover;
    background-position: 50% 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-surfaces-tech-comp {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-surfaces-tech-comp.animate {
    opacity: 1;
}

/*surfaces-rigid*/
.banner-surfaces-rigid {
    position: relative;
    height: 100vh;
    background: url('../webp/banners/modulo-60-banner-surfaces-rigid.webp') no-repeat center;
    background-size: cover;
    background-position: 50% 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-surfaces-rigid {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-surfaces-rigid.animate {
    opacity: 1;
}

/*other-products*/
.banner-other-products {
    position: relative;
    height: 100vh;
    background: url('../webp/banners/modulo-60-banner-other-products.webp') no-repeat center;
    background-size: cover;
    background-position: 50% 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-other-products {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-other-products.animate {
    opacity: 1;
}

/*edges-product*/
.banner-edges-product {
    position: relative;
    height: 100vh;
    background: url('../webp/banners/modulo-60-edges-banner.webp') no-repeat center;
    background-size: cover;
    background-position: 50% 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-edges-product {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-edges-product.animate {
    opacity: 1;
}

.banner-material-edges {
    margin-top: 40px;
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.banner-material-edges:not(:has(video)) {
    background-image: url('../webp/banners/modulo-60-banner-edges-material.webp');
    background-size: cover;
    background-position: 50% 50%;
}

.banner-material-edges .container-centered {
    margin: 0;
    color: white;
    position: relative;
    z-index: 2;
}

.banner-material-edges .container-centered h1 {
    color: white;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner-material-edges p {
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
}

/* Background video shared pattern */
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/*material-tech-foil*/
.banner-material {
    margin-top: 40px;
    background-image: url('../webp/banners/modulo-60-banner-materials.webp');
    background-size: cover;
    background-position: 50% 30%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-material .container-centered {
    margin: 0;
    color: white;
}

.banner-material .container-centered h1 {
    color: white;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.2;
}

/*material-tech-comp*/
.banner-material-tech-comp {
    margin-top: 40px;
    background-image: url('../webp/banners/modulo-60-banner-surfaces-tech-comp-material.webp');
    background-size: cover;
    background-position: 50% 60%;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-material-tech-comp .container-centered {
    margin: 0;
    color: white;
}

.banner-material-tech-comp .container-centered h1 {
    color: white;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner-material-tech-comp .container-centered p {
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
}

/*material-tech-foil*/
.banner-material-tech-foil {
    margin-top: 40px;
    background-image: url('../webp/banners/modulo-60-banner-material-resistance.webp');
    background-size: cover;
    background-position: 50% 60%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-material-tech-foil .container-centered {
    margin: 0;
    color: white;
}

.banner-material-tech-foil .container-centered h1 {
    color: white;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner-material-tech-foil .container-centered p {
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
}

/*--end banners--*/

.arrow-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    animation: pingPong 2s ease-in-out infinite;
}

@keyframes pingPong {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.container-centered {
    margin-top: 80px;
    margin-bottom: 80px;
}


.container-centered p {
    font-size: 14px;
    line-height: 1.5;
}

.hero-content p,
.content-grid p,
.content-text p {
    font-size: 14px;
    margin-top: 20px;
}

.banner-tech-foil {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.banner-tech-foil:not(:has(video)) {
    background-image: url('../webp/banners/modulo-60-banner-what-is-tech-foil.webp');
    background-size: cover;
    background-position: 50% 50%;
}

/* Seção de Vantagens */
.advantages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 60px 0;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 170px;
    min-width: 170px;
}

.advantage-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.advantage-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.advantage-item p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--light-gray);
}

/* Responsividade */
@media (max-width: 768px) {
    .advantages-list {
        gap: 30px;
        margin: 40px 0;
    }

    .advantage-item {
        min-width: 150px;
        max-width: 150px;
    }

    .advantage-item img {
        width: 110px;
        height: 110px;
    }

    .advantage-item h3 {
        font-size: 1.2rem;
    }

    .advantage-item p {
        font-size: 0.9rem;
    }

    .tab-content .section-white-grid {
        padding-top: 0 !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .scroll-btn {
        display: none !important;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
    .banner-surfaces-tech-foil {
        height: 90vh;
    }

    .banner-surfaces-tech-comp {
        height: 90vh;
    }

    .banner-surfaces-rigid {
        height: 90vh;
    }

    .banner-other-products {
        height: 90vh;
    }

    .banner-edges-product {
        height: 90vh;
    }
}

@media (max-width: 480px) {
    .advantages-list {
        gap: 20px;
        margin: 30px 0;
    }

    .advantage-item {
        min-width: 120px;
        max-width: 120px;
    }

    .advantage-item img {
        width: 120px;
        height: 120px;
    }

    .advantage-item h3 {
        font-size: 1rem;
    }

    .advantage-item p {
        font-size: 0.8rem;
    }
}

/* Seção das Coleções */
.collections-banner {
    display: flex;
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.collection-item {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.collection-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.collection-item:hover .collection-image img {
    transform: scale(1.1);
}

.collection-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 2;
    transition: opacity 0.3s ease;
    padding: 0 40px;
}

.collection-content .text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.collection-content h2 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.collection-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 5px;
    color: var(--white);
    margin-top: 0;
}

.collection-link {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

/* Conteúdo hover que aparece */
.collection-content-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 0 40px;
}

.collection-content-hover .text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    padding: 60px 0;
}

.collection-content-hover h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
    margin-top: 0;
}

.collection-content-hover p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
    color: var(--white);
}

.collection-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: gap 0.3s ease;
}

.collection-link:hover {
    gap: 15px;
}

.collection-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.collection-link:hover .collection-arrow {
    transform: translateX(5px);
}

/* Overlay escuro para melhorar legibilidade */
.collection-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: background 0.3s ease;
}

/* Efeitos hover */
.collection-item:hover::before {
    background: rgba(0, 0, 0, 0.7);
}

.collection-item:hover .collection-content {
    opacity: 0;
}

.collection-item:hover .collection-content-hover {
    opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .collections-banner {
        flex-direction: column;
        height: auto;
    }

    .collection-item {
        width: 100%;
        height: 400px;
    }

    .collection-content h2 {
        font-size: 12px;
    }

    .collection-content h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .collection-link {
        font-size: 11px;
    }

    .collection-content-hover {
        padding: 0 20px;
    }

    .collection-content-hover .text-content {
        padding: 40px 0;
    }

    .collection-content-hover p {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .collection-content-hover {
        display: none !important;
    }

    .collection-item:hover .collection-content-hover {
        opacity: 0 !important;
    }

    .collection-item:hover::before {
        background: rgba(0, 0, 0, 0.2) !important;
    }

    .collection-item:hover .collection-content {
        opacity: 1 !important;
    }
}

/* Seção de Inspiração */
.inspiration-section {
    overflow: hidden;
}

.inspiration-container {
    width: 100%;
    overflow: hidden;
}

.inspiration-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 20px;
    padding-right: 20px;
}

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

.inspiration-card {
    flex: 0 0 300px;
    background: white;
    padding: 30px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.inspiration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.inspiration-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
    line-height: 1.2;
    position: relative;
}

.inspiration-card h3::before {
    content: attr(data-number);
    position: absolute;
    top: -40px;
    left: -10px;
    font-size: 100px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    z-index: -1;
    line-height: 1;
}

.inspiration-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--light-gray);
    margin: 0;
}

/*tabs*/
.tabs {
    margin: 80px;
}

.tab-scroll-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 0 80px;
}

.tab-scroll-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.tab-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    white-space: nowrap;
    padding-bottom: 0.5rem;
}

.tab-scroll-wrapper-tech {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.tab-scroll-wrapper-tech::-webkit-scrollbar {
    display: none;
}

.tab-buttons-tech {
    display: flex;
    gap: 10px;
    white-space: nowrap;
    padding-bottom: 10px;
    width: max-content;
    justify-content: center;
}

.tab-btn-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid var(--white);
    transition: border 0.3s ease;
    flex: 0 0 auto;
}

/* Botões de scroll (setas) */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.scroll-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

.scroll-btn.left {
    left: 20px;
}

.scroll-btn.right {
    right: 20px;
}

/* Impede o botão de encolher ao redimensionar */
.scroll-btn svg,
.scroll-btn i {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/***********  end scroll buttons  ***********/

.tab-btn-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.tab-btn-wrapper.active {
    border: 3px solid var(--light-green);
}

.tab-btn-text {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 0 15px;
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content .content-image img {
    border-radius: 30px 0 0 30px;
}

.tab-content .section-white-grid {
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    align-items: flex-start;
}

.tab-content .content-grid {
    padding-left: 20px;
    padding-top: 80px;
}

.content-text-tab {
    margin-top: 0 !important;
}

.content-text-note {
    font-size: 10px !important;
    color: var(--light-gray) !important;
}


@media (max-width: 2000px) {
    .inspiration-grid {
        justify-content: flex-start;
    }
}

@media (min-width: 1591px) {
    .hide-scroll-edges {
        display: none;
    }
}

@media (max-width: 1591px) {
    .tab-scroll-wrapper {
        justify-content: flex-start;
    }

    .tab-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 1130px) {
    .tab-scroll-wrapper-tech {
        justify-content: flex-start;
    }

    .tab-buttons-tech {
        justify-content: flex-start;
    }
}

@media (min-width: 1100px) {
    .hide-scroll {
        display: none;
    }
}

@media (max-width: 1100px) {
    .tab-content .section-white-grid {
        flex-direction: column;
        min-height: 100%;
    }

    .tab-content .content-image img {
        display: none;
    }

    .tab-content .content-grid {
        padding: 0 40px 40px 40px;
    }

}

/* Responsividade */
@media (max-width: 768px) {
    .inspiration-grid {
        gap: 20px;
    }

    .inspiration-card {
        flex: 0 0 250px;
        width: 250px;
        padding: 25px;
    }

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

    .inspiration-card p {
        font-size: 12px;
    }

    .tabs-customize {
        margin: 10px;
    }

    .tab-scroll-container {
        padding: 0 10px;
    }

    .tabs{
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .inspiration-grid {
        gap: 15px;
    }

    .inspiration-card {
        flex: 0 0 200px;
        width: 200px;
        padding: 20px;
    }
}