/* page abonnement.html : les trois formules, fiches d'exemple, comparaison, réassurance
   (couleurs = variables de site.css) */
/* trois cartes côte à côte, de même hauteur, bouton aligné en bas ; l'une sous l'autre sous 860px */
.abo-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.abo-carte{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:22px 20px;border-radius:16px}
/* trois fonds, du plus clair au plus soutenu (variables de site.css, ratios du texte brun cités là).
   Deux classes pour l'emporter sur le fond de .fiche-privilege (site.css), que les deux cartes payantes portent. */
.abo-carte.abo-carte-gratuite{background:var(--abo-fond-gratuit);border:1px solid var(--beige)}
.abo-carte.abo-carte-fondateur{background:var(--abo-fond-fondateur)}
.abo-carte.abo-carte-privilege{background:var(--abo-fond-privilege)}
/* Privilège Fondateur : la carte mise en avant de la page */
.abo-carte-fondateur{box-shadow:0 14px 30px -18px color-mix(in srgb,var(--terra-texte) 55%,transparent)}
.abo-ruban{align-self:flex-start;margin-bottom:2px;padding:4px 12px;border-radius:999px;background:var(--terra-texte);color:var(--blanc);font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}
.abo-carte-titre{font-size:21px;color:var(--chocolat)}
/* prix et compteur s'écrivent normalement, jamais barrés : un prix barré annoncerait une réduction */
.abo-carte-prix{font-size:15px;font-weight:700;color:var(--chocolat)}
.abo-carte-accroche{font-size:14px;line-height:1.5;color:var(--chocolat)}
.abo-places{font-size:13px;font-weight:700;color:var(--chocolat)}
/* bandes de la carte (BLF-141) : en-tête et notes sont des colonnes qui gardent la pastille à sa taille */
.abo-carte-haut,.abo-carte-bas{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%}
/* à 1280 px (trois cartes côte à côte) : grille à quatre lignes partagées, chaque carte en subgrid — l'en-tête,
   la première ligne de la liste, les notes et le bouton tombent à la même hauteur dans les trois cartes, et les
   lignes des deux listes payantes sont alignées une à une. Sous 861 px les cartes sont empilées : rien à aligner. */
@media(min-width:861px){
  .abo-cards{grid-template-rows:auto auto auto auto;column-gap:20px;row-gap:12px}
  .abo-carte{grid-row:1/-1;display:grid;grid-template-rows:subgrid;align-items:stretch}
  .abo-carte-haut{grid-row:1}
  .abo-carte-liste{grid-row:2}
  .abo-carte-bas{grid-row:3;align-self:end}
  .abo-carte-btn{grid-row:4;align-self:end}
}
/* navigateur sans subgrid : colonnes classiques, boutons en bas ; l'alignement bande par bande n'est pas possible */
@supports not (grid-template-rows:subgrid){
  @media(min-width:861px){
    .abo-cards{grid-template-rows:none}
    .abo-carte{grid-row:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
    .abo-carte-haut,.abo-carte-bas{width:auto}
  }
}
.abo-carte-liste{display:flex;flex-direction:column;gap:6px;width:100%;list-style:none;font-size:13.5px;line-height:1.45;color:var(--chocolat)}
.abo-carte-liste li{position:relative;padding-left:16px}
.abo-carte-liste li::before{content:"";position:absolute;left:0;top:.5em;width:6px;height:6px;border-radius:50%;background:var(--terra)}
.abo-carte-liste b{font-weight:600}
/* conditions de l'essai et mentions de la carte : en --chocolat, seul ton qui tient 4,5:1 sur le beige soutenu */
.abo-carte-cond,.abo-carte-note{font-size:12.5px;line-height:1.55;color:var(--chocolat)}
.abo-carte .avenir-pill{margin-left:0}
/* même hauteur pour les trois boutons (lien et <button> n'ont pas la même hauteur de ligne par défaut),
   pour qu'ils s'alignent en haut comme en bas d'une carte à l'autre */
.abo-carte-btn{width:100%;justify-content:center;margin-top:auto;line-height:1.55}
/* bouton d'inscription grisé tant que l'ouverture n'est pas décidée : grisé de la charte, sans lien */
.abo-carte-btn:disabled,.abo-carte-btn:disabled:hover{background:var(--beige);color:var(--chocolat);cursor:default;transform:none}
.abo-h2{font-size:26px;margin:48px 0 18px}
.abo-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* fiche d'exemple verticale */
.acard{display:flex;flex-direction:column;background:var(--blanc);border:1px solid var(--beige);border-radius:16px;overflow:hidden}
.acard-photo{position:relative;display:grid;grid-template-rows:100%;gap:2px;overflow:hidden;flex:none}
.acard-photo img{width:100%;height:100%;object-fit:cover;display:block}
.acard-photo-1{height:110px}
.acard-photo-2{grid-template-columns:1fr 1fr;height:220px}
.acard-more{position:absolute;right:8px;bottom:22px;background:var(--chocolat);color:var(--blanc);font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.acard-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px 18px 18px}
.acard .rcard-loc,.acard .rcard-next,.acard .rcard-price{color:var(--chocolat)}
.acard-sub{font-size:14px;font-style:italic;color:var(--chocolat)}
.acard-titres{list-style:disc;padding-left:18px;font-size:13.5px;line-height:1.6;color:var(--chocolat)}
.acard-privilege{background:var(--ivoire);border:2px solid var(--terra);box-shadow:0 14px 30px -18px color-mix(in srgb,var(--terra-texte) 55%,transparent)}
.acard-privilege .pill-cpf,.acard-privilege .pill-qual{background:var(--blanc)}
.acard-rating{font-size:13.5px;color:var(--chocolat)}
.acard-stars{font-weight:700;color:var(--terra-texte)}
.acard-pres{font-size:13.5px;line-height:1.6;color:var(--chocolat)}
.acard-icos{display:flex;gap:10px}
.acard-ico{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--beige);border-radius:50%;background:var(--blanc);color:var(--terra-texte)}
.acard-ico svg,.abo-yes svg,.abo-no svg,.abo-reass-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.acard-actions{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:4px}
.acard .rcard-cta{width:100%}

