

.prix { gap: clamp(20px, 3vw, 48px); }

.prix__tete { display: flex; flex-direction: column; gap: 14px; }
.prix__mois {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vert);
}
.prix__titre { font-size: clamp(36px, calc(1.5rem + 3.3vw), 72px); }

.devise { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.devise__libelle, .formules__libelle, .activites__libelle { font-size: 13px; font-weight: 700; color: var(--encre2); }
.bascule {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border-radius: 999px;
  background: var(--sable);
  border: 1px solid var(--ligne);
}
.bascule--devise { width: 176px; flex-shrink: 0; background: var(--surface); }
.bascule__pastille {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--encre);
  transition: translate .5s cubic-bezier(.34, 1.3, .5, 1);
}
.bascule--droite .bascule__pastille { translate: 100% 0; }
.bascule button {
  position: relative;
  min-height: 40px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  color: var(--encre2);
  cursor: pointer;
  white-space: nowrap;
  transition: color .3s;
}
.bascule button[aria-checked="true"] { color: var(--fond); }

.offre {
  border-radius: 26px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--ligne);
  color: var(--encre);
  min-width: 0;
}
.offre--mise { background: #0C2C23; border-color: #0C2C23; color: #F3EDE0; box-shadow: 0 26px 50px rgba(12, 44, 35, .3); }
.offre__nom { font-size: 16px; font-weight: 800; color: var(--vert); }
.offre--mise .offre__nom { color: var(--menthe); }
.offre__montant { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.offre__chiffre {
  font-family: var(--display);
  font-size: clamp(40px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}
.offre--appli .offre__chiffre { font-size: clamp(42px, 3.9vw, 56px); }
.offre__unite { font-size: 16px; color: var(--attenue); }
.offre--mise .offre__unite { font-weight: 700; color: var(--menthe); }
.offre__detail { font-size: 15px; line-height: 1.55; color: var(--encre2); }
.offre--mise .offre__detail { font-size: 15.5px; color: rgba(243, 237, 224, .86); }

.offre__points { display: flex; flex-direction: column; gap: 10px; }
.offre__points[hidden] { display: none; }

.offre__plus summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ligne);
  font-size: 13.5px;
  font-weight: 750;
  color: var(--vert);
  cursor: pointer;
}
.offre__plus summary::-webkit-details-marker { display: none; }
.offre__plus summary::before { content: "+"; font-size: 16px; line-height: 1; }
.offre__plus[open] summary::before { content: "2"; }
.offre__plus[open] .offre__plus-ouvrir, .offre__plus:not([open]) .offre__plus-fermer { display: none; }
.offre__plus > ul { margin-top: 10px; }
.offre--mise .offre__plus summary { color: var(--menthe); border-color: rgba(243, 237, 224, .22); }
.offre__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.offre__points svg { flex-shrink: 0; margin-top: 1px; color: var(--vert); }
.offre--mise .offre__points li { font-size: 14.5px; }
.offre--mise .offre__points svg { color: var(--menthe); }

.offre__bouton {
  margin-top: auto;
  min-height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
}
.offre__bouton--sable { background: var(--sable); color: var(--encre); }
.offre__bouton--menthe { background: var(--menthe); color: #06140F; }

.plafonds { display: flex; flex-direction: column; gap: 8px; }
.plafonds li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--fond);
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 7px 12px 7px 7px;
}
.plafonds__nom { font-size: 14px; color: var(--encre2); }
.plafonds strong { margin-left: auto; font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.porte-ronde {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EFE7D3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activites { display: flex; flex-direction: column; gap: 8px; }
.offre--mise .activites__libelle { color: rgba(243, 237, 224, .7); }
.activites__choix { display: flex; flex-wrap: wrap; gap: 8px; }
.activites__choix button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(243, 237, 224, .22);
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 750;
  color: rgba(243, 237, 224, .72);
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.activites__choix button[aria-checked="true"] { background: rgba(88, 196, 143, .16); border-color: var(--menthe); color: #F3EDE0; }
.activites__choix .porte-ronde { width: 32px; height: 32px; }
.offre__liste { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.offre__sous-titre { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: var(--menthe); }
.offre__note {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(243, 237, 224, .72);
  border-top: 1px solid rgba(243, 237, 224, .14);
  padding-top: 14px;
}

.offre__fois { font-size: 15px; font-weight: 700; color: var(--menthe); }

.info { position: relative; display: inline-flex; vertical-align: middle; margin-left: 6px; }
.info__bouton {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--attenue);
  font: italic 700 11px/1 Georgia, 'Times New Roman', serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  opacity: .85;
}
.offre--mise .info__bouton { color: rgba(243, 237, 224, .75); }
.info__bouton::after { content: ''; position: absolute; inset: -12px; } 
.info__bulle {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  translate: -50% 4px;
  z-index: 6;
  width: max-content;
  max-width: min(260px, 72vw);
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--encre);
  color: var(--fond);
  font: 500 13px/1.45 var(--texte);
  font-style: normal;
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
  box-shadow: 0 12px 28px rgba(29, 24, 16, .22);
  
  display: none;
  pointer-events: none;
}
@keyframes bulle-info { from { opacity: 0; translate: -50% 4px; } to { opacity: 1; translate: -50% 0; } }
.offre--mise .info__bulle { background: #F3EDE0; color: #1D1810; }
.info:focus-within .info__bulle, .info.info--ouverte .info__bulle { display: block; translate: -50% 0; animation: bulle-info .2s ease; }
@media (hover: hover) { .info:hover .info__bulle { display: block; translate: -50% 0; animation: bulle-info .2s ease; } }

@keyframes bulle-info-gauche { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: none; } }
.offre--cloud .info__bulle { left: auto; right: -8px; translate: none; }
.offre--cloud .info:focus-within .info__bulle, .offre--cloud .info.info--ouverte .info__bulle { translate: none; animation-name: bulle-info-gauche; }
@media (hover: hover) { .offre--cloud .info:hover .info__bulle { translate: none; animation-name: bulle-info-gauche; } }

@media (max-width: 639px) {
  .info__bulle { left: auto; right: -8px; translate: none; }
  .info:focus-within .info__bulle, .info.info--ouverte .info__bulle { translate: none; animation-name: bulle-info-gauche; }
}

.formules { display: flex; flex-direction: column; gap: 8px; }
.offre__tarif { display: flex; flex-direction: column; gap: 6px; }
.offre__tarif[hidden] { display: none; }
.offre__moins { font-size: 15px; font-weight: 700; color: var(--encre2); }
.offre__an { font-size: 15px; font-weight: 700; color: var(--encre); }
.offre__pour { font-size: 14.5px; line-height: 1.45; color: var(--encre2); }

.offre__option { font-size: 14px; line-height: 1.45; color: var(--encre2); background: var(--fond); border: 1px dashed var(--pointille); border-radius: 12px; padding: 8px 12px; }
.offre__sans { font-size: 14px; line-height: 1.5; color: var(--encre2); background: var(--fond); border-radius: 14px; padding: 12px 14px; }

.partout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: 22px;
  padding: 18px 20px;
}
.partout__titre { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--vert); }
.partout__liste li { font-size: 14.5px; }

