/* ==========================================================================
   PAGE — STRUCTURE (RI / Sàrl / SA) · cree-ton-entreprise.ch
   Chargé via is_page_template('page-templates/template-structure.php').
   S'appuie sur tokens.css + components.css.
   ========================================================================== */

/* .struct-hero est défini dans components.css (partagé structures/tarifs). */

/* ----- EN BREF (faits clés) ----- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.fact {
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.fact__label { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--text-muted); }
.fact__value { font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--text-strong); line-height: var(--lh-snug); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ----- AVANTAGES / POINTS D'ATTENTION ----- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.pros-cons__title { font-size: var(--fs-h3); margin-bottom: var(--space-5); display: flex; align-items: center; gap: var(--space-3); }
.pros-cons__title::before {
  content: ""; width: 28px; height: 28px; border-radius: var(--radius-pill); flex-shrink: 0;
  background-position: center; background-repeat: no-repeat; background-size: 16px;
}
.pros-cons__title--plus::before {
  background-color: var(--blue-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231441F5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E");
}
.pros-cons__title--minus::before {
  background-color: var(--red-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C71F3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5M12 17h.01'/%3E%3C/svg%3E");
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.checklist li { position: relative; padding-left: var(--space-6); color: var(--text-body); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px;
  background-position: center; background-repeat: no-repeat; background-size: 18px;
}
.checklist--plus li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231441F5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E");
}
.checklist--minus li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C71F3D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E");
}
@media (max-width: 760px) { .pros-cons { grid-template-columns: 1fr; gap: var(--space-7); } }

/* ----- COMPARER (liens vers les autres structures) ----- */
.compare-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.compare-link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: var(--surface-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6); font-weight: var(--fw-bold); color: var(--text-strong);
  box-shadow: var(--shadow-sm); transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.compare-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.compare-link svg { color: var(--blue-electric); }
@media (max-width: 560px) { .compare-links { grid-template-columns: 1fr; } }
