/* Start custom CSS for html, class: .elementor-element-568ab55 *//* =================================================================
   POWERLAB — Texte bas de page catégorie
   Feuille de style à coller dans le champ "CSS personnalisé"
   de Creative Elements. Tout est scopé sous .pl-guide :
   aucune règle ne fuit vers le thème PrestaShop.
   Version CLAIRE : fond blanc, typo lisible, accent rouge Powerlab,
   typo data/monospace pour les specs et les prix.
   ================================================================= */

.pl-guide {
  /* ---- Palette ---- */
  --pl-bg:        #ffffff;
  --pl-surface:   #f7f8fa;
  --pl-surface-2: #fbfcfd;
  --pl-hairline:  #e4e7ec;
  --pl-ink:       #2b2f38;
  --pl-strong:    #14161c;
  --pl-muted:     #6a7080;
  --pl-red:       #e21b27;
  --pl-red-deep:  #b3121c;
  --pl-red-soft:  #fff1f2;

  /* ---- Typo ---- */
  --pl-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --pl-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, monospace;

  --pl-radius: 14px;

  position: relative;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 40px auto;
  padding: clamp(20px, 4vw, 52px);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(226,27,39,.04), transparent 55%),
    var(--pl-bg);
  border: 1px solid var(--pl-hairline);
  border-radius: var(--pl-radius);
  color: var(--pl-ink);
  font-family: var(--pl-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
}

.pl-guide *,
.pl-guide *::before,
.pl-guide *::after { box-sizing: border-box; }

/* ---------------- Sections ---------------- */
.pl-guide .pl-section { margin: 0 0 56px; }
.pl-guide .pl-section:last-child { margin-bottom: 0; }

/* ---------------- Titres H2 ---------------- */
.pl-guide h2 {
  position: relative;
  margin: 0 0 28px;
  padding: 0 0 18px 22px;
  font-family: var(--pl-sans);
  font-size: clamp(22px, 2.6vw, 31px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--pl-strong);
  border-bottom: 1px solid var(--pl-hairline);
}
.pl-guide h2 strong { font-weight: 800; color: inherit; }
/* barre-signature rouge à gauche du titre */
.pl-guide h2::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 5px; height: calc(100% - 26px);
  min-height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--pl-red), var(--pl-red-deep));
}

/* ---------------- Titres H3 ---------------- */
.pl-guide h3 {
  margin: 34px 0 12px;
  font-family: var(--pl-sans);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--pl-strong);
}
.pl-guide h3 em { font-style: normal; color: inherit; }

/* ---------------- Paragraphes ---------------- */
.pl-guide p { margin: 0 0 16px; }
.pl-guide p:last-child { margin-bottom: 0; }
.pl-guide strong { color: var(--pl-strong); font-weight: 700; }

/* "em" hors titres = mise en valeur des specs / modèles / prix */
.pl-guide p em,
.pl-guide li em,
.pl-guide td em {
  font-style: normal;
  font-family: var(--pl-mono);
  font-size: .92em;
  color: var(--pl-red-deep);
  letter-spacing: -.01em;
}

/* ---------------- Liens ---------------- */
.pl-guide a {
  color: var(--pl-red);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(226,27,39,.3);
  transition: color .18s ease, border-color .18s ease;
}
.pl-guide a:hover {
  color: var(--pl-red-deep);
  border-bottom-color: var(--pl-red-deep);
}

/* ---------------- Listes ---------------- */
.pl-guide ul { list-style: none; margin: 0 0 16px; padding: 0; }
.pl-guide ul li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 26px;
}
.pl-guide ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 8px; height: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--pl-red), var(--pl-red-deep));
  border-radius: 1px;
}

/* Liste ordonnée "étapes d'upgrade" : numéros en pastille rouge */
.pl-guide ol.pl-steps {
  list-style: none;
  counter-reset: pl-step;
  margin: 0 0 16px; padding: 0;
}
.pl-guide ol.pl-steps li {
  position: relative;
  counter-increment: pl-step;
  margin: 0 0 14px;
  padding-left: 50px;
  min-height: 32px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
.pl-guide ol.pl-steps li::before {
  content: counter(pl-step);
  position: absolute;
  left: 0; top: -2px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-family: var(--pl-mono);
  font-size: 15px; font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, var(--pl-red), var(--pl-red-deep));
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(226,27,39,.22);
}

/* ---------------- Encadré "Conseil Pro" ---------------- */
.pl-guide .pl-tip {
  position: relative;
  margin: 22px 0;
  padding: 18px 20px 18px 22px;
  background: var(--pl-red-soft);
  border: 1px solid rgba(226,27,39,.18);
  border-left: 4px solid var(--pl-red);
  border-radius: 10px;
}
.pl-guide .pl-tip strong:first-child { color: var(--pl-red-deep); }

