/* =========================================================================
   Jo&i — porte d'entrée (jo-and-i.com)
   Feuille de style unique, partagée par les quatre pages.
   Reprise de la proposition Claude Design, avec les couleurs réelles de
   l'appli : Bleu Klein-cobalté #1829AA (fonds.js) et Vert Jo' #1D9E75.
   ========================================================================= */

:root{
  color-scheme: light;

  /* --- encre --- */
  --ink:        #10204F;   /* titres */
  --ink-2:      #3E4C6E;   /* texte courant */
  --ink-3:      #4A5878;   /* secondaire, légendes */

  /* --- bleu Jo' (signature « Klein-cobalté ») --- */
  --bleu:       #1829AA;
  --bleu-fonce: #131F8C;
  --bleu-clair: #2338C4;

  /* --- vert Jo' (couleur primaire de l'appli) --- */
  --vert:       #1D9E75;
  --vert-fonce: #0D7A57;
  --vert-texte: #0F7F5E;   /* lisible sur fond clair */
  --menthe:     #7FF0C4;   /* lisible sur fond bleu */
  --menthe-2:   #4FE8AD;

  /* --- eau --- */
  --eau:        #7FE3E8;
  --eau-2:      #A6EEF0;
  --eau-pale:   #EFFCFC;
  --eau-fonce:  #3AA6D6;

  /* --- surfaces --- */
  --fond:       #FBFDFD;
  --blanc:      #FFFFFF;
  --bord:       #E3EEF2;
  --bord-2:     #E1ECEF;
  --brume:      #EEF9FA;
  --brume-bord: #D2EAEE;

  /* --- placeholder éditorial --- */
  --ph-fond:    #FDF1E4;
  --ph-texte:   #8A4B14;

  /* --- terracotta : la seule note chaude, réservée aux annonces --- */
  --terre:       #C2562F;
  --terre-fonce: #9A3F1D;   /* lisible sur fond clair, et sous du blanc */
  --terre-pale:  #FDF0EA;
  --terre-bord:  #F2D3C4;

  --h-entete:   84px;   /* hauteur de la barre collante */
  --max:        1240px;
  --rayon:      28px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}
/* La barre du haut est collante : une ancre atterrirait dessous. On réserve
   sa hauteur au-dessus de chaque cible. */
[id]{scroll-margin-top:calc(var(--h-entete) + 20px)}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  margin:0;
  background:var(--fond);
  color:var(--ink-2);
  font-family:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.verrou{overflow:hidden;height:100vh}

a{color:var(--bleu)}
a:hover{color:var(--vert-texte)}

/* height:auto est indispensable dès que les images portent leurs dimensions
   en attributs : sans lui, une image rétrécie par max-width garderait la
   hauteur annoncée et s'écraserait. Les règles qui fixent une hauteur
   (.bulle .jo, .orbe img…) restent prioritaires. */
img{max-width:100%;height:auto}

.serif{font-family:'Source Serif 4',Georgia,'Times New Roman',serif}

:focus-visible{outline:3px solid var(--vert);outline-offset:3px;border-radius:6px}

.skip{
  position:absolute;left:-9999px;top:0;z-index:999;
  background:var(--blanc);color:var(--bleu);font-weight:600;
  padding:14px 20px;border-radius:0 0 12px 0;
}
.skip:focus{left:0}

.sr{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* =========================================================================
   1. Le seuil — la bulle seule, posée sur l'eau
   ========================================================================= */

/* Le seuil place la bulle EXACTEMENT là où elle se trouve ensuite dans la
   page (84 px d'en-tête + 40 px de marge). Elle ne bouge donc pas d'un pixel
   quand la page s'ouvre : c'est tout l'effet. */
.seuil{
  position:fixed;inset:0;z-index:100;overflow:hidden;
  background:var(--fond);
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  padding-top:124px;
  transition:opacity .9s ease;
}
.seuil[hidden]{display:none}
.seuil.part{opacity:0;pointer-events:none}

.seuil-marque{position:absolute;left:0;right:0;top:30px;text-align:center}

.seuil-bulle{
  position:absolute;left:0;top:0;width:320px;height:320px;z-index:4;
  border-radius:50%;border:0;background:transparent;padding:0;cursor:pointer;
}
.seuil-bulle:focus-visible{outline:3px solid var(--vert);outline-offset:8px}

.seuil-texte{
  position:relative;z-index:2;margin-top:18px;
  display:flex;flex-direction:column;align-items:center;gap:22px;
  text-align:center;padding:0 24px;
}
.seuil-ligne{
  margin:0;color:var(--ink);
  font-size:clamp(28px,4.4vw,44px);line-height:1.15;font-style:italic;font-weight:400;
  letter-spacing:-.01em;
  animation:monte 1.4s ease .45s both;
}
.seuil-indice{font-size:13.5px;color:var(--ink-3);animation:monte 1.4s ease 1.15s both}
.btn-entrer{animation:monte 1.4s ease .85s both}

/* la bulle du seuil est cliquable */
.seuil-bulle{
  appearance:none;border:0;background:transparent;padding:0;cursor:pointer;
  display:block;border-radius:50%;
}
.seuil-bulle:focus-visible{outline:3px solid var(--vert);outline-offset:8px}

/* La page se découvre depuis la bulle — même centre que la bulle du seuil.
   Au repos, AUCUN découpage : un rayon fini, même énorme, finissait par
   couper le bas d'une page longue. Le script retire ces classes une fois
   l'ouverture terminée. */
.page.ferme{clip-path:circle(0px at 50% 284px)}
.page.ouvert{clip-path:circle(8000px at 50% 284px)}
.page.anime{transition:clip-path 1.5s cubic-bezier(.65,0,.2,1)}

@keyframes monte{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes respire{0%,100%{transform:scale(1)}50%{transform:scale(1.014)}}

@media (prefers-reduced-motion:reduce){
  .seuil-ligne,.seuil-indice,.btn-entrer{animation:none}
  .page.anime{transition:none}
  .bulle{animation:none}
}

/* =========================================================================
   2. La bulle, l'eau, le reflet
   ========================================================================= */

.scene{display:block;position:relative;width:320px;height:490px;margin:0 auto}
.scene-seuil{height:420px}

.bulle{
  position:absolute;left:0;top:0;width:320px;height:320px;
  border-radius:50%;overflow:hidden;
  background:
    radial-gradient(120% 95% at 50% 14%,rgba(255,255,255,1) 0 34%,rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#ffffff 0%,var(--eau-pale) 38%,var(--eau-2) 66%,#6FC6E4 86%,#3F74D8 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(46,170,190,.32),
    inset 0 -22px 46px rgba(31,63,160,.22),
    0 0 110px rgba(127,227,232,.45);
  animation:respire 7s ease-in-out infinite;
}
.bulle::after{
  content:"";position:absolute;left:18%;top:7%;width:46%;height:22%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(255,255,255,0));
  z-index:3;pointer-events:none;
}
.bulle .jo{position:absolute;left:50%;bottom:-6px;height:268px;width:auto;transform:translateX(-50%);z-index:2}

/* L'eau va d'un bord à l'autre : bornée à la scène, elle dessinait un
   rectangle clair au milieu du bleu. Le conteneur bleu la recadre. */
.eau{
  position:absolute;left:-50vw;right:-50vw;top:320px;height:175px;
  background:linear-gradient(180deg,rgba(111,221,229,.5),rgba(111,221,229,.1) 45%,rgba(111,221,229,0));
}
.eau::before{
  content:"";position:absolute;left:10%;right:10%;top:-1px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,rgba(80,205,215,0),rgba(80,205,215,.9),rgba(80,205,215,0));
}

.reflet{
  position:absolute;left:0;top:322px;width:320px;height:165px;overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,0) 85%);
          mask-image:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,0) 85%);
}
/* Le reflet se retourne DANS sa propre boîte (origine 50% 50%). Avec une
   origine en haut, il basculait au-dessus du conteneur et disparaissait. */
