/* Landing composée : pas de marge haute sous l'en-tête fixe du thème (le bandeau logo fait partie de la page).
   « html body » relève la spécificité pour passer devant #wrapall.template_edition du thème, à toutes les largeurs. */
html body #wrapall.template_edition {
  padding-top: 0;
}

/* SIS LANDING PRO : rendu de la page (site public et canevas de l'éditeur).
   Mise en page adaptative par « container queries » : même résultat dans l'éditeur (aperçu mobile) et sur le site.
   Dimensions mesurées sur la maquette « 02 - Landing-Page-Desktop-Carmin » (1920 px de large). */

.sll-page {
    --sll-noir: #000;
    --sll-blanc: #fff;
    --sll-jaune: #ffbd2e;
    --sll-gris: #e5e5e5;
    --sll-gris-fonce: #575454;
    --sll-rouge: #e13915;
    --sll-texte: #000;
    --sll-titres: "Baskervville", Georgia, "Times New Roman", serif;
    --sll-corps: "Hanken Grotesk", Arial, Helvetica, sans-serif;
    --sll-prix: "Montaigne", var(--sll-titres);
    container-type: inline-size;
    width: 100%;
    font-family: var(--sll-corps);
    font-size: 16px;
    line-height: 1.5;
    color: var(--sll-texte);
    text-align: left;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}
.sll-page *, .sll-page *::before, .sll-page *::after { box-sizing: border-box; }
.sll-page :where(h1, h2, h3, h4, p, ul, ol, li, figure, hr, form):where(:not(.sll-el--section_site *)) { margin: 0; padding: 0; }
.sll-page :where(ul, ol) { list-style: none; }
.sll-page :where(img) { display: block; max-width: 100%; height: auto; border: 0; }
.sll-page :where(a) { color: inherit; }
/* Le thème force les titres h1-h4 en noir : ils prennent la couleur de la section (titres de cartes sur fond noir) */
.sll-page :where(h1, h2, h3, h4) { color: inherit; }
/* Admin (thème « sat » : « .sat-content p:not([class]) ») et thème du site : paragraphes, listes, titres et liens sans classe
   prennent la couleur de la section (texte blanc sur fond noir, noir sur fond clair) */
body .sll-page :is(p, li, dd, h2, h3, label, a):not([class]) { color: inherit; }
.sll-page u { text-decoration: underline; text-underline-offset: .15em; }

