/* --- HERO E TABS --- */
.geis-hero {
    padding: 3rem 0 1rem;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    margin: 0 auto 2rem auto;
    padding: 1rem 1.5rem 1rem 1.5rem;
    font-weight: var(--fw-regular);
    width: fit-content;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 999px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 3rem;
    overflow-x: auto;
    white-space: nowrap;
}

.category-tabs a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    
    width: 1px;
    height: 25px;

    background: var(--primary-color);
}

.category-tabs a {
    position: relative;
}

.tab {
    color: #555;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
    color: var(--primary-color);
}

.tab:hover {
    color: var(--primary-color);
}

.tab.active {
    border-bottom: 2px solid var(--primary-color);
}

/* --- DETAILS SECTION --- */
.geis-details {
    padding: 4rem 0;
}

.geis-details__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.geis-info__title {
    font-size: 4rem;
    font-weight: var(--fw-bold);
    color: #555;
    margin-bottom: 2rem;
}

.geis-info__tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--bg-light);
    color: #555;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: var(--fw-regular);
    border: 1px solid #555;
}

.geis-info__desc {
    color: #555;
    font-size: 1.5rem;
    line-height: 1.6;
}

.gel-item {
    margin: 0;
    width: 100%;
    height: 400px;
}

.gel-item img {
    object-fit: contain;
}

.gel-item p {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* --- FEATURES SECTION --- */
.geis-features {
    background-color: var(--bg-light);
    padding-bottom: 4rem;
}

.geis-features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.feature-box {
    border: 1px solid #555;
    border-radius: 3rem;
    padding: 2rem 2rem 2rem 4rem;
    height: 260px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #555;
}

.feature-title-2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
}

.feature-list {
    list-style-position: inside;
    color: #555;
}

.feature-list li {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    list-style-type: disc;
}

.formatos-grid {
    display: flex;
    gap: 2rem;
}

.formato-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    flex: 1;
}

.formato-item img {
    max-height: 80px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.formato-item span {
    display: block;
    font-size: 0.875rem;
    color: #555;
}

/* --- CORES SECTION --- */
.geis-colors {
    padding: 4rem 0;
    background-color: #e3dfdf;
}

.geis-colors-title {
    font-size: 2rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.color-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.color-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
    text-align: center;
    color: #555;
}

.color-info p {
    font-size: 1rem;
    color: #555;
    text-align: center;
}

/* --- CARROSSEL DINÂMICO --- */
.geis-products-carousel {
    padding: 4rem 0 6rem;
}

.carousel-section-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 3rem;
    color: #555;
    letter-spacing: 0.4rem;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.carousel-track-container {
    flex: 1;
    margin: 0 1rem;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 4rem;
    transition: transform 0.4s ease-in-out;
}

.carousel-card {
    flex: 0 0 calc((100% - 8rem) / 3); 
    border: 1px solid #9e98d8;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 260px;
    min-height: 340px;
}

/* --- ESTILOS DOS PONTINHOS (PAGINAÇÃO) --- */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--primary-color); /* Roxo/Rosa ativo */
}

.carousel-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;

    padding: 1.5rem 1.5rem 0;
    margin-bottom: 0;
}

.card-text-content {
    background: var(--primary-color);

    padding: 0.8rem 1rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-card h3 {
    color: white;

    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;

    margin-bottom: 0.3rem;

    min-height: auto;
}

.carousel-card .price {
    color: white;

    font-size: 1.5rem;
    font-weight: 700;

    margin: 0;
}

.carousel-btn {
    background: var(--white);
    border: 1px solid #EAEAEA;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: var(--text-dark);
    font-size: 1.2rem;
    z-index: 2;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #F0F0F0;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    .geis-details__grid,
    .geis-features__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .carousel-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 1.25rem;
        padding: 0.5rem;
    }
    
    .geis-details {
        padding: 2rem 0;
    }

    .geis-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-box {
        height: auto;
        width: 330px;
        padding: 1rem 2rem 1rem 2rem;
    }

    .formatos-grid {
        gap: 0;
    }

    .carousel-card {
        flex: 0 0 100%;
    }

    .tab {
        font-size: 0.75rem;
    }
    
    .category-tabs {
        padding-bottom: 0.5rem;
        overflow-x: unset;
    }

    .geis-info__title {
        font-size: 2.5rem;
    }

    .geis-info__desc {
        font-size: 1rem;
    }

    .feature-list li {
        font-size: 1rem;
    }

    .carousel-dots {
        display: none;
    }

    .carousel-card .price {
        font-size: 1rem;
    }

}