/* ============================================================
   APPLE MAC v1 — page Mac mini & Mac Studio, design system NEON.
   S'appuie sur neon-page.css. Classes propres à cette page
   préfixées .apl- pour éviter tout conflit avec le thème.
   ============================================================ */

/* ---------- TABLEAUX (specs / comparatif) ---------- */
.apl-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.apl-table th, .apl-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--neon-light-hairline); vertical-align: top; }
.apl-table th { color: var(--neon-accent); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.apl-table td { color: var(--neon-light-text-dim); line-height: 1.55; }
.apl-table td:first-child { color: var(--neon-light-text); font-weight: 600; width: 190px; }
.apl-table td strong { color: var(--neon-light-text); }
.apl-table tr:last-child td { border-bottom: none; }
.apl-table-dark th, .apl-table-dark td { border-bottom-color: var(--neon-dark-hairline); }
.apl-table-dark td { color: var(--neon-dark-text-dim); }
.apl-table-dark td:first-child, .apl-table-dark td strong { color: var(--neon-dark-text); }
.apl-fine { display: block; margin-top: 2px; font-size: 11.5px; opacity: .8; }
.apl-fine-inline { display: inline; margin: 0; font-weight: 400; }

/* ---------- SOUS-TITRES DE BLOC ---------- */
.neon-page .apl-subhead { margin: 56px 0 0; font-size: 20px; color: var(--neon-light-text); }
.neon-page .apl-subhead-dark { color: var(--neon-dark-text); }

/* ---------- FIGURES (photos produit) ---------- */
.apl-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.apl-figs-wide { margin-top: 28px; }
.apl-fig { margin: 0; }
.apl-fig img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--neon-light-hairline);
    box-shadow: 0 1px 3px rgba(26,36,47,.06);
}
.apl-fig figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--neon-light-text-dim); }
.apl-fig-dark img { border-color: var(--neon-dark-hairline); box-shadow: 0 6px 22px rgba(0,0,0,.28); }
.apl-fig-dark figcaption { color: var(--neon-dark-text-dim); }

/* image posée dans un split sur fond clair (fond blanc des visuels Apple) */
.apl-media-light { border-radius: 12px; border: 1px solid var(--neon-light-hairline); }

/* bandeau pleine largeur */
.apl-wide { margin-top: 28px; }
.apl-wide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--neon-light-hairline);
}
.apl-wide-dark img { border-color: var(--neon-dark-hairline); }
.apl-wide-crop img { aspect-ratio: 21 / 9; object-fit: cover; object-position: center 60%; }

/* ---------- CARTES (fond clair par défaut) ---------- */
.apl-card {
    background: var(--neon-light-card);
    border: 1px solid var(--neon-light-hairline);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(26,36,47,.06);
}
.apl-card h3 { font-size: 15px; color: var(--neon-accent); margin: 0 0 8px; }
.apl-card .apl-card-big { font-size: 22px; color: var(--neon-light-text); margin: 0 0 10px; }
.apl-card p { font-size: 13px; line-height: 1.6; color: var(--neon-light-text-dim); margin: 0; }
.apl-card-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--neon-accent); text-decoration: none; }
.apl-card-link:hover { text-decoration: underline; }

/* variante sombre */
.apl-card-dark {
    background: rgba(255,255,255,.04);
    border-color: var(--neon-dark-hairline);
    box-shadow: none;
}
.apl-card-dark .apl-card-big { color: var(--neon-dark-text); }
.apl-card-dark p { color: var(--neon-dark-text-dim); font-size: 13.5px; line-height: 1.65; }

/* pastille */
.apl-tag {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neon-accent);
    background: rgba(89,148,212,.12);
    border-radius: 20px;
    padding: 3px 12px;
    margin: 0 0 12px;
}

/* liste de caractéristiques dans une carte */
.apl-spec { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--neon-light-hairline); }
.apl-spec li { position: relative; padding: 3px 0 3px 18px; font-size: 12.5px; line-height: 1.55; color: var(--neon-light-text-dim); }
.apl-spec li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--neon-accent); }

/* chiffre clé */
.apl-stat {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--neon-dark-hairline);
    font-size: 14px;
    font-weight: 600;
    color: var(--neon-dark-text);
}
.apl-stat-light { border-top-color: var(--neon-light-hairline); color: var(--neon-light-text); }

.apl-footnote { margin: 20px 0 0; font-size: 12px; line-height: 1.55; color: var(--neon-light-text-dim); }
.apl-footnote-dark { color: var(--neon-dark-text-dim); }

/* ---------- LES + MAGIC HOUR ---------- */
.apl-plus-card { padding: 26px; }
.apl-plus-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--neon-accent);
    margin-bottom: 10px;
}
.apl-plus-card h3 { font-size: 17px; color: var(--neon-light-text); }

/* ---------- BLOC 25 GbE ---------- */
.apl-flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: aplflow; }
.apl-flow-step {
    position: relative;
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 18px;
    background: var(--neon-light-card);
    border: 1px solid var(--neon-light-hairline);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(26,36,47,.06);
    margin-right: 28px;
}
.apl-flow-step:last-child { margin-right: 0; }
.apl-flow-step:not(:last-child)::after {
    content: "\2192";
    position: absolute; right: -24px; top: 50%; transform: translateY(-50%);
    font-size: 18px; color: var(--neon-accent);
}
.apl-flow-k { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--neon-accent); }
.apl-flow-v { font-size: 14px; line-height: 1.4; color: var(--neon-light-text); font-weight: 600; }

.apl-product { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.apl-product > img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 820; object-fit: cover; border-bottom: 1px solid var(--neon-light-hairline); }
.apl-product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.apl-product-body .apl-tag { align-self: flex-start; }
.apl-product-ref { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .03em; color: var(--neon-accent); margin: 0 0 12px; }

.apl-note {
    margin-top: 28px; padding: 16px 20px;
    background: rgba(89,148,212,.08); border-radius: 10px;
    font-size: 13.5px; line-height: 1.6; color: var(--neon-light-text-dim);
}
.apl-note strong { color: var(--neon-light-text); }
.apl-note a { color: var(--neon-accent); font-weight: 600; }

/* variante sombre des cartes « Les + Magic Hour » */
.apl-card-dark.apl-plus-card h3 { color: var(--neon-dark-text); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
    .apl-figs { grid-template-columns: 1fr; }
    .apl-flow { grid-template-columns: 1fr; gap: 24px; }
    .apl-flow-step { margin-right: 0; }
    .apl-flow-step:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -22px; transform: translateX(-50%); }
    .apl-table td:first-child { width: auto; }
}
