/* ============================================================
   RADIO GROUP — PREMIUM GOLD & ALIGNÉ
   - Radio + texte sur une seule ligne
   - Texte long fluide (wrap contrôlé)
   - Mobile & low-perf safe
============================================================ */

.radio-group{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

/* ============================================================
   CARTE RADIO
============================================================ */

.radio-group label{
  position: relative;

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  font-family: "Inter";

  padding: 16px 20px;
  border-radius: 12px;

  background:
    radial-gradient(800px 240px at 50% -12%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(58,34,20,0.50), rgba(28,15,7,0.66));

  border: 1px solid rgba(230,214,158,0.16);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 26px rgba(0,0,0,0.22);

  cursor: pointer;
  user-select: none;

  transition:
    border-color .18s ease,
    background .20s ease,
    box-shadow .20s ease;
}

/* Hover desktop uniquement */
@media (hover:hover){
  .radio-group label:hover{
    border-color: rgba(230,214,158,0.28);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 16px 32px rgba(0,0,0,0.30);
  }
}

/* ============================================================
   TEXTE
============================================================ */

.radio-group label span{
  display: block;
  line-height: 1.45;
}

/* ============================================================
   BULLE RADIO
============================================================ */

.radio-group input{
  appearance: none;

  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;

  border-radius: 50%;
  border: 2px solid rgba(230,214,158,0.65);
  background: rgba(0,0,0,0.22);

  display: grid;
  place-items: center;

  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

/* ============================================================
   POINT INTERNE
============================================================ */

.radio-group input::before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: rgba(230,214,158,0.95);
  box-shadow: 0 0 6px rgba(230,214,158,0.55);

  transform: scale(0);
  transition: transform .16s ease;
}

/* ============================================================
   ÉTAT COCHÉ
============================================================ */

.radio-group input:checked{
  background:
    linear-gradient(180deg, rgba(230,214,158,1), rgba(190,165,90,1));

  border-color: rgba(255,255,255,0.85);
}

.radio-group input:checked::before{
  transform: scale(1);
}

.radio-group label:has(input:checked){
  background:
    linear-gradient(180deg, rgba(72,42,24,0.72), rgba(36,20,10,0.90));

  border-color: rgba(230,214,158,0.45);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 20px 34px rgba(0,0,0,0.36),
    0 0 0 3px rgba(230,214,158,0.12);
}

/* ============================================================
   DESCRIPTION OPTIONNELLE
============================================================ */

.radio-desc{
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.70);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ============================================================
   MODE MOBILE / LOW PERF (Huawei-friendly)
============================================================ */

@media (hover:none) and (pointer:coarse){
  .radio-group label{
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  }

  .radio-group input{
    transition: none;
  }
}
