:root {
    --text-strong: #0a0a0a;
    --text-muted: #4b5563;
    --brand: #5b21b6;
    --radius-2xl: 20px;
    --bg-card: #f5f3f7;
}

.detail-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 60px 20px;
    display: flex;
    flex-direction: column;
}

.detail-container {
    display: block;
    margin-bottom: 50px;
}

.detail-container::after {
    content: "";
    display: table;
    clear: both;
}

.detail-text-col {
    display: block;
}

.detail-text-col h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #000;
}

.full-text p {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 15px;
}

.detail-img-col {
    float: right;
    width: 50%;
    margin-left: 60px;
    margin-bottom: 15px;
    margin-top: 65px;
    position: relative;
    z-index: 5;
}

main {
    margin-top: 70px;
}

.img-wrapper {
    background-color: #dcdcdc;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.case-carousel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 100;
}

.carousel-indicators button {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
}

.carousel-indicators button.active {
    background-color: #481E9C;
}

.carousel-indicators button:hover {
    background-color: #481E9C;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
    filter: none;
    border-radius: 20px;
}

.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-alugar {
    background-color: #FF0A0E;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 18px 60px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(255, 10, 14, 0.3);
}

.btn-alugar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 10, 14, 0.4);
}

.other-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
}

.other-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

.nav-btn {
    background: #ccc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: var(--brand);
}

.other-cases-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.carousel-pill-wrapper {
    background-color: #F5F2F2;
    border-radius: 30px;
    height: 90px;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    box-shadow: none;
}

.cases-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.other-case-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    opacity: 0;
    animation: fadeInLogo 0.5s forwards;
}

.other-case-logo:hover {
    transform: scale(1.1);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: #C4C4C4;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-control:hover {
    background-color: #481E9C;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-pill .carousel-item {
    position: absolute;
    top: 0;
    width: 25%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.carousel-pill {
    max-width: 1100px;
    padding: 0 70px;
    height: 160px;
    min-height: unset;
    background-color: #F5F2F2;
    border-radius: 30px;
    margin: 0 auto;
    position: relative;
    box-shadow: none;
}

.carousel-pill .carousel-item img {
    max-height: 80px;
    max-width: 90%;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.carousel-pill .carousel-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.carousel-pill .carousel-item.pos-0 {
    left: 0%;
    z-index: 10;
}

.carousel-pill .carousel-item.pos-1 {
    left: 25%;
    z-index: 10;
}

.carousel-pill .carousel-item.pos-2 {
    left: 50%;
    z-index: 10;
}

.carousel-pill .carousel-item.pos-3 {
    left: 75%;
    z-index: 10;
}

.carousel-pill .carousel-item a {
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 100;
    text-decoration: none;
}

.carousel-pill .carousel-item img {
    display: block;
    max-height: 100px;
    width: auto;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

.slide-left {
    animation: slideLeft 0.8s ease forwards;
    opacity: 0;
}

.slide-right {
    animation: slideRight 0.8s ease forwards;
    opacity: 0;
}

.whatsapp-icon {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .carousel-pill .carousel-item {
        width: 70%;
    }

    .carousel-pill .carousel-item.pos-0 {
        left: 15%;
    }

    .carousel-pill .carousel-item.pos-1,
    .carousel-pill .carousel-item.pos-2,
    .carousel-pill .carousel-item.pos-3 {
        opacity: 0;
        pointer-events: none;
    }

    .carousel-pill .carousel-item img {
        max-height: 70px;
    }

    .carousel-pill-wrapper {
        padding: 0 40px;
    }

    .cases-track {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .detail-container {
        display: flex;
        flex-direction: column;
    }

    .detail-img-col {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }

    .detail-text-col h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .img-wrapper {
        min-height: 250px;
        padding: 0;
        position: relative;
        overflow: hidden;
    }
}

@keyframes fadeInLogo {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}