/* tableau de comparaison */
.abo-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--blanc);border:1px solid var(--beige);border-radius:16px;overflow:hidden;font-size:14px}
.abo-table th,.abo-table td{padding:12px 14px;border-bottom:1px solid var(--beige);color:var(--chocolat);text-align:center}
.abo-table tbody tr:last-child>*{border-bottom:0}
.abo-table thead th{font-size:12px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;background:var(--ivoire);width:160px}
.abo-table tbody th{text-align:left;font-weight:500;line-height:1.45}
/* chaque colonne reprend la teinte de sa carte, en-tête compris : le dégradé se lit aussi dans le tableau.
   Texte brun #4F3B30 sur les trois teintes : 9,83:1, 7,56:1 et 6,01:1 (AA ; ratios calculés dans site.css). */
.abo-table thead th.abo-grat,.abo-table td.abo-grat{background:var(--abo-fond-gratuit)}
.abo-table thead th.abo-fond,.abo-table td.abo-fond{background:var(--abo-fond-fondateur)}
.abo-table thead th.abo-priv,.abo-table td.abo-priv{background:var(--abo-fond-privilege)}
.abo-yes{display:inline-flex;color:var(--sauge-texte)}
.abo-fond .abo-yes,.abo-priv .abo-yes{color:var(--terra-texte)}
.abo-no{display:inline-flex;color:var(--muted)}
/* tiret sur le beige soutenu : --muted n'y tient pas 3:1, --muted-fort oui */
.abo-fond .abo-no,.abo-priv .abo-no{color:var(--muted-fort)}
.abo-val{font-size:13px;font-weight:600}

/* réassurance */
.abo-reass-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0 32px}
.abo-reass{background:var(--blanc);border:1px solid var(--beige);border-radius:14px;padding:18px}
.abo-reass-ico{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background:var(--beige-rose);color:var(--terra-texte);margin-bottom:10px}
.abo-reass h4{font-family:'Playfair Display',serif;font-size:17px;color:var(--chocolat);margin-bottom:6px}
.abo-reass p{font-size:13.5px;line-height:1.55;color:var(--chocolat)}

@media(max-width:860px){
  .abo-cards{grid-template-columns:minmax(0,1fr)}
  .abo-reass-row{grid-template-columns:minmax(0,1fr)}
  /* quatre colonnes dans la largeur d'un téléphone : largeurs fixes en pourcentage, contenu qui se
     replie (aucun mot ne peut élargir le tableau, donc aucun défilement horizontal) */
  .abo-table{table-layout:fixed}
  .abo-table th,.abo-table td{overflow-wrap:anywhere}
  .abo-table thead th{width:22%}
  .abo-table thead th:first-child{width:34%}
}
@media(max-width:560px){
  .abo-table{font-size:13px}
  .abo-table th,.abo-table td{padding:10px 6px}
  .abo-table thead th{font-size:10.5px;letter-spacing:.2px}
  .acard-photo-2{height:170px}
}