/* ---------- Sections ---------- */
.sll-section { position: relative; width: 100%; padding-top: var(--sll-h, 0); padding-bottom: var(--sll-b, 0); background-size: cover; background-position: center; background-repeat: no-repeat; }
.sll-fond-blanc { background-color: var(--sll-blanc); color: var(--sll-texte); }
.sll-fond-creme { background-color: #fbf9f5; color: var(--sll-texte); }
.sll-fond-noir { background-color: var(--sll-noir); color: var(--sll-blanc); }
.sll-fond-jaune { background-color: var(--sll-jaune); color: var(--sll-noir); }
.sll-fond-gris { background-color: var(--sll-gris); color: var(--sll-texte); }
.sll-filet-jaune { border-bottom: var(--sll-filet, 3px) solid var(--sll-jaune); }
.sll-filet-noir { border-bottom: var(--sll-filet, 3px) solid var(--sll-noir); }

.sll-contenu { margin: 0 auto; padding: 0 40px; }
.sll-largeur-contenu .sll-contenu { max-width: 1480px; }
.sll-largeur-large .sll-contenu { max-width: 1535px; }
.sll-largeur-etroit .sll-contenu { max-width: 1310px; }
.sll-largeur-pleine .sll-contenu { max-width: none; padding: 0; }

.sll-cols { display: grid; align-items: start; }
.sll-valign-centre .sll-cols { align-items: center; }
.sll-valign-bas .sll-cols { align-items: end; }
.sll-valign-etire .sll-cols { align-items: stretch; }
.sll-col { display: flex; flex-direction: column; gap: var(--sll-espace, 16px); min-width: 0; }
/* « Étirer » : un élément seul dans sa colonne en occupe toute la hauteur (encadrés de même hauteur) */
.sll-valign-etire .sll-col > .sll-el:only-of-type { flex: 1; display: flex; flex-direction: column; }
.sll-valign-etire .sll-col > .sll-el:only-of-type > .sll-encadre { flex: 1; }
.sll-signe-col { align-self: center; font-family: var(--sll-corps); font-weight: 800; font-size: 72px; line-height: 42px; color: var(--sll-rouge); text-align: center; }

/* ---------- Utilitaires ---------- */
.sll-c-noir { color: var(--sll-noir); }
.sll-c-blanc { color: var(--sll-blanc); }
.sll-c-jaune { color: var(--sll-jaune); }
.sll-c-rouge { color: var(--sll-rouge); }
.sll-c-gris { color: #7d7d77; }
/* Texte de la même couleur que le fond de sa section (ex. texte blanc après passage du fond en blanc) : couleur normale du fond, pour rester lisible.
   Seulement les titres et textes posés directement dans la section : les encadrés qui ont leur propre fond ne sont pas touchés. */
:is(.sll-fond-blanc, .sll-fond-creme, .sll-fond-gris) .sll-col > .sll-el > .sll-c-blanc { color: var(--sll-texte); }
:is(.sll-fond-blanc, .sll-fond-creme, .sll-fond-gris) .sll-col > .sll-el > :is(.sll-titre, .sll-texte) .sll-c-blanc { color: inherit; }
.sll-fond-noir .sll-col > .sll-el > .sll-c-noir { color: var(--sll-blanc); }
.sll-fond-noir .sll-col > .sll-el > :is(.sll-titre, .sll-texte) .sll-c-noir { color: inherit; }
.sll-fond-jaune .sll-col > .sll-el > :is(.sll-c-jaune, .sll-c-blanc) { color: var(--sll-noir); }
.sll-fond-jaune .sll-col > .sll-el > :is(.sll-titre, .sll-texte) :is(.sll-c-jaune, .sll-c-blanc) { color: inherit; }
.sll-bg-jaune { background: var(--sll-jaune); }
.sll-bg-gris { background: #c4c4c4; }
.sll-bg-noir { background: var(--sll-noir); }
.sll-bg-blanc { background: var(--sll-blanc); }
.sll-a-gauche { text-align: left; }
.sll-a-centre { text-align: center; }
.sll-a-droite { text-align: right; }
.sll-maj { text-transform: uppercase; }
.sll-normal { font-weight: 400; }

/* ---------- Éléments ---------- */
.sll-titre { font-weight: 400; line-height: 1.15; }
/* Le thème met tous les h1 en capitales : la casse du titre suit le réglage « Casse » de l'élément */
.sll-titre:not(.sll-maj) { text-transform: none; }
.sll-police-titres { font-family: var(--sll-titres); }
.sll-police-montaigne { font-family: "Montaigne", var(--sll-titres); }
.sll-police-texte { font-family: var(--sll-corps); font-weight: 600; letter-spacing: 0; }
.sll-t-xs.sll-police-texte { font-weight: 600; }
.sll-t-xs { font-size: 18px; line-height: 1.3; }
.sll-t-s { font-size: 22px; line-height: 1.3; }
.sll-t-sm { font-size: 34px; line-height: 1.2; font-weight: 600; }
.sll-t-sm.sll-police-texte { font-weight: 700; line-height: 44px; }
.sll-t-m { font-size: 40px; font-weight: 400; line-height: 1.25; letter-spacing: .02em; }
.sll-t-l { font-size: 38px; font-weight: 500; }
.sll-t-xl { font-size: 60px; font-weight: 600; line-height: 70px; }
.sll-t-xxl { font-size: 76px; font-weight: 600; }

.sll-texte { max-width: 100%; }
.sll-texte.sll-a-centre { max-width: 920px; margin-left: auto; margin-right: auto; }
.sll-texte p { margin: 0 0 16px; }
.sll-texte p:last-child { margin-bottom: 0; }
.sll-texte a { text-decoration: underline; }
.sll-texte ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.sll-texte ol { list-style: decimal; padding-left: 22px; margin: 0 0 14px; }
.sll-tx-xs { font-size: 12px; }
.sll-tx-s { font-size: 14px; line-height: 1.55; }
.sll-tx-m { font-size: 16px; }
.sll-tx-l { font-size: 22px; line-height: 1.3; }
.sll-tx-l p, .sll-tx-xl p { margin-bottom: 20px; }
.sll-texte.sll-police-montaigne { letter-spacing: .02em; }
.sll-texte.sll-police-montaigne.sll-tx-l { line-height: 28px; }
.sll-tx-xl { font-size: 23px; line-height: 1.4; }

.sll-image, .sll-logo, .sll-bouton-zone, .sll-badge-zone, .sll-prix-zone { display: flex; }
.sll-image.sll-a-centre, .sll-logo.sll-a-centre, .sll-bouton-zone.sll-a-centre, .sll-badge-zone.sll-a-centre { justify-content: center; }
.sll-image.sll-a-droite, .sll-logo.sll-a-droite, .sll-bouton-zone.sll-a-droite, .sll-badge-zone.sll-a-droite { justify-content: flex-end; }
.sll-image-in { width: 100%; }
.sll-image-in img { width: 100%; }
.sll-forme-arrondie img { border-radius: 14px; }
.sll-forme-ronde img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

.sll-logo-img { width: auto; max-width: 100%; }
.sll-logo-s .sll-logo-img { height: 50px; }
.sll-logo-m .sll-logo-img { height: 80px; }
.sll-logo-ml .sll-logo-img { height: 98px; }
.sll-logo-l .sll-logo-img { height: 110px; }
.sll-logo-xl .sll-logo-img { height: 150px; }

.sll-bouton, .sll-prix-bouton, .sll-newsletter button {
    display: inline-block; font-family: var(--sll-corps); font-weight: 700; text-transform: uppercase; letter-spacing: 0;
    text-decoration: none; cursor: pointer; border: 2px solid transparent; line-height: 1.2; text-align: center;
}
/* Tailles relevées sur le composant Figma « BTN-Inscription » (bordure de 2 px comprise) */
.sll-bt-s { padding: 16px 21px; font-size: 16px; }
.sll-bt-m { padding: 23px 30px; font-size: 22px; }
.sll-bt-l { padding: 28px 42px; font-size: 26px; }
.sll-b-jaune { background: var(--sll-jaune); color: var(--sll-noir); }
.sll-b-noir { background: var(--sll-noir); color: var(--sll-blanc); }
.sll-b-contour { background: transparent; color: inherit; border-color: currentColor; }
.sll-bouton, .sll-prix-bouton { transition: background-color .2s, color .2s, border-color .2s; }
/* Bouton d'achat (<button class="ajouter_panier">) : même apparence que le lien */
button.sll-bouton, button.sll-prix-bouton { -webkit-appearance: none; appearance: none; }
button.sll-bouton[disabled], button.sll-prix-bouton[disabled] { opacity: .6; cursor: default; }
/* Survol : mêmes états que les boutons du thème (btn_jaune, btn_noir, btn_brd_noir) */
.sll-b-jaune:hover, .sll-b-jaune:focus-visible { background: var(--sll-noir); color: var(--sll-jaune); border-color: var(--sll-noir); }
.sll-fond-noir .sll-b-jaune:hover, .sll-fond-noir .sll-b-jaune:focus-visible { background: var(--sll-blanc); color: var(--sll-noir); border-color: var(--sll-blanc); }
.sll-b-noir:hover, .sll-b-noir:focus-visible, .sll-prix-bouton:hover, .sll-prix-bouton:focus-visible { background: var(--sll-noir); color: var(--sll-jaune); border-color: var(--sll-noir); }
.sll-b-contour:hover, .sll-b-contour:focus-visible { background: var(--sll-noir); color: var(--sll-blanc); border-color: var(--sll-noir); }
.sll-fond-noir .sll-b-contour:hover, .sll-fond-noir .sll-b-contour:focus-visible { background: var(--sll-blanc); color: var(--sll-noir); border-color: var(--sll-blanc); }

.sll-badge { display: inline-block; min-width: 348px; padding: 15px 17px; border-radius: 0; font-size: 18px; font-weight: 600; text-align: center; text-transform: uppercase; letter-spacing: 0; line-height: 1.2; }
.sll-badge-jaune { background: var(--sll-jaune); color: var(--sll-noir); }
.sll-badge-noir { background: var(--sll-noir); color: var(--sll-blanc); }
.sll-badge-rouge { background: var(--sll-rouge); color: var(--sll-blanc); }
.sll-badge-gris { background: var(--sll-gris); color: var(--sll-noir); }

.sll-signe { font-family: var(--sll-corps); font-weight: 800; line-height: 1; }
.sll-sg-s { font-size: 40px; }
.sll-sg-m { font-size: 56px; }
.sll-sg-l { font-size: 72px; line-height: 42px; }

.sll-separateur { display: flex; }
.sll-separateur.sll-a-centre { justify-content: center; }
.sll-separateur.sll-a-droite { justify-content: flex-end; }
.sll-hr { border: 0; margin: 0; }

/* Tuiles icône + texte */
/* Tuiles : largeur d'une colonne, ligne centrée s'il y a moins de tuiles que de colonnes (--g : espace entre tuiles) */
.sll-tuiles { --n: 4; --g: 24px; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 24px; column-gap: var(--g); }
.sll-tuiles.sll-n2 { --n: 2; }
.sll-tuiles.sll-n3 { --n: 3; }
.sll-tuiles.sll-n4 { --n: 4; }
.sll-tuiles.sll-n5 { --n: 5; }
.sll-tuiles > .sll-tuile { flex: 0 0 calc((100% - (var(--n) - 1) * var(--g)) / var(--n)); min-width: 0; }
.sll-cadre-gris { background: var(--sll-gris); color: var(--sll-texte); border-radius: 16px; padding: 34px 40px; }
.sll-tuiles.sll-cadre-gris { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; padding: 40px 80px; --g: 96px; border-radius: 20px; }
.sll-tuile { display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.sll-tuile-icone { height: 45px; width: auto; }
.sll-tuile .sll-vide-img { width: 56px; min-height: 56px; border-radius: 8px; }
.sll-tuile-texte { font-family: var(--sll-titres); font-size: 28px; font-weight: 700; line-height: 34px; letter-spacing: .02em; }

/* Portraits : photo ronde, filet jaune sur toute la largeur de la colonne, nom et fonction */
.sll-portraits { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 18px; }
.sll-portrait { display: flex; flex-direction: column; align-items: center; width: 218px; text-align: center; }
.sll-portrait-lien { display: flex; flex-direction: column; align-items: center; width: 100%; color: inherit; text-decoration: none; }
.sll-portrait-lien:hover .sll-portrait-nom { text-decoration: underline; }
.sll-portrait-photo { display: block; width: 156px; height: 156px; border-radius: 50%; overflow: hidden; background: #d9d9d9; }
.sll-portrait-img, .sll-portrait .sll-vide-img { width: 100%; height: 100%; object-fit: cover; }
.sll-portrait-nom { display: block; width: 100%; margin-top: 14px; font-size: 20px; font-weight: 500; line-height: 1.3; }
.sll-souligne .sll-portrait-nom { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--sll-jaune); }
.sll-portrait-role { margin-top: 16px; font-size: 14px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--sll-texte); line-height: 1.3; }

/* Cartes */
/* Cartes : chaque carte garde la largeur d'une colonne ; moins de cartes que de colonnes (carte désactivée) = ligne centrée */
.sll-cartes { --n: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.sll-cartes.sll-n2 { --n: 2; }
.sll-cartes.sll-n3 { --n: 3; }
.sll-cartes.sll-n4 { --n: 4; }
.sll-carte { display: flex; flex-direction: column; flex: 0 0 calc((100% - (var(--n) - 1) * 30px) / var(--n)); min-width: 0; border: 1px solid #6a6a6a; }
.sll-carte > a { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.sll-carte-img, .sll-carte .sll-vide-img { width: 100%; aspect-ratio: 444 / 233; object-fit: cover; }
.sll-carte-corps { display: flex; flex-direction: column; gap: 23px; padding: 13px 20px 30px; }
.sll-carte-surtitre { font-size: 14.6px; line-height: 1.3; color: inherit; }
.sll-carte-titre { font-family: var(--sll-titres); font-size: 30.6px; font-weight: 600; line-height: 1.09; }
.sll-carte-texte { font-size: 14.6px; line-height: 1.3; }
.sll-cartes-sombre .sll-carte { background: var(--sll-noir); color: var(--sll-blanc); border-color: var(--sll-blanc); }
.sll-carte.sll-carte-avant { border: 2px solid var(--sll-jaune); }
/* Survol d'une carte : bordure jaune de 2 px (1 px de bordure + 1 px de contour : la carte ne change pas de taille, rien ne bouge) */
.sll-carte { transition: border-color .15s ease, box-shadow .15s ease; }
.sll-carte:not(.sll-carte-avant):hover, .sll-carte:not(.sll-carte-avant):focus-within { border-color: #ffbd2e; box-shadow: 0 0 0 1px #ffbd2e; }
.sll-carte.sll-carte-avant:hover { border-color: #ffbd2e; }
.sll-cartes-clair .sll-carte { background: var(--sll-blanc); color: var(--sll-texte); border-color: var(--sll-gris); }
.sll-cartes-clair .sll-carte-surtitre { color: #5e5e5a; }

/* Encadré (composition de l'offre, choix du livre) */
.sll-encadre { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 30px; text-align: center; color: var(--sll-texte); }
.sll-encadre-moyenne .sll-visuels { width: 488px; max-width: 100%; justify-content: space-between; }
/* Un seul visuel (l'autre désactivé) : centré */
.sll-encadre-moyenne .sll-visuels:has(> .sll-visuel:only-of-type) { justify-content: center; }
.sll-encadre-moyenne { max-width: 680px; width: 100%; margin-left: auto; margin-right: auto; }
.sll-encadre-jaune { background: var(--sll-gris); border: 10px solid var(--sll-jaune); }
.sll-encadre-titre { font-family: var(--sll-titres); font-weight: 500; font-size: 34px; line-height: 40px; letter-spacing: .01em; }
.sll-encadre-titre strong { font-weight: 700; }
.sll-encadre-sous { font-size: 18px; font-weight: 700; line-height: 19px; }
.sll-encadre-logo { height: 55px; width: auto; }
.sll-visuels { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 22px; }
.sll-visuels-signe { font-family: var(--sll-corps); font-weight: 800; font-size: 72px; line-height: 42px; color: var(--sll-rouge); }
.sll-visuel { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 0 1 auto; min-width: 0; }
.sll-visuel-img, .sll-visuel .sll-vide-img { max-height: 224px; width: auto; min-width: 140px; }
.sll-visuel figcaption { font-size: 16px; font-weight: 700; line-height: 19px; }

/* Choix du livre : hauteur de couverture fixe et identique pour tous les livres ; le cadre se resserre
   autour des livres (2 livres = cadre étroit, 5 livres = cadre large) */
.sll-encadre-livres { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.sll-livres { --h-base: 212px; --h-livre: var(--h-base); --w-cover: calc(var(--h-livre) * .684); --w-livre: var(--w-cover); display: flex; justify-content: center; gap: 20px; align-items: stretch; max-width: 100%; }
/* Livres avec description : 30 px entre les livres (5 livres = largeur de la maquette), centrés s'il en reste moins */
.sll-livres-details { --w-livre: 240px; justify-content: center; column-gap: 30px; width: 100%; }
.sll-encadre-livres:has(.sll-livres-details) { width: 100%; gap: 25px; }
.sll-livres-details .sll-livre-choix { padding-top: 17px; }
.sll-lh-180 { --h-base: 180px; }
.sll-lh-220 { --h-base: 220px; }
.sll-lh-260 { --h-base: 260px; }
.sll-lh-300 { --h-base: 300px; }
.sll-lh-340 { --h-base: 340px; }
.sll-livre { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 1 var(--w-livre); min-width: 0; text-align: center; cursor: pointer; }
.sll-livre-couv { position: relative; display: block; width: var(--w-cover); max-width: 100%; height: var(--h-livre); margin-bottom: 0; }
.sll-livre-img, .sll-livre-couv .sll-vide-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sll-livre-nouveau { position: absolute; top: 33%; left: 0; z-index: 1; background: var(--sll-jaune); color: var(--sll-noir); font-size: 16px; font-weight: 700; padding: 6px 14px; letter-spacing: 0; line-height: 1.1; }
.sll-livre-titre { font-size: 16px; font-weight: 700; line-height: 19px; }
.sll-livres-details .sll-livre-titre { font-size: 16px; }
.sll-livre-auteur { font-size: 14px; line-height: 19px; color: var(--sll-texte); }
.sll-livre-texte { font-size: 16px; line-height: 19px; text-align: center; margin-top: 6px; }
.sll-livre-choix { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 400; line-height: 15px; text-align: left; text-transform: uppercase; color: var(--sll-texte); }
.sll-livre-choix > span { display: block; max-width: 5.4em; }
.sll-livre-choix input { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 38px; height: 38px; margin: 0; border: 1.5px solid var(--sll-texte); border-radius: 50%; background: var(--sll-blanc); cursor: pointer; }
.sll-livre-choix input::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: transparent; transition: background .12s; }
.sll-livre-choix input:checked::after { background: var(--sll-jaune); }
.sll-livre-choix input:focus-visible { outline: 2px solid var(--sll-jaune); outline-offset: 2px; }
.sll-livre:has(input:checked) .sll-livre-choix { font-weight: 700; }

/* Prix */
.sll-prix-zone { justify-content: center; }
.sll-prix-barre { display: inline-flex; align-items: center; gap: 34px; background: var(--sll-jaune); color: var(--sll-noir); border-radius: 15px; padding: 30px; }
.sll-prix-montant { font-family: var(--sll-prix); font-weight: 700; font-size: 60px; line-height: 1; white-space: nowrap; }
.sll-prix-montant sup { font-size: 39px; vertical-align: top; position: relative; top: -4px; }
.sll-prix-periode { font-family: var(--sll-prix); font-weight: 700; font-size: 60px; line-height: 1; margin-left: -14px; white-space: nowrap; }
.sll-prix-bouton { background: var(--sll-noir); color: var(--sll-blanc); padding: 25px 32px; font-size: 22px; font-weight: 700; letter-spacing: 0; border: 0; border-radius: 0; margin-left: 0; }

/* FAQ */
.sll-faq.sll-cadre-gris { border-radius: 0; padding: 47px 150px; border-top: 3px solid var(--sll-texte); border-bottom: 3px solid var(--sll-texte); }
.sll-faq-item { padding: 24px 0; border-bottom: 2px solid var(--sll-texte); }
.sll-faq-item:first-child { padding-top: 0; }
.sll-faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.sll-faq-q { display: block; font-size: 22px; font-weight: 700; line-height: 1.35; }
.sll-faq-r { font-size: 20px; line-height: 1.3; margin-top: 20px; }
.sll-faq-r p { margin: 0 0 8px; }
.sll-faq-r p:last-child { margin: 0; }
summary.sll-faq-q, .sll-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 22px; font-weight: 700; }
.sll-faq-item summary::-webkit-details-marker { display: none; }
.sll-faq-item summary::after { content: "+"; font-size: 22px; line-height: 1; }
.sll-faq-item[open] summary::after { content: "\2212"; }

/* Newsletter, liens, divers */
.sll-newsletter { display: flex; gap: 8px; }
.sll-newsletter input[type=email] { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid #9a9a9a; font-size: 15px; font-family: var(--sll-corps); background: #fff; }
.sll-newsletter button { padding: 13px 24px; font-size: 14px; }
.sll-mentions { font-size: 11px; line-height: 1.45; margin-top: 10px; opacity: .85; }
.sll-liens-titre { display: block; font-size: 15px; margin-bottom: 10px; }
.sll-liens li { margin-bottom: 6px; font-size: 13px; }
.sll-liens a { text-decoration: none; }
.sll-liens a:hover { text-decoration: underline; }
.sll-note { font-size: 13px; opacity: .75; }
.sll-vide-img { display: flex; align-items: center; justify-content: center; background: #d4d4d0; color: #77776f; font-size: 12px; min-height: 90px; text-align: center; }
/* Sections du site (thème) : mêmes réglages de texte que le corps des pages du thème, sans la remise à zéro de la landing */
.sll-el--section_site { font-size: 18px; line-height: normal; font-weight: 400; }
.sll-site-bloc { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 20px 40px; padding: 28px 24px; text-align: center; background: #f4f4f2; border: 2px dashed #b9b9b4; color: var(--sll-texte); font-size: 13px; }
.sll-site-bloc strong { font-family: var(--sll-titres); font-size: 24px; font-weight: 400; }
.sll-site-bloc em { font-size: 12px; color: #7d7d77; }
.sll-site-note { font-size: 12px; color: #b32d2e; }
.sll-site-classe { font: 600 11px/1 monospace; color: #7d7d77; }
.sll-offres { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }

/* Textes rognés à la hauteur des capitales (comme Figma, « text-box-trim ») : les espacements réglés
   dans l'éditeur sont ceux mesurés sur la maquette. Navigateurs sans support : interligne normal. */
.sll-titre, .sll-texte, .sll-badge, .sll-bouton, .sll-prix-bouton, .sll-prix-montant, .sll-prix-periode,
.sll-encadre-titre, .sll-tuile-texte, .sll-portrait-nom, .sll-portrait-role, .sll-carte-titre, .sll-faq-q, .sll-faq-r {
    text-box: trim-both cap alphabetic;
}

/* ---------- Affichage selon la largeur (container queries) ---------- */
@container (min-width: 768px) {
    .sll-cache-bureau { display: none !important; }
}

/* Chiffres clés dans un cadre : le cadre épouse son contenu (colonnes à leur largeur naturelle, textes sur une ligne chacun) */
@container (min-width: 1101px) {
    .sll-tuiles.sll-cadre-gris { flex-wrap: nowrap; }
    .sll-tuiles.sll-cadre-gris > .sll-tuile { flex: 0 0 auto; }
    .sll-tuiles.sll-cadre-gris .sll-tuile-texte { white-space: nowrap; }
}

/* Colonnes « selon le contenu » (encadrés de l'offre) : quand elles ne tiennent plus côte à côte,
   elles passent l'une sous l'autre, centrées, à leur largeur naturelle (signe + entre les deux) */
@container (max-width: 1379px) {
    .sll-cols.sll-cols-auto { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; }
    .sll-cols.sll-cols-auto > .sll-col { max-width: 100%; }
}

@container (max-width: 1100px) {
    .sll-livres { flex-wrap: wrap; justify-content: center; }
    .sll-livre { flex: 0 0 var(--w-livre); }
    .sll-tuiles.sll-n5, .sll-tuiles.sll-n4 { --n: 2; }
    .sll-cartes.sll-n3, .sll-cartes.sll-n4 { --n: 2; }
    .sll-prix-barre { padding: 22px 34px; gap: 16px; }
    .sll-faq.sll-cadre-gris { padding-left: 60px; padding-right: 60px; }
    .sll-tuile-texte { font-size: 24px; }
    .sll-tuiles.sll-cadre-gris { --g: 40px; padding: 36px 40px; }
}

@container (max-width: 767px) {
    .sll-cache-mobile { display: none !important; }

    /* Sections : marges « mobile » de l'éditeur, sinon celles de l'ordinateur limitées à 60 px */
    .sll-section { padding-top: var(--sll-hm, min(var(--sll-h, 0px), 60px)); padding-bottom: var(--sll-bm, min(var(--sll-b, 0px), 60px)); }
    .sll-col { gap: var(--sll-espace-m, var(--sll-espace, 16px)); }
    .sll-contenu { padding: 0 15px; }
    .sll-cols { grid-template-columns: 1fr !important; gap: var(--sll-espace-m, 24px) !important; justify-content: stretch !important; }
    .sll-signe-col, .sll-visuels-signe, .sll-sg-l, .sll-sg-m { font-size: 52px; line-height: 30px; }

    /* Titres (taille « auto ») puis taille mobile choisie dans l'éditeur */
    .sll-t-xxl, .sll-t-xl { font-size: 40px; line-height: 1.2; }
    .sll-t-l, .sll-t-m { font-size: 35px; line-height: 40px; }
    .sll-t-sm { font-size: 30px; line-height: 38px; }
    .sll-t-sm.sll-police-texte { line-height: 38px; }
    .sll-t-s { font-size: 20px; line-height: 1.3; }
    .sll-t-xs { font-size: 16px; }
    .sll-titre.sll-tm-xs { font-size: 16px; line-height: 1.3; }
    .sll-titre.sll-tm-s { font-size: 20px; line-height: 1.3; }
    .sll-titre.sll-tm-sm { font-size: 30px; line-height: 38px; }
    .sll-titre.sll-tm-m { font-size: 35px; line-height: 40px; }
    .sll-titre.sll-tm-xl { font-size: 40px; line-height: 1.2; }
    /* « = » rouge sur sa propre ligne */
    .sll-titre .sll-egal { display: block; margin: 6px 0 5px; line-height: 11px; }
    /* Police sur mobile choisie dans l'éditeur */
    .sll-titre.sll-pm-titres { font-family: var(--sll-titres); }
    .sll-titre.sll-pm-texte { font-family: var(--sll-corps); }
    .sll-titre.sll-pm-montaigne { font-family: "Montaigne", var(--sll-titres); }

    /* Textes */
    .sll-tx-l, .sll-tx-xl { font-size: 18px; }
    .sll-texte.sll-police-montaigne.sll-tx-l { line-height: 26px; }
    .sll-texte.sll-txm-xs { font-size: 12px; } .sll-texte.sll-txm-s { font-size: 14px; } .sll-texte.sll-txm-m { font-size: 16px; }
    .sll-texte.sll-txm-l { font-size: 18px; } .sll-texte.sll-txm-xl { font-size: 20px; }

    /* Logos : hauteur auto, ou hauteur mobile choisie */
    .sll-logo-s .sll-logo-img { height: 40px; } .sll-logo-m .sll-logo-img { height: 60px; } .sll-logo-ml .sll-logo-img { height: 70px; }
    .sll-logo-l .sll-logo-img { height: 80px; } .sll-logo-xl .sll-logo-img { height: 100px; }
    .sll-logo.sll-logo-m40 .sll-logo-img { height: 40px; } .sll-logo.sll-logo-m54 .sll-logo-img { height: 54px; } .sll-logo.sll-logo-m60 .sll-logo-img { height: 60px; }
    .sll-logo.sll-logo-m70 .sll-logo-img { height: 70px; } .sll-logo.sll-logo-m80 .sll-logo-img { height: 80px; }

    /* Badge, boutons */
    .sll-badge { min-width: 0; padding: 10px 15px; font-size: 16px; }
    .sll-bt-s { padding: 11px 15px; font-size: 11.7px; }
    .sll-bt-m { padding: 20px 28px; font-size: 18px; }
    .sll-bt-l { padding: 22px 30px; font-size: 20px; }

    /* Encadrés (354 px de large, cadre jaune de 7 px) */
    .sll-encadre { width: 100%; max-width: 354px; margin-left: auto; margin-right: auto; padding: 21.6px; gap: 14px; }
    .sll-encadre-jaune { border-width: 7px; }
    .sll-encadre-titre { font-size: 26px; line-height: 28.9px; }
    .sll-encadre-logo { height: 40px; }
    .sll-visuels, .sll-encadre-moyenne .sll-visuels { width: 100%; gap: 7px; margin-top: 10px; justify-content: center; }
    .sll-visuel-img, .sll-visuel .sll-vide-img { max-height: 162px; min-width: 0; }
    .sll-visuel { flex: 0 1 auto; gap: 5px; }
    /* La légende se cale sur la largeur de l'image (elle ne l'élargit pas) */
    .sll-visuel figcaption { width: 0; min-width: 100%; }

    /* Choix du livre : 2 couvertures par ligne (145 × 212), ou 1 livre par ligne avec sa description */
    .sll-encadre-livres { padding: 30px 15px; gap: 14px; }
    .sll-livres { --h-livre: var(--h-base); gap: 38px 20px; }
    /* 2 couvertures de 145 px + 20 px = 310 px : largeur arrondie vers le bas pour tenir sur la ligne */
    .sll-livre { flex: 0 0 calc(50% - 10px); max-width: var(--w-cover); }
    .sll-livres-details { row-gap: 50px; }
    .sll-encadre-livres:has(.sll-livres-details) { padding-left: 12px; padding-right: 12px; }
    .sll-livres-details .sll-livre { flex: 0 0 100%; max-width: none; }
    .sll-livres-details .sll-livre-choix { padding-top: 6px; }
    .sll-livre-choix { font-size: 14px; gap: 8px; }

    /* Prix : « 79€ / an » sur une ligne, bouton dessous */
    .sll-prix-barre { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 0; row-gap: 34px; padding: 30px; }
    .sll-prix-montant, .sll-prix-periode { font-size: 60px; }
    .sll-prix-periode { margin-left: 16px; }
    .sll-prix-bouton { grid-column: 1 / -1; justify-self: center; margin-left: 0; font-size: 22px; padding: 25px 32px; }

    /* Chiffres clés : 2 par ligne */
    .sll-cadre-gris { padding: 24px 20px; }
    .sll-tuiles.sll-cadre-gris { width: 100%; --g: 0px; row-gap: 36px; padding: 40px 10px; border-radius: 20px; }
    .sll-tuiles.sll-n3 { --n: 1; }
    .sll-tuile { gap: 15px; }
    .sll-tuile-icone { height: 45px; }
    .sll-tuile-texte { font-family: "Montaigne", var(--sll-titres); font-size: 18px; line-height: 24px; letter-spacing: 0; }

    /* Portraits : 2 par ligne */
    .sll-portraits { gap: 32px 13px; }
    .sll-portrait { width: calc(50% - 6.5px); }
    .sll-portrait-photo { width: 133px; height: 133px; }
    .sll-souligne .sll-portrait-nom { margin-top: 12px; padding-top: 12px; }
    .sll-portrait-nom { font-size: 16px; }
    .sll-portrait-role { margin-top: 12px; font-size: 12px; letter-spacing: -.01em; }

    /* Cartes : une par ligne, 354 px */
    .sll-cartes { max-width: 354px; margin-left: auto; margin-right: auto; gap: 50px; }
    .sll-carte-corps { padding-bottom: 20px; }
    .sll-cartes.sll-n2, .sll-cartes.sll-n3, .sll-cartes.sll-n4 { --n: 1; }

    /* FAQ */
    .sll-faq.sll-cadre-gris { padding: 47px 20px; }

    .sll-newsletter { flex-direction: column; }
}

/* Taille du texte choisie dans les éditeurs (classes sll-fs-<taille en px>) */
.sll-page .sll-fs-12 { font-size: 12px; }
.sll-page .sll-fs-14 { font-size: 14px; }
.sll-page .sll-fs-16 { font-size: 16px; }
.sll-page .sll-fs-18 { font-size: 18px; }
.sll-page .sll-fs-20 { font-size: 20px; }
.sll-page .sll-fs-24 { font-size: 24px; }
.sll-page .sll-fs-28 { font-size: 28px; }
.sll-page .sll-fs-32 { font-size: 32px; }
.sll-page .sll-fs-40 { font-size: 40px; }
.sll-page .sll-fs-48 { font-size: 48px; }
.sll-page .sll-fs-60 { font-size: 60px; }
