/* ==========================================================================
   ESTILO GLOBAL E BASE (ArtSlicer 3D)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #2c2c3b 0%, #22222e 100%); /* Um canto mais claro escurecendo até o outro */
    background-attachment: fixed; /* Mantém o degradê estático e suave ao rolar a página */
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Container principal que centraliza o conteúdo na tela */
.container {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
}

.header .paragrafo1 {
    color: #f39c12; /* 💡 Mude aqui! Ex: #ffffff (Branco), #f39c12 (Laranja) ou #e0e0e0 (Cinza claro) */
}

/* ==========================================================================
   CABEÇALHO E NAVEGAÇÃO
   ========================================================================== */

/* Botão Voltar Estilizado com Animação */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f39c12; /* Cor laranja da ArtSlicer */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(243, 156, 18, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(243, 156, 18, 0.03);
    transition: all 0.3s ease;
}

/* Efeito ao passar o mouse (Hover) */
.btn-back:hover {
    color: #ffffff;
    background: #f39c12;
    border-color: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

/* Animação na setinha quando passa o mouse */
.btn-back:hover i {
    animation: bounce-arrow 0.6s infinite alternate;
}

/* Regra para fazer a seta dar um "batalhão" para a esquerda */
@keyframes bounce-arrow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-4px);
    }
}

/* Cabeçalho */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.header p {
    color: #8a8b98;
    font-size: 1.05rem;
}

/* ==========================================================================
   BLOCOS DE CONTEÚDO (SEÇÕES)
   ========================================================================== */

.section-box {
    background: #1c1d21; /* Caixa cinza-escura destacada */
    border: 1px solid #282a30;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.section-box h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

/* Linhas detalhadas explicativas (estilo linha por linha) */
.line-detail {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: #cdcdcd;
    border-left: 3px solid #f39c12; /* Barrinha laranja da ArtSlicer */
    padding-left: 12px;
    font-size: 0.95rem;
}

.line-detail strong {
    color: #ffffff;
}

.intro-text {
    color: #cdcdcd;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ==========================================================================
   GRID E CARDS DE ORÇAMENTO
   ========================================================================== */

.grid-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 1.5rem;
}

.card-detail {
    background: #232429;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2e3037;
}

.card-detail h3 {
    color: #f39c12; /* Laranja da marca */
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-detail p {
    color: #a0a1b0;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ==========================================================================
   ALERTAS E BOTÕES DE AÇÃO
   ========================================================================== */

/* Caixa de Alerta para os Cupons */
.alert-box {
    background: rgba(243, 156, 18, 0.06);
    border: 1px solid rgba(243, 156, 18, 0.3);
    padding: 18px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 1.5rem;
}

.alert-box i {
    color: #f39c12;
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #cdcdcd;
    line-height: 1.5;
}

/* Caixa de alerta em destaque crítico (Frete Grátis e Cupons) */
.alert-box-danger {
    background: rgba(243, 156, 18, 0.08);
    border-left: 4px solid #f39c12;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-box-danger i {
    color: #f39c12;
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert-box-danger p {
    margin: 0;
    font-size: 0.92rem;
    color: #e0e0e0;
    line-height: 1.5;
}

/* Área do botão do WhatsApp */
.cta-container {
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

.cta-container p {
    color: #8a8b98;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* ==========================================================================
   MECÂNICA E VISUAL DOS CARRÓSSEIS AUTOMÁTICOS INDEPENDENTES
   ========================================================================== */

.title-center {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Wrapper que agrupa o carrossel e suas respectivas bolinhas */
.carousel-wrapper {
    width: 100%;
    max-width: 650px;
    margin: 20px auto 35px auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Linha horizontal interna que segura os slides (largura controlada dinamicamente pelo JS) */
.carousel-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Cada slide individual dentro de qualquer carrossel */
.carousel-slide {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.carousel-img-box {
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #14171c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    padding: 20px;
    background: #181c22;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 120px; /* Garante alinhamento caso um texto seja maior que o outro */
}

.carousel-caption h3 {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    color: #f39c12; /* Laranja padrão ArtSlicer */
    font-weight: 600;
}

.carousel-caption p {
    margin: 0;
    font-size: 0.92rem;
    color: #cccccc;
    line-height: 1.5;
}

/* Bolinhas indicadoras exclusivas de cada bloco */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: #f39c12;
    transform: scale(1.2);
}

/* Caixa de alerta em destaque crítico (Frete Grátis e Cupons) */
.alert-box-danger {
    background: rgba(243, 156, 18, 0.08);
    border-left: 4px solid #f39c12;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-box-danger i {
    color: #f39c12;
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert-box-danger p {
    margin: 0;
    font-size: 0.92rem;
    color: #e0e0e0;
    line-height: 1.5;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer; /* 💡 UX: Transforma a seta do mouse em mãozinha indicando clique */
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5); /* 💡 Feedback visual ao passar o mouse */
}

.dot.active {
    background: #f39c12;
    transform: scale(1.2);
}

/* ==========================================================================
   RESPONSIVIDADE (Celular)
   ========================================================================== */

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    .container {
        margin: 20px auto;
    }
    .section-box {
        padding: 20px;
    }
    .header h1 {
        font-size: 1.8rem;
    }
    .grid-details {
        grid-template-columns: 1fr;
    }
    .alert-box, .alert-box-danger {
        flex-direction: column;
        gap: 8px;
    }
    .carousel-img-box {
        height: 250px; /* Reduz um pouco a altura da imagem no celular para melhorar o scroll */
    }
}