/* =========================================================
   Page Développeurs — refonte 2026
   ========================================================= */

.dev-lead {
    max-width: 820px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(240, 240, 240, .78);
    margin-bottom: 2.2rem;
}

.dev-lead strong {
    color: var(--light);
}

.dev-section-title {
    font-size: 1.7rem;
    margin: 3.2rem 0 1.4rem;
    position: relative;
    padding-bottom: .7rem;
}

.dev-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: var(--gradient);
}

/* --- Trois familles d'outils --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.7rem;
    transition: transform .3s ease, border-color .3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb), .5);
}

.tool-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: #14100a;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.12rem;
    margin-bottom: .2rem;
}

.tool-sub {
    font: 500 .78rem 'Roboto', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ui-cyan) !important;
    margin-bottom: .8rem;
}

.tool-card p {
    color: rgba(240, 240, 240, .72);
    font-size: .93rem;
    margin-bottom: .8rem;
}

.tool-card p strong {
    color: var(--light);
}

/* --- Les six règles --- */
.dev-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.2rem;
}

.rule-item {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.2rem 1.3rem;
    align-items: flex-start;
}

.rule-n {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 .85rem 'Orbitron', sans-serif;
    background: var(--gradient);
    color: #14100a;
}

.rule-item h3 {
    font-size: 1rem;
    margin-bottom: .4rem;
}

.rule-item p {
    color: rgba(240, 240, 240, .7);
    font-size: .9rem;
}

.rule-item p strong {
    color: var(--light);
}

/* --- Le circuit sain --- */
.dev-flow {
    margin-top: 2.4rem;
    background: rgba(var(--primary-rgb), .05);
    border: 1px solid rgba(var(--primary-rgb), .25);
    border-radius: 14px;
    padding: 1.6rem 1.8rem;
}

.dev-flow h3 {
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.flow-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
}

.flow-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #1d1b15;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: .55rem 1rem;
    font-size: .85rem;
    color: rgba(240, 240, 240, .85);
}

.flow-chip i {
    color: var(--ui-cyan);
}

.flow-chip-human {
    border-color: rgba(123, 196, 127, .6);
}

.flow-chip-human i {
    color: #7bc47f;
}

.flow-line > i {
    color: rgba(var(--primary-rgb), .6);
    font-size: .85rem;
}

/* --- Table VRAM --- */
.vram-table-wrap {
    margin-top: 1rem;
}

.vram-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}

.vram-table th,
.vram-table td {
    padding: .85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vram-table thead th {
    font: 700 .78rem 'Orbitron', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ui-cyan);
    border-bottom: 2px solid rgba(var(--primary-rgb), .35);
}

.vram-table td:first-child {
    color: var(--light);
    font-weight: 500;
}

.vram-table td:nth-child(2) {
    color: var(--ui-cyan);
    white-space: nowrap;
}

.vram-table td {
    color: rgba(240, 240, 240, .72);
}

.vram-note {
    margin-top: 1rem;
    color: rgba(240, 240, 240, .55);
    font-size: .85rem;
}

.vram-note i {
    color: var(--ui-cyan);
    margin-right: .4rem;
}

.vram-note a,
.dev-lead a {
    color: var(--ui-cyan);
}

@media (max-width: 640px) {
    .vram-table th,
    .vram-table td {
        padding: .7rem .6rem;
        font-size: .85rem;
    }
}
