/* ══════════════════════════════════════════════════════
   components.css – Composants réutilisables :
   icard, s-head, wc-card (WinCalls), acard (analyse)
   ══════════════════════════════════════════════════════ */

/* ── Info card ──────────────────────────────────────── */
.icard {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--sh);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--pink);
}
.icard-h {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}
.icard-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--pink-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  flex-shrink: 0;
}
.icard-ico svg {
  width: 20px;
  height: 20px;
}
.icard h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.icard p {
  font-size: 0.93rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ── Titre de section ───────────────────────────────── */
.s-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.s-head-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--pink-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  flex-shrink: 0;
}
.s-head-ico svg {
  width: 18px;
  height: 18px;
}
.s-head h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

/* ── WinCalls ───────────────────────────────────────── */
.wc-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.8rem;
  box-shadow: var(--sh);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.wc-card::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(231, 39, 117, 0.07) 0%,
    transparent 70%
  );
}
.wc-in {
  position: relative;
  z-index: 1;
}
.wc-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.wc-logo {
  width: 56px;
  height: 56px;
  background: var(--pink-lt);
  border-radius: 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
}
.wc-logo svg {
  width: 29px;
  height: 29px;
}
.wc-badge {
  display: inline-block;
  background: var(--pink-lt);
  color: var(--pink);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.32rem;
}
.wc-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.wc-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}
.wc-feats {
  list-style: none;
  margin-bottom: 1.3rem;
}
.wc-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}
.wf-ico {
  width: 20px;
  height: 20px;
  background: var(--pink-lt);
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  margin-top: 0.1rem;
}
.wf-ico svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.8;
}
.wc-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-wc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  padding: 0.95rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.97rem;
  box-shadow: 0 5px 18px rgba(231, 39, 117, 0.32);
  transition: all 0.2s;
}
.btn-wc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231, 39, 117, 0.4);
}
.btn-wc svg {
  width: 18px;
  height: 18px;
}
.btn-wc-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gray-lt);
  color: var(--text-sub);
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-wc-alt:hover {
  background: var(--pink-lt);
  color: var(--pink);
  border-color: rgba(231, 39, 117, 0.3);
}
.btn-wc-alt svg {
  width: 16px;
  height: 16px;
}
.wc-note {
  font-size: 0.73rem;
  color: var(--gray);
  margin-top: 0.75rem;
}

/* ── Page RGPD ───────────────────────────────────────── */
.rgpd-updated {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.rgpd-section h3 {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 0.75rem;
}
.rgpd-section p {
  font-size: 0.91rem;
  color: var(--text-sub);
  line-height: 1.75;
}
.rgpd-section a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rgpd-section code {
  background: var(--gray-lt);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.83em;
  color: var(--text);
  font-family: monospace;
}
/* Lien RGPD sur la page d'accueil (mobile) */
.rgpd-home-link {
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}
.btn-rgpd-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 6px;
  transition: color 0.2s;
}
.btn-rgpd-link:hover {
  color: var(--pink);
}
.btn-rgpd-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── Carte d'analyse (acard) ────────────────────────── */
.acard {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.8rem;
  box-shadow: var(--sh);
  margin-bottom: 1.2rem;
  border: 1px solid var(--border);
}
.acard-h {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.acard-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pink-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  flex-shrink: 0;
}
.acard-ico svg {
  width: 23px;
  height: 23px;
}
.acard h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.acard > p {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
