/* Ajustements Joppo par-dessus la feuille du modèle (wilun.css, laissée telle quelle).
   Polices servies par le site (licence SIL Open Font License) : aucun appel à Google Fonts. */
@font-face {
  font-family: 'Boldonse';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/boldonse-latin.woff2?v=194108d492') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2?v=3100e775e8') format('woff2');
}

@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/permanent-marker-latin.woff2?v=4884fec2c7') format('woff2');
}

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.joppo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* « proches » barré au feutre, « potes » écrit à la main (3 endroits de la page au plus).
   État final par défaut ; l'animation part de l'état effacé seulement si le script tourne. */
.joppo-swap { position: relative; display: inline-block; white-space: nowrap; }
/* Mot barré et mot manuscrit : affichés depuis data-text, donc ni copiés ni lus par les moteurs de
   recherche ; le texte réel est dans .joppo-sr (une seule fois). */
.joppo-swap-old::before, .joppo-swap-new::before { content: attr(data-text); }
.joppo-swap-old { position: relative; display: inline-block; opacity: .45; transition: opacity .4s ease .35s; }
.joppo-swap-line { position: absolute; left: -6%; top: 36%; width: 112%; height: .42em; overflow: visible; pointer-events: none; }
.joppo-swap-line path { fill: none; stroke: #1E96F2; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: stroke-dashoffset .55s cubic-bezier(.65, 0, .35, 1); }
.joppo-swap.is-inline .joppo-swap-line path { stroke-width: 3.6; }
.joppo-swap-new { display: inline-block; font-family: 'Permanent Marker', 'Comic Sans MS', cursive; font-weight: 400; color: #1E96F2;
  text-transform: none; letter-spacing: 0; line-height: 1; white-space: nowrap;
  clip-path: inset(-40% -15% -40% -5%); transition: clip-path .7s cubic-bezier(.65, 0, .35, 1) .45s; }
/* Titre et pied de page : l'expression barrée reste en place, l'expression manuscrite s'écrit dessous,
   centrée (les plus longues, « entre collègues », ne débordent pas). */
.joppo-swap.is-below .joppo-swap-new { position: absolute; left: 50%; top: 100%; font-size: .68em; transform: translateX(-50%) rotate(-4deg); }
.hero_title { padding-bottom: 1em; }
.footer_tagline .joppo-swap.is-below .joppo-swap-new { font-size: 1em; top: 92%; }
.footer_brand { padding-bottom: 1.6em; }
@media screen and (max-width: 767px) {
  .hero_title .joppo-swap.is-below .joppo-swap-new { font-size: .85em; top: 96%; }
}

/* Le mot manuscrit change : il s'efface de droite à gauche puis le suivant s'écrit. */
.joppo-swap.is-cycling .joppo-swap-new { transition: clip-path .5s cubic-bezier(.65, 0, .35, 1) 0s; }
.joppo-swap .joppo-swap-new.is-erasing { clip-path: inset(-40% 100% -40% -5%); transition-duration: .32s; }
.joppo-swap.is-inline .joppo-swap-new { text-align: center; }
.joppo-swap.is-inline .joppo-swap-new { margin-left: .28em; font-size: 1.12em; transform: rotate(-4deg); }
.joppo-anim .joppo-swap:not(.is-played) .joppo-swap-old { opacity: 1; }
.joppo-anim .joppo-swap:not(.is-played) .joppo-swap-line path { stroke-dashoffset: 1; }
.joppo-anim .joppo-swap:not(.is-played) .joppo-swap-new { clip-path: inset(-40% 100% -40% -5%); }

/* Drapeaux (SVG servis par le site : Windows n'affiche pas les émojis de drapeaux) */
.joppo-flag { width: 1.5em; height: 1em; flex: none; display: inline-block; object-fit: cover; border-radius: .2em; box-shadow: 0 0 0 1px #0000001f; }

/* Sélecteur de langue du menu du haut */
.joppo-navlang { position: relative; flex: none; }
.joppo-navlang summary { list-style: none; display: flex; align-items: center; gap: .4em; cursor: pointer; padding: .4em .6em; border: 1px solid #e3e3e3;
  border-radius: 2em; font-weight: 600; line-height: 1; color: #131313; white-space: nowrap; transition: background-color .2s; }
.joppo-navlang summary::-webkit-details-marker { display: none; }
.joppo-navlang summary:hover, .joppo-navlang[open] summary { background: #f2f2f3; }
.joppo-navlang-caret { width: 1em; height: 1em; transition: transform .2s; }
.joppo-navlang[open] .joppo-navlang-caret { transform: rotate(180deg); }
.joppo-lang-menu.is-down { top: calc(100% + .8em); bottom: auto; left: auto; right: -.4em; font-size: 1.15em; z-index: 20; }
@media screen and (max-width: 767px) {
  .joppo-navlang-code { display: none; }
  .joppo-navlang summary { padding: .35em .45em; }
}
/* Bouton « Être prévenu » : dans la languette du menu et dans le pied de page */
.joppo-navcta { flex: none; display: inline-flex; align-items: center; padding: .6em 1.1em; border-radius: 2em; background: var(--_colors---brand--blue);
  color: #fff; font-weight: 600; line-height: 1; letter-spacing: var(--_typography---tracking--body); white-space: nowrap; text-decoration: none;
  transition: background-color .25s; }
.joppo-navcta:hover, .joppo-navcta:focus-visible { background: #131313; }
.joppo-footcta { display: inline-flex; align-items: center; width: fit-content; margin-top: 1.4em; padding: .75em 1.25em; border-radius: 2em;
  background: var(--_colors---brand--blue); color: #fff; font-size: var(--_typography---text--ui); font-weight: 600; line-height: 1; text-decoration: none;
  transition: background-color .25s; }
.joppo-footcta:hover, .joppo-footcta:focus-visible { background: #131313; }
/* Menu : cinq liens sur grand écran ; « Fonctionnement » (le plus long) puis « Avantages » cèdent
   la place sur tablette, et tous les liens sur téléphone (ils restent dans le pied de page). */
@media screen and (max-width: 991px) {
  .hero_item:nth-child(2) { display: none; }
}
@media screen and (max-width: 767px) {
  .hero_item:nth-child(3) { display: none; }
}
@media screen and (max-width: 479px) {
  /* Petit écran : logo, bouton et drapeau ; les liens restent dans le pied de page. */
  .hero_links { display: none; }
  .joppo-navcta { padding: .55em .95em; }
}

/* Formulaire « Être prévenu » : case de consentement et piège à robots (champ invisible) */
.joppo-launch-form { position: relative; }
.joppo-consent { display: flex; align-items: flex-start; gap: .65em; margin: .9em .25em 0; text-align: left; cursor: pointer;
  font-size: var(--_typography---text--eyebrow); line-height: 1.45; color: #131313d9; }
.joppo-consent input { flex: none; width: 1.15em; height: 1.15em; margin: .12em 0 0; accent-color: var(--_colors---brand--blue); cursor: pointer; }
.joppo-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.joppo-form-note a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.cta_form-submit:disabled { opacity: .5; cursor: progress; }

/* Page Contact : formulaire à gauche, repères utiles à droite */
.joppo-contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem; max-width: 66rem; margin: 0 auto; align-items: start; }
.joppo-contact-box { padding: 2.25rem; border-radius: var(--_spacing---radius--card); background-image: linear-gradient(#ffe9de 0%, #fff 100%);
  box-shadow: inset 0 0 0 1px #13131310; }
.joppo-contact-form { display: flex; flex-direction: column; gap: 1.15rem; }
.joppo-field { display: flex; flex-direction: column; gap: .45rem; }
.joppo-field label { font-size: var(--_typography---text--eyebrow); font-weight: 500; letter-spacing: var(--_typography---tracking--ui); text-transform: uppercase;
  color: var(--_colors---neutral--ink-soft); }
.joppo-field-hint { text-transform: none; }
.joppo-field input, .joppo-field textarea { width: 100%; padding: .85rem 1.1rem; border: 1px solid var(--_colors---neutral--hairline); border-radius: 1.1rem;
  background: #fff; color: var(--_colors---neutral--ink); font: inherit; font-size: 1rem; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.joppo-field textarea { min-height: 10rem; resize: vertical; }
.joppo-field input:focus, .joppo-field textarea:focus { outline: none; border-color: var(--_colors---brand--blue); box-shadow: 0 0 0 3px #0054f926; }
.joppo-contact-form .joppo-form-note { margin: 0; }
.joppo-submit { align-self: flex-start; border: 0; cursor: pointer; font: inherit; }
.joppo-submit:disabled { opacity: .55; cursor: progress; }
.joppo-contact-done, .joppo-contact-fail { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: 1rem; text-align: left; font-size: 1rem; line-height: 1.5; }
.joppo-contact-done { background: #fff; box-shadow: inset 0 0 0 1px #0054f933; }
.joppo-contact-fail { background: var(--_colors---tint--peach); }
.joppo-contact-aside { display: flex; flex-direction: column; gap: 1rem; }
.joppo-contact-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.5rem; border-radius: var(--_spacing---radius--card);
  font-size: .975rem; line-height: 1.5; color: #131313d9; }
.joppo-contact-tile p { margin: 0; }
.joppo-contact-tile a:not(.joppo-related-all) { color: var(--_colors---brand--blue); text-decoration: underline; text-underline-offset: .2em; }
.joppo-contact-tile-title { font-family: var(--_typography---font--display); font-size: 1rem; line-height: 1.45; text-transform: uppercase; color: var(--_colors---neutral--ink); }
@media screen and (max-width: 991px) {
  .joppo-contact-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 479px) {
  .joppo-contact-box { padding: 1.5rem 1.15rem; }
}

/* Fenêtre du formulaire (boutons du menu et du pied de page) */
.joppo-dialog { width: min(34rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 1.75rem;
  background: transparent; color: var(--_colors---neutral--ink); overflow: auto; overscroll-behavior: contain; }
.joppo-dialog::backdrop { background: #13131366; backdrop-filter: blur(4px); }
.joppo-dialog[open] { animation: joppo-pop .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes joppo-pop { from { opacity: 0; transform: translateY(1rem) scale(.98); } }
html:has(.joppo-dialog[open]) { overflow: hidden; }
.joppo-dialog-panel { position: relative; display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 3rem 2rem 2rem;
  text-align: center; background-image: linear-gradient(#fff 0%, #cadffe 100%); }
.joppo-dialog .cta_form { width: 100%; }
.joppo-dialog-title { margin: 0; font-family: var(--_typography---font--display); font-size: 1.45rem; font-weight: 400; line-height: 1.4;
  letter-spacing: var(--_typography---tracking--body); text-transform: uppercase; text-wrap: balance; }
.joppo-dialog-lead { margin: 0 0 .75rem; max-width: 26em; color: var(--_colors---neutral--ink-soft); text-wrap: balance; }
.joppo-dialog-close { position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0;
  border: 0; border-radius: 50%; background: #131313; color: #fff; cursor: pointer; transition: background-color .2s; }
.joppo-dialog-close:hover, .joppo-dialog-close:focus-visible { background: var(--_colors---brand--blue); }
.joppo-dialog-close svg { width: 1rem; height: 1rem; }
@media screen and (max-width: 479px) {
  .joppo-dialog-panel { padding: 3rem 1.15rem 1.5rem; }
  .joppo-dialog-title { font-size: 1.2rem; }
}

/* Sélecteur de langue (pied de page) */
.joppo-lang { position: relative; }
.joppo-lang summary { list-style: none; display: flex; align-items: center; gap: .25em; cursor: pointer; border-radius: 2em; padding: .3em .5em; margin: -.3em -.5em; }
.joppo-lang summary::-webkit-details-marker { display: none; }
.joppo-lang summary:hover { background: #f2f2f3; }
.joppo-lang[open] .footer_locale-caret { transform: rotate(180deg); }
.joppo-lang-menu { position: absolute; bottom: calc(100% + .6em); left: -.5em; z-index: 5; min-width: 10em; margin: 0; padding: .4em; list-style: none;
  background: #fff; border: 1px solid #e3e3e3; border-radius: 1em; box-shadow: 0 .8em 2em #0000001f; }
.joppo-lang-menu a { display: flex; align-items: center; gap: .6em; white-space: nowrap; padding: .5em .8em; border-radius: .6em; color: #131313; text-decoration: none; }
/* Le menu du haut passe au premier plan (sinon le grand titre recouvre la liste des langues). */
.hero_notch { z-index: 10; }
.joppo-lang-menu a:hover, .joppo-lang-menu a:focus-visible { background: #f2f2f3; }
.joppo-lang-menu a[aria-current="true"] { font-weight: 600; color: #1E96F2; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 1rem; }
:focus-visible { outline: 2px solid #0054f9; outline-offset: 3px; }

.joppo-skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: #131313; color: #fff; padding: .6em 1em; border-radius: 2em; font-size: .9rem; }
.joppo-skip:focus { top: 1rem; }

/* Menu blanc (choix du gérant, 30/11/2026) : languette blanche, logo bleu Joppo (#33a5ff),
   liens en encre foncée. La languette se fond dans le col blanc du modèle. */
:root { --_colors---neutral--tab: #FFFFFF; }
.hero_link { opacity: .62; color: #131313; }
.hero_link:hover, .hero_link:focus-visible { opacity: 1; }

/* Pied de page blanc, posé sur le dégradé bleu du bloc contact. */
.footer { background-color: #fff; color: #131313; box-shadow: 0 1.2vw 3vw #0054f914; }
.footer_grid { border-top-color: #e3e3e3; border-bottom-color: #e3e3e3; }
.footer_heading { color: #131313; }
.footer_link { color: #131313b3; }
.footer_link:hover, .footer_link:focus-visible { color: #131313; }
.footer_copyright, .footer_locale { color: #131313b3; }

/* Logo Joppo (mot-symbole, plus large que la marque du modèle) */
.hero_logo.joppo-logo { height: 1.7em; width: auto; }
.footer_logo.joppo-logo { width: 7.5vw; min-width: 6.5rem; }

/* Pastille « Bientôt sur iPhone et Android » à la place de la note du modèle */
/* L'icône remplit toute la pastille : plus de fond blanc ni de marge (prévus pour les étoiles du modèle). */
.hero_stars { padding: 0; background: none; border-radius: 0; }
.joppo-appicon { border-radius: 26%; width: 1.85em; height: 1.85em; box-shadow: 0 .15em .5em #1e96f233; }

/* Pictogramme en tête des cartes « Pour qui » (à la place des guillemets du modèle) */
.joppo-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: #0054f9; color: #fff;
  box-shadow: 0 .6vw 1.4vw #0054f933; width: 15%; top: 0; transform: translate(-50%, -50%); }
.joppo-mark svg { width: 46%; height: 46%; }
.testimonials_card:first-child .joppo-mark { background: #ffd70d; color: #131313; box-shadow: 0 .6vw 1.4vw #ffd70d55; }
.testimonials_card:nth-child(2) .joppo-mark { background: #ae7fd8; box-shadow: 0 .6vw 1.4vw #ae7fd844; }
.testimonials_avatar { border-radius: 30%; }
/* Cartes « Pour qui » : écartées pour que les trois textes restent lisibles en entier
   (le modèle les superpose, ce qui cachait la moitié des cartes de côté). */
@media screen and (min-width: 992px) {
  .testimonials_card:nth-child(2n) { left: 18.5%; top: 58%; transform: translate(-50%, -50%) rotate(-4deg); }
  .testimonials_card:first-child { left: 81.5%; top: 58%; transform: translate(-50%, -50%) rotate(4deg); }
}
.testimonials_name { text-transform: none; }

/* Cartes « cotisations » et « dépenses » : texte resserré pour ne pas passer sous le widget
   (les textes traduits, l'allemand surtout, sont plus longs que ceux du modèle). */
@media screen and (min-width: 992px) {
  .is-body-automated, .is-body-transactions { width: 62%; }
}

/* Formulaire « être prévenu » : ouvre la messagerie, aucune donnée n'est envoyée au site */
.joppo-form-note { margin: .75em .25em 0; color: #131313b3; font-size: var(--_typography---text--eyebrow); line-height: 1.4; max-width: 30em; }

/* Pied de page */
.joppo-bank-note { max-width: 22em; text-align: right; }
.footer_link[href^="mailto:"] { text-decoration: underline; text-underline-offset: .3em; }

@media screen and (max-width: 991px) {
  .footer_logo.joppo-logo { width: 7rem; }
  .joppo-mark { display: none; }
}
@media screen and (max-width: 767px) {
  /* Textes Joppo un peu plus longs que ceux du modèle : on laisse la place à l'illustration. */
  .features_card { min-height: 27rem; }
  .footer_base { flex-wrap: wrap; gap: 1rem; }
  .joppo-bank-note { text-align: left; }
}
@media screen and (max-width: 479px) {
  .features_card { min-height: 118vw; }
  .joppo-bank-note { text-align: center; }
}

/* ---------------------------------------------------------------------------------------------
   Pages secondaires (blog, aide, pages légales, 404) : gabarit « page » du modèle
   (section_page-header, section_doc, section_page-footer), même languette et même pied de page. */
.joppo-page-header .page-header_content { align-items: center; text-align: center; max-width: 62rem; margin: 0 auto; }
.joppo-page-header.is-blue .page-header_panel { background-image: linear-gradient(#d9e8fd 0%, #fff 100%); }
.joppo-page-header.is-lilac .page-header_panel { background-image: linear-gradient(#f0dbff 0%, #fff 100%); }
.joppo-page-header .eyebrow { margin: 0; background: #fff; border-radius: 2em; padding: .45em 1em; box-shadow: 0 0 0 1px #13131312; }
.page-header_title { margin: 0; font-family: var(--_typography---font--display); font-weight: 400; line-height: 1.32;
  letter-spacing: var(--_typography---tracking--body); text-transform: uppercase; text-wrap: balance; }
.page-header_title.is-doc { font-size: var(--_typography---text--heading); }
.page-header_title.is-article { font-size: var(--_typography---text--card-small); max-width: 24em; }
.page-header_lead { text-wrap: balance; }
.hero_link[aria-current="page"] { opacity: 1; }
.joppo-crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .45em; margin: 0; padding: 0; list-style: none;
  font-size: var(--_typography---text--eyebrow); color: var(--_colors---neutral--ink-soft); }
.joppo-crumbs li + li::before { content: '/'; margin-right: .45em; opacity: .5; }
.joppo-crumbs a { color: inherit; text-decoration: none; }
.joppo-crumbs a:hover, .joppo-crumbs a:focus-visible { color: var(--_colors---neutral--ink); text-decoration: underline; text-underline-offset: .3em; }
.joppo-article-meta { margin: 0; font-size: var(--_typography---text--eyebrow); color: var(--_colors---neutral--ink-soft); }
.joppo-page .section_page-header { padding-bottom: 3.5rem; }

/* Pied de page posé sur le même dégradé que le bloc contact de l'accueil */
.joppo-footer-panel { padding: 2.778vw; }

/* Texte long : aide, pages légales, articles */
.joppo-doc { max-width: 46rem; margin: 0 auto; }
.joppo-doc.has-toc { max-width: 72rem; display: grid; grid-template-columns: 15rem minmax(0, 46rem); gap: 3.5rem; justify-content: center; align-items: start; }
.joppo-prose { font-size: 1.0625rem; line-height: 1.65; color: #131313d9; }
.joppo-prose p, .joppo-prose ul, .joppo-prose ol { margin: 0 0 1rem; }
.joppo-prose ul { list-style: disc; padding-left: 1.3em; }
.joppo-prose ol { list-style: decimal; padding-left: 1.4em; }
.joppo-prose li + li { margin-top: .45rem; }
.joppo-prose li::marker { color: var(--_colors---brand--blue); }
.joppo-prose > :last-child { margin-bottom: 0; }
.joppo-prose h2 { margin: 2.75rem 0 1rem; font-family: var(--_typography---font--body); font-size: 1.5rem; font-weight: 600; line-height: 1.25;
  letter-spacing: -.03em; text-transform: none; color: var(--_colors---neutral--ink); scroll-margin-top: 1.5rem; text-wrap: balance; }
.joppo-prose > h2:first-child, .joppo-prose .card > h2:first-child { margin-top: 0; }
.joppo-prose h3 { margin: 1.6rem 0 .5rem; font-family: var(--_typography---font--body); font-size: 1.125rem; font-weight: 600; line-height: 1.3;
  letter-spacing: -.02em; text-transform: none; color: var(--_colors---neutral--ink); }
.joppo-prose .card > h3:first-child { margin-top: 0; }
.joppo-prose a { color: var(--_colors---brand--blue); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.joppo-prose strong { font-weight: 600; color: var(--_colors---neutral--ink); }
.joppo-prose a.button, .joppo-cta a.button { color: var(--_colors---neutral--ink); text-decoration: none; }
.joppo-prose .card { margin: 1rem 0 1.5rem; padding: 1.35rem 1.5rem; border-radius: 1.25rem; background: #f7f5f2; }
.joppo-prose .card > :last-child { margin-bottom: 0; }
.joppo-prose .muted { font-size: .9rem; color: var(--_colors---neutral--ink-soft); }
.joppo-doc-note { padding: .9rem 1.15rem; border-radius: 1rem; background: var(--_colors---tint--lemon); font-size: .95rem; line-height: 1.5; }
.joppo-prose .joppo-doc-note { margin-bottom: 2rem; }
.joppo-table { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--_colors---neutral--hairline); border-radius: 1rem; }
.joppo-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .9rem; line-height: 1.45; }
.joppo-table th, .joppo-table td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--_colors---neutral--hairline); }
.joppo-table tr:last-child td { border-bottom: 0; }
.joppo-table th { background: #faf8f6; font-weight: 600; color: var(--_colors---neutral--ink); }
.joppo-prose dl.facts { display: grid; grid-template-columns: minmax(8rem, 34%) 1fr; gap: .65rem 1.25rem; margin: 0; }
.joppo-prose dl.facts dt { font-size: .9rem; color: var(--_colors---neutral--ink-soft); }
.joppo-prose dl.facts dd { margin: 0; font-weight: 500; color: var(--_colors---neutral--ink); }
.reveal-btn { font: inherit; font-size: .9em; font-weight: 600; color: var(--_colors---brand--blue); background: var(--_colors---tint--blue);
  border: 0; border-radius: 2em; padding: .3em .95em; cursor: pointer; transition: background-color .2s; }
.reveal-btn:hover { background: var(--_colors---tint--blue-deep); }

/* Questions fréquentes (aide) */
.joppo-prose .faq { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0 1.5rem; }
.joppo-prose .faq details { background: #fff; border: 1px solid var(--_colors---neutral--hairline); border-radius: 1.25rem; transition: background-color .25s, border-color .25s; }
.joppo-prose .faq details[open] { background: var(--_colors---tint--blue); border-color: transparent; }
.joppo-prose .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.1rem 1rem 1.35rem; font-weight: 600; line-height: 1.35; color: var(--_colors---neutral--ink); }
.joppo-prose .faq summary::-webkit-details-marker { display: none; }
.joppo-prose .faq summary::after { content: ''; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: #131313 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 46% no-repeat;
  transition: transform .3s cubic-bezier(.65, 0, .35, 1), background-color .25s; }
.joppo-prose .faq details[open] summary::after { transform: rotate(45deg); background-color: var(--_colors---brand--blue); }
.joppo-prose .faq details > div { padding: 0 1.35rem 1.15rem; }
.joppo-prose .faq details > div > :last-child { margin-bottom: 0; }
.joppo-prose .contact { display: grid; gap: .6rem; margin: 1rem 0; }
.joppo-prose .contact a.row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem 1rem 1.35rem;
  border-radius: 1.25rem; background: var(--_colors---tint--peach); color: var(--_colors---neutral--ink); text-decoration: none; transition: background-color .25s; }
.joppo-prose .contact a.row:hover, .joppo-prose .contact a.row:focus-visible { background: var(--_colors---tint--peach-deep); }
.joppo-prose .contact a.row span { display: flex; flex-direction: column; font-weight: 600; }
.joppo-prose .contact a.row small { font-size: .9rem; font-weight: 400; color: var(--_colors---neutral--ink-soft); }
.joppo-prose .contact a.row b { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; font-size: 0;
  background: #131313 url('/assets/img/icon-arrow.svg?v=610d32a5f4') center / 48% no-repeat; }

/* Sommaire des pages légales : colonne fixe sur grand écran, bloc repliable sur petit écran */
.joppo-toc { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow: auto; font-size: .9rem; }
.joppo-toc summary { list-style: none; cursor: pointer; font-size: var(--_typography---text--eyebrow); letter-spacing: var(--_typography---tracking--tight);
  text-transform: uppercase; color: var(--_colors---neutral--ink); padding: 0 .75rem; }
.joppo-toc summary::-webkit-details-marker { display: none; }
.joppo-toc ol { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .1rem; }
.joppo-toc a { display: block; padding: .38rem .75rem; border-radius: .6rem; color: var(--_colors---neutral--ink-soft); line-height: 1.35; text-decoration: none; transition: background-color .2s, color .2s; }
.joppo-toc a:hover, .joppo-toc a:focus-visible { background: #f2f2f3; color: var(--_colors---neutral--ink); }

/* Blog : cartes d'articles */
.joppo-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.joppo-posts.is-related { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 60rem; margin: 0 auto; }
.joppo-post { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--_spacing---radius--card);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.joppo-post:hover { transform: translateY(-.3rem) rotate(-.6deg); box-shadow: 0 1.2rem 2.5rem #13131314; }
.joppo-post:focus-within { outline: 2px solid var(--_colors---brand--blue); outline-offset: 3px; }
.joppo-post-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.joppo-post-body { flex: 1; display: flex; flex-direction: column; gap: .65rem; padding: 1.4rem 1.5rem 1.6rem; }
.joppo-post-cat { width: fit-content; margin: 0; padding: .35em .85em; border-radius: 2em; background: #fff; font-size: var(--_typography---text--eyebrow);
  letter-spacing: var(--_typography---tracking--tight); text-transform: uppercase; line-height: normal; }
.joppo-post-title { margin: 0; font-family: var(--_typography---font--display); font-size: 1.05rem; font-weight: 400; line-height: 1.5;
  letter-spacing: var(--_typography---tracking--body); text-transform: uppercase; text-wrap: balance; }
.joppo-post-link { color: inherit; text-decoration: none; }
.joppo-post-link:focus-visible { outline: none; }
.joppo-post-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.joppo-post-desc { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--_colors---neutral--ink-soft); }
.joppo-post-meta { margin: auto 0 0; padding-top: .35rem; font-size: .85rem; color: var(--_colors---neutral--ink-soft); }

/* Blog : article */
.joppo-page .section_doc.joppo-article { padding-top: 0; }
.joppo-article-figure { max-width: 64rem; margin: 0 auto 3rem; }
.joppo-article-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--_spacing---radius--card); }
.joppo-post-img.is-focus-bottom { object-position: 50% 88%; }
.joppo-article-img.is-focus-bottom { object-position: 50% 84%; }
.joppo-prose.is-article { max-width: 42rem; margin: 0 auto; font-size: 1.125rem; line-height: 1.7; }
.joppo-prose.is-article > p:first-child { font-size: 1.25rem; line-height: 1.55; color: var(--_colors---neutral--ink); }
.joppo-prose.is-article h2 { margin-top: 2.6rem; font-family: var(--_typography---font--display); font-size: 1.15rem; font-weight: 400; line-height: 1.5;
  letter-spacing: var(--_typography---tracking--body); text-transform: uppercase; }
.joppo-cta { max-width: 42rem; margin: 3.5rem auto 0; padding: 2.4rem 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center; border-radius: var(--_spacing---radius--card); background-image: linear-gradient(#fff 0%, #cadffe 100%); box-shadow: inset 0 0 0 1px #0054f914; }
.joppo-cta-title { margin: 0; font-family: var(--_typography---font--display); font-size: 1.3rem; line-height: 1.45; text-transform: uppercase; text-wrap: balance; }
.joppo-cta-text { margin: 0; max-width: 30em; color: var(--_colors---neutral--ink-soft); }
.joppo-page .section_doc.joppo-related { padding-top: 1rem; }
.joppo-related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; max-width: 60rem; margin: 0 auto 1.5rem; }
.joppo-related-title { margin: 0; font-size: var(--_typography---text--card-small); }
.joppo-related-all { font-weight: 600; color: var(--_colors---neutral--ink); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.joppo-notfound { text-align: center; }
.joppo-notfound-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; margin-top: 1.5rem; }

@media screen and (max-width: 991px) {
  .joppo-doc.has-toc { display: block; }
  .joppo-toc { position: static; max-height: none; margin-bottom: 2rem; padding: .9rem .6rem; border: 1px solid var(--_colors---neutral--hairline); border-radius: 1.25rem; }
  .joppo-toc summary { display: flex; justify-content: space-between; align-items: center; }
  .joppo-toc summary::after { content: ''; width: .55em; height: .55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-.15em, -.15em); transition: transform .2s; }
  .joppo-toc[open] summary::after { transform: rotate(-135deg); }
  .joppo-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .joppo-footer-panel { padding: 1.5rem .6rem .6rem; }
}
@media screen and (max-width: 767px) {
  .joppo-posts, .joppo-posts.is-related { grid-template-columns: 1fr; }
  .joppo-prose.is-article { font-size: 1.0625rem; }
  .joppo-prose.is-article > p:first-child { font-size: 1.15rem; }
  .joppo-article-figure { margin-bottom: 2rem; }
  .joppo-article-img { aspect-ratio: 4 / 3; }
  .joppo-cta { padding: 2rem 1.25rem; }
}
@media screen and (max-width: 479px) {
  .joppo-prose dl.facts { grid-template-columns: 1fr; gap: .1rem; }
  .joppo-prose dl.facts dd { margin-bottom: .7rem; }
  .joppo-prose .card { padding: 1.15rem 1.2rem; }
}

/* ---------------------------------------------------------------------------------------------
   Animations : les éléments sont masqués avant leur entrée seulement si le script tourne
   (classe « joppo-anim » posée par head.js, retirée d'office si GSAP ne se charge pas). */
.joppo-anim .hero_nav,
.joppo-anim .hero_rating,
.joppo-anim .hero_title-line,
.joppo-anim .hero_lead,
.joppo-anim .hero_pitch .button,
.joppo-anim .hero_layer,
.joppo-anim .hero_card,
.joppo-anim .hero_arc,
.joppo-anim [data-reveal],
.joppo-anim .benefits_card,
.joppo-anim .features_card,
.joppo-anim .features_deco,
.joppo-anim .pricing_plan,
.joppo-anim .pricing_blob,
.joppo-anim .testimonials_card,
.joppo-anim .footer { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button_flood, .button_badge, .button_label, .hero_arc, .features_deco, .pricing_blob { transition: none !important; }
}

/* ---------------------------------------------------------------- Page ouverte dans l'app Joppo
   L'app ajoute ?app=1 (et &theme=dark ou light) ; /assets/js/app.js pose data-app et data-theme sur
   <html> avant l'affichage. L'app montre déjà son en-tête avec le titre : ni menu, ni grand titre, ni
   pied de page ici, et les couleurs sont celles du thème de l'app (theme/tokens.js). */
html[data-app] { scroll-behavior: auto; }
html[data-app] body { background-color: #f3f7fc; }
html[data-app] .joppo-skip,
html[data-app] .hero_notch,
html[data-app] .page-header_panel,
html[data-app] .joppo-page-header .eyebrow,
html[data-app] .page-header_title,
html[data-app] .section_page-footer { display: none; }
html[data-app] .joppo-page .section_page-header { padding: 1rem 0 0; }
html[data-app] .joppo-page-header .page-header_content { align-items: flex-start; text-align: left; max-width: 46rem; }
html[data-app] .page-header_lead { margin: 0; font-size: .875rem; line-height: 1.4; color: var(--_colors---neutral--ink-soft); }
html[data-app] .joppo-page .section_doc { padding-top: 1rem; padding-bottom: 2rem; }
html[data-app] .joppo-toc { position: static; max-height: none; margin-bottom: 1.25rem; padding: .9rem .4rem; border-radius: 1.25rem; background: #fff; }
html[data-app] .joppo-prose .card { background: #fff; }

html[data-app][data-theme="dark"] {
  color-scheme: dark;
  --_colors---neutral--white: #0b1220;
  --_colors---neutral--ink: #f3f5f9;
  --_colors---neutral--ink-soft: #aab3c2;
  --_colors---neutral--ink-muted: #aab3c2;
  --_colors---neutral--hairline: #243049;
  --_colors---brand--blue: #8fb5ff;
  --_colors---tint--blue: #17284a;
  --_colors---tint--blue-deep: #1c3260;
  --_colors---tint--peach: #3a2117;
  --_colors---tint--peach-deep: #4a2b1e;
  --_colors---tint--lemon: #332e10;
  --_colors---tint--lilac: #2c2039;
}
html[data-app][data-theme="dark"] body { background-color: #0b1220; color: #f3f5f9; }
html[data-app][data-theme="dark"] .joppo-prose { color: #f3f5f9d9; }
html[data-app][data-theme="dark"] .joppo-toc,
html[data-app][data-theme="dark"] .joppo-prose .card,
html[data-app][data-theme="dark"] .joppo-prose .faq details { background: #151d2e; }
html[data-app][data-theme="dark"] .joppo-prose .faq details[open] { background: #17284a; }
html[data-app][data-theme="dark"] .joppo-prose .faq summary::after,
html[data-app][data-theme="dark"] .joppo-prose .contact a.row b { background-color: #2b63f0; }
html[data-app][data-theme="dark"] .joppo-prose a.button,
html[data-app][data-theme="dark"] .joppo-cta a.button { color: #131313; }
html[data-app][data-theme="dark"] .joppo-table th { background: #1c2638; }
html[data-app][data-theme="dark"] .joppo-toc a:hover,
html[data-app][data-theme="dark"] .joppo-toc a:focus-visible { background: #1c2638; }
html[data-app][data-theme="dark"] .joppo-doc-note { color: #f3f5f9; }
