/* Section tarifs « Adapté pour chaque artisan » (accueil) :
   un grand bloc bleu marine, les deux formules à choisir à gauche,
   le détail de la formule choisie et le bouton à droite. */
.ll-tarif {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 3rem;
  padding: 3rem 3.25rem;
  border: 1px solid #ffffff24;
  /* même arrondi que le bloc d'appel en dégradé juste en dessous */
  border-radius: var(--_radius---radius-5xl);
  background-color: #1f4e79;
  background-image: radial-gradient(circle at 20% -30%, #9ad6ff73, #1f4e7900 55%);
  color: #fff;
  font-family: var(--font-family--text);
  box-shadow: 0 24px 50px -30px #0b1f33b3;
}

/* ---- les cases à choisir ---- */
.ll-tarif-offres {
  display: flex;
  flex-flow: column;
  gap: 1rem;
}

.ll-tarif-offre {
  display: flex;
  flex-flow: column;
  width: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid #ffffff38;
  border-radius: 1rem;
  background-color: #ffffff12;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease;
}

.ll-tarif-offre:hover {
  border-color: #ffffff80;
  background-color: #ffffff1f;
}

.ll-tarif-offre:focus-visible {
  outline: 2px solid #ffd580;
  outline-offset: 3px;
}

.ll-tarif-offre.est-choisie {
  border-color: #ff6b35;
  background-color: #ff6b3526;
  background-image: linear-gradient(120deg, #ff6b3533, #ff6b350d);
  cursor: default;
}

.ll-tarif-offre-haut {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ll-tarif-offre-nom {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: var(--font-weight--medium);
}

/* le carré en dégradé de l'identité visuelle (celui de l'ancienne carte) sert de repère :
   en couleurs sur la formule choisie, éteint sur l'autre */
.ll-tarif-puce {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .8rem;
  background-image: radial-gradient(circle, #ff6b35, #ffd580 35%, #b3e2ff 65%, #1f4e79);
  box-shadow: inset 0 -1.5px 1.2px #d7d7d7, 0 4px 10px -4px #0b1f3399;
  opacity: .45;
  filter: saturate(.35);
  transition: opacity .25s ease, filter .25s ease;
}

.ll-tarif-offre.est-choisie .ll-tarif-puce {
  opacity: 1;
  filter: none;
}

.ll-tarif-offre-prix {
  flex: none;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: var(--font-weight--semibold);
  white-space: nowrap;
}

.ll-tarif-offre-prix span {
  margin-left: .2rem;
  font-size: 1.05rem;
  font-weight: var(--font-weight--medium);
  color: #ffffffcc;
}

/* la description et les trois petites coches : visibles seulement sur la case choisie */
.ll-tarif-offre-plus {
  display: flex;
  flex-flow: column;
  gap: .75rem;
  padding-top: .85rem;
}

.w-mod-js .ll-tarif-offre:not(.est-choisie) .ll-tarif-offre-plus {
  display: none;
}

.ll-tarif-offre-texte {
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffffd9;
}

.ll-tarif-accent {
  color: #ffd580;
  font-weight: var(--font-weight--medium);
}

.ll-tarif-offre-mini {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .9rem;
  line-height: 1.3;
  color: #ffffffe6;
}

.ll-tarif-offre-mini span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.ll-tarif-offre-mini svg {
  width: .9rem;
  height: .9rem;
}

/* ---- le détail de la formule choisie ---- */
.ll-tarif-detail {
  display: flex;
  flex-flow: column;
  gap: 1rem;
}

.ll-tarif-detail + .ll-tarif-detail {
  margin-top: 2.5rem;
}

.w-mod-js .ll-tarif-detail:not(.est-choisie) {
  display: none;
}

.w-mod-js .ll-tarif-detail + .ll-tarif-detail {
  margin-top: 0;
}

.ll-tarif-detail.est-choisie {
  animation: ll-tarif-arrive .45s cubic-bezier(.16, 1, .3, 1);
}

@keyframes ll-tarif-arrive {
  from { opacity: 0; transform: translateY(.75rem); }
}

.ll-tarif-detail-titre {
  font-size: 1rem;
  font-weight: var(--font-weight--medium);
  color: #ffffffb3;
}

.ll-tarif-liste {
  display: flex;
  flex-flow: column;
  gap: .6rem;
  margin: 0 0 .6rem;
  padding: 0;
  list-style: none;
}

.ll-tarif-liste li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #fffffff2;
}

.ll-tarif-liste svg {
  flex: none;
  margin-top: .2rem;
  color: #fff;
}

.ll-tarif .ll-tarif-bouton {
  display: flex;
  width: 100%;
}

.ll-tarif .ll-tarif-bouton .button-inner {
  width: 100%;
  justify-content: center;
}

@media screen and (max-width: 991px) {
  .ll-tarif {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding: 2rem;
  }
}

@media screen and (max-width: 479px) {
  .ll-tarif {
    padding: 2.75rem 1.25rem;
  }

  .ll-tarif-puce {
    width: 2rem;
    height: 2rem;
    border-radius: .65rem;
  }

  .ll-tarif-offre {
    padding: 1.1rem;
  }

  .ll-tarif-offre-nom {
    font-size: 1.05rem;
  }

  .ll-tarif-offre-prix {
    font-size: 1.15rem;
  }

  .ll-tarif-offre-prix span {
    font-size: .9rem;
  }

  .ll-tarif-liste li {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-tarif-detail.est-choisie {
    animation: none;
  }
}
