@charset "UTF-8";
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* placeholder: proportions vidéo youtube responsive */
/* placeholder : width de 100vw */
/* changer delay selon position dans la liste*/
/* changer width selon position dans la liste */
/* =========================================================================
   BLOC TARIFICATION  —  préfixe .pf-  (aucun style global, drop-in sécuritaire)
   Mobile  : liste empilée, prix aligné à droite du nom
   Desktop : 3 cartes côte à côte (>= 900px)
   ========================================================================= */
.node-384 .wrapper {
  max-width: none;
  width: 100%;
}
.node-384 .wrapper .en-tete,
.node-384 .wrapper h1,
.node-384 .wrapper .wrapper-cards,
.node-384 .wrapper .introduction,
.node-384 .wrapper .en-tete,
.node-384 .wrapper .wrapper-header-list {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 40px);
}

.pf {
  /* Palette : accents dérivés des noms de forfaits (bronze / argent / or) */
  --pf-encre: #1b1f24;
  --pf-attenue: #5b6572;
  --pf-trait: #e3e7eb;
  --pf-surface: #ffffff;
  --pf-fond: #f6f7f9;
  --pf-accent: #6f7883;
  --pf-rayon: 14px;
  /* Hérite de la typo du site hôte : rien à charger, pas de conflit de fonte */
  font-family: inherit;
  color: var(--pf-encre);
  margin-inline: auto;
  -webkit-font-smoothing: antialiased;
  padding: 25px 0;
}

details {
  border: none;
}

.pf *,
.pf *::before,
.pf *::after {
  box-sizing: border-box;
}

/* ---------- Intro ---------- */
.pf__intro {
  max-width: 46ch;
  margin-bottom: 2rem;
}

