/* ========================================
   INFORMACOES.CSS - Páginas de Informações
   ======================================== */

/* Informações Page Styles */
.informacoes-section {
    padding: 104px 0;
    background-color: #fafafa;
}

.informacoes-title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.2;
    color: #242424;
}

.informacao-card {
    display: flex;
    flex-direction: column;
    height: 180px;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.informacao-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.informacao-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.informacao-card-overlay {
    position: absolute;
    inset: 0;
    background-color: #6c6c6c;
    opacity: 0.8;
}

.informacao-card-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.informacao-card-icon i {
    font-size: 60px;
    color: #e9e9e9;
}

.informacao-card-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
}

.informacao-card-text {
    font-family: Roboto, system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 768px) {
    .informacoes-section {
        padding: 60px 0;
    }
    .diferenciais-cards{
        padding-left: 0;
    }

    .btn-contact{
        margin: 0 !important;
    }

    .footer-back-to-top-btn{
        display: none !important;
    }

    .informacoes-title {
        font-size: 24px;
    }
}

/* Conteúdo de Informações (Página interna) */
.conteudo-informacoes-section {
    padding: 104px 0;
    background-color: #fafafa;
}

.conteudo-section-title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    color: #242424;
}

.conteudo-text {
    font-size: 18px;
    line-height: 1.4;
    color: var(--neutral-soft);
}

.text-primary-custom {
    color: var(--brand-primary-full);
    text-decoration: none;
}

.text-primary-custom:hover {
    text-decoration: underline;
}

/* Galeria */
.galeria-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 90px;
    height: 100%;
    background-color: #6c6c6c;
    opacity: 0.9;
}

.galeria-item-overlay {
    position: absolute;
    inset: 0;
    background-color: #6c6c6c;
    opacity: 0.8;
}

.galeria-item-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.galeria-item-icon i {
    font-size: 48px;
    color: #c3c3c3;
}

.galeria-instruction {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    color: #242424;
    margin: 0;
}

/* Form lateral */
.conteudo-form-wrapper {
    background-color: #f6f6f6;
    border: 1px solid #e9e9e9;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0px 1px 2px rgba(105, 88, 88, 0.08);
}

.conteudo-form .form-label {
    font-weight: 500;
    font-size: 16px;
    color: #242424;
    margin-bottom: 8px;
}

.conteudo-form .form-control {
    background-color: #fafafa;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    padding: 16px;
    font-size: 12px;
    color: #c3c3c3;
}

.conteudo-form .form-control:focus {
    border-color: var(--secondary-base);
    box-shadow: 0 0 0 0.2rem rgba(202, 162, 100, 0.12);
    background-color: #fafafa;
}

.btn-primary-custom {
    background-color: var(--secondary-base);
    border: 0;
    color: var(--secondary-full);
    border-radius: 32px;
    padding: 16px;
    font-weight: 500;
    font-size: 16px;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-dark);
    color: var(--secondary-full);
}

/* CTA Section */
.cta-informacoes-section {
    background-color: var(--brand-primary-full);
    padding: 104px 0;
}

.cta-informacoes-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-informacoes-title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
    color: #e6ecf1;
    margin: 0;
}

.cta-informacoes-subtitle {
    font-family: Roboto, system-ui, sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    color: #f7f7f7;
    margin: 0;
}

/* Form Orçamento Title */
.form-orcamento-title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    color: var(--brand-primary-full);
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 32px 0;
}

/* Botões do Formulário */
.btn-enviar {
    background-color: var(--brand-primary-full);
    border: 0;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: var(--brand-primary-full);
    filter: brightness(0.85);
    color: #ffffff;
}

.btn-whatsapp {
    background-color: #25D366;
    border: 0;
    color: #ffffff;
    border-radius: 16px;
    padding: 16px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    color: #ffffff;
    text-decoration: none;
}

.btn-telefone {
    background-color: var(--brand-primary-full);
    border: 0;
    color: #ffffff;
    border-radius: 16px;
    padding: 16px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-telefone:hover {
    background-color: #35405f;
    color: #ffffff;
    text-decoration: none;
}

/* Related Pages Section */
.related-pages-section {
    background-color: #f6f6f6;
    padding: 104px 0;
}

.related-pages-title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    color: #242424;
    text-align: center;
    margin: 0 0 48px 0;
}

