/* ==========================================================================
   Sections ajoutées depuis l'administration (gabarits : admin-sections.php).
   Les gabarits réutilisent les composants de style.css ; ce fichier ne contient
   que ce qui manque, en classes sx-. Mobile first, aucune hauteur figée sur le texte.
   ========================================================================== */

/* Conteneur de mesure : les titres en cqi se règlent sur leur colonne, jamais sur la page */
.sx-c { container-type: inline-size; min-width: 0; }
.sx .head > div, .sx .split > *, .sx .split__text { min-width: 0; }
.sx .mask > span { text-wrap: balance; }
/* Titres saisis par l'administration : un mot plus large que sa colonne passe à la ligne au lieu d'être rogné par le masque */
.sx :is(h2, h3, blockquote) { overflow-wrap: break-word; }
.sx .lead { max-width: 44ch; }
.sx .head .lead { max-width: 38ch; }
.sx .head:has(+ .sx-edito), .sx-head-tight { margin-bottom: clamp(24px, 3.4vw, 48px); }

/* Champs facultatifs d'un élément de liste : rien ne s'affiche s'ils sont vides (sauf en mode édition) */
html:not(.adm-edit) .sx-opt:empty { display: none; }

/* Très grands titres (texte éditorial, bandeau) : un cran sous .d2 pour encaisser les titres longs */
.sx-d { font-size: min(clamp(2.2rem, 8.6vw, 7.4rem), 9.6cqi); line-height: .95; }
.sx-prose { font-size: var(--fs-lead); line-height: 1.45; max-width: 46ch; }
.s--ink .sx-prose, .s--deep .sx-prose, .s--green .sx-prose { color: rgba(255, 255, 255, .86); }
.s--ink .prose, .s--deep .prose, .s--green .prose { color: rgba(255, 255, 255, .82); }
.s--green .card:not(.card--photo) { color: var(--ink); }

