/* ================================================================
   REPÈRE v5 — SYSTÈME D'ICÔNES & COMPOSANTS UI PREMIUM
   Inspiré : Linear, Vercel, Framer, Raycast, Liveblocks
   ================================================================ */

/* --- ICÔNES WRAPPER --- */
.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ico svg { display: block; }

/* Tailles */
.ico-xs  { width: 14px; height: 14px; }
.ico-sm  { width: 18px; height: 18px; }
.ico-md  { width: 22px; height: 22px; }
.ico-lg  { width: 28px; height: 28px; }
.ico-xl  { width: 36px; height: 36px; }
.ico-2xl { width: 48px; height: 48px; }
.ico-3xl { width: 64px; height: 64px; }

/* Avec fond */
.ico-box {
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ico-box-sm  { width: 36px; height: 36px; border-radius: 10px; }
.ico-box-md  { width: 48px; height: 48px; border-radius: 14px; }
.ico-box-lg  { width: 60px; height: 60px; border-radius: 18px; }
.ico-box-xl  { width: 80px; height: 80px; border-radius: 24px; }

/* Couleurs des boîtes */
.ico-rouge   { background: rgba(21,87,192,0.12); color: #1557C0; }
.ico-vert    { background: rgba(16,185,129,0.1);  color: #10b981; }
.ico-violet  { background: rgba(139,92,246,0.1);  color: #8b5cf6; }
.ico-amber   { background: rgba(245,158,11,0.1);  color: #f59e0b; }
.ico-bleu    { background: rgba(21,87,192,0.1);   color: var(--rouge); }
.ico-white   { background: rgba(255,255,255,0.12); color: #fff; }

body.dark .ico-rouge  { background: rgba(21,87,192,0.15); }
body.dark .ico-vert   { background: rgba(16,185,129,0.12); }
body.dark .ico-violet { background: rgba(139,92,246,0.12); }
body.dark .ico-amber  { background: rgba(245,158,11,0.12); }

/* --- BADGE ICÔNE CIRCULAIRE --- */
.ico-circle {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ico-circle-sm { width: 34px; height: 34px; }
.ico-circle-md { width: 46px; height: 46px; }
.ico-circle-lg { width: 60px; height: 60px; }

/* --- ÉTOILES SVG --- */
.stars-row { display: flex; gap: 2px; align-items: center; }
.stars-row svg { color: #f59e0b; }

/* --- CHECK LIST MODERNE --- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.88rem; color: var(--text-sub); line-height: 1.6;
}
.check-ico {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(21,87,192,0.1); color: #1557C0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
body.dark .check-ico { background: rgba(21,87,192,0.15); }

/* --- STAT BOX MODERNE --- */
.stat-inline {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
}
.stat-inline-n {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-inline-l {
  font-size: 0.68rem; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* --- INFO CARD MODERNE --- */
.info-card-v2 {
  background: var(--card-bg); border-radius: 18px;
  border: 1px solid var(--border); padding: 22px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform 0.25s, box-shadow 0.25s;
}
.info-card-v2:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.info-card-v2 h4 { font-size: 0.88rem; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.info-card-v2 p  { font-size: 0.82rem; color: var(--text-sub); line-height: 1.55; }
.info-card-v2 a  { color: var(--rouge); text-decoration: none; font-weight: 500; }

/* --- CRITERIA ITEM V2 --- */
.criteria-item-v2 {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card-bg); border-radius: 16px; padding: 20px;
  border: 1px solid var(--border); transition: transform 0.2s, border-color 0.2s;
}
.criteria-item-v2:hover { transform: translateX(4px); border-color: var(--rouge); }
.criteria-item-v2 h4 { font-size: 0.88rem; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.criteria-item-v2 p  { font-size: 0.8rem; color: var(--text-sub); line-height: 1.55; }

/* --- PARTNER CARD V2 --- */
.partner-card-v2 {
  background: var(--card-bg); border-radius: 16px;
  border: 1px solid var(--border); padding: 28px 20px;
  text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.partner-card-v2:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
.partner-card-v2 .p-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg-section); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}

/* --- RATING BOX V2 --- */
.rating-box-v2 {
  text-align: center; padding: 28px 16px;
  background: var(--card-bg); border-radius: 20px;
  border: 1px solid var(--border); transition: transform 0.25s;
}
.rating-box-v2:hover { transform: translateY(-4px); }
.rating-box-v2 .plat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}

/* --- QUOTE CARD V2 --- */
.temo-quote-ico {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  color: var(--rouge); opacity: 0.5;
}
.temo-card.highlight .temo-quote-ico { color: rgba(255,255,255,0.3); opacity: 1; }

/* --- FAQ ARROW SVG --- */
.faq-arrow-svg {
  width: 28px; height: 28px;
  background: var(--bg-section); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sub); flex-shrink: 0;
  transition: transform 0.3s, background 0.2s, color 0.2s;
}
.faq-item.open .faq-arrow-svg {
  transform: rotate(180deg);
  background: var(--rouge);
  color: #fff;
}

/* --- SECTION LABEL AVEC ICÔNE --- */
.section-label-ico {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--rouge); margin-bottom: 14px;
}
.section-label-ico svg { opacity: 0.8; }

/* --- OVERRIDES ROUGE pour les pages internes --- */
.feat-check {
  width: 22px; height: 22px;
  background: rgba(21,87,192,0.1); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #1557C0; flex-shrink: 0; margin-top: 1px;
}
body.dark .feat-check { background: rgba(21,87,192,0.15); }

.tl-dot { background: var(--rouge) !important; box-shadow: 0 0 0 2px var(--rouge) !important; }
.tl-year { color: var(--rouge) !important; }
.timeline::before { background: linear-gradient(to bottom, var(--rouge), rgba(21,87,192,0.1)) !important; }

.faq-cat-title { color: var(--rouge) !important; border-bottom-color: rgba(21,87,192,0.2) !important; }
body.dark .faq-cat-title { color: var(--rouge) !important; }