.related-pages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: start;
}

.related-pages-grid .informacao-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 250px;
    max-width: 342px;
}

@media (max-width: 1200px) {
    .related-pages-grid .informacao-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .related-pages-section {
        padding: 60px 0;
    }
    
    .related-pages-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .related-pages-grid .informacao-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 576px) {
    .related-pages-grid .informacao-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Páginas Relacionadas no Formulário */
.related-pages-form-wrapper {
    margin-top: 32px;
}

.related-pages-form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--brand-primary-full);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.related-pages-form-header:hover {
    background-color: var(--brand-primary-full);
}

.related-pages-form-header:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.related-pages-form-wrapper.collapsed .related-pages-form-header {
    margin-bottom: 0;
}

.related-pages-form-wrapper.collapsed .related-pages-chevron {
    transform: rotate(180deg);
}

.related-pages-form-title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
}

.related-pages-form-header i {
    color: #ffffff;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.related-pages-form-list {
    background-color: #e9e9e9;
    border-radius: 8px;
    padding: 12px;
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.related-pages-form-wrapper.collapsed .related-pages-form-list {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
}

.related-page-form-link {
    background-color: #fafafa;
    padding: 10px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: #242424;
    font-family: Roboto, system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    transition: background-color 0.2s ease;
    display: block;
}

.related-page-form-link:hover {
    background-color: #f0f0f0;
    text-decoration: none;
    color: #242424;
}

/* Scrollbar personalizada para a lista do formulário */
.related-pages-form-list::-webkit-scrollbar {
    width: 6px;
}

.related-pages-form-list::-webkit-scrollbar-track {
    background: #e9e9e9;
    border-radius: 4px;
}

.related-pages-form-list::-webkit-scrollbar-thumb {
    background: #6c6c6c;
    border-radius: 4px;
}

.related-pages-form-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 768px) {
    .related-pages-form-list {
        max-height: 250px;
    }
    
    .related-pages-form-title {
        font-size: 16px;
    }
}

/* Cities Section */
.cities-section {
    background-color: #fafafa;
    padding: 104px 0;
}

.cities-title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    color: #242424;
    text-align: center;
    margin: 0 0 48px 0;
}

.cities-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.states-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.state-item {
    flex: 1 0 auto;
    min-width: 50px;
    background-color: #e9e9e9;
    color: #242424;
    padding: 16px;
    text-align: center;
    font-family: Roboto, system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.state-item:hover {
    background-color: #d9d9d9;
}

.state-item.active {
    background-color: var(--brand-primary-full);
    color: #fafafa;
}

.cities-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cities-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background-color: #eee;
    padding: 16px;
}

.city-item {
    flex: 1 0 auto;
    min-width: 64px;
    font-family: Roboto, system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #242424;
}

/* Ajustes no formulário */
.conteudo-form .form-control {
    font-size: 12px;
    padding: 16px;
    border-radius: 16px;
}

.conteudo-form .form-label {
    font-size: 16px;
    margin-bottom: 16px;
}

/* Ajustes na galeria */
.galeria-section {
    margin-bottom: 48px;
}

.galeria-section .row {
    margin-bottom: 16px;
}

.galeria-instruction {
    margin: 0;
}

/* Responsividade */
@media (max-width: 991px) {
    .cta-informacoes-title {
        font-size: 36px;
    }
    
    .cta-informacoes-subtitle {
        font-size: 18px;
    }
    
    .related-pages-title,
    .cities-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .conteudo-informacoes-section,
    .cta-informacoes-section,
    .related-pages-section,
    .cities-section {
        padding: 60px 0;
    }
    
    .cta-informacoes-title {
        font-size: 32px;
    }
    
    .cta-informacoes-subtitle {
        font-size: 16px;
    }
    
    .related-pages-title,
    .cities-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
    
    .states-row {
        gap: 2px;
    }
    
    .state-item {
        flex: 1 0 calc(25% - 2px);
        min-width: auto;
    }
}
