/**
 * Armários e Cofres — Estilos Exclusivos da Página Inicial (front-page.css)
 * Isolamento de Código por Tela (Harness 5 Fases)
 * Versão: 1.2.2
 */

/* Container Geral da Home */
.ac-home-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
}

.ac-home-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   1. HERO BANNER PRINCIPAL (Abaixo do Menu)
   ========================================================================== */
.ac-hero-banner {
    width: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #2c3543 50%, #3e495b 100%);
    color: #ffffff;
    padding: 60px 0 65px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.ac-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(110, 193, 228, 0.12) 0%, rgba(110, 193, 228, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ac-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Coluna de Texto Hero */
.ac-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(110, 193, 228, 0.15);
    border: 1px solid rgba(110, 193, 228, 0.35);
    color: #6ec1e4;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.ac-hero-title {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
}

.ac-hero-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0 0 32px 0;
    max-width: 620px;
}

.ac-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* Botões do Hero */
.ac-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.ac-hero-btn-primary:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.ac-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ac-hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Coluna de Cards de Confiança / Proposta de Valor */
.ac-hero-card-trust {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ac-hero-trust-header {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6ec1e4;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ac-hero-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ac-hero-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #f1f5f9;
    line-height: 1.4;
}

.ac-hero-trust-item strong {
    color: #ffffff;
    display: block;
}

.ac-hero-trust-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #6ec1e4;
    margin-top: 1px;
}

.ac-hero-trust-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   2. FAIXA DOS 4 DESTAQUES DE CONFIANÇA
   ========================================================================== */
.ac-highlights-bar {
    width: 100%;
    background-color: #3e495b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px 0;
}

.ac-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ac-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.ac-highlight-item:last-child {
    border-right: none;
}

.ac-highlight-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.ac-highlight-item:hover .ac-highlight-icon-wrap {
    transform: scale(1.1);
}

.ac-highlight-title {
    font-size: 15px;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

.ac-highlight-title strong {
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================================================
   3. SEÇÃO NOSSOS PRODUTOS COM VITRINE
   ========================================================================== */
.ac-home-products-section {
    padding: 55px 0 65px;
    background-color: #ffffff;
}

.ac-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.ac-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #3e495b;
    margin: 0 0 10px 0;
    position: relative;
    display: inline-block;
}

.ac-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #6ec1e4;
    margin: 12px auto 0;
    border-radius: 2px;
}

.ac-section-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 12px 0 0 0;
}

/* Vitrine na Home */
.ac-home-vitrine-wrap {
    margin-top: 20px;
}

/* ==========================================================================
   4. RESPONSIVIDADE E ACESSIBILIDADE
   ========================================================================== */
@media (max-width: 992px) {
    .ac-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ac-hero-banner {
        padding: 45px 0;
        text-align: center;
    }

    .ac-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .ac-hero-actions {
        justify-content: center;
    }

    .ac-hero-card-trust {
        max-width: 500px;
        margin: 0 auto;
        text-align: left;
    }

    .ac-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    .ac-highlight-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .ac-hero-title {
        font-size: 28px;
    }

    .ac-hero-subtitle {
        font-size: 15px;
    }

    .ac-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .ac-hero-btn-primary,
    .ac-hero-btn-secondary {
        width: 100%;
        box-sizing: border-box;
    }

    .ac-highlights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ac-highlight-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
    }

    .ac-highlight-item:last-child {
        border-bottom: none;
    }

    .ac-section-title {
        font-size: 26px;
    }
}
