body { font-family: 'Montserrat', sans-serif; overflow-x: hidden; background: #fff; }

.catalogo-header { text-align: center; margin: 50px 0; }

/* Estrutura do Carrossel Principal */
.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-container {
    width: 100%;
    overflow: hidden; /* Esconde os cards fora da visão */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* 3 Cards por tela: 100% / 3 = 33.33% */
.product-card {
    min-width: calc(33.33% - 20px);
    margin: 0 10px;
    border: 1px solid #eee;
    position: relative;
    background: #fff;
}

/* Slider Interno (3 fotos) */
.inner-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.inner-slides img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inner-slides img.active { opacity: 1; }

/* Bolinhas (Dots) do Slider Interno */
.dots-container {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active { background: #ffca00; width: 20px; border-radius: 4px; }

/* Botões Laterais */
.nav-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    position: absolute;
}

.prev-main { left: -50px; }
.next-main { right: -50px; }

.product-info { padding: 20px; text-align: center; }
.btn-interesse {
    background: #000; color: #fff; border: none; padding: 10px;
    width: 100%; font-weight: bold; cursor: pointer;
}

.badge {
    position: absolute; top: 10px; right: 10px;
    background: #000; color: #fff; padding: 5px 10px;
    font-size: 10px; z-index: 5; font-weight: bold;
}

/* Modal */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content { 
    background: #fff; 
    margin: 10% auto; 
    padding: 50px 40px;
    max-width: 450px; 
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn { 
    position: absolute; 
    top: 20px; 
    right: 25px; 
    cursor: pointer; 
    font-size: 28px;
    color: #999;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 300;
}

.close-btn:hover {
    color: #000;
    transform: rotate(90deg);
}

#modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

#modal-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ffca00;
    margin: 15px auto 0;
    border-radius: 2px;
}

#form-avise {
    margin-top: 40px;
}

#form-avise input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

#form-avise input:focus {
    outline: none;
    border-color: #ffca00;
    box-shadow: 0 0 0 3px rgba(255, 202, 0, 0.1);
}

#form-avise input::placeholder {
    color: #aaa;
}

.btn-submit {
    background: #000; 
    color: #fff; 
    border: none; 
    padding: 16px;
    width: 100%; 
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #ffca00;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 202, 0, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% 20px;
        padding: 40px 30px;
        max-width: 100%;
    }
    
    #modal-title {
        font-size: 24px;
    }
}

/* Margem de respiro entre seções */
.catalogo-externo {
    margin-bottom: 20px;
}

.btn-interesse {
    background: #000; 
    color: #fff; 
    border: none; 
    padding: 10px;
    width: 100%; 
    font-weight: bold; 
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-interesse:hover {
    background: #ffca00;
    color: #000;
}

#mensagem-sucesso {
    text-align: center;
    padding: 40px 20px;
}

.icone-sucesso {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { 
        transform: scale(0);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

#mensagem-sucesso p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Header Principal */
.header-principal {
    background: transparent;
    padding: 20px 0 5px 0; /* Quase sem espaço inferior */
    position: relative;
    z-index: 100;
    box-shadow: none;
}

.catalogo-header { 
    text-align: center; 
    margin: 10px 0 50px 0; /* Margem superior mínima */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.logo {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .header-principal {
        padding: 15px 0;
    }
    
    .logo {
        height: 40px;
    }
}

/* Seção Sobre - Imagem + Texto */
.secao-sobre {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-imagem {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.sobre-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.sobre-imagem:hover img {
    transform: scale(1.05);
}

.sobre-texto h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.2;
}

.sobre-texto h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ffca00;
    margin-top: 15px;
    border-radius: 2px;
}

.sobre-texto p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.sobre-texto p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #000;
}

/* Responsividade */
@media (max-width: 768px) {
    .secao-sobre {
        margin: 60px auto;
    }
    
    .sobre-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sobre-texto h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .sobre-texto p {
        font-size: 15px;
    }
}

/* Rodapé */
.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 100px;
}

.footer p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .footer {
        padding: 25px 20px;
        margin-top: 60px;
    }
    
    .footer p {
        font-size: 13px;
    }
}