/* ── Wrap général ─────────────────────────────────────────────────────────── */
.tri-product-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: inherit;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.tri-product-hero {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.tri-hero-image {
    flex: 0 0 300px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tri-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tri-hero-image-placeholder {
    width: 100%;
    min-height: 220px;
    background: #efefef;
}

.tri-hero-content {
    flex: 1;
    padding-top: 16px;
}

.tri-product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.tri-product-excerpt {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.6;
}

.tri-btn-contact {
    display: inline-block;
    background: #007b8a;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: background 0.2s;
}

.tri-btn-contact:hover {
    background: #005f6b;
    color: #fff;
}

/* ── Onglets nav ──────────────────────────────────────────────────────────── */
.tri-product-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #007b8a;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.tri-tab-link {
    display: inline-block;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.tri-tab-link:hover,
.tri-tab-link.active {
    color: #007b8a;
    border-bottom-color: #007b8a;
}

/* ── Panels ───────────────────────────────────────────────────────────────── */
.tri-tab-panel {
    display: none;
    padding: 32px 0;
}

.tri-tab-panel.active {
    display: block;
}

/* ── Documents ────────────────────────────────────────────────────────────── */
.tri-tab-header {
    background: #007b8a;
    color: #fff;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.tri-tab-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
}

.tri-tab-header p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
}

.tri-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tri-doc-item {
    border-bottom: 1px solid #f0f0f0;
}

.tri-doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.tri-doc-link:hover {
    color: #007b8a;
}

.tri-doc-icon-pdf {
    flex-shrink: 0;
    background: #e53e3e;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
}

.tri-doc-name {
    flex: 1;
}

/* ── Fonctionnalité ───────────────────────────────────────────────────────── */
.tri-fonc-wrap {
    max-width: 700px;
}

.tri-fonc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tri-fonc-list li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.tri-fonc-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007b8a;
    font-weight: 700;
}

/* ── Certification ────────────────────────────────────────────────────────── */
.tri-cert-inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.tri-cert-badge img {
    max-width: 100px;
    height: auto;
}

.tri-cert-content {
    font-size: 0.9rem;
    line-height: 1.6;
}

.tri-cert-content ul {
    margin: 8px 0 16px 20px;
}

/* ── Propriétés ───────────────────────────────────────────────────────────── */
.tri-prop-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 600px;
    font-size: 0.9rem;
}

.tri-prop-table th,
.tri-prop-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.tri-prop-table th {
    font-weight: 700;
    width: 35%;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

/* ── Renseignements ───────────────────────────────────────────────────────── */
.tri-rens-table {
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tri-rens-table th {
    font-weight: 700;
    padding-right: 24px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    vertical-align: top;
    padding-top: 4px;
}

.tri-rens-table td div {
    line-height: 1.8;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .tri-product-hero {
        flex-direction: column;
        gap: 24px;
    }

    .tri-hero-image {
        flex: none;
        width: 100%;
    }

    .tri-docs-grid {
        grid-template-columns: 1fr;
    }

    .tri-product-tabs-nav {
        overflow-x: auto;
    }
}