.prix__cote { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1199px) {
  .offres {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--bord));
    padding: 0 var(--bord) 4px;
    scroll-padding-inline: var(--bord);
    transition: height .35s cubic-bezier(.2, .75, .25, 1);
  }
  .offres::-webkit-scrollbar { display: none; }
  .offre { flex: 0 0 calc(100% - 44px); max-width: 440px; scroll-snap-align: start; scroll-snap-stop: always; }
  .offre--mise { box-shadow: 0 16px 34px rgba(12, 44, 35, .22); }
  .offres__pied { display: flex; justify-content: center; gap: 4px; margin-top: -6px; }
  .offres__point {
    width: 30px;
    height: 30px;
    border: 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .offres__point::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--pointille);
    transition: width .25s, background .25s;
  }
  .offres__point.actif::before { width: 22px; background: var(--encre); }
}
@media (max-width: 1199px) and (prefers-reduced-motion: reduce) {
  .offres { transition: none; }
}

@media (min-width: 640px) {
  .prix__mois { padding: 8px 16px; font-size: 14.5px; }
}

@media (min-width: 1200px) {
  .prix { gap: clamp(14px, 2.4vh, 28px); }
  .prix__tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 40px; }
  .prix__titre { font-size: clamp(36px, min(4.2vw, 5.6vh), 60px); }
  .prix__cote { align-items: flex-end; gap: 10px; }
  .prix__mois { align-self: flex-end; }
  .offres__pied { display: none; }
  .offres {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.4fr) minmax(0, 1.08fr);
    gap: 20px;
    align-items: stretch;
  }
  .offre { border-radius: 30px; padding: clamp(16px, 2.4vh, 28px) clamp(20px, 1.8vw, 28px); gap: clamp(6px, 1vh, 12px); }
  .offre--mise { transform: translateY(-10px); }
  .offre__chiffre { font-size: clamp(32px, 5vh, 50px); }
  .offre--appli .offre__chiffre { font-size: clamp(34px, 5.4vh, 54px); }
  .offre__detail, .offre--mise .offre__detail { font-size: 14.5px; line-height: 1.5; }
  .offre__points { gap: clamp(4px, .8vh, 9px); }
  .offre__points li, .offre--mise .offre__points li { font-size: 14px; line-height: 1.35; }
  #prix { padding-top: clamp(20px, 3vh, 60px); padding-bottom: clamp(20px, 3vh, 60px); }
  .offre__points--activite { display: block; columns: 2; column-gap: 22px; }
  .offre__points--activite li { break-inside: avoid; margin-bottom: clamp(4px, .8vh, 9px); }
  .offre__bouton { min-height: clamp(42px, 5vh, 52px); }
  
  .offre--cloud .offre__detail { display: none; }
  .activites__libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .plafonds { gap: 6px; }
  .plafonds li { padding: 4px 10px 4px 4px; }
  .plafonds .porte-ronde, .activites__choix .porte-ronde { width: 28px; height: 28px; }
  .activites__choix button { min-height: 38px; font-size: 14px; }
  .offre__sous-titre { font-size: 12px; }
  
  .partout { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: clamp(10px, 1.6vh, 16px) 24px; border-radius: 20px; }
  .partout__titre { white-space: nowrap; line-height: 1.35; }
  
  .partout__liste { display: contents; }
  .partout__liste li { font-size: 13.5px; line-height: 1.35; white-space: nowrap; }
}

@media (min-width: 1200px) and (max-height: 820px) {
  #prix { padding-top: clamp(14px, 2vh, 20px); padding-bottom: clamp(14px, 2vh, 20px); }
  .prix { gap: clamp(10px, 1.8vh, 16px); }
  .prix__titre { font-size: clamp(34px, min(4.2vw, 5vh), 48px); }
  .offre { padding: 14px 20px; gap: 6px; }
  .offre__chiffre, .offre--appli .offre__chiffre { font-size: clamp(30px, 4.6vh, 40px); }
  .offre__detail, .offre--mise .offre__detail { font-size: 13.5px; }
  .offre__points li, .offre--mise .offre__points li { font-size: 13.5px; line-height: 1.3; }
  .plafonds li { padding: 2px 10px 2px 2px; }
  .plafonds .porte-ronde { width: 26px; height: 26px; }
  .offre__plus summary { min-height: 28px; margin-top: 4px; }
  .offre__sans { padding: 8px 12px; }
  .formules { gap: 4px; }
  .bascule button { min-height: 34px; }
  .partout { gap: 4px 16px; padding: 8px 18px; }
  
  .offre__sans { display: none; }
  .partout__liste li { font-size: 13px; }
}