.pf__titre {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.pf__sous-titre {
  margin: 0;
  color: var(--pf-attenue);
  line-height: 1.55;
}

/* ---------- Grille ---------- */
.pf__grille {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 25px;
  /* mobile : liste serrée */
}

/* ---------- Carte / rangée ---------- */
.pf__carte {
  --pf-accent: #6f7883;
  position: relative;
  background: var(--pf-surface);
  border: 1px solid #7d868d;
  border-radius: var(--pf-rayon);
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.pf__carte--bronze {
  --pf-accent: black;
}
.pf__carte--bronze .pf__note {
  margin: 15px 0;
}

.pf__carte--argent {
  --pf-accent: black;
}

.pf__carte--or {
  --pf-accent: black;
}

.pf__formule__simplifiee h3 {
  font-family: "brutal_bold";
  margin: 0;
  font-size: 1.5rem;
}
.pf__formule__simplifiee p {
  font-size: 0.92rem;
  color: var(--pf-attenue);
  line-height: 1.5;
}
.pf__formule__simplifiee p.prix {
  color: black;
  font-size: 2.1rem;
  font-family: "brutal_bold";
  line-height: 100%;
  margin-bottom: 0;
}
.pf__formule__simplifiee p.prix span {
  color: var(--pf-attenue);
  font-size: 0.8rem;
  font-family: "brutal_regular";
  position: relative;
  top: -10px;
}

/* Filet de couleur : seul endroit où l'accent est utilisé en aplat */
/* .pf__carte::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--pf-accent);
  border-radius: var(--pf-rayon) var(--pf-rayon) 0 0;
} */
/* Forfait mis de l'avant — déplacer la classe sur une autre carte au besoin */
.pf__carte--vedette {
  border-color: #d9534f;
}

body.lang-en .pf__ruban {
  background-image: url(../images/most-popular.png);
}

.pf__ruban {
  position: absolute;
  top: 9px;
  left: 100px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background-image: url(../images/plus-populaire.png);
  background-size: contain;
  background-repeat: no-repeat;
  height: 50px;
  font-size: 0;
  width: 200px;
}
@media (min-width: 1024px) {
  .pf__ruban {
    width: 200px;
    height: 60px;
    right: -8px;
    top: 11px;
    left: auto;
  }
}

/* En-tête : en mobile nom à gauche / prix à droite (aspect « liste ») */
.pf__entete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pf__nom {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: "brutal_bold";
  color: var(--pf-accent);
}

.pf__prix {
  margin: 0;
  text-align: right;
}

.pf__montant {
  font-family: "brutal_bold";
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.pf__unite {
  display: block;
  font-size: 0.8rem;
  color: var(--pf-attenue);
}

.pf__accroche {
  margin: 0.6rem 0 0;
  color: var(--pf-attenue);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Différenciateur : nombre de modules optionnels */
.pf__modules {
  margin: 1rem 0 0;
  padding: 0.7rem 0.85rem;
  background: var(--pf-fond);
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.pf__modules b {
  font-size: 1.05rem;
}

.pf__modules--aucun {
  color: var(--pf-attenue);
}

/* Liste des inclusions */
.pf__inclus {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.pf__inclus li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.5rem;
  align-items: start;
}

.pf__coche {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  color: var(--pf-accent);
  flex: none;
}

/* ---------- Tiroir modules optionnels (<details>, sans JS) ---------- */
.pf__tiroir {
  margin-top: 0.9rem;
  border-top: 1px solid var(--pf-trait);
}

.pf__tiroir > summary {
  list-style: none;
  /* retire le triangle Firefox */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
}

.pf__tiroir > summary::-webkit-details-marker {
  display: none;
}

.pf__tiroir > summary:focus-visible {
  outline: 2px solid var(--pf-accent);
  outline-offset: 3px;
}

.pf__chevron {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  color: var(--pf-accent);
  transition: transform 0.25s ease;
}

.pf__tiroir[open] > summary .pf__chevron {
  transform: rotate(180deg);
}

.pf__tiroir-liste {
  list-style: none;
  margin: 0;
  padding: 0 0 0.9rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--pf-attenue);
}

.pf__tiroir-liste li {
  display: grid;
  grid-template-columns: 0.9rem 1fr;
  gap: 0.4rem;
  align-items: start;
}

.pf__tiroir-liste li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.45rem;
  justify-self: center;
  border-radius: 50%;
  background: var(--pf-accent);
}

.pf__formule__simplifiee {
  border: solid 1px #3c546c;
  padding: 1.75rem 1.5rem 1.75rem;
  border-radius: 14px;
}

.pf__encadre {
  max-width: 1320px;
  margin: 0 auto;
  width: calc(100% - 40px);
  background-color: #212851;
  color: white;
  border-radius: 14px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .pf__encadre {
    align-items: center;
  }
}
.pf__encadre {
  gap: 25px;
}
.pf__encadre .wrapper-text {
  max-width: 950px;
}
.pf__encadre .pourcent {
  background-color: rgba(255, 255, 255, 0.1);
  border: solid 1px rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 25px;
  text-align: center;
  width: 130px;
  height: 100px;
}
@media (min-width: 1024px) {
  .pf__encadre .pourcent {
    width: 150px;
    height: 150px;
  }
}
.pf__encadre .pourcent {
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.pf__encadre .pourcent .wrapper-pourcent {
  width: 100%;
}
.pf__encadre .pourcent p {
  margin: 0;
}
.pf__encadre .pourcent p strong {
  font-size: 1.75em;
}
@media (min-width: 1024px) {
  .pf__encadre .pourcent p strong {
    font-size: 2.4em;
  }
}
.pf__encadre .pourcent p:first-child {
  margin-top: 7px;
}
.pf__encadre .pourcent p:last-child {
  font-size: 0.7em;
  line-clamp: 2;
  margin: 0 auto;
  line-height: 115%;
}
.pf__encadre h3 {
  background-color: #d9534f;
  font-family: "brutal_bold";
  font-size: 0.75em;
  display: inline-block;
  padding: 5px 15px;
  margin: 0;
  line-height: 100%;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pf__encadre h2 {
  margin: 0;
  font-family: "brutal_bold";
  font-size: 1.25em;
}
@media (min-width: 1024px) {
  .pf__encadre h2 {
    font-size: 1.5em;
  }
}
.pf__encadre p {
  font-size: 0.8em;
  line-height: 120%;
}
@media (min-width: 1024px) {
  .pf__encadre p {
    font-size: 1em;
  }
}

/* Ouverture animée — amélioration progressive.
   Sans support : le tiroir s'ouvre instantanément, le reste fonctionne pareil. */
@supports (interpolate-size: allow-keywords) {
  .pf {
    interpolate-size: allow-keywords;
  }
  .pf__tiroir::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.28s ease, content-visibility 0.28s allow-discrete;
  }
  .pf__tiroir[open]::details-content {
    block-size: auto;
  }
}
/* Bouton */
.pf__cta {
  margin-top: auto;
  padding-top: 1.25rem;
}

.pf__cta a {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 30px;
  border: 1px solid var(--pf-encre);
  background: transparent;
  color: var(--pf-encre);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pf__carte--vedette .pf__cta a {
  background: #d9534f;
  border: none;
  color: #fff;
}

.pf__cta a:hover {
  background: var(--pf-encre);
  color: #fff;
}

.pf__cta a:focus-visible {
  outline: 2px solid var(--pf-accent);
  outline-offset: 3px;
}

/* ---------- Blocs communs ---------- */
.pf__commun {
  margin-bottom: 2rem;
  padding: 25px 0;
  background-color: #f5f7fa;
}

.pf__commun h3 {
  font-size: 1.25rem;
  font-family: "brutal_bold";
  margin: 0 0 1rem;
}

.pf__colonnes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.pf__colonnes li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.5rem;
  align-items: start;
}

.pf__note {
  font-size: 1.25rem;
  font-family: "brutal_bold";
  margin: 0 0 2rem;
}

.pf__legende {
  margin: 0 0 50px 0;
  font-size: 0.8rem;
  color: var(--pf-attenue);
}

/* ---------- Desktop : passage en cartes ---------- */
@media (min-width: 1000px) {
  .pf__grille {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
  .pf__carte {
    padding: 1.75rem 1.5rem 1.75rem;
  }
  .pf__entete {
    display: block;
  }
  /* prix sous le nom, plus « carte » */
  .pf__prix {
    text-align: left;
    margin-top: 0.75rem;
  }
  .pf__montant {
    font-size: 2.1rem;
  }
  .pf__carte--vedette {
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.45);
  }
  .pf__colonnes {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf * {
    transition: none !important;
  }
  .pf__tiroir::details-content {
    transition: none !important;
  }
}