/* ---------------- Tableaux (commun) ---------------- */
.pl-guide .pl-table-wrap {
  overflow-x: auto;
  margin: 0 0 8px;
  border: 1px solid var(--pl-hairline);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.pl-guide .pl-table {
  width: 100%;
  table-layout: fixed;          /* colonnes réparties sur 100% : plus de débordement */
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
  background: var(--pl-bg);
}
.pl-guide .pl-table thead th {
  padding: 13px 14px;
  font-family: var(--pl-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  background: linear-gradient(180deg, var(--pl-red), var(--pl-red-deep));
  vertical-align: middle;
  white-space: normal;          /* l'en-tête passe à la ligne au lieu de forcer la largeur */
  word-break: normal;
  overflow-wrap: break-word;
}
.pl-guide .pl-table tbody td {
  padding: 15px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--pl-hairline);
  color: var(--pl-ink);
  overflow-wrap: break-word;    /* coupe les mots trop longs si besoin */
  word-break: normal;
  hyphens: auto;
}

/* Répartition des largeurs de colonnes (table-layout: fixed) */
.pl-guide .pl-table--matrix th:nth-child(1)  { width: 15%; }
.pl-guide .pl-table--matrix th:nth-child(2)  { width: 16%; }
.pl-guide .pl-table--matrix th:nth-child(3)  { width: 15%; }
.pl-guide .pl-table--matrix th:nth-child(4)  { width: 17%; }
.pl-guide .pl-table--matrix th:nth-child(5)  { width: 37%; }
.pl-guide .pl-table--versus th:nth-child(1)  { width: 25%; }
.pl-guide .pl-table--versus th:nth-child(2)  { width: 37.5%; }
.pl-guide .pl-table--versus th:nth-child(3)  { width: 37.5%; }
.pl-guide .pl-table--cooling th:nth-child(1) { width: 20%; }
.pl-guide .pl-table--cooling th:nth-child(2) { width: 30%; }
.pl-guide .pl-table--cooling th:nth-child(3) { width: 25%; }
.pl-guide .pl-table--cooling th:nth-child(4) { width: 25%; }
.pl-guide .pl-table tbody tr:nth-child(even) td { background: var(--pl-surface); }
.pl-guide .pl-table tbody tr:last-child td { border-bottom: none; }
.pl-guide .pl-table tbody tr { transition: background .18s ease; }
.pl-guide .pl-table tbody tr:hover td { background: var(--pl-red-soft); }
.pl-guide .pl-table td p { margin: 0 0 4px; }
.pl-guide .pl-table td p:last-child { margin: 0; }
.pl-guide .pl-table td strong { color: var(--pl-strong); }

/* En-tête de ligne (1re colonne des tableaux versus / cooling) */
.pl-guide .pl-table .pl-rowhead {
  font-weight: 700;
  color: var(--pl-strong);
  background: var(--pl-surface);
}

/* ---------------- Matrice de décision (tiers / prix) ---------------- */
.pl-guide .pl-table--matrix .pl-cell-tier {
  border-left: 3px solid transparent;
}
.pl-guide .pl-table--matrix .pl-price { white-space: nowrap; }
.pl-guide .pl-table--matrix tbody tr:hover .pl-cell-tier { border-left-color: var(--pl-red); }
.pl-guide .pl-price {
  display: block;
  font-family: var(--pl-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--pl-strong);
  letter-spacing: -.02em;
}
.pl-guide .pl-tierlabel {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--pl-red);
}

/* ---------------- FAQ (accordéon) ---------------- */
.pl-guide .pl-faq { display: grid; gap: 12px; }
.pl-guide details.pl-faq-item {
  padding: 0;
  background: var(--pl-surface-2);
  border: 1px solid var(--pl-hairline);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pl-guide details.pl-faq-item:hover { border-color: rgba(226,27,39,.32); }
.pl-guide details.pl-faq-item[open] {
  border-color: rgba(226,27,39,.4);
  box-shadow: 0 8px 24px rgba(20,22,28,.06);
}

/* En-tête cliquable */
.pl-guide .pl-faq-item summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 20px;
  cursor: pointer;
  user-select: none;
}
.pl-guide .pl-faq-item summary::-webkit-details-marker { display: none; }

.pl-guide .pl-faq-item summary h3 {
  position: relative;
  flex: 1;
  margin: 0;
  padding-left: 34px;
  font-size: clamp(15.5px, 1.4vw, 17px);
}
.pl-guide .pl-faq-item summary h3::before {
  content: "?";
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  font-family: var(--pl-mono);
  font-size: 14px; font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, var(--pl-red), var(--pl-red-deep));
  border-radius: 7px;
}

