/* ============================================================
   SERVEUR GPU v1 — page serveurs multi-GPU (rendu, IA, virtualisation),
   design system NEON. S'appuie sur neon-page.css. Classes propres à
   cette page préfixées .sgpu- pour éviter tout conflit.
   ============================================================ */

/* ---------- TABLEAU SPECS / COMPARATIF ---------- */
.sgpu-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sgpu-table th, .sgpu-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--neon-light-hairline); vertical-align: top; }
.sgpu-table th { color: var(--neon-accent); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.sgpu-table td { color: var(--neon-light-text-dim); }
.sgpu-table td:first-child { color: var(--neon-light-text); font-weight: 600; white-space: nowrap; }
.sgpu-table tr:last-child td { border-bottom: none; }

/* variante fond sombre (specs ASUS) */
.sgpu-table-dark th, .sgpu-table-dark td { border-bottom-color: var(--neon-dark-hairline); }
.sgpu-table-dark td { color: var(--neon-dark-text-dim); }
.sgpu-table-dark td:first-child { color: var(--neon-dark-text); }

/* ---------- ANATOMIE D'UN SERVEUR MULTI-GPU (schéma interactif) ----------
   L'affichage/masquage des légendes au survol est géré par
   assets/js/serveurgpu-page.js (petit script sans dépendance, qui bascule
   le style.display en JS) — plus fiable qu'un sélecteur CSS avancé une
   fois passé par WordPress/un cache/minifieur. Si le script ne se charge
   pas pour une raison quelconque, la légende complète ci-dessous reste
   toujours visible. */
.sgpu-anatomy {
    border-radius: 14px;
    border: 1px solid var(--neon-light-hairline);
    background: #fff;
    padding: 24px;
    overflow: hidden;
}

/* .sgpu-anatomy-frame ne contient QUE l'image + les zones de survol : sa
   hauteur est donc exactement celle de l'image (line-height:0, aucun
   padding), ce qui permet aux % de top/left des zones de survol de
   correspondre pile aux repères dessinés dans l'image — indépendamment de
   la hauteur du bandeau d'explication en dessous. */
.sgpu-anatomy-frame { position: relative; line-height: 0; }
.sgpu-anatomy-frame img { display: block; width: 100%; height: auto; }

/* zones de survol invisibles, positionnées en % sur les repères déjà numérotés dans l'image */
.sgpu-hotspot {
    position: absolute;
    width: 6%;
    height: 9%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    outline: none;
}
.sgpu-hotspot:hover,
.sgpu-hotspot:focus {
    background: rgba(89,148,212,.18);
    box-shadow: 0 0 0 4px rgba(89,148,212,.18);
}

/* bandeau d'explication, sous le schéma, à hauteur fixe pour éviter les sauts de mise en page */
.sgpu-anatomy-hint,
.sgpu-caption {
    line-height: 1.5;
    margin: 20px -24px -24px;
    padding: 16px 24px;
    background: rgba(89,148,212,.06);
    border-top: 1px solid var(--neon-light-hairline);
    min-height: 76px;
}
.sgpu-anatomy-hint {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--neon-light-text-dim);
    font-style: italic;
}
.sgpu-caption { display: none; }
.sgpu-caption strong { display: block; font-size: 13.5px; color: var(--neon-accent); margin-bottom: 4px; }
.sgpu-caption p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--neon-light-text-dim); }

/* légende complète, toujours visible (secours mobile/tactile + accessibilité,
   et si le script d'interaction ne se charge pas) */
.sgpu-anatomy-legend { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.sgpu-anatomy-legend li { font-size: 12.5px; line-height: 1.6; color: var(--neon-light-text-dim); }
.sgpu-anatomy-legend strong { color: var(--neon-light-text); }
.sgpu-anatomy-legend-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--neon-accent);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    margin-right: 6px;
}
@media (max-width: 720px) {
    .sgpu-anatomy-legend { grid-template-columns: 1fr; }
    .sgpu-hotspot { display: none; } /* pas de survol tactile fiable : la légende ci-dessous suffit */
}

/* ---------- PHOTO DETAIL (châssis ouvert, avec légende) ---------- */
.sgpu-detail-figure { margin-top: 28px; }
.sgpu-detail-figure img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid var(--neon-light-hairline);
    display: block;
}
.sgpu-detail-figure p {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--neon-light-text-dim);
    line-height: 1.55;
    text-align: center;
}
.sgpu-detail-figure-dark img { border-color: var(--neon-dark-hairline); }
.sgpu-detail-figure-dark p { color: var(--neon-dark-text-dim); }

/* ---------- CARTES "TROIS USAGES" (fond clair) ---------- */
.sgpu-concept-card {
    background: var(--neon-light-card);
    border: 1px solid var(--neon-light-hairline);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 1px 3px rgba(26,36,47,.06);
}
.sgpu-concept-card h3 { font-size: 15px; color: var(--neon-accent); margin: 0 0 8px; }
.sgpu-concept-card p { font-size: 13px; line-height: 1.6; color: var(--neon-light-text-dim); margin: 0; }

/* ---------- NOTE MISE EN AVANT MH RADIANT (fond sombre) ---------- */
.sgpu-paradox-note {
    padding: 18px 22px;
    background: rgba(89,148,212,.1);
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--neon-dark-text-dim);
}
.sgpu-paradox-note strong { color: var(--neon-dark-text); }

/* ---------- CARTES COMPROMIS DENSITE / FIABILITE ---------- */
/* posées sur fond sombre via .neon-card-light : on ajuste juste les textes internes */
.sgpu-tradeoff-card h3 { font-size: 15px; color: var(--neon-accent); margin: 0 0 8px; }
.sgpu-tradeoff-card p { font-size: 13px; line-height: 1.6; color: var(--neon-light-text-dim); margin: 0; }
