/*
 * DENTCOMM - ESTILOS PÁGINA DE SERVIÇOS (ATUALIZADO)
 * Inclui: Tabela Comparativa, Lista de Produtos, FAQ e CTA Ciano
 */

/* COMPARAÇÃO (TABELA) */
.products-comparison {
    background: var(--bg-body);
    padding-bottom: 2rem;
}

.comparison-table-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme="dark"] .comparison-table td { border-bottom-color: rgba(255,255,255,0.05); }

.feature-column {
    text-align: left !important;
    font-weight: 600;
    position: sticky;
    left: 0;
    background: var(--bg-card);
    z-index: 10;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.product-column.featured {
    background: rgba(22, 254, 237, 0.03);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
}
.product-column.featured::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid var(--primary-cyan); border-radius: var(--radius-lg);
    pointer-events: none;
}

.feature-check { color: var(--primary-cyan); font-size: 1.25rem; }
.feature-cross { color: var(--text-body); opacity: 0.3; }

/* LISTA DE PRODUTOS (CARDS) */
.products-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-summary-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
}

[data-theme="dark"] .product-summary-card { border-color: rgba(255,255,255,0.05); }

.product-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-cyan);
}

.product-summary-card.featured {
    border: 1px solid var(--primary-cyan);
    background: linear-gradient(180deg, rgba(22, 254, 237, 0.02) 0%, var(--bg-card) 100%);
}

.product-summary-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-badge {
    background: var(--primary-cyan);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.product-badge.premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.product-icon {
    width: 50px; height: 50px;
    background: rgba(22, 254, 237, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-cyan);
}

.product-summary-card__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.product-summary-card__objective { margin-bottom: 1.5rem; color: var(--text-body); font-size: 0.95rem; flex-grow: 1; }

.product-highlights {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
[data-theme="dark"] .product-highlights { border-top-color: rgba(255,255,255,0.1); }

.highlight-item { font-size: 0.9rem; color: var(--text-body); }

.product-summary-card__cta-wrapper {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price .price-value { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); }
[data-theme="dark"] .product-price .price-value { color: var(--white); }
.product-price .price-period { font-size: 0.85rem; color: var(--primary-gray); }

.product-summary-card__cta {
    color: var(--primary-cyan-text);
    font-weight: 700;
    display: flex; align-items: center; gap: 0.5rem;
    transition: gap 0.3s ease;
}
[data-theme="dark"] .product-summary-card__cta { color: var(--primary-cyan); }
.product-summary-card__cta:hover { gap: 0.8rem; }

/* --- CARD FULLSTACK PREMIUM --- */
.product-summary-card--fullwidth {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%) !important;
    border: 1px solid var(--primary-cyan);
    padding: 4rem;
    gap: 3rem;
}

.product-summary-card--fullwidth .product-summary-card__header {
    flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 0; min-width: 100px;
}
.product-summary-card--fullwidth .product-summary-card__content { flex: 1; text-align: left; }
.product-summary-card--fullwidth .product-summary-card__title { color: #fff !important; margin-bottom: 1rem; font-size: 2rem; }
.product-summary-card--fullwidth .product-summary-card__objective { color: #d1d5db !important; font-size: 1.1rem; margin-bottom: 1.5rem; }
.product-summary-card--fullwidth .product-highlights { border-top: none; padding-top: 0; margin-bottom: 0; }
.product-summary-card--fullwidth .highlight-item { color: #e5e7eb !important; display: inline-block; margin-right: 1.5rem; }

.product-summary-card--fullwidth .product-summary-card__cta-wrapper {
    flex-direction: column; align-items: center; gap: 1rem; min-width: 180px;
}
.product-summary-card--fullwidth .price-value { color: #fff !important; font-size: 1.5rem; }
.product-summary-card--fullwidth .price-period { color: #9ca3af !important; }

.product-summary-card--fullwidth .product-summary-card__cta {
    background: var(--primary-cyan); color: #000 !important; padding: 0.75rem 1.5rem;
    border-radius: 50px; text-decoration: none;
}
.product-summary-card--fullwidth .product-summary-card__cta:hover {
    transform: translateY(-2px); box-shadow: 0 0 20px rgba(22, 254, 237, 0.4); gap: 0.5rem;
}

/* --- NOVA SEÇÃO FAQ (ESTILO DARK) --- */
.faq-section {
    background-color: #0f0f0f; /* Fundo escuro Premium */
    padding: 6rem 0;
}
.faq-header { text-align: center; margin-bottom: 3rem; }

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    background: transparent;
    border: none;
    width: 100%;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--primary-cyan); }

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-cyan);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #a1a1aa; /* Cinza claro para texto */
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Estado Ativo */
.faq-item.active .faq-question { color: var(--primary-cyan); }

/* --- NOVA SEÇÃO CTA CIANO (ESTILO REBRANDING) --- */
.cta-cyan-section {
    background: var(--gradient-primary); /* Ciano Vibrante */
    padding: 5rem 0;
    text-align: center;
}

.cta-cyan-container { max-width: 800px; margin: 0 auto; }

.cta-cyan-title {
    color: #121212; /* Contraste Preto no Ciano */
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.cta-cyan-subtitle {
    color: #121212;
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.cta-cyan-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #121212;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn-cta-primary:hover {
    transform: translateY(-3px);
    background: #000;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-cta-outline {
    background: transparent;
    color: #121212;
    border: 2px solid #121212;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    display: flex; align-items: center; gap: 0.5rem;
}
.btn-cta-outline:hover {
    background: #121212;
    color: #fff;
}

/* RESPONSIVIDADE DO CARD FULLSTACK */
@media (max-width: 1024px) {
    .product-summary-card--fullwidth {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }
    .product-summary-card--fullwidth .product-summary-card__content { text-align: center; }
    .product-summary-card--fullwidth .highlight-item { display: block; margin-right: 0; margin-bottom: 0.5rem; }
    .product-summary-card--fullwidth .product-summary-card__cta-wrapper { width: 100%; }
}

@media (max-width: 768px) {
    .faq-header { text-align: left; }
    .cta-cyan-actions { flex-direction: column; width: 100%; }
    .btn-cta-primary, .btn-cta-outline { width: 100%; justify-content: center; }
}