/* Bouton +/− à droite */
.pl-guide .pl-faq-item summary::after {
  content: "+";
  flex: none;
  width: 26px; height: 26px;
  margin-top: 1px;
  display: grid; place-items: center;
  font-family: var(--pl-mono);
  font-size: 19px; font-weight: 700; line-height: 1;
  color: var(--pl-red);
  border: 1px solid rgba(226,27,39,.4);
  border-radius: 7px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pl-guide details.pl-faq-item[open] summary::after {
  content: "\2212"; /* signe moins */
  color: #fff;
  background: linear-gradient(160deg, var(--pl-red), var(--pl-red-deep));
  border-color: transparent;
}

/* Réponse */
.pl-guide .pl-faq-item > p {
  margin: 0;
  padding: 0 20px 20px 54px;
  color: var(--pl-ink);
}

/* ---------------- Sélection ---------------- */
.pl-guide ::selection { background: rgba(226,27,39,.18); color: var(--pl-strong); }

/* ---------------- Responsive ---------------- */
@media (max-width: 600px) {
  .pl-guide { font-size: 15px; line-height: 1.7; border-radius: 12px; }
  .pl-guide h2 { padding-left: 16px; }
  .pl-guide .pl-faq-item { padding: 16px; }
}

/* ---------------- Accessibilité ---------------- */
@media (prefers-reduced-motion: reduce) {
  .pl-guide * { transition: none !important; }
}

/* =================================================================
   TABLEAUX RESPONSIVE — affichage "cartes" sur écran étroit
   Chaque ligne devient un bloc lisible d'un coup (plus de slide).
   Les intitulés de colonnes sont réinjectés en CSS (HTML inchangé).
   ================================================================= */

/* ---- Matrice (5 colonnes) : bascule en cartes sous 820px ---- */
@media (max-width: 820px) {
  .pl-guide .pl-table-wrap:has(.pl-table--matrix) {
    overflow: visible; border: none; border-radius: 0;
  }
  .pl-guide .pl-table--matrix thead { display: none; }
  .pl-guide .pl-table--matrix tbody,
  .pl-guide .pl-table--matrix tr,
  .pl-guide .pl-table--matrix td { display: block; width: 100%; }
  .pl-guide .pl-table--matrix tr {
    margin: 0 0 16px;
    border: 1px solid var(--pl-hairline);
    border-radius: 12px;
    overflow: hidden;
    background: var(--pl-surface-2);
  }
  .pl-guide .pl-table--matrix td {
    background: transparent;
    border: none;
    border-top: 1px solid var(--pl-hairline);
    padding: 13px 16px;
  }
  .pl-guide .pl-table--matrix .pl-cell-tier {
    border-top: none; border-left: none;
    white-space: normal;
    background: var(--pl-red-soft);
    padding: 15px 16px;
  }
  .pl-guide .pl-table--matrix td:not(.pl-cell-tier)::before {
    display: block;
    margin-bottom: 5px;
    font-family: var(--pl-mono);
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--pl-red);
  }
  .pl-guide .pl-table--matrix td:nth-child(2)::before { content: "Architecture (CPU + RAM)"; }
  .pl-guide .pl-table--matrix td:nth-child(3)::before { content: "Moteur graphique (GPU)"; }
  .pl-guide .pl-table--matrix td:nth-child(4)::before { content: "Résolution & Framerate"; }
  .pl-guide .pl-table--matrix td:nth-child(5)::before { content: "Arbitrage technique"; }
}

/* ---- Comparatifs (3-4 colonnes) : bascule en cartes sous 640px ---- */
@media (max-width: 640px) {
  .pl-guide .pl-table-wrap:has(.pl-table--versus),
  .pl-guide .pl-table-wrap:has(.pl-table--cooling) {
    overflow: visible; border: none; border-radius: 0;
  }
  .pl-guide .pl-table--versus thead,
  .pl-guide .pl-table--cooling thead { display: none; }
  .pl-guide .pl-table--versus tbody,
  .pl-guide .pl-table--versus tr,
  .pl-guide .pl-table--versus td,
  .pl-guide .pl-table--cooling tbody,
  .pl-guide .pl-table--cooling tr,
  .pl-guide .pl-table--cooling td { display: block; width: 100%; }
  .pl-guide .pl-table--versus tr,
  .pl-guide .pl-table--cooling tr {
    margin: 0 0 16px;
    border: 1px solid var(--pl-hairline);
    border-radius: 12px;
    overflow: hidden;
    background: var(--pl-surface-2);
  }
  .pl-guide .pl-table--versus td,
  .pl-guide .pl-table--cooling td {
    background: transparent;
    border: none;
    border-top: 1px solid var(--pl-hairline);
    padding: 13px 16px;
  }
  .pl-guide .pl-table--versus .pl-rowhead,
  .pl-guide .pl-table--cooling .pl-rowhead {
    border-top: none;
    background: var(--pl-red-soft);
    padding: 15px 16px;
    font-size: 15px;
  }
  .pl-guide .pl-table--versus td:not(.pl-rowhead)::before,
  .pl-guide .pl-table--cooling td:not(.pl-rowhead)::before {
    display: block;
    margin-bottom: 5px;
    font-family: var(--pl-mono);
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--pl-red);
  }
  .pl-guide .pl-table--versus td:nth-child(2)::before { content: "AMD Ryzen (Zen)"; }
  .pl-guide .pl-table--versus td:nth-child(3)::before { content: "Intel Core Ultra"; }
  .pl-guide .pl-table--cooling td:nth-child(2)::before { content: "Avantages"; }
  .pl-guide .pl-table--cooling td:nth-child(3)::before { content: "Inconvénients"; }
  .pl-guide .pl-table--cooling td:nth-child(4)::before { content: "Idéal pour"; }
}/* End custom CSS */