@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

html,
body {
    background-color: #050505;
    color: #e5e5e5;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E60000;
}

/* Hide scrollbar for filter buttons */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Road Scroll Indicator */
.road-marker-container {
    position: fixed;
    left: 2rem;
    top: 0;
    height: 100%;
    display: flex;
    gap: 6px;
    z-index: 40;
}

/* Esconder faixa em notebooks onde interfere com o conteúdo */
@media (max-width: 1440px) {
    .road-marker-container {
        display: none !important;
    }
}

.road-guide {
    width: 8px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

.road-guide-active {
    position: absolute;
    top: 0;
    width: 100%;
    background: #E60000;
    box-shadow: 0 0 12px rgba(230, 0, 0, 0.6);
    transition: height 0.1s ease-out;
}

/* Utilities */
.border-smooth {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Map Styles */
.map-dark-rounded {
    filter: grayscale(100%) invert(92%) contrast(85%);
    border-radius: 0 1.5rem 1.5rem 0;
}

@media (max-width: 1024px) {
    .map-dark-rounded {
        border-radius: 0 0 1.5rem 1.5rem;
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 6s steps(18, end) forwards;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Modal Styles */
#catalog-modal.open {
    display: flex;
    animation: fadeIn 0.3s forwards;
}

#catalog-modal.open #catalog-content {
    animation: scaleIn 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Catalog Styles */
.catalog-card {
    background: linear-gradient(145deg, #0F0F0F, #0a0a0a);
    transition: all 0.4s ease;
}

/* Gallery Filter Buttons */
.gallery-filter-btn {
    background: rgba(15, 15, 15, 0.5);
    color: #9ca3af;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.gallery-filter-btn:hover {
    color: white;
    background: rgba(15, 15, 15, 1);
}

.gallery-filter-btn.active {
    background: #E60000;
    color: white;
    border-color: #E60000;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(230, 0, 0, 0.15);
    border-color: rgba(230, 0, 0, 0.3);
}

/* Pure CSS Traffic Signs & Studs */
.sign-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.catalog-card:hover .sign-wrapper {
    transform: scale(1.1);
}

.sign-octagon {
    width: 60px;
    height: 60px;
    background-color: #E60000;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.4);
    border: 2px solid white;
}

.sign-text-pare {
    color: white;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}

.sign-triangle {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-top: 60px solid white;
    /* Fundo branco com borda vermelha simulada */
    position: relative;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.sign-triangle::after {
    content: '';
    position: absolute;
    top: -55px;
    left: -28px;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-top: 48px solid #E60000;
    /* Borda vermelha */
}

.sign-triangle::before {
    content: '';
    position: absolute;
    top: -48px;
    left: -22px;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 38px solid white;
    /* Miolo branco */
    z-index: 2;
}

.sign-circle {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    border: 8px solid #E60000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.2);
}

.sign-diamond {
    width: 50px;
    height: 50px;
    background-color: #FACC15;
    /* Amarelo */
    transform: rotate(45deg);
    border: 3px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.2);
}

.sign-diamond-inner {
    transform: rotate(-45deg);
    color: black;
    font-size: 16px;
}

/* NEW SHAPES */
.sign-rect {
    width: 70px;
    height: 50px;
    background-color: white;
    border: 3px solid #E60000;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.2);
}

.sign-capsule {
    width: 70px;
    height: 40px;
    background-color: white;
    border: 3px solid #E60000;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.2);
}

/* Placa de Logradouro - Azul */
.sign-rect-blue {
    width: 70px;
    height: 50px;
    background-color: #3b82f6;
    border: 3px solid #1e40af;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* Placa Turística - Verde */
.sign-rect-green {
    width: 70px;
    height: 50px;
    background-color: #22c55e;
    border: 3px solid #166534;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

/* Sinalização Temporária - Laranja */
.sign-rect-orange {
    width: 70px;
    height: 50px;
    background-color: #f97316;
    border: 3px solid #c2410c;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.sign-info {
    width: 60px;
    height: 60px;
    background-color: #262626;
    border-radius: 50%;
    border: 2px dashed #666;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 24px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Styles for Road Studs (Tachas) */
.stud-base {
    width: 50px;
    height: 35px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: perspective(200px) rotateX(20deg);
    /* 3D effect */
    border-bottom: 4px solid rgba(0, 0, 0, 0.3);
}

.stud-yellow {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.stud-white {
    background: linear-gradient(135deg, #f3f4f6, #9ca3af);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.stud-reflector {
    width: 60%;
    height: 40%;
    border-radius: 2px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.ref-yellow {
    background-color: #fbbf24;
    box-shadow: 0 0 8px #fbbf24;
}

.ref-red {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.ref-white {
    background-color: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

.ref-white-red {
    background: linear-gradient(90deg, #ffffff 50%, #ef4444 50%);
}

.ref-yellow-red {
    background: linear-gradient(90deg, #fbbf24 50%, #ef4444 50%);
}

/* Styles for Horizontal Paint */
.sign-paint {
    width: 70px;
    height: 70px;
    background-color: #262626;
    /* Asphalt texture simulation */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px #000;
    transform: rotate(0deg);
}

.paint-stripe {
    width: 80%;
    height: 25%;
    border-radius: 2px;
    transform: rotate(-45deg);
    /* Diagonal stripe */
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.paint-yellow {
    background-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.paint-white {
    background-color: #f3f4f6;
    box-shadow: 0 0 10px rgba(243, 244, 246, 0.4);
}

.paint-red {
    background-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.paint-blue {
    background-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.paint-black {
    background-color: #000000;
    border: 1px solid #444;
}

.paint-green {
    background-color: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

/* Styles for Suportes Metálicos */
.sign-suporte {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #374151, #1f2937);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 20px;
    border: 2px solid #4b5563;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Styles for Remoções */
.sign-remocao {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7f1d1d, #450a0a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fca5a5;
    font-size: 20px;
    border: 2px dashed #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

/* Styles for Venda de Materiais */
.sign-venda {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #065f46, #064e3b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ee7b7;
    font-size: 18px;
    border: 2px solid #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Styles for Balizador */
.sign-balizador {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    border: 2px solid #fbbf24;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Styles for Calota */
.sign-calota {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: 24px;
    border: 3px solid #9ca3af;
    box-shadow: 0 0 10px rgba(107, 114, 128, 0.4);
}

/* Styles for Defensa */
.sign-defensa {
    width: 70px;
    height: 30px;
    background: linear-gradient(135deg, #71717a, #52525b);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
    font-size: 20px;
    border: 2px solid #a1a1aa;
    box-shadow: 0 0 10px rgba(113, 113, 122, 0.4);
}

.sign-defensa-dupla {
    width: 70px;
    height: 45px;
    background: linear-gradient(135deg, #71717a, #52525b);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
    font-size: 20px;
    border: 2px solid #a1a1aa;
    box-shadow: 0 0 10px rgba(113, 113, 122, 0.4);
}

/* Styles for Delineador */
.sign-delineador {
    width: 30px;
    height: 60px;
    background: linear-gradient(135deg, #374151, #1f2937);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid #4b5563;
    box-shadow: 0 0 10px rgba(55, 65, 81, 0.4);
}

.sign-delineador.white {
    color: #fff;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.sign-delineador.red {
    color: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* Variation Selector Styles */
.variation-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.variation-btn {
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.variation-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.variation-btn.active {
    background: #E60000;
    border-color: #E60000;
    color: white;
}

.catalog-card-grouped {
    min-height: 320px;
}

.catalog-card-grouped .product-title {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-card-grouped .product-desc {
    min-height: 40px;
}

/* Carousel Styles (Rounded Version) */
.services-carousel {
    position: relative;
    height: 480px;
    margin-top: 1.5rem;
    overflow: visible;
}

.services-carousel .list .item {
    position: absolute;
    left: 0;
    width: 65%;
    height: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.services-carousel .list .item img {
    width: 55%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    transition: 0.6s;
}

/* Estado normal - detalhes escondidos */
.services-carousel .list .item .detail {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: #0F0F0F;
    border-radius: 0 1.5rem 1.5rem 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    border-left: none;
    transition: opacity 0.5s;
}

/* Estado showDetail - imagem vai para esquerda */
.services-carousel.showDetail .list .item img {
    width: 50%;
    right: auto;
    left: 0;
    border-radius: 1.5rem 0 0 1.5rem;
}

/* Estado showDetail - detalhes visíveis */
.services-carousel.showDetail .list .item:nth-child(2) .detail {
    opacity: 1;
    pointer-events: auto;
}

/* Tamanhos reduzidos para desktop */
.services-carousel .list .item .detail h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.services-carousel .list .item .detail p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.services-carousel .list .item .detail .grid {
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.services-carousel .list .item .detail h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.services-carousel .list .item .detail ul {
    font-size: 0.8rem;
}

.services-carousel .list .item .introduce {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    width: 36%;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.5s;
}

.services-carousel .list .item .introduce h3 {
    font-size: 1.75rem;
}

.services-carousel .list .item .introduce p {
    font-size: 0.8rem;
}

.services-carousel .list .item:nth-child(2) .introduce {
    opacity: 1;
    pointer-events: auto;
    animation: softSlideRight 0.8s ease forwards 0.3s;
}

.services-carousel.showDetail .list .item:nth-child(2) .introduce {
    opacity: 0;
    pointer-events: none;
    animation: none;
}

@keyframes softSlideRight {
    from {
        opacity: 0;
        transform: translate(-30px, -50%);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.services-carousel .list .item .detail {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: #0F0F0F;
    border-radius: 0 1.5rem 1.5rem 0;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    border-left: none;
    transition: opacity 0.5s;
}

.services-carousel.showDetail .list .item:nth-child(2) .detail {
    opacity: 1;
    pointer-events: auto;
}

.services-carousel .list .item:nth-child(1) {
    transform: translate(-100%, 0) scale(0.8);
    opacity: 0;
    z-index: 1;
    filter: blur(10px);
}

.services-carousel .list .item:nth-child(2) {
    transform: translate(0, 0);
    opacity: 1;
    z-index: 10;
    filter: blur(0px);
}

.services-carousel .list .item:nth-child(3) {
    transform: translate(60%, 10%) scale(0.85);
    opacity: 0.6;
    z-index: 9;
    filter: brightness(0.5) blur(5px);
}

.services-carousel .list .item:nth-child(4) {
    transform: translate(90%, 20%) scale(0.7);
    opacity: 0.3;
    z-index: 8;
    filter: brightness(0.3) blur(5px);
}

.services-carousel .list .item:nth-child(5) {
    transform: translate(120%, 30%) scale(0.5);
    opacity: 0;
    z-index: 7;
}

/* Notebook (1024px - 1536px) - Layout lado a lado com ajustes */
@media (min-width: 1025px) and (max-width: 1536px) {
    .services-carousel {
        height: 440px;
    }

    .services-carousel .list .item {
        width: 70%;
    }

    .services-carousel .list .item .introduce {
        width: 36%;
    }

    .services-carousel .list .item .introduce h3 {
        font-size: 1.5rem !important;
    }

    .services-carousel .list .item .introduce p {
        font-size: 0.8rem !important;
    }

    .services-carousel .list .item .detail {
        padding: 2rem;
    }

    .services-carousel .list .item .detail h2 {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }

    .services-carousel .list .item .detail p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
    }

    .services-carousel .list .item .detail .grid {
        gap: 0.4rem !important;
        margin-bottom: 0.5rem !important;
    }

    .services-carousel .list .item .detail h4 {
        font-size: 0.75rem !important;
    }

    .services-carousel .list .item .detail .text-xs {
        font-size: 0.65rem !important;
    }

    .services-carousel .list .item .detail ul {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }

    .services-carousel .list .item .detail .btn-soft {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    /* Redução de espaçamento geral para notebooks */
    section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .container {
        max-width: 90% !important;
    }

    #about .container {
        max-width: 900px !important;
    }
}

/* Tablet e Mobile (até 1024px) - Layout empilhado */
@media (max-width: 1024px) {
    .services-carousel .list .item {
        width: 90%;
        left: 5%;
    }

    .services-carousel .list .item img {
        width: 100%;
        opacity: 0.25;
        mask-image: none;
        filter: grayscale(30%) brightness(50%);
    }

    .services-carousel .list .item .introduce {
        width: 80%;
    }

    .services-carousel.showDetail .list .item:nth-child(2) img {
        width: 100%;
        height: 40%;
        top: 0;
        left: 0;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .services-carousel.showDetail .list .item:nth-child(2) .detail {
        width: 100%;
        height: 60%;
        bottom: 0;
        top: auto;
        border-radius: 0 0 1.5rem 1.5rem;
        padding: 2rem;
        overflow-y: auto;
    }

    /* Ajustes de texto para tablet */
    .services-carousel .list .item .detail h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .services-carousel .list .item .detail p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }

    .services-carousel .list .item .detail .grid {
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .services-carousel .list .item .detail h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.25rem !important;
    }

    .services-carousel .list .item .detail .text-xs {
        font-size: 0.75rem !important;
    }

    .services-carousel .list .item .detail ul {
        font-size: 0.85rem !important;
    }

    .services-carousel .list .item .detail .btn-soft {
        font-size: 0.75rem !important;
        padding: 0.6rem 1.25rem !important;
    }
}

/* Responsividade dos detalhes do carrossel - Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-carousel {
        height: 700px;
    }

    .services-carousel.showDetail .list .item:nth-child(2) img {
        height: 38%;
    }

    .services-carousel.showDetail .list .item:nth-child(2) .detail {
        height: 62%;
        padding: 1.75rem;
    }

    .services-carousel .list .item .detail h2 {
        font-size: 1.4rem !important;
    }

    .services-carousel .list .item .detail p {
        font-size: 0.85rem !important;
    }

    .services-carousel .list .item .detail .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }

    .services-carousel .list .item .detail h4 {
        font-size: 0.85rem !important;
    }

    .services-carousel .list .item .detail .text-xs {
        font-size: 0.7rem !important;
    }
}

/* Responsividade dos detalhes do carrossel - Mobile grande */
@media (max-width: 768px) {
    .services-carousel {
        height: 520px;
    }

    .services-carousel.showDetail .list .item:nth-child(2) img {
        height: 30%;
    }

    .services-carousel.showDetail .list .item:nth-child(2) .detail {
        height: 70%;
        padding: 1.25rem;
        overflow-y: auto;
    }

    .services-carousel .list .item .detail h2 {
        font-size: 1.35rem !important;
        margin-bottom: 0.75rem !important;
    }

    .services-carousel .list .item .detail p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }

    .services-carousel .list .item .detail .grid {
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .services-carousel .list .item .detail h4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.25rem !important;
    }

    .services-carousel .list .item .detail .text-xs {
        font-size: 0.7rem !important;
    }

    .services-carousel .list .item .detail .text-gray-500 {
        font-size: 0.65rem !important;
    }

    .services-carousel .list .item .detail ul {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    .services-carousel .list .item .detail ul li {
        margin-bottom: 0.35rem !important;
    }

    .services-carousel .list .item .detail .flex.gap-4 {
        gap: 0.75rem !important;
        flex-wrap: wrap;
    }

    .services-carousel .list .item .detail .btn-soft {
        font-size: 0.7rem !important;
        padding: 0.6rem 1.25rem !important;
    }

    /* Introduce section no mobile */
    .services-carousel .list .item .introduce h3 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    .services-carousel .list .item .introduce p {
        font-size: 0.8rem !important;
    }
}

/* Mobile médio */
@media (max-width: 640px) {
    .services-carousel {
        height: 500px;
    }

    .services-carousel.showDetail .list .item:nth-child(2) img {
        height: 25%;
    }

    .services-carousel.showDetail .list .item:nth-child(2) .detail {
        height: 75%;
        padding: 1rem;
    }

    .services-carousel .list .item .detail h2 {
        font-size: 1.2rem !important;
    }

    .services-carousel .list .item .detail p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    .services-carousel .list .item .detail .grid {
        gap: 0.5rem !important;
    }

    .services-carousel .list .item .detail h4 {
        font-size: 0.8rem !important;
    }

    .services-carousel .list .item .detail .text-xs {
        font-size: 0.65rem !important;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .services-carousel {
        height: 480px;
    }

    .services-carousel.showDetail .list .item:nth-child(2) img {
        height: 22%;
    }

    .services-carousel.showDetail .list .item:nth-child(2) .detail {
        height: 78%;
        padding: 1rem;
    }

    .services-carousel .list .item .detail h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .services-carousel .list .item .detail p {
        font-size: 0.75rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.75rem !important;
    }

    .services-carousel .list .item .detail .grid {
        grid-template-columns: 1fr !important;
        gap: 0.4rem !important;
        margin-bottom: 0.75rem !important;
    }

    .services-carousel .list .item .detail h4 {
        font-size: 0.75rem !important;
    }

    .services-carousel .list .item .detail .text-xs {
        font-size: 0.6rem !important;
    }

    .services-carousel .list .item .detail ul {
        font-size: 0.7rem !important;
        margin-bottom: 0.75rem !important;
        padding-left: 1rem !important;
    }

    .services-carousel .list .item .detail ul li {
        margin-bottom: 0.2rem !important;
    }

    .services-carousel .list .item .detail .btn-soft {
        font-size: 0.6rem !important;
        padding: 0.5rem 1rem !important;
    }

    /* Introduce section no mobile pequeno */
    .services-carousel .list .item .introduce {
        width: 90% !important;
    }

    .services-carousel .list .item .introduce h3 {
        font-size: 1.3rem !important;
    }

    .services-carousel .list .item .introduce p {
        font-size: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .services-carousel .list .item .introduce .btn-soft {
        font-size: 0.65rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* Mobile muito pequeno */
@media (max-width: 380px) {
    .services-carousel {
        height: 540px;
    }

    .services-carousel.showDetail .list .item:nth-child(2) img {
        height: 25%;
    }

    .services-carousel.showDetail .list .item:nth-child(2) .detail {
        height: 75%;
        padding: 0.75rem;
    }

    .services-carousel .list .item .detail h2 {
        font-size: 1rem !important;
    }

    .services-carousel .list .item .detail p {
        font-size: 0.7rem !important;
    }

    .services-carousel .list .item .detail h4 {
        font-size: 0.7rem !important;
    }

    .services-carousel .list .item .detail .text-xs {
        font-size: 0.55rem !important;
    }
}

/* Botões */
.btn-soft {
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: #E60000;
    color: white;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #ff1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.4);
}

.btn-outline-soft {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline-soft:hover {
    border-color: #E60000;
    background: rgba(230, 0, 0, 0.05);
    color: #E60000;
}

/* Cart Badge Animation */
.cart-bump {
    animation: bump 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes bump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVIDADE AVANÇADA
   ======================================== */

/* Mobile Small (até 480px) */
@media (max-width: 480px) {
    .services-carousel {
        height: 500px;
    }

    .road-marker-container {
        display: none;
    }
}

/* Mobile (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .services-carousel {
        height: 550px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .services-carousel {
        height: 600px;
    }
}

/* Desktop 2K/4K (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .services-carousel {
        height: 600px;
    }

    .services-carousel .list .item {
        width: 65%;
    }
}

/* Ultra Wide / 4K+ (2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 2000px;
    }

    .services-carousel {
        height: 700px;
    }
}

/* Ajustes para monitores em pé (portrait) */
@media (orientation: portrait) and (min-width: 768px) {
    .services-carousel .list .item {
        width: 85%;
    }
}

/* Header responsivo */
@media (max-width: 640px) {
    #page-header .container>div {
        padding: 0.75rem 1rem;
    }

    #page-header img {
        height: 2rem;
    }
}

/* Hero responsivo */
@media (max-width: 640px) {
    #home .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Cards de catálogo responsivos */
@media (max-width: 480px) {
    .catalog-card-grouped {
        min-height: 280px;
    }

    .sign-wrapper {
        width: 60px;
        height: 60px;
    }

    .variation-btn {
        padding: 4px 8px;
        font-size: 9px;
    }
}

/* Modal responsivo */
@media (max-width: 640px) {
    #catalog-modal .p-6 {
        padding: 1rem;
    }

    #gallery-modal .p-6 {
        padding: 1rem;
    }
}

/* Galeria responsiva */
@media (max-width: 768px) {
    .carousel-slide {
        width: 100% !important;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .carousel-slide {
        width: calc(50% - 0.5rem) !important;
    }
}

/* Seção de contato responsiva */
@media (max-width: 1024px) {
    #contact .flex-col.lg\\:flex-row {
        min-height: auto;
    }

    #contact iframe {
        min-height: 300px;
    }
}

/* Ajustes para touch devices */
@media (hover: none) and (pointer: coarse) {
    .catalog-card:hover {
        transform: none;
    }

    .btn-primary:hover {
        transform: none;
    }

    .group:hover .sign-wrapper {
        transform: none;
    }
}

/* Neon Pulse Animation for WhatsApp Button */
@keyframes neonPulse {
    0% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
        border-color: rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 0 35px rgba(37, 211, 102, 0.6);
        border-color: rgba(37, 211, 102, 0.8);
    }

    100% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
        border-color: rgba(37, 211, 102, 0.3);
    }
}

.animate-neon-pulse {
    animation: neonPulse 2s infinite ease-in-out;
}

/* Red Neon Pulse Animation for Budget Button */
@keyframes neonPulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(230, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0);
    }
}

.animate-neon-pulse-red {
    animation: neonPulseRed 2s infinite;
}

/* Header Scrolled State - Floating Hamburger */
#page-header.scrolled {
    top: 1.5rem;
}

#page-header.scrolled .container {
    display: flex;
    justify-content: flex-end;
}

#page-header.scrolled #header-inner {
    width: 56px;
    height: 56px;
    max-width: 56px;
    padding: 0;
    border-radius: 50%;
    background: #E60000;
    border-color: #E60000;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.3);
    margin-left: auto;
    margin-right: 0;
}

#page-header.scrolled #header-inner nav,
#page-header.scrolled #header-inner a.group {
    display: none !important;
}

#page-header.scrolled #mobile-menu-button {
    display: flex !important;
    margin: 0;
    color: white;
}

#page-header.scrolled #mobile-menu-button i {
    font-size: 1.25rem;
}