/* Boutons : couleur selon le fond, flèche dessinée (le libellé reste un simple texte) */
.sx-btn { background: var(--green); color: #fff; }
.sx-btn:hover { background: var(--green-d); }
.s--green .sx-btn, .s--deep .sx-btn, .sx-info--green .sx-btn { background: #fff; color: var(--ink); }
.s--green .sx-btn:hover, .s--deep .sx-btn:hover, .sx-info--green .sx-btn:hover { background: var(--sand-l); }
.sx-btn::after, .sx-arrow::after { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--sx-arrow) center / contain no-repeat; mask: var(--sx-arrow) center / contain no-repeat; transition: transform .2s var(--ease); }
.sx-btn:hover::after, .sx-arrow:hover::after { transform: translateX(3px); }
.sx { --sx-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.sx .btn { white-space: normal; text-align: center; padding-block: 12px; max-width: 100%; }
.sx-after { margin-top: clamp(24px, 3vw, 44px); }

/* Image et texte, citation : côté de l'image sur grand écran */
@media (min-width: 961px) { .sx-split.is-right > :first-child { order: 2; } }
.sx-split .checks { margin-top: 4px; }
.s--ink .checks li::before, .s--deep .checks li::before { background-color: #9fd2ac; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173322' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Texte éditorial : accroche + deux colonnes */
.sx-edito { display: grid; gap: clamp(18px, 3vw, 48px); }
.sx-edito__lead:empty { display: none; }
.sx-kicker { max-width: 26ch; }
.s--ink .sx-kicker, .s--deep .sx-kicker { color: #9fd2ac; }
.s--green .sx-kicker { color: #fff; }
.sx-edito .prose { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); line-height: 1.6; max-width: 58ch; }
@media (min-width: 721px) { .sx-edito { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-edito__lead { grid-column: 1 / -1; } }
@media (min-width: 1081px) {
  .sx-edito { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .sx-edito__lead { grid-column: 1; }
  .sx-edito__lead:empty { display: block; }
}

/* Grande image : proportions fixes quel que soit le fichier, légende sous la photo */
.sx-figure__img { aspect-ratio: 4 / 3; }
.sx-figure__cap { margin-top: 14px; font-size: .95rem; line-height: 1.45; color: var(--muted); max-width: 70ch; }
.s--ink .sx-figure__cap, .s--deep .sx-figure__cap, .s--green .sx-figure__cap { color: rgba(255, 255, 255, .74); }
@media (min-width: 721px) {
  .sx-figure--wide .sx-figure__img { aspect-ratio: 16 / 9; }
  .sx-figure--pano .sx-figure__img { aspect-ratio: 21 / 9; }
}
/* Grande image avec vidéo : la photo sert d'affiche, le lecteur la recouvre au clic */
.sx-video--over { position: absolute; inset: 0; border-radius: 0; background: transparent; aspect-ratio: auto; cursor: pointer; }
.sx-video--over.yt::after { background: linear-gradient(180deg, rgba(10, 22, 14, 0) 40%, rgba(10, 22, 14, .35)); }
.sx-video--over > button { position: absolute; inset: 0; margin: auto; z-index: 2; width: clamp(68px, 9vw, 104px); height: clamp(68px, 9vw, 104px); border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); transition: transform .2s var(--ease), box-shadow .25s var(--ease); }
.sx-video--over:hover > button { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(255, 255, 255, .2), 0 18px 40px -14px rgba(0, 0, 0, .6); }
.sx-video--over > button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.sx-video--over > button svg { width: 34%; height: 34%; margin-left: 5%; fill: currentColor; }
.sx-video--over > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0c120e; display: none; }
.sx-video--over.is-playing { cursor: default; }
.sx-video--over.is-playing > video { display: block; }
.sx-video--over.is-playing > button { display: none; }
/* Emplacement du lecteur : porte la clé d'édition de la vidéo. Vide, il n'existe qu'en mode édition (invite « Ajouter une vidéo »), jamais en public */
.sx-vslot--over { position: absolute; inset: 0; }
.sx-vslot[data-e-empty] { min-height: 120px; border-radius: var(--radius-lg); }
.sx-vslot--over[data-e-empty] { inset: auto auto 16px 16px; width: min(300px, calc(100% - 32px)); z-index: 2; border-radius: 12px; }

/* Vidéo : cadre au format choisi (aucun saut de mise en page), largeur pleine ou contenue */
.sx-vhead:not(:has(h2, p)) { display: none; }
.sx-vid { min-width: 0; }
.sx-vid--narrow { max-width: 1080px; margin-inline: auto; }
.sx-vid.is-v .yt { aspect-ratio: 9 / 16; width: min(100%, 46svh, 440px); margin-inline: auto; }
/* L'affiche fournie par YouTube est en 4/3 avec deux bandes noires : on les sort du cadre vertical */
.sx-vid.is-v .yt img[src*="i.ytimg.com"] { position: relative; top: -17%; height: 134%; }
.sx-vid.is-v .vfile video { aspect-ratio: 9 / 16; width: auto; max-width: 100%; max-height: min(82svh, 780px); margin-inline: auto; }
.sx-vid.is-v .sx-figure__cap { max-width: min(100%, 440px); margin-inline: auto; }
@media (min-width: 961px) {
  .sx-vsplit { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .sx-vsplit.is-right { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .sx-vsplit.is-v, .sx-vsplit.is-v.is-right { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Grande photo et phrase forte */
.sx-statement .statement__bg img { object-position: 50% 45%; }
.sx-statement .wrap > * { max-width: 100%; }
.sx-statement .d2 { max-width: 16ch; }
.sx-statement.is-l .d2 { font-size: min(clamp(2rem, 7vw, 5.6rem), 8.4cqi); line-height: .98; max-width: 22ch; }
.sx-statement.is-center .wrap { justify-items: center; text-align: center; }
.sx-statement.is-center .btns { justify-content: center; }

/* Encadré d'information */
.sx-info { display: grid; gap: clamp(28px, 4vw, 64px); padding: clamp(24px, 4.4vw, 64px); border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.sx-info--green { background: var(--green); }
.sx-info--white { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.s--white .sx-info--white { background: var(--paper); }
.sx-info__main { display: grid; gap: 20px; align-content: start; }
.sx-info__facts { display: grid; margin: 0; border-top: 1px solid var(--line-l); }
.sx-info--white .sx-info__facts { border-color: var(--line); }
.sx-info__facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-l); container-type: inline-size; }
.sx-info--white .sx-info__facts > div { border-color: var(--line); }
.sx-info__facts dt { font-size: var(--fs-small); font-weight: 700; color: #9fd2ac; }
.sx-info--green .sx-info__facts dt { color: #dcefe1; }
.sx-info--white .sx-info__facts dt { color: var(--green); }
.sx-info__facts dd { margin: 0; font-size: min(clamp(1.3rem, 1rem + 1.4vw, 2.1rem), 9cqi); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
@media (min-width: 961px) { .sx-info { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; } }

/* Cartes avec photo : autant de colonnes que de cartes sur grand écran */
.sx-cards .card--photo { min-height: clamp(360px, 62vw, 460px); }
.sx-cards .card__body { width: 100%; min-width: 0; }
.sx-cards .card__body > * { min-width: 0; }
.sx-cards .card h3 { text-wrap: balance; font-size: min(clamp(1.4rem, 5.2vw, 2.3rem), 7.4cqi); }
@media (min-width: 721px) { .sx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1081px) {
  .sx-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .sx-cards > :last-child:nth-child(odd) { grid-column: auto; }
  .sx-cards .card--photo { min-height: min(64vh, 560px); }
}

/* Étapes numérotées : lignes du site, sans lien ni photo au survol */
.sx-row { cursor: default; }
.sx-row .row__t h3 { font-size: min(clamp(1.8rem, 7vw, 4.4rem), 9.4cqi); text-wrap: balance; }
@media (min-width: 961px) { .sx-row { grid-template-columns: 80px minmax(0, 1.25fr) minmax(0, 1fr); } }

/* Questions fréquentes */
.sx-faq { align-items: start; }
.sx-faq .faq summary > span { min-width: 0; }
.s--white .sx-faq .faq, .s--sand .sx-faq .faq { border-color: var(--line); }

/* Deux colonnes d'arguments */
.sx-vs .card { gap: 22px; padding: clamp(24px, 4vw, 48px); }
.sx-vs .card h3 { font-size: min(clamp(1.9rem, 8vw, 4rem), 12cqi); letter-spacing: -.03em; line-height: .95; text-wrap: balance; }
.sx-vs .checks { gap: 14px; font-size: 1.05rem; }
.sx-vs__a { color: var(--ink); }
.sx-vs__a .checks { color: var(--muted); }
.sx-minus li::before { background: var(--sand-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d625e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 15px no-repeat; }
.sx-vs__b { background: var(--green); color: #fff; border-color: transparent; }
.sx-vs__b .checks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338724b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Chiffres clés : autant de colonnes que de chiffres, valeurs longues encaissées */
.sx-stats .stat b { font-size: min(clamp(2.4rem, 11vw, 7.4rem), 24cqi); overflow-wrap: anywhere; }
.sx-stats .stat span { max-width: 26ch; }
@media (min-width: 861px) { .sx-stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .sx-stats .stat:first-child { padding-right: 48px; } }

/* Citation */
.sx-quote { display: grid; gap: clamp(20px, 3vw, 36px); align-content: center; }
.sx-quote blockquote { position: relative; padding-top: clamp(40px, 5vw, 72px); }
.sx-quote blockquote::before { content: "«"; position: absolute; left: -.04em; top: -.34em; font-size: clamp(5rem, 9vw, 9rem); font-weight: 800; line-height: 1; color: var(--green); }
.s--ink .sx-quote blockquote::before, .s--deep .sx-quote blockquote::before { color: #9fd2ac; }
.s--green .sx-quote blockquote::before { color: var(--sand-l); }
.sx-quote blockquote p { font-size: min(clamp(1.5rem, 1.1rem + 2.1vw, 3.1rem), 9cqi); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; font-variation-settings: "wdth" 100; text-wrap: balance; }
.sx-quote figcaption { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.s--ink .sx-quote figcaption, .s--deep .sx-quote figcaption, .s--green .sx-quote figcaption { border-color: var(--line-l); }
.sx-quote figcaption b { font-size: 1.1rem; }
.sx-quote figcaption span { color: var(--muted); }
.s--ink .sx-quote figcaption span, .s--deep .sx-quote figcaption span, .s--green .sx-quote figcaption span { color: rgba(255, 255, 255, .72); }

/* Logos : hauteur commune, jamais déformés */
.sx-logos { display: grid; gap: clamp(22px, 3vw, 40px); align-items: center; }
.sx-logos__t { font-weight: 800; max-width: 22ch; text-wrap: balance; }
.sx-logo { display: grid; place-items: center; }
.sx-logos .logos img { height: clamp(38px, 5vw, 58px); width: auto; max-width: min(220px, 40vw); object-fit: contain; }
@media (min-width: 961px) { .sx-logos { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } .sx-logos .logos { justify-content: flex-end; } .sx-logos > .logos:only-child { grid-column: 1 / -1; justify-content: center; } }

/* Bandeau d'appel à l'action */
.sx-cta .d2 { max-width: 18ch; }
.s--sand .sx-cta .btn--ghost { border-color: var(--ink); }

/* Tableaux dans les articles du blog (le moteur les autorise : table, caption, thead, tbody, tr, th, td) */
.art__body table { width: 100%; border-collapse: collapse; margin-block: 1.6em; font-size: .95em; }
.art__body caption { caption-side: top; text-align: left; font-weight: 800; padding-bottom: .6em; }
.art__body th, .art__body td { padding: .65em 1em .65em 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.art__body th { font-weight: 800; }

/* ==========================================================================
   Deuxième série de gabarits (22/11/2026) : deux photos, texte long, annonce,
   avantages, frise, programme, tableau, mosaïque, réalisation, témoignages,
   formules, équipe, coordonnées, document à télécharger.
   ========================================================================== */

/* Couleurs relatives au fond de la section : filets, texte secondaire, accent */
.sx { --sx-bg: var(--paper); --sx-line: var(--line); --sx-muted: var(--muted); --sx-acc: var(--green); }
.sx.s--white { --sx-bg: #fff; }
.sx.s--sand { --sx-bg: var(--sand-l); }
.sx.s--ink { --sx-bg: var(--ink); }
.sx.s--deep { --sx-bg: var(--green-dd); }
.sx.s--green { --sx-bg: var(--green); }
.sx:is(.s--ink, .s--deep, .s--green) { --sx-line: var(--line-l); --sx-muted: rgba(255, 255, 255, .74); --sx-acc: #9fd2ac; }
.sx.s--green { --sx-acc: #dcefe1; }
.sx :is(h3, dd, dt, p, b) { overflow-wrap: break-word; }

/* Pastille de contact (téléphone, e-mail) */
.sx-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--sx-line); font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.sx-pill svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sx-pill span { min-width: 0; overflow-wrap: anywhere; }
.sx-pill:hover { background: var(--green); border-color: var(--green); color: #fff; }
.sx:is(.s--ink, .s--deep) .sx-pill { border-color: rgba(255, 255, 255, .3); }
.sx.s--green .sx-pill { border-color: rgba(255, 255, 255, .4); }
.sx.s--green .sx-pill:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Deux photos et texte : la petite photo chevauche la grande, cerclée de la couleur du fond */
.sx-duo__media { position: relative; padding-bottom: 18%; }
.sx-duo__a { width: 80%; aspect-ratio: 4 / 5; }
.sx-duo__b { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; box-shadow: 0 0 0 clamp(6px, 1vw, 12px) var(--sx-bg), 0 34px 60px -30px rgba(10, 22, 14, .55); }
.sx-duo.is-right .sx-duo__a { margin-left: auto; }
.sx-duo.is-right .sx-duo__b { right: auto; left: 0; }
@media (min-width: 961px) { .sx-duo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .sx-duo.is-right { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* Texte long : colonne de lecture étroite, intertitres, titre collant sur grand écran */
.sx-long { display: grid; gap: clamp(32px, 4.4vw, 64px); }
.sx-long__head { display: grid; gap: 20px; align-content: start; min-width: 0; container-type: inline-size; }
.sx-long__body { min-width: 0; max-width: 68ch; border-top: 1px solid var(--sx-line); }
.sx-long__b { padding-block: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid var(--sx-line); }
.sx-long__b h3 { font-size: clamp(1.3rem, 1.12rem + .8vw, 1.85rem); letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; margin-bottom: .55em; }
.sx-long__b p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); line-height: 1.65; text-wrap: pretty; }
.sx:is(.s--ink, .s--deep, .s--green) .sx-long__b p { color: rgba(255, 255, 255, .86); }
.sx-long.is-stack { justify-items: center; }
.sx-long.is-stack .sx-long__head { width: 100%; max-width: 980px; text-align: center; justify-items: center; }
.sx-long.is-stack .sx-long__body { width: 100%; }
@media (min-width: 961px) {
  .sx-long.is-side { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 120px); align-items: start; }
  .sx-long.is-side .sx-long__head { position: sticky; top: calc(var(--nav-h) + 28px); }
}

/* Bandeau d'annonce : une ligne, un repère, un lien */
.sx-note { padding-block: clamp(18px, 2.2vw, 28px); }
.sx-note__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sx-note__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: var(--fs-small); font-weight: 700; line-height: 1.2; }
.sx-note__tag::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.sx-note__t { flex: 1 1 24ch; min-width: 0; font-size: clamp(1.08rem, .96rem + .6vw, 1.55rem); font-weight: 700; letter-spacing: -.012em; line-height: 1.25; text-wrap: balance; }
.sx-note__a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding-bottom: 2px; border-bottom: 1.5px solid currentColor; font-weight: 700; text-decoration: none; }
.sx-note.s--sand { color: var(--ink); }
.sx-note.s--sand .sx-note__tag { background: #fff; color: var(--green); }
.sx-note.s--sand .sx-note__tag::before { box-shadow: 0 0 0 4px var(--green-l); }

/* Avantages et pictogrammes : le pictogramme de chaque rang vient d'une option (--i1 … --i6) */
/* Les pictogrammes au trait (même dessin que les tuiles du configurateur), en masques CSS */
.sx-adv {
  --sx-ic-famille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='17' cy='12' r='5'/%3E%3Ccircle cx='33' cy='19' r='4'/%3E%3Cpath d='M8 41c0-10 4-16 9-16s9 6 9 16M26 41c0-7 3-11 7-11s7 4 7 11'/%3E%3C/svg%3E");
  --sx-ic-groupe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='17' cy='15' r='5'/%3E%3Ccircle cx='32' cy='15' r='5'/%3E%3Cpath d='M7 38c1.5-7 5.5-11 10-11s8.5 4 10 11M22 38c1.5-7 5.5-11 10-11s8.5 4 10 11'/%3E%3C/svg%3E");
  --sx-ic-cible: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Ccircle cx='24' cy='24' r='10'/%3E%3Ccircle cx='24' cy='24' r='3'/%3E%3C/svg%3E");
  --sx-ic-disque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='24' cy='21' rx='17' ry='7.5'/%3E%3Cpath d='M7 21v4c0 4.1 7.6 7.5 17 7.5s17-3.4 17-7.5v-4'/%3E%3Cpath d='M15 19.5c2.5-1.3 5.6-2 9-2'/%3E%3C/svg%3E");
  --sx-ic-panier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 9h22'/%3E%3Cpath d='M15 10l5 15M24 10v15M33 10l-5 15M19 10l2.5 15M29 10l-2.5 15'/%3E%3Cpath d='M11 25h26l-3 7H14z'/%3E%3Cpath d='M24 32v9M17 41h14'/%3E%3C/svg%3E");
  --sx-ic-arbre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5L13 19h6l-8 11h26l-8-11h6z'/%3E%3Cpath d='M24 30v12M18 42h12'/%3E%3C/svg%3E");
  --sx-ic-feuille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M39 9C22 9 10 17 10 30c0 5.5 4 9.5 9.5 9.5C32 39.5 39 27 39 9z'/%3E%3Cpath d='M10 40c6-9 13-16 22-22'/%3E%3C/svg%3E");
  --sx-ic-soleil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='8'/%3E%3Cpath d='M24 5v6M24 37v6M5 24h6M37 24h6M10.6 10.6l4.2 4.2M33.2 33.2l4.2 4.2M10.6 37.4l4.2-4.2M33.2 14.8l4.2-4.2'/%3E%3C/svg%3E");
  --sx-ic-calendrier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='11' width='32' height='29' rx='4'/%3E%3Cpath d='M8 19h32M16 7v8M32 7v8M15 26h4M22 26h4M29 26h4M15 33h4M22 33h4'/%3E%3C/svg%3E");
  --sx-ic-chrono: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='27' r='15'/%3E%3Cpath d='M24 27v-8M20 6h8M24 6v6M36 14l3-3'/%3E%3C/svg%3E");
  --sx-ic-lieu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 43s-13-11.5-13-22a13 13 0 0 1 26 0c0 10.5-13 22-13 22z'/%3E%3Ccircle cx='24' cy='21' r='4.5'/%3E%3C/svg%3E");
  --sx-ic-panneau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='8' width='30' height='18' rx='3'/%3E%3Cpath d='M15 14h12M15 20h18M24 26v16M17 42h14'/%3E%3C/svg%3E");
  --sx-ic-outil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30.5 7.5a9 9 0 0 0-9.7 12.2L8.6 31.9a3.8 3.8 0 0 0 5.4 5.4l12.2-12.2a9 9 0 0 0 12.2-9.7l-5.6 5.6-5.1-1.2-1.2-5.1z'/%3E%3C/svg%3E");
  --sx-ic-bouclier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5l15 5.5V22c0 9.5-6.4 16.5-15 21-8.6-4.5-15-11.5-15-21V10.5z'/%3E%3Cpath d='M17.5 24l4.5 4.5 8.5-9'/%3E%3C/svg%3E");
}
.sx-adv { list-style: none; margin: 0; padding: 0; display: grid; column-gap: clamp(20px, 3vw, 56px); }
.sx-adv__i { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-content: start; column-gap: 18px; row-gap: 8px; padding: 26px 0 28px; border-top: 1px solid var(--sx-line); min-width: 0; container-type: inline-size; }
.sx-adv__i > :not(.sx-ic) { grid-column: 2; }
.sx-ic { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--green-l); }
.sx-ic::before { content: ""; width: 32px; height: 32px; background: var(--green); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.sx:is(.s--ink, .s--deep) .sx-ic { background: rgba(159, 210, 172, .14); }
.sx:is(.s--ink, .s--deep) .sx-ic::before { background: #9fd2ac; }
.sx.s--green .sx-ic { background: rgba(255, 255, 255, .16); }
.sx.s--green .sx-ic::before { background: #fff; }
.sx-adv__i:nth-child(1) { --ic: var(--i1); } .sx-adv__i:nth-child(2) { --ic: var(--i2); } .sx-adv__i:nth-child(3) { --ic: var(--i3); }
.sx-adv__i:nth-child(4) { --ic: var(--i4); } .sx-adv__i:nth-child(5) { --ic: var(--i5); } .sx-adv__i:nth-child(6) { --ic: var(--i6); }
.sx-adv h3 { font-size: min(clamp(1.4rem, 1.1rem + 1.2vw, 2.25rem), 10cqi); letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; padding-top: 2px; }
.sx-adv p { color: var(--sx-muted); max-width: 36ch; }
@media (min-width: 721px) {
  .sx-adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-adv__i { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding: 30px 0 40px; }
  .sx-adv__i > :not(.sx-ic) { grid-column: auto; }
  .sx-ic { grid-row: auto; width: 72px; height: 72px; border-radius: 20px; margin-bottom: 16px; }
  .sx-ic::before { width: 42px; height: 42px; }
}
@media (min-width: 1081px) {
  .sx-adv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-adv:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sx-adv:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Frise chronologique : une ligne verticale, un point par date */
.sx-time { list-style: none; margin: 0; padding: 0; display: grid; --sx-dot: 0px; }
.sx-time__i { position: relative; display: grid; row-gap: 8px; padding: 0 0 clamp(34px, 4vw, 60px) 40px; min-width: 0; }
.sx-time__i::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: -12px; width: 2px; background: var(--sx-line); }
.sx-time__i::after { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--sx-bg); border: 3px solid var(--sx-acc); box-sizing: border-box; }
.sx-time__i:last-child { padding-bottom: 0; }
.sx-time__i:last-child::before { display: none; }
.sx-time__w { font-size: var(--fs-small); font-weight: 800; letter-spacing: .01em; color: var(--sx-acc); line-height: 1.3; }
.sx-time__c { display: grid; gap: 10px; min-width: 0; container-type: inline-size; }
.sx-time__c h3 { font-size: min(clamp(1.6rem, 1.15rem + 2.1vw, 3.4rem), 10cqi); letter-spacing: -.03em; line-height: .98; text-wrap: balance; }
.sx-time__c p { color: var(--sx-muted); max-width: 52ch; font-size: clamp(1rem, .96rem + .25vw, 1.15rem); }
@media (min-width: 861px) {
  .sx-time__i { grid-template-columns: 24% minmax(0, 1fr); column-gap: 80px; padding-left: 0; }
  .sx-time__i::before { left: calc(24% + 39px); top: 16px; bottom: -16px; }
  .sx-time__i::after { left: calc(24% + 31px); top: 8px; }
  .sx-time__w { text-align: right; font-size: clamp(1.1rem, .8rem + .8vw, 1.6rem); letter-spacing: -.015em; line-height: 1.15; padding-top: 2px; text-wrap: balance; }
}

/* Programme de la journée : photo collante, lignes horaire / temps fort */
.sx-prog { display: grid; gap: clamp(32px, 5vw, 96px); align-items: start; }
.sx-prog__media { aspect-ratio: 16 / 10; }
.sx-prog__main { display: grid; gap: clamp(30px, 4vw, 60px); min-width: 0; container-type: inline-size; }
.sx-prog__head { display: grid; gap: 20px; min-width: 0; }
.sx-prog__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sx-line); }
.sx-prog__i { display: grid; row-gap: 6px; column-gap: 28px; padding: 20px 0 22px; border-bottom: 1px solid var(--sx-line); }
.sx-prog__i > div { min-width: 0; }
.sx-prog__t { font-weight: 800; color: var(--sx-acc); font-size: 1rem; line-height: 1.3; }
.sx-prog__i h3 { font-size: clamp(1.3rem, 1.08rem + 1vw, 2.1rem); letter-spacing: -.022em; line-height: 1.06; text-wrap: balance; }
.sx-prog__i p.sx-opt { margin-top: 8px; color: var(--sx-muted); max-width: 54ch; }
@media (min-width: 600px) {
  .sx-prog__i { grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); align-items: start; padding: 24px 0 26px; }
  .sx-prog__t { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); padding-top: .22em; }
}
@media (min-width: 961px) {
  .sx-prog:has(> .sx-prog__media) { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .sx-prog.is-right:has(> .sx-prog__media) { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .sx-prog.is-right > .sx-prog__media { order: 2; }
  .sx-prog__media { position: sticky; top: calc(var(--nav-h) + 28px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 56px); }
  .sx-prog:not(:has(> .sx-prog__media)) .sx-prog__head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 48px; }
}

/* Tableau comparatif : lignes empilées sur mobile (nom de colonne rappelé), vraie grille dès 721 px */
.sx-tab { --cols: 2; border-top: 1px solid var(--sx-line); container-type: inline-size; }
.sx-tab.has-c { --cols: 3; }
.sx-tab__r { display: grid; row-gap: 10px; padding: 18px 0 20px; border-bottom: 1px solid var(--sx-line); }
.sx-tab__r > * { min-width: 0; }
.sx-tab__l { font-weight: 800; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem); letter-spacing: -.015em; line-height: 1.2; }
.sx-tab__r:not(.sx-tab__h) > :not(.sx-tab__l) { display: grid; gap: 2px; line-height: 1.45; }
.sx-tab__r:not(.sx-tab__h) > :not(.sx-tab__l)::before { content: attr(data-l); font-size: var(--fs-small); font-weight: 700; color: var(--sx-acc); }
.sx-tab__r:not(.sx-tab__h) > :not(.sx-tab__l):empty { display: none; }
html.adm-edit .sx-tab__r:not(.sx-tab__h) > :not(.sx-tab__l):empty { display: grid; }
html:not(.adm-edit) .sx-tab__h { display: none; }
.sx-tab__h b { font-size: 1.05rem; }
@media (max-width: 720px) {
  .sx-tab:is(.is-hl-a, .is-hl-b, .is-hl-c) .sx-tab__r:not(.sx-tab__h) > :not(.sx-tab__l) { padding-left: 14px; border-left: 3px solid transparent; }
  .sx-tab.is-hl-a .sx-tab__r > .sx-tab__a, .sx-tab.is-hl-b .sx-tab__r > .sx-tab__b, .sx-tab.is-hl-c .sx-tab__r > .sx-tab__c { border-left-color: var(--sx-acc); }
}
@media (min-width: 721px) {
  html:not(.adm-edit) .sx-tab__h { display: grid; }
  .sx-tab { border-top: 0; }
  .sx-tab__r { grid-template-columns: minmax(0, .8fr) repeat(var(--cols), minmax(0, 1fr)); padding: 0; row-gap: 0; }
  .sx-tab__r > * { padding: 20px 18px 22px; }
  .sx-tab__r > .sx-tab__l { padding-left: 0; }
  .sx-tab__r:not(.sx-tab__h) > :not(.sx-tab__l) { display: block; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); }
  .sx-tab__r:not(.sx-tab__h) > :not(.sx-tab__l)::before { content: none; }
  .sx-tab__r:not(.sx-tab__h) > :not(.sx-tab__l):empty { display: block; }
  .sx-tab__h { border-bottom: 2px solid currentColor; }
  .sx-tab__h > b { align-self: end; font-size: min(clamp(1.2rem, .85rem + 1.1vw, 2rem), 1.9cqi); letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
  .sx-tab.is-hl-a .sx-tab__a, .sx-tab.is-hl-b .sx-tab__b, .sx-tab.is-hl-c .sx-tab__c { background: var(--green-l); }
  .sx-tab.is-hl-a .sx-tab__h .sx-tab__a, .sx-tab.is-hl-b .sx-tab__h .sx-tab__b, .sx-tab.is-hl-c .sx-tab__h .sx-tab__c { background: var(--green); color: #fff; border-radius: 14px 14px 0 0; }
  .sx-tab.is-hl-a .sx-tab__r:last-child .sx-tab__a, .sx-tab.is-hl-b .sx-tab__r:last-child .sx-tab__b, .sx-tab.is-hl-c .sx-tab__r:last-child .sx-tab__c { border-radius: 0 0 14px 14px; }
  .sx:is(.s--ink, .s--deep, .s--green) .sx-tab:is(.is-hl-a, .is-hl-b, .is-hl-c) .sx-tab__r:not(.sx-tab__h) > :is(.sx-tab__a, .sx-tab__b, .sx-tab__c) { background: transparent; }
  .sx:is(.s--ink, .s--deep, .s--green) .sx-tab.is-hl-a .sx-tab__r:not(.sx-tab__h) > .sx-tab__a,
  .sx:is(.s--ink, .s--deep, .s--green) .sx-tab.is-hl-b .sx-tab__r:not(.sx-tab__h) > .sx-tab__b,
  .sx:is(.s--ink, .s--deep, .s--green) .sx-tab.is-hl-c .sx-tab__r:not(.sx-tab__h) > .sx-tab__c { background: rgba(255, 255, 255, .08); }
  .sx.s--green .sx-tab.is-hl-a .sx-tab__h .sx-tab__a, .sx.s--green .sx-tab.is-hl-b .sx-tab__h .sx-tab__b, .sx.s--green .sx-tab.is-hl-c .sx-tab__h .sx-tab__c { background: #fff; color: var(--green); }
}

@media (min-width: 721px) and (max-width: 1080px) {
  /* Trois colonnes sur tablette : l'intitulé passe au-dessus des valeurs pour laisser la largeur aux colonnes */
  .sx-tab.has-c .sx-tab__r { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-tab.has-c .sx-tab__r > .sx-tab__l { grid-column: 1 / -1; padding-bottom: 0; }
  .sx-tab.has-c .sx-tab__h > .sx-tab__l { display: none; }
  .sx-tab.has-c .sx-tab__h > b { font-size: min(clamp(1.2rem, .85rem + 1.1vw, 2rem), 2.4cqi); }
}
/* Mosaïque de photos : la première en grand, l'assemblage s'adapte au nombre de photos */
.sx-mos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.sx-mos__i { aspect-ratio: 1; }
.sx-mos__i:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.sx-mos__i:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.sx-mos__i:has(figcaption:not(:empty))::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 14, 0) 45%, rgba(10, 22, 14, .78)); pointer-events: none; }
.sx-mos__i figcaption { z-index: 1; font-size: .9rem; line-height: 1.3; }
@media (min-width: 861px) {
  .sx-mos { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 300px); }
  .sx-mos__i, .sx-mos__i:first-child, .sx-mos__i:last-child:nth-child(even) { aspect-ratio: auto; grid-column: auto; }
  .sx-mos__i:first-child { grid-column: span 2; grid-row: span 2; }
  .sx-mos:has(> :nth-child(3):last-child), .sx-mos:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-mos:has(> :nth-child(4):last-child) > :nth-child(2),
  .sx-mos:has(> :nth-child(7):last-child) > :nth-child(n+6) { grid-column: span 2; }
  .sx-mos__i figcaption { font-size: .95rem; left: 18px; right: 18px; bottom: 16px; }
}
@media (hover: hover) { .sx-mos__i img { transition: transform 1s var(--ease); } .sx-mos__i:hover img { transform: scale(1.04); } }

/* Fiche de réalisation : grande photo, fiche en tuiles */
.sx-ref { align-items: stretch; }
.sx-ref__img { aspect-ratio: 4 / 3; }
.sx-ref .split__text { align-content: center; }
.sx-ref__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin: 4px 0 0; border-top: 1px solid var(--sx-line); }
.sx-ref__facts > div { display: grid; gap: 4px; align-content: start; padding: 16px 0 18px; border-bottom: 1px solid var(--sx-line); min-width: 0; container-type: inline-size; }
.sx-ref__facts > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.sx-ref__facts dt { font-size: var(--fs-small); font-weight: 700; color: var(--sx-acc); }
.sx-ref__facts dd { margin: 0; font-size: min(clamp(1.2rem, 1rem + 1vw, 2rem), 10cqi); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
@media (min-width: 961px) {
  .sx-ref { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .sx-ref.is-right { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .sx-ref__img { aspect-ratio: auto; min-height: min(78vh, 760px); }
}

/* Plusieurs témoignages : cartes, la première mise en avant quand le nombre s'y prête */
.sx-quotes { display: grid; gap: 14px; }
.sx-quotes__i { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: clamp(24px, 3vw, 44px); border-radius: var(--radius-lg); background: #fff; min-width: 0; container-type: inline-size; }
.sx.s--white .sx-quotes__i { background: var(--paper); }
.sx:is(.s--ink, .s--deep) .sx-quotes__i { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-l); }
.sx.s--green .sx-quotes__i { background: #fff; color: var(--ink); }
.sx-quotes blockquote { position: relative; padding-top: clamp(40px, 4vw, 56px); }
.sx-quotes blockquote::before { content: "«"; position: absolute; left: -.04em; top: -.3em; font-size: clamp(4.4rem, 6vw, 6rem); font-weight: 800; line-height: 1; color: var(--green); }
.sx-quotes blockquote p { font-size: min(clamp(1.2rem, 1rem + .8vw, 1.7rem), 9cqi); font-weight: 700; letter-spacing: -.015em; line-height: 1.22; text-wrap: pretty; }
.sx-quotes figcaption { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.sx:is(.s--ink, .s--deep) .sx-quotes figcaption { border-color: var(--line-l); }
.sx-quotes figcaption b { font-size: 1.05rem; }
.sx-quotes figcaption span { color: var(--muted); font-size: .95rem; }
.sx:is(.s--ink, .s--deep) .sx-quotes figcaption span { color: rgba(255, 255, 255, .72); }
@media (min-width: 721px) {
  .sx-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-quotes:is(:has(> :nth-child(3):last-child), :has(> :nth-child(5):last-child)) > :first-child { grid-row: span 2; background: var(--green); color: #fff; border-color: transparent; }
  .sx-quotes:is(:has(> :nth-child(3):last-child), :has(> :nth-child(5):last-child)) > :first-child blockquote::before { color: var(--sand-l); }
  .sx-quotes:is(:has(> :nth-child(3):last-child), :has(> :nth-child(5):last-child)) > :first-child blockquote p { font-size: min(clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem), 10cqi); line-height: 1.12; letter-spacing: -.025em; }
  .sx-quotes:is(:has(> :nth-child(3):last-child), :has(> :nth-child(5):last-child)) > :first-child figcaption { border-color: var(--line-l); }
  .sx-quotes:is(:has(> :nth-child(3):last-child), :has(> :nth-child(5):last-child)) > :first-child figcaption span { color: rgba(255, 255, 255, .78); }
  .sx.s--green .sx-quotes:is(:has(> :nth-child(3):last-child), :has(> :nth-child(5):last-child)) > :first-child { background: var(--ink); }
}
@media (min-width: 1081px) {
  .sx-quotes:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-quotes:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

/* Formules et tarifs : cartes égales, une formule peut être mise en avant */
.sx-plans { display: grid; gap: 14px; }
.sx-plan { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: #fff; color: var(--ink); border: 1px solid var(--line); min-width: 0; container-type: inline-size; }
.sx.s--white .sx-plan { background: var(--paper); }
.sx-plan__n { font-size: min(clamp(1.6rem, 1.2rem + 1.6vw, 2.7rem), 7.6cqi); letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
.sx-plan__p { padding-block: 18px 20px; border-block: 1px solid var(--line); }
.sx-plan__price { font-size: min(clamp(1.9rem, 1.3rem + 2.2vw, 3.4rem), 13cqi); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variation-settings: "wdth" 100; }
.sx-plan__note { margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.sx-plan__inc { gap: 12px; }
.sx-plan__inc:empty { display: none; }
.sx-plan__btn { margin-top: auto; width: 100%; background: var(--ink); color: #fff; }
.sx-plan__btn:hover { background: var(--green); }
.sx-plans.is-p1 > :nth-child(1), .sx-plans.is-p2 > :nth-child(2), .sx-plans.is-p3 > :nth-child(3), .sx-plans.is-p4 > :nth-child(4) { --hl: 1; background: var(--green); color: #fff; border-color: transparent; }
.sx.s--green .sx-plans.is-p1 > :nth-child(1), .sx.s--green .sx-plans.is-p2 > :nth-child(2), .sx.s--green .sx-plans.is-p3 > :nth-child(3), .sx.s--green .sx-plans.is-p4 > :nth-child(4) { background: var(--ink); }
.sx-plans.is-p1 > :nth-child(1) .sx-plan__p, .sx-plans.is-p2 > :nth-child(2) .sx-plan__p, .sx-plans.is-p3 > :nth-child(3) .sx-plan__p, .sx-plans.is-p4 > :nth-child(4) .sx-plan__p { border-color: var(--line-l); }
.sx-plans.is-p1 > :nth-child(1) .sx-plan__note, .sx-plans.is-p2 > :nth-child(2) .sx-plan__note, .sx-plans.is-p3 > :nth-child(3) .sx-plan__note, .sx-plans.is-p4 > :nth-child(4) .sx-plan__note { color: rgba(255, 255, 255, .78); }
.sx-plans.is-p1 > :nth-child(1) .checks li::before, .sx-plans.is-p2 > :nth-child(2) .checks li::before, .sx-plans.is-p3 > :nth-child(3) .checks li::before, .sx-plans.is-p4 > :nth-child(4) .checks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338724b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.sx-plans.is-p1 > :nth-child(1) .sx-plan__btn, .sx-plans.is-p2 > :nth-child(2) .sx-plan__btn, .sx-plans.is-p3 > :nth-child(3) .sx-plan__btn, .sx-plans.is-p4 > :nth-child(4) .sx-plan__btn { background: #fff; color: var(--ink); }
.sx-plans__foot { margin-top: clamp(20px, 2.4vw, 32px); max-width: 70ch; color: var(--sx-muted); font-size: .95rem; }
@media (min-width: 721px) { .sx-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-plans > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1081px) {
  .sx-plans { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .sx-plans > :last-child:nth-child(odd) { grid-column: auto; }
}

/* Équipe : portrait carré, côte à côte dès que la carte est assez large */
.sx-team { display: grid; gap: 14px; }
.sx-team__c { min-width: 0; container-type: inline-size; }
.sx-team__p { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); color: var(--ink); }
.sx:is(.s--paper, .s--sand) .sx-team__p { background: #fff; }
.sx:is(.s--ink, .s--deep) .sx-team__p { background: rgba(255, 255, 255, .06); color: #fff; }
.sx.s--green .sx-team__p { background: #fff; }
.sx-team__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand-l); }
.sx-team__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.sx-team__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; padding: clamp(22px, 3vw, 40px); min-width: 0; container-type: inline-size; }
.sx-team__role { font-size: var(--fs-small); font-weight: 700; color: var(--green); }
.sx:is(.s--ink, .s--deep) .sx-team__role { color: #9fd2ac; }
.sx-team h3 { font-size: min(clamp(1.8rem, 1.2rem + 2.4vw, 3.6rem), 10cqi); letter-spacing: -.03em; line-height: .95; text-wrap: balance; }
.sx-team__txt { color: var(--muted); max-width: 40ch; }
.sx:is(.s--ink, .s--deep) .sx-team__txt { color: rgba(255, 255, 255, .74); }
.sx-team__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sx-team__acts:empty { display: none; }
.sx-team .sx-pill { border-color: var(--line); }
.sx:is(.s--ink, .s--deep) .sx-team .sx-pill { border-color: rgba(255, 255, 255, .3); }
@container (min-width: 520px) {
  .sx-team__p { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); grid-template-rows: none; }
  .sx-team__img { aspect-ratio: auto; min-height: 380px; }
  .sx-team__body { align-content: end; }
}
@media (min-width: 721px) { .sx-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-team:has(> :only-child) { grid-template-columns: minmax(0, 860px); } }
@media (min-width: 1081px) { .sx-team:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sx-team:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Coordonnées et accès */
.sx-where__img { aspect-ratio: 4 / 3; }
.sx-where__list { display: grid; margin: 0; border-top: 1px solid var(--sx-line); }
.sx-where__list > div { display: grid; gap: 4px; padding: 16px 0 18px; border-bottom: 1px solid var(--sx-line); min-width: 0; }
.sx-where__list dt { font-size: var(--fs-small); font-weight: 700; color: var(--sx-acc); }
.sx-where__list dd { margin: 0; min-width: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.45; }
.sx-where__list .sx-where__addr { font-size: min(clamp(1.35rem, 1.05rem + 1.3vw, 2.3rem), 9cqi); font-weight: 800; letter-spacing: -.022em; line-height: 1.1; }
.sx-where__acts { align-items: center; }
.sx-where__acts:empty { display: none; }
@media (min-width: 600px) { .sx-where__list > div { grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr); gap: 20px; } .sx-where__list dt { padding-top: .3em; } }
@media (min-width: 961px) {
  .sx-where__img { aspect-ratio: auto; height: min(80vh, 720px); }
  .sx-where:not(:has(> .sx-where__img)) { grid-template-columns: minmax(0, 1fr); }
  .sx-where:not(:has(> .sx-where__img)) .split__text { max-width: 1100px; }
}

/* Document à télécharger : la couverture posée comme une feuille imprimée */
.sx-dl { display: grid; gap: clamp(36px, 6vw, 110px); align-items: center; }
.sx-dl__doc { position: relative; display: grid; place-items: center; padding-block: clamp(20px, 4vw, 56px); }
.sx-dl__doc::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(66%, 430px); aspect-ratio: 1 / 1.414; border-radius: 6px; background: #fff; transform: translate(-46%, -50%) rotate(5deg); box-shadow: 0 30px 60px -34px rgba(23, 24, 26, .5); }
.sx-dl__sheet { position: relative; width: min(66%, 430px); aspect-ratio: 1 / 1.414; border-radius: 6px; overflow: hidden; background: #fff; transform: rotate(-3.5deg); box-shadow: 0 1px 2px rgba(23, 24, 26, .12), 0 40px 70px -30px rgba(23, 24, 26, .6); transition: transform .6s var(--ease); }
.sx-dl__sheet > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-dl__sheet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 14, .45), rgba(10, 22, 14, 0) 38%); pointer-events: none; }
.sx-dl__logo { position: absolute; z-index: 1; left: 9%; top: 7%; width: 48%; height: auto; }
.sx-dl:hover .sx-dl__sheet { transform: rotate(-1.5deg) translateY(-6px); }
.sx-dl__text { display: grid; gap: 22px; align-content: center; }
.sx-dl__text .btns { align-items: center; }
.sx-dl__meta { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--sx-line); font-size: var(--fs-small); font-weight: 700; color: var(--sx-muted); }
.sx-btn--dl { --sx-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M6 11l6 6 6-6M5 20h14'/%3E%3C/svg%3E"); }
.sx-btn--dl:hover::after { transform: translateY(2px); }
@media (min-width: 861px) { .sx-dl { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
@media (prefers-reduced-motion: reduce) { .sx-dl__sheet, .sx-mos__i img { transition: none; } }
