/* ficha_tecnica.css */

.ficha-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Outfit', sans-serif;
    color: #333;
}

.ficha-banner {
    width: 100%;
    height: 50vh; /* Ocupa metade da tela em altura */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* Margin top to account for fixed header if needed, but hero sections usually are adjusted. Let's assume header is handled. */
}

/* Banner responsiveness handled via inline style or media queries if needed, but since we have two images, we can use <picture> or CSS background */

.ficha-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .ficha-content-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

.ficha-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.ficha-section:hover {
    transform: translateY(-5px);
}

.ficha-section h2 {
    color: #00d4ff; /* IDNLabs primary brand color maybe? Using #00d4ff as seen in header nucleum */
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.ficha-section h2.dark {
    color: #003366; /* Private label dark blue */
}

.ficha-benefits-list {
    list-style: none;
    padding: 0;
}

.ficha-benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.ficha-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #119155;
    font-size: 1.2rem;
    font-weight: bold;
}

.ficha-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

/* Buttons Section */
.ficha-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-ficha {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-ficha:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-ficha.active {
    background: linear-gradient(135deg, #00d4ff, #0056b3);
    color: white;
}

.btn-ficha.inactive {
    background: #e0e0e0;
    color: #888;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-ficha i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Modals */
.ficha-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ficha-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.ficha-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.ficha-modal-overlay.show .ficha-modal-content {
    transform: scale(1);
}

.ficha-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    line-height: 1;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.ficha-modal-close:hover {
    color: #ff0000;
}

.ficha-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ficha-modal-body video {
    max-width: 100%;
    border-radius: 8px;
    outline: none;
}

.modal-em-breve {
    padding: 40px;
    font-size: 1.5rem;
    color: #555;
}
.modal-em-breve i {
    font-size: 3rem;
    color: #ccc;
    display: block;
    margin-bottom: 20px;
}