.reflet .rb{
  position:absolute;left:0;top:0;width:320px;height:320px;border-radius:50%;
  transform:scaleY(-1);overflow:hidden;
  filter:blur(2.5px);opacity:.5;
  background:linear-gradient(180deg,#ffffff 0%,var(--eau-pale) 38%,var(--eau-2) 66%,#6FC6E4 86%,#3F74D8 100%);
}
.reflet .rb img{position:absolute;left:50%;bottom:-6px;height:268px;width:auto;transform:translateX(-50%)}

/* La scène de l'accueil s'arrête là où le reflet s'est éteint : le texte
   remonte d'autant, au lieu d'attendre sous une zone vide. La bulle, elle,
   ne bouge pas — elle reste calée sur celle de l'écran d'ouverture. */
.scene-hero .scene{height:398px}

/* bulle décorative, dans les cartes et les en-têtes de page */
.orbe{
  position:absolute;z-index:0;border-radius:50%;overflow:hidden;pointer-events:none;
  background:
    radial-gradient(120% 95% at 50% 14%,#fff 0 34%,rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#fff 0%,var(--eau-pale) 38%,var(--eau-2) 66%,#6FC6E4 86%,#3F74D8 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(170,245,248,.5),
    inset 0 -16px 34px rgba(31,63,160,.22),
    0 0 90px rgba(127,227,232,.42);
}
.orbe img{position:absolute;left:50%;bottom:-3px;height:84%;width:auto;transform:translateX(-50%)}

/* =========================================================================
   3. Marque, navigation, boutons
   ========================================================================= */

/* La marque, c'est le logo officiel — jamais un « Jo&i » recomposé au clavier.
   Charte : 80 px de large minimum, et un vide autour au moins égal à la hauteur du « o ». */
.marque{display:inline-block;line-height:0;text-decoration:none}
.marque img{width:88px;height:auto;display:block}
.pied .marque img{width:80px}
.seuil-marque .marque img{width:112px;margin:0 auto}

.bleu{
  position:relative;overflow:hidden;color:#fff;padding-top:var(--h-entete);
  background:radial-gradient(62% 58% at 50% 34%,var(--bleu-clair) 0%,var(--bleu) 52%,var(--bleu-fonce) 100%);
}
.bleu-haut{background:radial-gradient(60% 80% at 78% 40%,var(--bleu-clair) 0%,var(--bleu) 52%,var(--bleu-fonce) 100%)}

/* La barre du haut suit le défilement. Elle vit HORS du bloc bleu — qui
   découpe ce qui déborde, et empêcherait donc le « collant » de tenir — et
   se repose dessus grâce à sa marge négative. Au repos elle est invisible ;
   dès qu'on défile, elle prend un fond. */
.entete{
  position:sticky;top:0;z-index:40;
  margin-bottom:calc(var(--h-entete) * -1);
  transition:background .25s ease,box-shadow .25s ease;
}
.entete-in{
  height:var(--h-entete);display:flex;align-items:center;justify-content:space-between;gap:24px;
  max-width:var(--max);margin:0 auto;padding:0 32px;
}
html:not(.js) .entete{position:static}
.entete.pose{
  background:rgba(19,31,140,.9);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.16),0 14px 34px -22px rgba(6,12,60,.95);
}
@supports (backdrop-filter:blur(2px)){
  .entete.pose{background:rgba(19,31,140,.72);backdrop-filter:blur(14px)}
}

.nav{display:flex;align-items:center;gap:20px}
.liens{display:flex;align-items:center;gap:28px}
.nav a{text-decoration:none;font-size:15px;font-weight:500}
.entete .nav a{color:rgba(255,255,255,.86)}
.entete .nav a:hover,.entete .nav a[aria-current]{color:#fff}
.entete .nav a[aria-current]{box-shadow:0 2px 0 var(--menthe-2)}
/* le bouton blanc garde son texte bleu */
.entete .nav a.btn-clair,.entete .nav a.btn-clair:hover{color:var(--bleu);box-shadow:none}

/* Le déplimenu du téléphone. Sans JavaScript il n'apparaît pas et les liens
   restent affichés : le menu ne doit jamais devenir inatteignable. */
.burger{
  display:none;align-items:center;gap:9px;
  min-height:44px;padding:0 14px;border-radius:999px;cursor:pointer;
  appearance:none;border:0;background:transparent;color:#fff;
  font:600 14.5px 'Figtree',sans-serif;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45);
}
.burger:hover{box-shadow:inset 0 0 0 1.5px #fff}
.burger[aria-expanded="true"]{background:rgba(255,255,255,.16)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:48px;padding:0 24px;border-radius:999px;
  font:600 15.5px/1 'Figtree',sans-serif;text-decoration:none;cursor:pointer;border:0;
  transition:background .2s ease,box-shadow .2s ease,transform .2s ease;
}
.btn-plein{background:var(--bleu);color:#fff}
.btn-plein:hover{background:var(--bleu-fonce);color:#fff}
.btn-clair{background:#fff;color:var(--bleu)}
.btn-clair:hover{background:#E8FBF3;color:var(--bleu)}
.btn-creux{background:transparent;color:var(--bleu);box-shadow:inset 0 0 0 1.5px rgba(24,41,170,.3)}
.btn-creux:hover{box-shadow:inset 0 0 0 1.5px var(--bleu);color:var(--bleu)}
.btn-creux-blanc{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45)}
.btn-creux-blanc:hover{color:#fff;box-shadow:inset 0 0 0 1.5px #fff}
.btn-petit{min-height:44px;padding:0 20px;font-size:14.5px}
.btn-entrer{
  background:var(--bleu);color:#fff;padding:16px 30px;min-height:48px;
  box-shadow:0 10px 30px rgba(24,41,170,.22);
  font:600 16px/1 'Figtree',sans-serif;border-radius:999px;border:0;cursor:pointer;
}
.btn-entrer:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(24,41,170,.3)}

/* =========================================================================
   4. Mise en page des sections
   ========================================================================= */

.sec{max-width:var(--max);margin:0 auto;padding:92px 32px}
.sec-serree{padding-top:48px}
.bande{background:var(--brume);border-top:1px solid var(--brume-bord);border-bottom:1px solid var(--brume-bord)}
.bande-grise{background:#F3F8FA;border-top:1px solid var(--bord);border-bottom:1px solid var(--bord)}

.sec-tete{display:flex;flex-direction:column;gap:12px;max-width:680px;margin-bottom:44px}
/* Ce titre-là demandait 685 px pour tenir d'un trait : cinq de trop, et il se
   cassait en deux. On élargit sa tête de section, et le chapô avec elle, pour
   qu'ils s'étalent à la mesure des deux cartes posées dessous. */
#espaces .sec-tete{max-width:900px}
#espaces .chapo{max-width:780px}
.cle{font:700 11px/1 'Figtree',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--vert-texte)}
.bleu .cle,.data .cle{color:var(--menthe)}
.h1{
  font-size:clamp(38px,5.2vw,62px);line-height:1.05;font-weight:600;letter-spacing:-.022em;
  margin:0;color:var(--ink);text-wrap:balance;
}
.bleu .h1{color:#fff}
.h2{
  font-size:clamp(29px,3.4vw,42px);line-height:1.1;font-weight:600;letter-spacing:-.018em;
  margin:0;color:var(--ink);text-wrap:balance;
}
.h3{font-size:clamp(22px,2vw,26px);line-height:1.15;font-weight:600;margin:0;color:var(--ink)}
.chapo{font-size:clamp(17px,1.6vw,19px);line-height:1.6;color:var(--ink-3);margin:0;max-width:620px;text-wrap:pretty}
.bleu .chapo{color:rgba(255,255,255,.84)}
.sur{font:700 12px/1 'Figtree',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--vert-texte)}
.bleu .sur{color:var(--menthe)}

/* Les crochets éditoriaux se replient : en « nowrap », une note un peu longue
   débordait la page de 900 px sur téléphone. */
.ph{
  font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;
  color:var(--ph-texte);background:var(--ph-fond);padding:2px 7px;border-radius:6px;
  overflow-wrap:break-word;
}

/* --- accueil : la scène et le titre --- */
/* Pas de marge au-dessus du surtitre : il se pose exactement là où le reflet
   de Jo s'est éteint, soit au bas de la scène. */
.hero{padding:0 32px 100px;max-width:860px;margin:0 auto;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:22px;position:relative;z-index:2}
.hero .h1{font-size:clamp(38px,5.6vw,66px)}
.ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:6px}
.scene-hero{margin-top:40px;position:relative;z-index:2}

/* --- en-tête des pages intérieures --- */
.intro{
  max-width:var(--max);margin:0 auto;padding:72px 32px 96px;position:relative;z-index:2;
  display:flex;flex-direction:column;gap:20px;
}
/* le titre s'arrête avant la bulle décorative, et garde une longueur de
   ligne lisible */
.intro .h1{max-width:min(740px,66%)}
.sommaire{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.sommaire a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;
  color:#fff;text-decoration:none;font-weight:600;font-size:14.5px;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4);
}
.sommaire a:hover{box-shadow:inset 0 0 0 1.5px #fff;color:#fff}

/* =========================================================================
   5. Les deux espaces
   ========================================================================= */

.portes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:24px;position:relative}
.porte{
  position:relative;border-radius:var(--rayon);padding:40px;overflow:hidden;
  display:flex;flex-direction:column;gap:18px;min-height:430px;
}
.porte-a{background:var(--blanc);border:1px solid var(--bord);box-shadow:0 30px 60px -32px rgba(31,63,160,.18)}
.porte-b{background:linear-gradient(180deg,var(--brume) 0%,#D7F1F4 55%,#C3E6EE 100%);border:1px solid var(--brume-bord)}
.porte .orbe{right:-44px;top:-44px;width:210px;height:210px}
/* Empilées, la jointure est horizontale et sa hauteur dépend de celle de la
   carte du dessus, que le CSS ne connaît pas : la bulle reste alors dans la
   carte blanche, et c'est celle-ci qu'on voit. */
.orbe-liaison{display:none}
/* Sans la ligne « Explorer », le texte remontait sous la bulle décorative et
   passait dessous. La bulle de la carte ouverte s'arrête donc plus haut. */
.porte-a .orbe{top:-58px;width:188px;height:188px}
.porte-b .orbe{transform:scaleY(-1);right:-44px;top:auto;bottom:-120px;filter:blur(3px);opacity:.45;box-shadow:none}

.pastille{
  align-self:flex-start;font:700 11px/1 'Figtree',sans-serif;letter-spacing:.12em;
  text-transform:uppercase;padding:7px 11px;border-radius:999px;
}
.pastille-ouvert{color:#0B6B4F;background:#DCF5EA}
.pastille-bientot{color:var(--bleu);background:rgba(255,255,255,.75)}
.verbe{font:italic 500 19px/1.2 'Source Serif 4',Georgia,serif;color:var(--vert-texte)}
.porte-b .verbe{color:var(--bleu)}
.porte h3{margin:0;font-size:34px;line-height:1.05;font-weight:600;letter-spacing:-.015em;color:var(--ink);max-width:70%}
.porte p{margin:0;font-size:16.5px;line-height:1.6;color:var(--ink-2);max-width:440px;text-wrap:pretty}
.faits{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:14px;color:var(--ink-3);font-weight:500}
.porte-pied{margin-top:auto;display:flex;flex-wrap:wrap;gap:12px;align-items:center;position:relative;z-index:2}

/* --- La boîte à idées du second espace ---
   Repliée, elle ne prend qu'une ligne ; le formulaire n'apparaît que si on
   l'ouvre. Un <details> le fait nativement, sans JavaScript et sans câblage
   d'accessibilité à écrire. */
.boite{
  position:relative;z-index:2;border-radius:20px;
  background:rgba(255,255,255,.52);box-shadow:inset 0 0 0 1.5px rgba(31,63,160,.14);
}
.boite > summary{
  list-style:none;cursor:pointer;padding:12px 16px;min-height:60px;
  display:flex;align-items:center;gap:13px;border-radius:20px;
  font:600 15.5px/1.35 'Figtree',sans-serif;color:#2B3A63;
}
.boite > summary::-webkit-details-marker{display:none}
.boite > summary:hover{background:rgba(255,255,255,.4)}
.boite .boite-dit{flex:1;min-width:0}
.boite .chevron{flex:0 0 auto;color:var(--bleu);transition:transform .2s ease}
.boite[open] > summary .chevron{transform:rotate(180deg)}
.boite-ic{
  flex:0 0 42px;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;
  background:#fff;color:var(--bleu);box-shadow:0 0 0 1px rgba(31,63,160,.12),0 8px 18px -12px rgba(31,63,160,.6);
}
.boite-corps{padding:0 16px 16px;display:flex;flex-direction:column;gap:12px}
.boite-corps p{margin:0;font-size:15px;line-height:1.5;color:var(--ink-2)}
.boite textarea{width:100%;min-height:72px;resize:vertical;font-family:'Figtree',sans-serif}
.boite .btn{align-self:flex-start;background:rgba(255,255,255,.75)}

/* --- Les extraits de l'appli ---
   Pas des captures entières : réduites à la largeur d'une carte, leur texte
   devient illisible. Ce sont des morceaux découpés dans l'image d'origine.

   Chaque extrait se décrit en QUATRE NOMBRES, en pixels de l'image source :
   --x --y le coin haut-gauche de la découpe, --w --h sa taille. Tout le reste
   se calcule. Les limites à ne pas franchir sont écrites à côté de chaque
   extrait : ce sont elles, et rien d'autre, qui garantissent qu'aucun
   « À venir », aucun « Complet » et aucun reste d'anglais n'arrive sur la page.

   Les découpes s'élargissent avec la carte. Les calibrer toutes sur le
   téléphone revenait à n'offrir, sur grand écran, que des vignettes perdues
   dans du blanc. */
.porte{container-type:inline-size}

/* Chaque extrait annonce ce qu'il montre : sans légende, une capture demande
   un effort de déchiffrage ; avec, elle confirme une promesse. */
.extrait{margin:0;display:flex;flex-direction:column;gap:7px}
.extrait figcaption{
  font:700 11px/1.2 'Figtree',sans-serif;letter-spacing:.12em;
  text-transform:uppercase;color:var(--vert-texte);
}

.ecrans{
  position:relative;z-index:2;margin:16px 0 12px;
  display:flex;flex-direction:column;gap:20px;
}

/* Trois captures posées à la suite se lisaient comme une seule image qui
   déborde. Chacune dans son cadre, on voit trois promesses distinctes :
   l'environnement, les parcours, les outils. Le cadre coûte de la largeur,
   donc les captures sont un peu plus petites — ce qu'on perd en taille, on
   le gagne en lisibilité de la structure. */
.ecrans .extrait{
  background:var(--brume);
  box-shadow:0 0 0 1px var(--brume-bord);
  border-radius:18px;
  padding:14px 14px 16px;
  gap:9px;
}
.ecran{
  --nw:863; --nh:907;               /* taille native de l'image source */
  --x:0; --y:0; --w:291; --h:100;   /* la découpe, en pixels de cette image */
  position:relative;margin:0;overflow:hidden;border-radius:12px;background:#fff;
  max-width:calc(var(--w) * 1px);
  aspect-ratio:var(--w) / var(--h);
  box-shadow:0 0 0 1px rgba(31,63,160,.16),0 10px 22px -14px rgba(31,63,160,.35);
  /* le fondu ne sert qu'à éteindre une coupure : court, et tout au bord */
  -webkit-mask-image:linear-gradient(to right,#000 92%,rgba(0,0,0,0) 100%);
          mask-image:linear-gradient(to right,#000 92%,rgba(0,0,0,0) 100%);
}
.ecran img{
  display:block;position:relative;height:auto;max-width:none;
  width:calc(var(--nw) / var(--w) * 100%);
  left:calc(var(--x) / var(--w) * -100%);
  transform:translateY(calc(var(--y) / var(--nh) * -100%));
}
/* Quand la découpe tombe au milieu d'une carte de l'appli, le bas s'éteint :
   du texte net mais minuscule se lit comme un défaut, du texte qui s'estompe
   se lit comme « il y en a encore ». */
.ecran-fondu-bas::after{
  content:"";position:absolute;inset:auto 0 0 0;height:54px;pointer-events:none;
  background:linear-gradient(to top,#fff,rgba(255,255,255,0));
}

/* Les découpes ci-dessous sont MESURÉES sur les images, pas estimées :
   bords de cartes relevés au pixel dans le navigateur. Un cadre qui ne tombe
   pas sur le bord d'une carte de l'appli se voit tout de suite. */

/* 1. ce qu'on trouve en arrivant. Les trois tuiles font x 14→845, y 22→385.
      NE JAMAIS DESCENDRE SOUS y = 285 : « My evolution » (y 293) et
      « Do my wheel » (y 347), restés en anglais dans l'appli.
      Les gouttières entre tuiles : 262→290 et 565→583. */
.ecran-accueil{--nw:863; --nh:907; --x:14; --y:22; --w:266; --h:263}

/* 2. un parcours. Les cartes font x 126→720 ; la première y 242→323,
      la deuxième y 358→435.
      NE JAMAIS DÉPASSER x = 620 : les pastilles « Complet » commencent à 625.
      NE JAMAIS ATTEINDRE y = 698 : le parcours marqué « À venir ». */
.ecran-parcours{--nw:806; --nh:914; --x:126; --y:242; --w:291; --h:82}

/* 3. un outil. La fiche fait x 52→588, y 231→323.
      NE PAS REMONTER AU-DESSUS DE y = 231 : juste au-dessus, la ligne de
      section affiche « 1 activé · 1 à venir ».
      NE PAS DESCENDRE SOUS y = 330 : l'outil suivant, marqué « À venir ». */
.ecran-outils{--nw:634; --nh:507; --x:52; --y:231; --w:291; --h:92}

/* La carte s'élargit : on montre plus, jamais plus petit que nécessaire.
   Les seuils portent sur la largeur de CONTENU de la carte. */
@container (min-width:380px){
  .ecran-accueil{--w:566}          /* le kit d'urgence et la météo */
  .ecran-parcours{--w:400}
  .ecran-outils{--w:400}
}
@container (min-width:500px){
  .ecran-accueil{--w:831}          /* les trois tuiles */
  .ecran-parcours{--w:488; --h:193} /* deux parcours */
  .ecran-outils{--w:536}           /* la fiche entière, description comprise */
}

/* --- Les deux cartes s'emboîtent, comme deux pièces de puzzle ---
   Elles se touchent (aucun écart), leurs bords qui se font face sont droits,
   et chacune laisse entrer un ergot de l'autre : la blanche pénètre la bleue
   en haut, la bleue pénètre la blanche plus bas. Chaque ergot est dessiné à
   l'intérieur de la carte qui le reçoit, dans la matière de sa voisine ; le
   débordement étant masqué, on n'en voit que la moitié. */
.portes{gap:0}

.porte-a::after,.porte-b::before{
  content:"";position:absolute;z-index:1;width:58px;height:58px;border-radius:50%;
}
/* l'ergot de la carte bleue, reçu par la blanche */
.porte-a::after{background:#D3EEF3}
/* l'ergot de la carte blanche, reçu par la bleue */
.porte-b::before{background:var(--blanc)}

/* --- l'une sous l'autre : la découpe est horizontale --- */
/* Le bord que les deux cartes partagent n'est pas un bord mais une jointure :
   on n'y trace aucun trait, sinon il traverse l'encoche de part en part et
   l'emboîtement se lit comme un défaut d'assemblage. Les deux fonds suffisent
   à dire où l'une finit et où l'autre commence. */
.porte-a{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}
.porte-b{border-top-left-radius:0;border-top-right-radius:0;border-top:0}
.porte-a::after{left:64%;margin-left:-29px;bottom:-29px}
.porte-b::before{left:33%;margin-left:-29px;top:-29px}

/* --- côte à côte : la découpe devient verticale ---
   Les deux cartes n'ont plus la même hauteur : l'espace ouvert a davantage à
   montrer que celui qui se prépare, et c'est là une information, pas un
   déséquilibre. Les ergots sont donc ancrés en PIXELS depuis le haut, et non
   en pourcentage : les deux cartes partageant le même bord supérieur, ils se
   font face quelles que soient les hauteurs. À garder à 60 px au moins à
   l'intérieur de la carte la plus courte. */
@media (min-width:944px){
  .portes{align-items:start}
  .porte{min-height:0}
  /* le bas du bord droit de la carte blanche est libre : il se rarrondit */
  .porte-a{border-radius:var(--rayon);border-top-right-radius:0;border-bottom:1px solid var(--bord);border-right:0}
  .porte-b{border-radius:var(--rayon);border-top-left-radius:0;border-bottom-left-radius:0;border-top:1px solid var(--brume-bord);border-left:0}
  .porte-a::after{left:auto;margin-left:0;right:-29px;bottom:auto;top:430px;margin-top:-29px}

  /* La bulle de Jo passe au-dessus de la jointure : elle n'appartient plus à
     la carte blanche, qui coupait tout ce qui dépasse, mais à la grille. Elle
     garde exactement la place qu'elle avait — elle n'est simplement plus
     tranchée par le bord. */
  .orbe-liaison{display:block;width:188px;height:188px;top:-58px;left:calc(50% - 144px);z-index:3}
  .porte-a > .orbe{display:none}
  .porte-b::before{left:-29px;margin-left:0;top:230px;margin-top:-29px}
}

.champ{display:flex;flex-direction:column;gap:6px}
.champ label{font-size:13px;font-weight:600;color:#2B3A63}
/* width:100% et min-width:0 ne sont pas cosmétiques : sans eux, un <select>
   se dimensionne sur sa plus longue option et une colonne de grille « 1fr »
   s'étire d'autant. Le formulaire pro débordait de 47 px sur téléphone, à
   cause de « Une mutuelle ou un CSE ». */
.champ{min-width:0}
.champ input,.champ select,.champ textarea{
  width:100%;min-width:0;max-width:100%;
  min-height:48px;border-radius:14px;border:1.5px solid rgba(31,63,160,.22);
  background:rgba(255,255,255,.9);padding:12px 16px;
  font:400 16px 'Figtree',sans-serif;color:#12204D;
}
.champ input:focus,.champ select:focus,.champ textarea:focus{outline:none;border-color:var(--bleu)}
.champ input{width:260px;max-width:100%}

/* =========================================================================
   6. Trois temps
   ========================================================================= */

.temps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:0;border-top:1.5px solid var(--bord-2)}
.temps > div{padding:30px 32px 6px 0;display:flex;flex-direction:column;gap:12px}
.temps .n{font:500 15px/1 'Source Serif 4',Georgia,serif;color:var(--vert-texte)}
.temps h3{font-size:26px;font-weight:600;letter-spacing:-.012em;margin:0;color:var(--ink)}
.temps p{margin:0;font-size:16px;line-height:1.6;color:var(--ink-3);max-width:320px}

/* =========================================================================
   7. Comment ça marche — la vidéo
   ========================================================================= */

.video{
  position:relative;border-radius:var(--rayon);overflow:hidden;
  background:linear-gradient(170deg,#0F1E57 0%,var(--bleu) 55%,#122A8F 100%);
  aspect-ratio:16/9;display:grid;place-items:center;
  box-shadow:0 30px 70px -36px rgba(16,32,79,.5);
}
.video .halo{
  position:absolute;left:50%;top:50%;width:620px;height:620px;transform:translate(-50%,-50%);
  border-radius:50%;background:radial-gradient(circle,rgba(127,227,232,.3),rgba(127,227,232,0) 62%);
}
.video-dedans{position:relative;text-align:center;color:#fff;padding:24px;display:flex;flex-direction:column;align-items:center;gap:16px}
.video-dedans p{margin:0;max-width:420px;color:rgba(255,255,255,.82);font-size:15.5px;line-height:1.6}
.lire{
  width:84px;height:84px;border-radius:50%;border:0;cursor:pointer;
  background:#fff;color:var(--bleu);display:grid;place-items:center;
  box-shadow:0 0 0 10px rgba(255,255,255,.14),0 0 50px rgba(127,227,232,.5);
  transition:transform .2s ease;
}
.lire:hover{transform:scale(1.05)}
.video-pied{margin-top:18px;font-size:14px;color:var(--ink-3)}

/* =========================================================================
   8. Valeurs
   ========================================================================= */

.valeurs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:0 44px}
.valeur{padding:28px 0;border-top:1.5px solid var(--bord-2);display:flex;flex-direction:column;gap:10px}
.valeur h3{margin:0;font-size:20px;font-weight:600;color:var(--ink)}
.valeur p{margin:0;font-size:16px;line-height:1.65;color:var(--ink-2);text-wrap:pretty}
.valeur .q{font:italic 500 17px/1.4 'Source Serif 4',Georgia,serif;color:var(--vert-texte)}
/* Une valeur peut se décliner en principes courts : une liste serrée,
   à la puce verte, qui se lit d'un coup d'œil sous le titre. */
.valeur ul{margin:2px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.valeur li{position:relative;padding-left:18px;font-size:15.5px;line-height:1.55;color:var(--ink-2);text-wrap:pretty}
.valeur li::before{content:"";position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:50%;background:var(--vert)}

/* Un médaillon d'icône en tête de bloc : même geste que celui des encarts,
   en plus petit. Il donne un point d'entrée à l'œil là où une colonne de
   texte seule resterait plate. Bleu par défaut, vert en alternance. */
.ic-rond{
  width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  background:#fff;box-shadow:0 0 0 1px var(--brume-bord),0 0 26px rgba(127,227,232,.45);
  color:var(--bleu);margin-bottom:4px;
}
.ic-rond.vert{color:var(--vert-texte)}

/* --- Le mot de la créatrice -------------------------------------------
   Une bulle qui souhaite la bienvenue à la première visite, puis s'efface
   pour de bon. Le conteneur a une hauteur nulle et la bulle est posée en
   absolu : elle chevauche le bas du bleu sans jamais pousser une ligne de
   la page — ni à l'arrivée, ni à sa disparition. Sur téléphone, où il n'y
   a pas de marge pour chevaucher quoi que ce soit, elle devient un bandeau
   posé en bas de l'écran. */
.mot-creatrice{position:relative;z-index:6;height:0;max-width:var(--max);margin:0 auto}
.mot-bulle{
  position:absolute;right:32px;top:-104px;width:min(430px,calc(100vw - 64px));
  display:flex;align-items:flex-start;gap:16px;padding:20px 22px 18px;
  border-radius:30px;background:#fff;
  box-shadow:0 0 0 1px var(--brume-bord), 0 22px 50px -22px rgba(16,32,79,.45);
  animation:motVient .7s cubic-bezier(.22,1,.36,1) both;
}
.mot-portrait{
  flex:0 0 68px;width:68px;height:68px;border-radius:50%;object-fit:cover;object-position:50% 12%;
  background:linear-gradient(160deg,var(--eau-2),var(--menthe));
}
.mot-dit{display:flex;flex-direction:column;gap:7px;min-width:0}
.mot-dit p{margin:0;font-size:14.5px;line-height:1.55;color:var(--ink-2);text-wrap:pretty}
.mot-dit .mot-fin{font:italic 500 15.5px/1.4 'Source Serif 4',Georgia,serif;color:var(--vert-texte)}
.mot-fermer{
  position:absolute;top:10px;right:12px;width:30px;height:30px;display:grid;place-items:center;
  border:none;background:none;padding:0;cursor:pointer;color:var(--ink-3);border-radius:50%;
}
.mot-fermer:hover{background:var(--brume);color:var(--ink)}
@keyframes motVient{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.mot-creatrice.part .mot-bulle{animation:motPart .45s ease forwards}
@keyframes motPart{to{opacity:0;transform:translateY(10px) scale(.97)}}

@media (max-width:860px){
  .mot-creatrice{height:auto;max-width:none;margin:0}
  .mot-bulle{
    position:fixed;left:14px;right:14px;bottom:14px;top:auto;width:auto;
    border-radius:24px;padding:18px 20px 16px;
  }
  .mot-portrait{flex-basis:56px;width:56px;height:56px}
}
@media (prefers-reduced-motion:reduce){
  .mot-bulle,.mot-creatrice.part .mot-bulle{animation:none}
}

/* --- Le paysage derrière « Ce qui nous guide » --------------------------
   Le panorama du tableau de vision, posé en bas de la section : il tient
   l'horizon sous le texte et s'efface en montant, pour que rien n'entre en
   concurrence avec la lecture. Décoratif : il passe sous le contenu
   (z-index négatif, isolation sur la section) et n'est jamais lu. */
#guide{position:relative;isolation:isolate}
#guide::before{
  content:"";position:absolute;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;
  aspect-ratio:1122 / 186;
  background:
    linear-gradient(to right,var(--fond) 0%,rgba(255,255,255,0) 10%,rgba(255,255,255,0) 90%,var(--fond) 100%),
    url(img/paysage.jpg) center bottom / cover no-repeat;
  opacity:.26;
  -webkit-mask-image:linear-gradient(to top,transparent 0%,#000 9%,rgba(0,0,0,.62) 48%,transparent 100%);
  mask-image:linear-gradient(to top,transparent 0%,#000 9%,rgba(0,0,0,.62) 48%,transparent 100%);
}
@media (max-width:700px){ #guide::before{display:none} }

/* =========================================================================
   9. Vos données (section bleue)
   ========================================================================= */

.data{position:relative;overflow:hidden;color:#fff;background:var(--bleu)}
.data .halo{
  position:absolute;right:-180px;top:-200px;width:640px;height:640px;border-radius:50%;
  background:radial-gradient(circle,rgba(127,227,232,.33),rgba(127,227,232,0) 65%);
}
.data .h2{color:#fff}
.data .chapo{color:rgba(255,255,255,.84);max-width:720px}
/* Les deux cartes de choix, sur le fond bleu de « Vos données ». Elles sont
   nommées comme le bloc « Et vous choisissez » de la page tarifs, qui vit
   sur fond clair : d'où le préfixe .data, sans lequel la règle claire,
   déclarée plus bas, repeignait ce texte en bleu sombre sur bleu sombre. */
.data .choix{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:20px;position:relative}
.data .choix > div{
  border-radius:22px;padding:30px;background:rgba(255,255,255,.08);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
  display:flex;flex-direction:column;gap:12px;
}
.data .choix h3{margin:0;font-size:22px;font-weight:600;color:#fff}
.data .choix p{margin:0;font-size:15.5px;line-height:1.6;color:rgba(255,255,255,.86);max-width:none}
.data .choix b{color:#fff;font-weight:600}
.data .choix .k{font:700 11px/1 'Figtree',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8FF0D0}
.bascule{margin:30px 0 0;font-size:16px;color:rgba(255,255,255,.9);position:relative}
.data a{color:#fff;font-weight:600}
.data a:hover{color:#8FF0D0}
/* Un lien dans le chapô d'un en-tête bleu : en bleu d'encre il disparaissait. */
.bleu .chapo a{color:#fff;font-weight:600}
.bleu .chapo a:hover{color:var(--menthe)}

/* =========================================================================
   10. Tuiles, cartes, offres
   ========================================================================= */

.duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:24px}
.tuile{
  border-radius:24px;padding:34px;background:var(--blanc);box-shadow:0 0 0 1px var(--bord);
  display:flex;flex-direction:column;gap:12px;text-decoration:none;color:var(--ink-2);
  transition:box-shadow .2s ease;
}
.tuile:hover{box-shadow:0 0 0 1.5px var(--bleu);color:var(--ink-2)}
.tuile h3{margin:0;font-size:24px;font-weight:600;color:var(--ink)}
.tuile p{margin:0;font-size:16px;line-height:1.6;color:var(--ink-3)}
.tuile .go{margin-top:6px;font-weight:600;color:var(--bleu)}

.cartes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:24px;align-items:stretch}
.carte{
  border-radius:var(--rayon);padding:36px;background:var(--blanc);
  box-shadow:0 0 0 1px var(--bord),0 30px 60px -34px rgba(31,63,160,.2);
  display:flex;flex-direction:column;gap:16px;position:relative;
}
.carte.mise{box-shadow:0 0 0 2px var(--bleu),0 30px 60px -30px rgba(31,63,160,.3)}

/* L'en-tête d'une carte : le titre à gauche, son emblème à droite, posés sur
   la même ligne médiane. Les titres de toutes les cartes partent ainsi du
   même bord, et les emblèmes se répondent d'une carte à l'autre, au lieu de
   flotter chacun dans son coin. « Offert » n'en a pas, et c'est voulu : elle
   ne vend rien. Les emblèmes sont décoratifs — le titre dit déjà de quoi il
   s'agit —, d'où l'alt vide. */
.carte-tete{display:flex;align-items:center;justify-content:space-between;gap:18px}
.carte-titre{display:flex;flex-direction:column;gap:5px;min-width:0}
.carte .embleme{flex:0 0 auto;width:76px;height:auto;pointer-events:none}

/* Ce que contient un pack, dit d'un coup d'œil. C'était la seule information
   qu'on venait chercher, et il fallait aller la lire dans la liste. La note
   chaude est la même que celle de l'offre de lancement : sur cette page, le
   terracotta signale ce qui concerne l'achat lui-même. */
.compo{
  align-self:flex-start;display:inline-block;margin:0;
  padding:9px 17px;border-radius:999px;
  background:var(--terre-pale);box-shadow:inset 0 0 0 1.5px var(--terre-bord);
  font:700 15px/1.25 'Figtree',sans-serif;color:var(--terre-fonce);
}
.carte p.compo{font-size:15px;color:var(--terre-fonce)}
.ruban{
  position:absolute;top:-13px;left:32px;font:700 11px/1 'Figtree',sans-serif;
  letter-spacing:.12em;text-transform:uppercase;color:#fff;background:var(--bleu);
  padding:7px 12px;border-radius:999px;
}
.carte .qui{font:italic 500 18px/1.3 'Source Serif 4',Georgia,serif;color:var(--vert-texte)}
.carte h3{margin:0;font-size:27px;line-height:1.1;font-weight:600;letter-spacing:-.012em;color:var(--ink)}
.carte p{margin:0;font-size:16px;line-height:1.6;color:var(--ink-2);text-wrap:pretty}
.carte ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.carte li{position:relative;padding-left:22px;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.carte li::before{
  content:"";position:absolute;left:0;top:8px;width:10px;height:10px;border-radius:50%;
  background:linear-gradient(180deg,var(--eau-2),var(--eau-fonce));
}
.carte .actions{margin-top:auto;padding-top:8px;display:flex;flex-wrap:wrap;gap:10px}
/* l'annonce de catalogue, dans une carte : un encadré clair, assez visible
   pour être lu avant la description, assez sobre pour ne pas crier */
.carte .dispo{
  margin:0;padding:11px 14px;border-radius:14px;font-size:15px;line-height:1.45;
  background:var(--eau-pale);box-shadow:0 0 0 1px var(--brume-bord);color:var(--vert-texte);
}
.carte .dispo b{color:var(--vert-texte);font-weight:700}

/* les problématiques couvertes, en étiquettes : on en lit trois et on comprend */
.choix{margin-top:30px;display:flex;flex-direction:column;gap:14px}
.choix p{margin:0;font-size:16.5px;line-height:1.6;color:var(--ink-2);max-width:760px;text-wrap:pretty}
.choix b{color:var(--ink);font-weight:600}
.etiquettes{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.etiquettes li{
  padding:9px 15px;border-radius:999px;background:var(--blanc);
  box-shadow:0 0 0 1px var(--bord);font-size:15px;line-height:1.3;color:var(--ink-2);
}

/* --- Le visuel d'une carte -----------------------------------------------
   Deux usages, selon ce que la carte dit déjà par écrit.
   .carte-visuel : l'image entière. Elle porte le logo et l'intitulé du
     public, donc elle remplace l'exergue de la carte. Fond transparent :
     elle se pose sur le blanc sans cadre ni ombre.
   .carte-bandeau : l'image recadrée sur la scène seule, quand la carte garde
     son propre intitulé — sinon le titre serait écrit deux fois. */
.carte-visuel{display:block;width:100%;height:auto;border-radius:20px}
/* .carte-bandeau : les trois visuels pro sont des carrés de 1254 px qui
   portent DÉJÀ le logo Jo&i en haut et un cartouche de titre en bas. Les
   afficher entiers répéterait la marque et le titre de la carte ; un cadrage
   unique ne marche pas non plus, car le logo n'est pas à la même hauteur
   d'une image à l'autre (il descend jusqu'à y=385 sur « mutuelles »).
   On découpe donc la scène au pixel, image par image, dans un rapport
   commun de 1,92 pour que les trois cartes gardent la même hauteur.
   Zones relevées sur les sources (y) :
     entreprises     logo → 225, scène 380–890, cartouche à partir de 905
     mutuelles       logo → 385, scène 490–895, cartouche à partir de 905
     accompagnement  logo → 230, scène 260–900, cartouche à partir de 915 */
.carte-bandeau{
  --nw:1254; --nh:1254;
  --x:0; --y:0; --w:1254; --h:653;
  display:block;position:relative;overflow:hidden;border-radius:20px;
  aspect-ratio:var(--w) / var(--h);
}
.carte-bandeau img{
  display:block;position:relative;height:auto;max-width:none;
  width:calc(var(--nw) / var(--w) * 100%);
  left:calc(var(--x) / var(--w) * -100%);
  transform:translateY(calc(var(--y) / var(--nh) * -100%));
}
.bandeau-entreprises   {--x:70;  --y:320; --w:1110; --h:578}
.bandeau-mutuelles     {--x:150; --y:395; --w:960;  --h:500}
.bandeau-accompagnement{--x:60;  --y:295; --w:1140; --h:594}

.prix{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding:14px 0;border-top:1.5px solid var(--bord-2);border-bottom:1.5px solid var(--bord-2)}
.prix .v{font:600 34px/1 'Source Serif 4',Georgia,serif;color:var(--ink)}
.prix .v.mot{font-size:27px}
.prix .u{font-size:14px;color:var(--ink-3)}

details.plus{margin-top:auto;border-top:1.5px solid var(--bord-2);padding-top:6px}
details.plus summary{
  list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;
  justify-content:space-between;font-weight:600;font-size:15.5px;color:var(--bleu);
}
details.plus summary::-webkit-details-marker{display:none}
details.plus summary::after{content:"+";font-size:22px;font-weight:400;line-height:1}
details.plus[open] summary::after{content:"\2013"}
details.plus p{font-size:15px;padding-bottom:12px}

.encart{
  margin-top:32px;border-radius:var(--rayon);padding:34px 38px;background:var(--brume);
  box-shadow:0 0 0 1px var(--brume-bord);display:flex;flex-wrap:wrap;gap:22px 34px;align-items:flex-start;
}
.encart .ic{
  flex:0 0 64px;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;
  background:#fff;box-shadow:0 0 0 1px var(--brume-bord),0 0 30px rgba(127,227,232,.5);color:var(--bleu);
}
.encart .tx{flex:1 1 420px;display:flex;flex-direction:column;gap:10px}
.encart h3{margin:0;font-size:23px;line-height:1.2;font-weight:600;color:var(--ink)}
.encart p{margin:0;font-size:16.5px;line-height:1.65;color:var(--ink-2);max-width:760px;text-wrap:pretty}
/* une liste courte dans un encart se lit côte à côte, pas en colonne */
.encart ul{margin:2px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px 28px}
.encart li{position:relative;padding-left:20px;font-size:16px;line-height:1.5;color:var(--ink-2)}
.encart li::before{
  content:"";position:absolute;left:0;top:7px;width:9px;height:9px;border-radius:50%;
  background:linear-gradient(180deg,var(--eau-2),var(--eau-fonce));
}

/* --- Les supports compris dans l'appli -------------------------------
   Une colonne, et non plus une ligne qui se replie : sept entrées en
   vrac ne se comptent pas, sept entrées l'une sous l'autre se lisent.
   Chacune porte un signet — une languette bleue à l'encoche basse,
   surmontée du point vert. C'est le geste du symbole Jo&i, son point et
   son antenne, sans reproduire la marque elle-même : la charte réserve
   le symbole à la marque, pas à la décoration d'une liste. */
.encart ul.supports{display:grid;grid-template-columns:1fr;gap:11px;margin-top:14px}
.encart ul.supports li{padding-left:28px;font-size:16.5px;color:var(--ink-2)}
.encart ul.supports li b{font-weight:600;color:var(--ink)}
/* Le marqueur est le symbole Jo&i lui-même, en petit : c'est la marque qui
   signe ce qu'elle offre. Le fichier est celui de la charte, pas un dessin
   refait — il suffit de le réduire. */
.encart ul.supports li::before{
  left:2px;top:4px;width:18px;height:18px;border-radius:0;background:none;clip-path:none;
  background-image:url(img/logo/symbole-bleu.svg);
  background-repeat:no-repeat;background-position:center;background-size:contain;
}
.encart ul.supports li::after{content:none}
.notes{margin-top:22px;font-size:14px;color:var(--ink-3)}

/* La réponse faite à qui vient d'envoyer un formulaire. Discrète tant
   qu'elle est vide, elle ne prend aucune place ; verte quand c'est parti,
   terracotta quand il faut écrire à la main. La variante claire est pour
   le fond bleu de la carte « Bientôt », sur l'accueil. */
.etat-envoi{margin:10px 0 0;font-size:14px;line-height:1.5;color:var(--ink-3)}
.etat-envoi:empty{display:none}
.etat-envoi.etat-réussi{color:var(--vert-texte);font-weight:600}
.etat-envoi.etat-raté{color:var(--terre-fonce)}
.etat-envoi.etat-clair{color:rgba(255,255,255,.88)}
.etat-envoi.etat-clair.etat-réussi{color:var(--menthe)}
.etat-envoi.etat-clair.etat-raté{color:#FFD9C2}

/* L'annonce de lancement : une bulle terracotta, seule tache chaude de la
   page, dont la pointe désigne les packs juste en dessous. Elle est
   temporaire — la retirer ne laisse rien derrière elle. */
.lancement{
  position:relative;margin:26px 0 34px;padding:18px 24px;border-radius:22px;max-width:780px;
  background:var(--terre-pale);box-shadow:0 0 0 1.5px var(--terre-bord);
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;
  font-size:16.5px;line-height:1.55;color:var(--terre-fonce);text-wrap:pretty;
}
.lancement .sceau{
  flex:0 0 auto;font:700 11px/1 'Figtree',sans-serif;letter-spacing:.14em;text-transform:uppercase;
  color:#fff;background:var(--terre-fonce);padding:8px 13px;border-radius:999px;
}
.lancement .dit{flex:1 1 320px;margin:0}
.lancement b{font-weight:700}
.lancement .pct{font:600 21px/1 'Source Serif 4',Georgia,serif}
/* la pointe : un triangle de bordure, puis un triangle de fond posé dessus */
.lancement::before,.lancement::after{
  content:"";position:absolute;left:54px;width:0;height:0;
  border-left:11px solid transparent;border-right:11px solid transparent;
}
.lancement::before{bottom:-13px;border-top:13px solid var(--terre-bord)}
.lancement::after{bottom:-10px;border-top:11px solid var(--terre-pale)}

/* =========================================================================
   11. Cadre : questions / réponses, tableau, droits, mentions
   ========================================================================= */

.qr{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,500px),1fr));gap:0 48px}
.qr > div{padding:26px 0;border-top:1.5px solid var(--bord-2);display:flex;flex-direction:column;gap:10px}
.qr h3{margin:0;font-size:20px;font-weight:600;color:var(--ink)}
.qr p{margin:0;font-size:16px;line-height:1.65;color:var(--ink-2);text-wrap:pretty}
.qr b{color:var(--ink);font-weight:600}

.tableau{overflow-x:auto;border-radius:20px;box-shadow:0 0 0 1px var(--bord);background:#fff;margin-top:36px}
table{width:100%;border-collapse:collapse;font-size:15px;min-width:640px}
th{
  text-align:left;font:700 11px/1 'Figtree',sans-serif;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-3);padding:16px 20px;border-bottom:1px solid var(--bord);background:#F6FBFC;
}
td{padding:16px 20px;border-bottom:1px solid #EEF3F5;color:var(--ink-2);vertical-align:top;line-height:1.5}
tr:last-child td{border-bottom:0}
td b{color:var(--ink)}

.droits{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:16px}
.droits > div{border-radius:20px;padding:24px;background:#fff;box-shadow:0 0 0 1px var(--bord);display:flex;flex-direction:column;gap:8px}
.droits h3{margin:0;font-size:18px;font-weight:600;color:var(--ink)}
.droits p{margin:0;font-size:15px;line-height:1.55;color:var(--ink-3)}

.contact-bloc{
  margin-top:28px;border-radius:24px;padding:28px 32px;background:var(--brume);
  box-shadow:0 0 0 1px var(--brume-bord);display:flex;flex-wrap:wrap;gap:16px 32px;
  align-items:center;justify-content:space-between;
}
.contact-bloc p{margin:0;font-size:16px;line-height:1.6;color:var(--ink-2);max-width:640px}

dl.legal{display:grid;grid-template-columns:minmax(160px,240px) 1fr;gap:0;margin:0;font-size:16px}
dl.legal dt,dl.legal dd{padding:16px 0;border-top:1.5px solid var(--bord-2);margin:0}
dl.legal dt{font-weight:600;color:var(--ink)}
dl.legal dd{color:var(--ink-2)}

.doc{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:24px;align-items:start}
.doc .carte ul{list-style:disc;padding-left:20px;gap:8px}
.doc .carte li{padding-left:0}
.doc .carte li::before{display:none}
.meta{font-size:13.5px;color:var(--ink-3)}

/* Page CGV : des articles de loi se lisent en une colonne, pas en grille.
   La largeur est bornée pour garder une longueur de ligne confortable. */
.articles{max-width:720px;display:flex;flex-direction:column;gap:40px}
.articles > section{display:flex;flex-direction:column;gap:12px}
.articles h3{margin:0;font-size:clamp(19px,1.8vw,22px);line-height:1.25;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.articles h4{margin:10px 0 -2px;font-size:16px;font-weight:600;color:var(--ink)}
.articles p{margin:0;font-size:16.5px;line-height:1.7;color:var(--ink-2);text-wrap:pretty}
.articles b{color:var(--ink);font-weight:600}
.articles ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.articles li{font-size:16.5px;line-height:1.65;color:var(--ink-2)}
.articles .tableau{margin-top:8px}
.articles dl.legal{margin-top:4px}

/* =========================================================================
   12. Formulaire pro
   ========================================================================= */

.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;max-width:820px}
.form .champ.large{grid-column:1 / -1}
.form .champ input{width:100%}
.form textarea{min-height:130px;resize:vertical;font-family:'Figtree',sans-serif}

/* =========================================================================
   13. Pied de page
   ========================================================================= */

.pied{border-top:1px solid var(--bord);background:var(--fond)}
.pied-in{
  max-width:var(--max);margin:0 auto;padding:36px 32px 48px;
  display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;justify-content:space-between;
}
.pied-liens{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:14px;align-items:center}
.pied-liens a{color:var(--ink-3);text-decoration:none}
.pied-liens a:hover{color:var(--bleu)}
.pied small{font-size:13.5px;color:var(--ink-3)}
.rejouer{
  appearance:none;background:none;border:0;padding:0;
  font:500 13.5px 'Figtree',sans-serif;color:var(--ink-3);
  text-decoration:underline;cursor:pointer;min-height:44px;
}
.rejouer:hover{color:var(--bleu)}

/* =========================================================================
   14. Téléphone et tablette
   ========================================================================= */

@media (max-width:980px){
  .js .burger{display:inline-flex}
  .js .liens{
    position:absolute;right:0;top:calc(100% + 10px);min-width:232px;
    flex-direction:column;align-items:stretch;gap:2px;
    background:var(--bleu-fonce);border-radius:18px;padding:8px;
    box-shadow:0 24px 48px -18px rgba(6,12,60,.8),inset 0 0 0 1px rgba(255,255,255,.16);
  }
  /* fermé ou ouvert, c'est l'attribut du bouton qui décide : pas de
     clignotement au chargement, et l'état reste lisible par les lecteurs d'écran */
  .js .burger[aria-expanded="false"] ~ .liens{display:none}
  .js .liens a{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:12px;font-size:15.5px}
  .js .liens a:hover{background:rgba(255,255,255,.12)}
  .entete .nav a[aria-current]{box-shadow:none;color:#fff;background:rgba(255,255,255,.12)}
  .nav{position:relative;gap:12px}
  .entete .btn{white-space:nowrap}
  /* sans JavaScript : les liens restent là, ils passent à la ligne */
  html:not(.js) .entete-in{height:auto;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
  html:not(.js) .entete{margin-bottom:0;background:var(--bleu-fonce)}
  html:not(.js) .bleu{padding-top:0}
  html:not(.js) .liens{flex-wrap:wrap;gap:14px}
}
@media (max-width:480px){
  .burger{padding:0 12px;gap:0}
  .burger .mot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .entete-in{gap:12px}
  .entete .btn-petit{padding:0 16px}
}

@media (max-width:820px){
  body{font-size:16px}
  .entete-in,.intro,.sec,.pied-in,.hero{padding-left:18px;padding-right:18px}
  .sec{padding-top:64px;padding-bottom:64px}
  .intro{padding-top:56px;padding-bottom:72px}
  .porte{padding:30px 24px;min-height:0}
  .porte h3{font-size:28px}
  .porte .orbe{width:150px;height:150px;right:-34px;top:-34px}
  .porte-b .orbe{bottom:-90px;top:auto}
  .carte{padding:28px 24px}
  .encart{padding:28px 24px}
  .form{grid-template-columns:1fr}
  dl.legal{grid-template-columns:1fr}
  dl.legal dd{border-top:0;padding-top:0}
  .temps > div{padding-right:0}
  .intro .h1{max-width:100%}
  /* La bulle décorative des en-têtes passait par-dessus le titre : sur
     téléphone, elle ne laisse plus assez de place pour être lisible. */
  /* Les bulles décoratives des en-têtes passent sur le titre dès que le texte
     occupe toute la largeur. Celles de la page pro vivent dans un groupe, et
     échappaient donc à la règle : elle vise maintenant les deux formes. */
  .bleu-haut > .orbe,.bleu-haut > [aria-hidden="true"]{display:none}
  .scene{transform:scale(.82);transform-origin:50% 0;height:410px}
  .seuil-eau{top:calc(38% + 62px)}
}

/* =========================================================================
   15. Page « Notre identité visuelle »
   ========================================================================= */

/* Bloc texte + visuel, alterné. Le visuel passe au-dessus sur téléphone. */
.ident{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:34px 48px;align-items:center}
.ident + .ident{margin-top:72px}
.ident .tx{display:flex;flex-direction:column;gap:14px}
.ident .tx h2,.ident .tx h3{margin:0}
.ident .tx p{margin:0;font-size:16.5px;line-height:1.7;color:var(--ink-2);text-wrap:pretty}
.ident .tx b{color:var(--ink);font-weight:600}
.ident.inverse .vue{order:-1}

/* --- Les trois signes du nom (page « identité ») ----------------------
   Jo', &, i : chacun sur sa ligne, le signe détaché en tête, comme une
   entrée de dictionnaire. Même pastille que les listes des encarts, pour
   que l'œil reconnaisse le même geste d'une page à l'autre. */
.ident .tx ul.lettres{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:11px}
.ident .tx ul.lettres li{
  position:relative;padding-left:19px;font-size:16.5px;line-height:1.7;
  color:var(--ink-2);text-wrap:pretty;
}
.ident .tx ul.lettres li::before{
  content:"";position:absolute;left:0;top:11px;width:8px;height:8px;border-radius:50%;
  background:linear-gradient(180deg,var(--eau-2),var(--eau-fonce));
}
/* Le « Et… » qui annonce l'anagramme : une respiration, pas un paragraphe. */
.ident .tx p.et{font-family:'Source Serif 4',Georgia,serif;font-size:19px;color:var(--vert-texte)}

/* Le cadre qui porte un logo, un symbole ou Jo. */
.vue{
  position:relative;overflow:hidden;border-radius:var(--rayon);padding:46px 38px;
  background:var(--brume);box-shadow:0 0 0 1px var(--brume-bord);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:280px;
}
.vue.sur-bleu{background:var(--bleu);box-shadow:none}
.vue img{display:block;width:100%;max-width:300px;height:auto}
.vue img.etroit{max-width:190px}
.vue .leg{margin:0;font-size:13.5px;line-height:1.5;color:var(--ink-3);text-align:center}
.vue.sur-bleu .leg{color:rgba(255,255,255,.82)}

/* « Jo&i » qu'on remet dans l'ordre : joie. */
.anagramme{display:flex;flex-direction:column;align-items:center;gap:14px}
.anagramme .mot{font:600 clamp(42px,6vw,64px)/1 'Source Serif 4',Georgia,serif;letter-spacing:-.02em;color:var(--bleu)}
.anagramme .fleche{color:var(--vert-texte)}
.anagramme .joie{color:var(--vert-texte)}

/* --- Le cadre de l'anagramme : un ciel, pas un carré vide ---------------
   Le nom y flotte dans un halo clair, et deux nappes — l'une bleue en bas
   à gauche, l'autre verte en bas à droite — refont le mouvement de la
   charte sans jamais devenir un motif. Le mot « joie » est volontairement
   plus léger et plus grand que le logo : c'est la révélation, pas une
   deuxième marque. */
.vue.ciel{
  min-height:380px;padding:54px 38px;
  background:
    radial-gradient(68% 52% at 50% 27%, #FFFFFF 0%, rgba(255,255,255,0) 64%),
    radial-gradient(95% 72% at 6% 100%, rgba(102,166,245,.40) 0%, rgba(102,166,245,0) 62%),
    radial-gradient(92% 70% at 98% 92%, rgba(79,232,173,.38) 0%, rgba(79,232,173,0) 64%),
    radial-gradient(70% 55% at 88% 12%, rgba(166,238,240,.45) 0%, rgba(166,238,240,0) 60%),
    linear-gradient(162deg,#DCEDFB 0%,#DAF2EE 54%,#CFEFE1 100%);
  box-shadow:0 0 0 1px rgba(127,227,232,.5), 0 20px 44px -26px rgba(24,41,170,.30);
}
.vue.ciel .anagramme{gap:30px}
.vue.ciel .anagramme .mot{
  font-weight:500;font-size:clamp(54px,7.2vw,80px);letter-spacing:0;
  color:var(--vert-fonce);
}
.vue.ciel .anagramme .fleche{color:var(--vert);opacity:.9}

/* Les couleurs de la charte. */
.teintes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px}
.teinte{border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px var(--bord);display:flex;flex-direction:column}
.teinte .aplat{height:132px}
.teinte .dit{padding:22px 24px 26px;display:flex;flex-direction:column;gap:8px}
.teinte .mouvement{font:700 11px/1 'Figtree',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--vert-texte)}
.teinte h3{margin:0;font-size:22px;font-weight:600;color:var(--ink)}
.teinte p{margin:0;font-size:15.5px;line-height:1.6;color:var(--ink-2)}
.teinte .code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;color:var(--ink-3)}

/* Là où le bleu et le vert se rejoignent : le dégradé que porte Jo.
   Le sens ne change jamais — bleu en bas-gauche, vert en haut-droite. */
.lien-couleurs{
  margin-top:24px;display:grid;gap:24px;align-items:center;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));
}
.degrade{
  min-height:190px;border-radius:22px;box-shadow:0 0 0 1px var(--bord);
  background:linear-gradient(to top right,#1E40AF 0%,#1189B9 52%,#10B981 100%);
}
.lien-couleurs .dit{display:flex;flex-direction:column;gap:10px}
.lien-couleurs h3{margin:0;font-size:22px;font-weight:600;color:var(--ink)}
.lien-couleurs p{margin:0;font-size:16px;line-height:1.65;color:var(--ink-2);text-wrap:pretty}
.lien-couleurs .code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;color:var(--ink-3)}

/* Le spécimen typographique : il doit montrer la vraie police. */
.specimen{border-radius:var(--rayon);padding:34px 38px;background:#fff;box-shadow:0 0 0 1px var(--bord);display:flex;flex-direction:column;gap:14px}
.specimen *{font-family:'Inter',system-ui,sans-serif}
.specimen .aa{font-size:clamp(56px,9vw,86px);font-weight:800;letter-spacing:-.03em;line-height:1;color:var(--bleu);margin:0}
.specimen .graisses{margin:0;font-size:15.5px;line-height:1.6;color:var(--ink-2)}
.specimen .alphabet{margin:0;font-size:16px;line-height:1.65;color:var(--ink-3);word-spacing:.12em}

/* Les citations — une seule trame sur toute la page.
   Un filet vertical vert les signale au premier coup d'oeil : c'est le seul
   endroit du site qui porte un trait a gauche, donc on les reconnait sans
   les lire. Sur fond bleu, le filet et la source passent en menthe. */
.citation{
  margin:28px 0 0;padding:2px 0 2px 22px;max-width:680px;
  border-left:3px solid var(--vert);
  display:flex;flex-direction:column;gap:9px;
}
.citation blockquote{
  margin:0;font:italic 500 clamp(17px,1.9vw,20px)/1.55 'Source Serif 4',Georgia,serif;
  color:var(--vert-texte);text-wrap:pretty;
}
.citation figcaption{font-size:14.5px;line-height:1.5;color:var(--ink-3)}

.data .citation{border-left-color:var(--menthe)}
.data .citation blockquote{color:#fff}
.data .citation figcaption{color:var(--menthe)}

/* La clôture, sur fond bleu. */
.final{text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}
.final .symbole{width:96px;height:auto}
.final .devise{margin:0;font-size:clamp(18px,2vw,21px);line-height:1.55;color:rgba(255,255,255,.88)}
.final .triptyque{margin:0;font:600 clamp(26px,3.4vw,40px)/1.15 'Source Serif 4',Georgia,serif;letter-spacing:-.015em;color:#fff}
.final .triptyque span{color:var(--menthe)}

@media (max-width:820px){
  .ident + .ident{margin-top:52px}
  .vue{padding:34px 24px;min-height:0}
  .specimen{padding:28px 24px}
}

/* =========================================================================
   15. Tarifs : Jo dans l'en-tête, l'annonce de lancement, les captures
   ========================================================================= */

/* Jo debout, mains jointes : il accueille, il ne vend pas. Posé sur le bas
   du bandeau bleu, un halo d'eau derrière la poitrine. */
.jo-entete{position:absolute;z-index:1;right:max(32px,calc((100% - var(--max)) / 2 + 60px));bottom:0;height:min(400px,82%);aspect-ratio:315 / 900;pointer-events:none}
.jo-entete img{position:relative;display:block;height:100%;width:auto}
.jo-entete .halo{position:absolute;left:50%;top:38%;width:300%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle,rgba(127,227,232,.42) 0%,rgba(127,227,232,.14) 38%,rgba(127,227,232,0) 66%)}

/* L'annonce de lancement, dès l'en-tête : même terracotta que la bulle des
   packs, la seule note chaude de la page. Elle mène aux packs. */
.annonce-lancement{
  align-self:flex-start;display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px 12px;
  padding:9px 18px 9px 9px;border-radius:999px;background:var(--terre-pale);color:var(--terre-fonce);
  font-weight:600;font-size:15.5px;line-height:1.35;text-decoration:none;
  box-shadow:0 10px 30px -12px rgba(6,12,60,.55);transition:transform .2s ease;
}
.annonce-lancement:hover{color:var(--terre-fonce);transform:translateY(-1px)}
.annonce-lancement .sceau{font:700 11px/1 'Figtree',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#fff;background:var(--terre-fonce);padding:8px 12px;border-radius:999px}
.annonce-lancement .fl{font-size:17px}

/* Le prix de lancement : le mot dit ce que c'est, la date dit jusqu'à quand.
   Pas de prix barré : un produit nouveau n'a pas de prix antérieur. */
.prix-lancement .u{line-height:1.4}
.prix-lancement .u b{color:var(--terre-fonce);font-weight:700}

/* Les captures de l'appli : à leur taille réelle ou presque — une capture
   réduite de moitié se lit comme une tache. */
.capture{display:block;width:100%;height:auto;border-radius:16px;background:#fff;
  box-shadow:0 0 0 1px rgba(31,63,160,.14),0 18px 36px -20px rgba(31,63,160,.4)}
.offerts-visuels{flex:0 1 auto;display:flex;align-items:flex-start;gap:16px;margin-left:auto}
.offerts-visuels .extrait:first-child{width:190px}
.offerts-visuels .extrait-bas{width:220px;margin-top:64px}

/* L'encart des contenus compris dans l'appli. Les deux captures tombaient
   sous la liste et étiraient le bloc pour rien : la colonne de texte était
   trop large pour qu'elles tiennent à côté. Elles remontent à hauteur du
   texte, qu'elles illustrent, et le bloc perd la moitié de sa hauteur. */
/* La pastille reste en haut, face au titre — centrée, elle flottait au
   milieu du vide. Seules les captures se centrent sur la colonne de texte. */
.encart-base{align-items:flex-start}
.encart-base .tx{flex:1 1 330px}
.encart-base .offerts-visuels{align-self:center}
.encart-base .offerts-visuels .extrait:first-child{width:148px}
.encart-base .offerts-visuels .extrait-bas{width:170px;margin-top:34px}
.apercus{margin-top:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:28px;align-items:start}
.apercus .extrait{max-width:655px}

/* Jo, la main sur le cœur, à côté de la promesse sur les données bancaires. */
.jo-encart{flex:0 0 auto;width:132px;height:auto;align-self:flex-end;margin:-6px -6px -14px auto}

/* --- Un en-tête de section que Jo accompagne ---------------------------
   Le texte garde sa largeur de lecture ; Jo se tient à côté, jamais
   au-dessus. Sous 820 px il passe sous le texte, aligné à gauche, en plus
   petit : une illustration ne vaut pas de pousser le titre hors de l'écran. */
.sec-tete.avec-jo{flex-direction:row;align-items:center;gap:34px;max-width:960px}
.sec-tete.avec-jo > .dit{display:flex;flex-direction:column;gap:12px;flex:1 1 420px;min-width:0}
/* Jo passe devant : on le rencontre, puis on lit. L'ordre du HTML garde le
   texte en premier — c'est lui qui compte pour la lecture d'écran. */
.sec-tete.avec-jo .jo-cote{flex:0 0 auto;width:176px;height:auto;display:block;order:-1}
@media (max-width:820px){
  .sec-tete.avec-jo{flex-direction:column;align-items:flex-start;gap:22px}
  /* en colonne, flex-basis vaudrait une HAUTEUR imposée : on la relâche. */
  .sec-tete.avec-jo > .dit{flex:0 0 auto}
  /* en colonne, il reprend sa place après le texte, pour ne pas repousser le titre */
  .sec-tete.avec-jo .jo-cote{width:124px;order:0}
}

@media (max-width:820px){
  .jo-entete{display:none}
  .offerts-visuels{margin-left:0;width:100%}
  .offerts-visuels .extrait:first-child{width:46%}
  .offerts-visuels .extrait-bas{width:54%;margin-top:40px}
  .jo-encart{width:96px;margin:0 auto 0 0}
}

/* =========================================================================
   13. Téléphone — ce qui ne tenait pas tel quel
   -------------------------------------------------------------------------
   Deux choses se cassaient sous 600 px.

   L'annonce de lancement : ses trois morceaux — l'étiquette, le texte, la
   flèche — se repliaient sur trois rangs, la flèche restait seule en bas, et
   comme la forme gardait ses coins entièrement ronds il restait un grand vide
   arrondi à droite. Elle redevient un bloc : l'étiquette, puis le texte, dans
   lequel la flèche reprend sa place à la fin de la dernière ligne.

   Le blanc entre le bleu de l'en-tête et la première section : 72 px de bas
   d'en-tête plus 64 px de haut de section font 136 px de vide, un sixième de
   l'écran d'un téléphone. On resserre, ici et entre toutes les sections.
   ========================================================================= */
@media (max-width:600px){
  .annonce-lancement{
    display:block;align-self:stretch;
    border-radius:20px;padding:14px 18px;
  }
  .annonce-lancement .sceau{display:inline-block;margin-bottom:9px;font-size:12px}
  .annonce-lancement .fl{display:inline;margin-left:5px}

  .intro{padding-top:44px;padding-bottom:44px}
  .sec{padding-top:50px;padding-bottom:50px}

  /* 11 px en capitales, sur un écran tenu à bout de bras, se devine plus
     qu'il ne se lit */
  .cle,.sur,.sceau{font-size:12px}
}
