/* Le récit sur téléphone (24 novembre) : la page avance écran par écran, une idée à la fois.
   Tout tient dans cette requête de média et sous « html.recit » : sur ordinateur, rien ne change.
   S’appuie sur les variables et les polices de accueil.css, et sur l’écriture mot à mot de cleo-agent.css. */
@media (max-width: 760px) {

/* ── La page avance par écrans : chaque écran s’accroche en haut ── */
/* --r-ecran : la hauteur toujours visible (barres du navigateur affichées). --r-plein : la hauteur barres repliées.
   Chaque écran remplit --r-plein, mais son contenu tient dans --r-ecran : rien n’est jamais caché, et aucun écran ne laisse voir le suivant. */
html.recit { scroll-snap-type: y mandatory; --r-haut: 94px; --r-bord: 20px; --r-bas: 24px; --r-ecran: 100vh; --r-plein: 100vh; --r-ressort: cubic-bezier(0.3, 1.36, 0.5, 1); }
@supports (height: 100svh) { html.recit { --r-ecran: 100svh; --r-plein: 100lvh; } }
html.recit.r-libre { scroll-snap-type: none; }
html.recit .recit-ecran { position: relative; box-sizing: border-box; display: flex; flex-direction: column; min-height: var(--r-plein); max-width: none; margin: 0; padding: var(--r-haut) var(--r-bord) calc(var(--r-plein) - var(--r-ecran) + var(--r-bas)); scroll-snap-align: start; scroll-snap-stop: always; }
html.recit .recit-chapitre, html.recit .entreprise, html.recit .carrousel, html.recit .confiance { max-width: none; margin: 0; padding: 0; }

/* ── Le titre de l’écran : la phrase d’explication, qui s’écrit ── */
html.recit .recit-dit, html.recit .recit-titre { margin: 0; font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 8.7vw, 39px); line-height: 1.05; letter-spacing: -0.045em; text-align: left; text-wrap: balance; color: var(--encre); }
html.recit .recit-dit em, html.recit .recit-titre em { display: block; padding: 0; font-style: normal; font-weight: 500; letter-spacing: inherit; color: var(--gris-titre); background: none; -webkit-text-fill-color: currentColor; }
html.recit .recit-titre--long { font-size: clamp(25px, 7.1vw, 31px); line-height: 1.08; }
html.recit .recit-ecran > .tete-section { max-width: none; margin: 0; text-align: left; }
html.recit .recit-ecran > .tete-section .marque-produit { font-size: 15px; gap: 8px; }
html.recit .recit-ecran > .tete-section .marque-produit .tuile--logo, html.recit .recit-ecran > .tete-section .marque-produit .tuile--cleo, html.recit .recit-ecran > .tete-section .marque-produit__logo { width: 26px; height: 26px; }
html.recit .recit-ecran > .tete-section h2 { margin-top: 14px; }
html.recit .recit-ecran > .tete-section .chapo, html.recit .recit-ecran > .tete-section .actions { display: none; }

/* ── Le visuel de l’écran se pose juste après le début du titre ── */
html.recit .recit-pose { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease-out, transform 0.95s var(--sortie); transition-delay: calc(0.22s + var(--i, 0) * 0.09s); }
html.recit .recit-ecran.vu .recit-pose { opacity: 1; transform: none; }



/* ── 1. La promesse ── */
html.recit .hero { height: auto; }
html.recit .hero__scene { display: block; max-width: none; margin: 0; padding: 0; }
html.recit .hero__texte.recit-ecran { align-items: center; max-width: none; padding-inline: 22px; text-align: center; }
html.recit .hero__texte h1 { margin-top: 6px; font-size: clamp(42px, 11.9vw, 52px); }
html.recit .hero__chapo { display: none; }
html.recit .hero__actions { margin-top: 26px; }
html.recit .hero__puce { order: 4; max-width: 300px; margin: 16px auto 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
html.recit .hero__puce a { display: none; }
html.recit .hero__photo { top: calc(var(--r-ecran) - 596px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 210px, #000 520px, transparent 606px); mask-image: linear-gradient(180deg, transparent 0, #000 210px, #000 520px, transparent 606px); }
html.recit .recit-invite { order: 9; display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding: 6px 14px 6px 7px; border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; background: rgba(40, 26, 110, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
html.recit .recit-invite img { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); }
html.recit .recit-invite svg { animation: recit-descend 1.8s var(--sortie) infinite; }
@keyframes recit-descend { 0%, 100% { transform: translateY(-2px); opacity: 0.7; } 50% { transform: translateY(3px); opacity: 1; } }

/* ── 2. Cléo se présente, puis prend une mission ── */
html.recit .h-gauche.recit-ecran { justify-content: center; gap: 20px; padding-inline: 16px; }
html.recit .h-boite { display: none; }
html.recit .recit-dit--cleo { min-height: 2.1em; padding: 0 6px; font-size: clamp(36px, 10.4vw, 46px); line-height: 1.02; color: #fff; }
html.recit .recit-dit--cleo .ca-cle { background-size: 0% 3px; padding-bottom: 2px; }
html.recit .recit-dit--cleo .ca-cle.fini { background-size: 100% 3px; }
html.recit .h-cleo { min-height: 0; }
html.recit .h-cleo.ca-presente { min-height: 372px; }
html.recit .recit-pret { align-self: center; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 18px; border: 0; border-radius: 999px; color: #3a2a8c; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; box-shadow: 0 14px 34px rgba(24, 14, 80, 0.3); cursor: pointer; animation: recit-monte 0.6s var(--sortie) both; }
html.recit .recit-pret[hidden] { display: none; }
html.recit .recit-pret svg { animation: recit-descend 1.8s var(--sortie) infinite; }
@keyframes recit-monte { from { opacity: 0; transform: translateY(12px); } }

/* ── 3. Tu relis, tu envoies ── */
html.recit .recit-ecran[data-ecran="resultat"] { gap: 14px; padding-inline: 16px; }
html.recit .recit-ecran[data-ecran="resultat"] .recit-dit { padding: 0 6px 4px; color: #fff; }
html.recit .recit-ecran[data-ecran="resultat"] .recit-dit em { display: inline; color: rgba(255, 255, 255, 0.6); }
html.recit .recit-ecran[data-ecran="resultat"] .h-droite { display: contents; }
html.recit .recit-ecran[data-ecran="resultat"] #h-ecran { order: 1; }
html.recit .recit-ecran[data-ecran="resultat"] #h-rail { order: 2; align-self: center; }
html.recit .recit-ecran[data-ecran="resultat"] #h-routine { order: 3; align-self: center; }

/* ── 4. Toutes les applis ── */
html.recit .recit-ecran[data-ecran="applis"] { background: var(--fond); }
html.recit .carrousel { overflow: visible; }
html.recit .carrousel__titre { margin: 0 0 34px; }
html.recit .carrousel__piste { display: block; overflow: visible; -webkit-mask-image: none; mask-image: none; }
html.recit .carrousel__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 6px; margin: 0; padding: 0; list-style: none; animation: none; }
html.recit .carrousel__liste[aria-hidden] { display: none; }
html.recit .carrousel__liste li { display: flex; justify-content: center; opacity: 0; transform: translateY(16px) scale(0.72); transition: opacity 0.45s ease-out, transform 0.7s var(--r-ressort); transition-delay: calc(0.3s + var(--i, 0) * 0.07s); }
html.recit .recit-ecran.vu .carrousel__liste li { opacity: 1; transform: none; }
html.recit .logo-appli { flex-direction: column; height: auto; gap: 10px; padding: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--encre-2); }
html.recit .logo-appli .tuile, html.recit .logo-appli .tuile--logo { width: 60px; height: 60px; border-radius: 17px; }
html.recit .logo-appli .tuile svg { width: 100%; height: 100%; }
html.recit .confiance { margin-top: auto; padding-top: 30px; text-align: left; }
html.recit .confiance__titre { font-size: 13.5px; }
html.recit .confiance__liste { justify-content: flex-start; gap: 8px 20px; margin-top: 10px; }
html.recit .confiance__liste li { gap: 8px; font-size: 15.5px; }
html.recit .confiance__liste svg { width: 18px; height: 18px; }

/* ── Le parti pris : un écran de texte, pour respirer ── */
html.recit .manifeste.recit-ecran { justify-content: center; margin-top: 0; padding-inline: 26px; text-align: left; }
html.recit .manifeste p { max-width: none; margin: 0; }
html.recit .manifeste p.recit-titre { font-size: clamp(33px, 9.6vw, 43px); line-height: 1.06; color: var(--gris-titre); }
html.recit .manifeste p.recit-titre b { display: block; margin-top: 0.42em; font-weight: 500; color: var(--encre); }
html.recit .manifeste .lien-fleche { align-self: flex-start; margin-top: 30px; font-size: 16px; }

/* ── Les garanties ── */
html.recit .garanties.recit-ecran { display: flex; justify-content: center; gap: 0; max-width: none; margin: 0; list-style: none; }
html.recit .garanties li { padding: 20px 0 22px; font-size: 15.5px; opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.8s var(--sortie); transition-delay: calc(0.12s + var(--i, 0) * 0.16s); }
html.recit .garanties li:first-child { border-top: 0; }
html.recit .garanties.vu li { opacity: 1; transform: none; }
html.recit .garanties b { margin-bottom: 6px; font-family: var(--sans); font-weight: 500; font-size: 29px; line-height: 1.08; letter-spacing: -0.04em; }

/* ── Le repère de lecture ── */
html.recit .recit-repere { position: fixed; z-index: 50; right: 5px; top: 50%; width: 3px; height: 92px; margin-top: -46px; border-radius: 3px; background: rgba(120, 110, 160, 0.2); pointer-events: none; mix-blend-mode: normal; }
html.recit .recit-repere i { display: block; width: 3px; height: 22px; border-radius: 3px; background: rgba(120, 100, 220, 0.85); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); will-change: transform; }

}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  html.recit .recit-pose, html.recit .carrousel__liste li, html.recit .garanties li { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.recit .recit-invite svg, html.recit .recit-pret svg { animation: none; }
}

@media (max-width: 760px) {

/* Les titres sur fond sombre */
html.recit .entreprise .recit-titre, html.recit .final .recit-titre { color: #fff; }
html.recit .entreprise .recit-titre em, html.recit .final .recit-titre em { color: rgba(255, 255, 255, 0.62); -webkit-text-fill-color: currentColor; }

/* 1. La photo ferme le premier écran */
html.recit .hero .hero__photo { position: absolute; z-index: -1; left: 0; top: calc(var(--r-ecran) - 400px); width: 100%; height: 400px; max-width: none; margin: 0; transform: none; object-fit: cover; object-position: 34% 0%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
html.recit .recit-invite { margin-bottom: 4px; }

/* 4. Les neuf applis, à la même taille */
html.recit .logo-appli .tuile, html.recit .logo-appli .tuile--logo, html.recit .logo-appli__logo { width: 58px; height: 58px; border-radius: 16px; object-fit: contain; }

/* Les visuels longs sont taillés à l’écran, et s’effacent vers le bas */
html.recit .recit-coupe { flex: 1 1 0; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 64px), transparent); }

/* 5. Ensemble, sur les mêmes documents */
html.recit .recit-ecran[data-ecran="ensemble"] #ensemble-scene { flex: 1 1 0; min-height: 330px; display: flex; flex-direction: column; margin-top: 20px; padding: 12px 12px 10px; border-radius: 28px; }
html.recit .recit-ecran[data-ecran="ensemble"] .atelier__barre { gap: 8px 10px; min-height: 0; }
html.recit .recit-ecran[data-ecran="ensemble"] .moment { width: 100%; }
html.recit .recit-ecran[data-ecran="ensemble"] .moment button { flex: 1; justify-content: center; height: 36px; padding: 0 8px; font-size: 13.5px; }
html.recit .recit-ecran[data-ecran="ensemble"] .atelier__scene { height: auto; margin-top: 10px; }
html.recit .recit-ecran[data-ecran="ensemble"] .atelier__exemple { margin-top: 8px; font-size: 12px; }

/* Les fichiers, ouverts dans le mail */
html.recit .recit-ecran[data-ecran="fichiers"] .vitrine { flex: 1 1 0; min-height: 330px; display: flex; flex-direction: column; margin-top: 18px; }
html.recit .recit-ecran[data-ecran="fichiers"] .vitrine__onglets { justify-content: flex-start; width: auto; margin: 0; padding: 4px; border-radius: 16px; scrollbar-width: none; }
html.recit .recit-ecran[data-ecran="fichiers"] .vitrine__onglets button { height: 42px; padding: 0 14px 0 7px; font-size: 14.5px; }
html.recit .recit-ecran[data-ecran="fichiers"] .vitrine__scene { margin-top: 12px; padding: 10px 10px 0; border-radius: 26px; }
html.recit .recit-ecran[data-ecran="fichiers"] .vitrine__exemple { position: static; margin-top: 8px; font-size: 12px; }

/* Atelier : les formats sur une ligne, la demande, puis l’aperçu */
html.recit .recit-carte.at { display: flex; flex-direction: column; margin-top: 0; padding: 12px; border-radius: 28px; overflow: hidden; background: var(--fond-2); }
html.recit .at__formats { display: flex; gap: 6px; margin: 0 -12px; padding: 0 12px 2px; overflow-x: auto; scrollbar-width: none; }
html.recit .at__formats::-webkit-scrollbar { display: none; }
html.recit .at-format { flex: none; display: block; min-height: 0; padding: 9px 13px; border-radius: 999px; white-space: nowrap; }
html.recit .at-format span { display: none; }
html.recit .at__scene { margin-top: 10px; }

/* Le reste du bureau */

/* Entreprise : là où tourne Cléo */
html.recit .entreprise__dedans.recit-ecran { display: flex; gap: 0; max-width: none; }
html.recit .entreprise__texte, html.recit .entreprise__visuel { display: contents; }
html.recit .entreprise__sur { order: 0; font-size: 15px; }
html.recit .entreprise h2.recit-titre { order: 1; margin-top: 12px; }
html.recit .entreprise__chapo { display: none; }
html.recit .entreprise .mac { order: 2; flex: 1 1 0; min-height: 150px; margin-top: 20px; border-radius: 16px 16px 0 0; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 70px), transparent); }
html.recit .entreprise .mac__corps { padding: 18px 18px 60px; }
html.recit .entreprise .lieux { order: 3; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 4px; }
html.recit .entreprise .lieu { padding: 12px 14px; }
html.recit .entreprise .lieu b { font-family: var(--sans); font-size: 17px; font-weight: 600; }
html.recit .recit-mac { order: 4; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; margin-top: 10px; padding: 0 16px; border-radius: 14px; color: #1e1748; background: #fff; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; }
html.recit .entreprise .actions { order: 5; flex-wrap: nowrap; gap: 6px 18px; margin-top: 12px; }
html.recit .entreprise .actions .bouton { height: 44px; padding: 0 16px; font-size: 14.5px; background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
html.recit .entreprise .actions .lien-fleche { font-size: 14.5px; }

/* Tarifs */
html.recit .recit-ecran[data-ecran="tarifs"] > .tete-section .chapo { display: block; max-width: none; margin: 12px 0 0; font-size: 15px; line-height: 1.45; text-align: left; color: var(--encre-2); }

/* La fiche de Cléo, plein écran, pour fermer le récit */
html.recit .ca-fiche.recit-ecran { padding: var(--r-haut) 24px calc(var(--r-plein) - var(--r-ecran) + var(--r-bas)); color: #fff; background: radial-gradient(420px 300px at 8% 0%, rgba(139, 111, 240, 0.5), transparent 70%), radial-gradient(520px 340px at 100% 100%, rgba(21, 156, 146, 0.26), transparent 70%), linear-gradient(180deg, #1f1757 0%, #140c30 100%); }
html.recit .ca-fiche .ca-fiche__carte { flex: 1; display: flex; flex-direction: column; max-width: none; margin: 0; padding: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
html.recit .ca-fiche .ca-fiche__portrait { width: 50px; height: 50px; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08); }
html.recit .ca-fiche .ca-fiche__portrait img { width: 42px; height: 42px; }
html.recit .ca-fiche .ca-fiche__titre { margin-top: 14px; font-size: clamp(40px, 11.4vw, 50px); }
html.recit .ca-fiche .ca-fiche__droite { flex: 1; display: flex; flex-direction: column; }
html.recit .ca-fiche .ca-fiche__lignes { margin-top: 16px; }
html.recit .ca-fiche .ca-ligne { padding: 9px 0 10px; }
html.recit .ca-fiche .ca-ligne dt { font-size: 13px; }
html.recit .ca-fiche .ca-ligne dd { margin-top: 1px; font-size: 17px; line-height: 1.32; }
html.recit .ca-fiche .ca-fiche__bouton { margin-top: auto; }
html.recit .recit-mac--ligne { order: 0; display: inline-flex; min-height: 0; margin: 8px 0 2px; padding: 6px 12px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26); font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.6s var(--sortie); }
html.recit .ca-ligne.dit .recit-mac--ligne, html.recit .ca-fiche.fini .recit-mac--ligne { opacity: 1; transform: none; }

/* La création de l’adresse : la fin, en défilement libre */
html.recit .final.recit-ecran { display: block; padding: var(--r-haut) 14px 40px; scroll-snap-stop: normal; }
html.recit .final .final__dedans { padding: 28px 18px 18px; }
html.recit .final h2.recit-titre { text-align: center; }
html.recit .pied { scroll-snap-align: end; }

}

@media (max-width: 760px) {
/* Entreprise : la fenêtre du Mac montre l’essentiel, le calcul fait sur place */
html.recit .entreprise__sur { text-align: left; }
html.recit .entreprise .mac { max-height: 236px; }
html.recit .entreprise .mac__doc { display: none; }
html.recit .entreprise .mac__corps { padding: 16px 16px 18px; }
html.recit .entreprise .mac__pop { position: static; margin-top: 12px; width: auto; }
}

@media (max-width: 760px) {
/* L’écran des questions : tout tient sans défiler */
html.recit .ca-demande.recit-ecran { justify-content: center; text-align: center; }
html.recit .ca-demande.recit-ecran .marque-produit { display: none; }
html.recit .ca-demande.recit-ecran h2 { margin-top: 0; font-size: clamp(30px, 8.7vw, 39px); line-height: 1.05; text-align: center; }
html.recit .ca-demande.recit-ecran .ca-demande__scene { margin-top: 24px; }
html.recit .ca-demande.recit-ecran .ca-reponse { margin-top: 24px; font-size: clamp(26px, 7.3vw, 31px); }
html.recit .ca-demande.recit-ecran .ca-questions { gap: 8px; margin-top: 22px; }
html.recit .ca-demande.recit-ecran .ca-accord { margin-top: 18px; font-size: 14.5px; }
html.recit .ca-demande.recit-ecran .actions { display: flex; margin-top: 20px; }
/* La fiche */
html.recit .ca-fiche .ca-fiche__titre { font-size: clamp(38px, 10.6vw, 46px); }
html.recit .ca-fiche .ca-ligne { padding: 8px 0 9px; }
html.recit .ca-fiche .ca-ligne dd { font-size: 16.5px; }
html.recit .ca-fiche .ca-fiche__lignes { margin-top: 14px; }
html.recit .recit-mac--ligne { margin: 6px 0 1px; padding: 5px 11px; }
}

/* Les téléphones moins hauts : tout se resserre un peu, rien ne disparaît d’essentiel */
@media (max-width: 760px) and (max-height: 700px) {
html.recit { --r-haut: 84px; --r-bas: 18px; }
html.recit .recit-dit, html.recit .recit-titre { font-size: clamp(27px, 7.7vw, 33px); }
html.recit .recit-titre--long { font-size: clamp(23px, 6.4vw, 27px); }
html.recit .hero__texte h1 { font-size: clamp(38px, 10.6vw, 46px); }
html.recit .hero__puce { display: none; }
html.recit .hero__actions { margin-top: 20px; }
html.recit .hero .hero__photo { top: calc(var(--r-ecran) - 330px); height: 330px; }
html.recit .recit-dit--cleo { font-size: clamp(32px, 9vw, 38px); }
html.recit .h-gauche.recit-ecran { gap: 14px; }
html.recit .recit-ecran[data-ecran="resultat"] { gap: 10px; }
html.recit .recit-ecran[data-ecran="resultat"] .h-cite { display: none; }
html.recit .recit-ecran[data-ecran="resultat"] #h-ecran { min-height: 0; }
html.recit .recit-ecran[data-ecran="resultat"] #h-routine { height: 38px; }
html.recit .carrousel__titre { margin-bottom: 24px; }
html.recit .carrousel__liste { gap: 18px 6px; }
html.recit .logo-appli .tuile, html.recit .logo-appli .tuile--logo, html.recit .logo-appli__logo { width: 50px; height: 50px; }
html.recit .confiance { padding-top: 18px; }
html.recit .ca-demande.recit-ecran h2 { font-size: clamp(26px, 7.4vw, 31px); }
html.recit .ca-demande.recit-ecran .ca-demande__scene { margin-top: 16px; }
html.recit .ca-demande.recit-ecran .ca-barre { min-height: 54px; }
html.recit .ca-demande.recit-ecran .ca-reponse { margin-top: 16px; font-size: clamp(22px, 6.2vw, 26px); }
html.recit .ca-demande.recit-ecran .ca-questions { margin-top: 14px; }
html.recit .ca-demande.recit-ecran .ca-q { height: 38px; padding: 0 14px; font-size: 14.5px; }
html.recit .ca-demande.recit-ecran .ca-accord { margin-top: 12px; }
html.recit .ca-demande.recit-ecran .actions { margin-top: 14px; }
html.recit .entreprise .mac { max-height: 150px; margin-top: 14px; }
html.recit .entreprise .mac__barre { height: 40px; }
html.recit .entreprise .lieu { padding: 9px 12px; }
html.recit .entreprise .lieu span { font-size: 12.5px; line-height: 1.4; }
html.recit .recit-mac { min-height: 42px; margin-top: 8px; font-size: 14.5px; }
html.recit .entreprise .actions { margin-top: 8px; }
html.recit .entreprise .actions .bouton { height: 40px; }
html.recit .recit-ecran[data-ecran="tarifs"] > .tete-section .chapo { margin-top: 8px; font-size: 13.5px; }
html.recit .ca-fiche .ca-fiche__portrait { width: 42px; height: 42px; }
html.recit .ca-fiche .ca-fiche__portrait img { width: 36px; height: 36px; }
html.recit .ca-fiche .ca-fiche__titre { margin-top: 10px; font-size: clamp(32px, 9vw, 38px); }
html.recit .ca-fiche .ca-fiche__lignes { margin-top: 10px; }
html.recit .ca-fiche .ca-ligne { padding: 6px 0 7px; }
html.recit .ca-fiche .ca-ligne dt { font-size: 12px; }
html.recit .ca-fiche .ca-ligne dd { font-size: 15px; line-height: 1.28; }
html.recit .ca-fiche .ca-fiche__bouton { height: 46px; margin-top: 10px; }
}

@media (max-width: 760px) {
/* Les traits de lumière entre les cartes du haut n’ont plus de sens d’un écran à l’autre */
html.recit .h-fils { display: none; }
html.recit .ca-fiche .ca-fiche__lignes { margin-top: 12px; }
html.recit .ca-fiche .ca-ligne { padding: 7px 0 8px; }
}
@media (max-width: 760px) and (max-height: 700px) {
html.recit .ca-fiche .ca-ligne { padding: 5px 0 6px; }
html.recit .recit-ecran[data-ecran="resultat"] { gap: 8px; }
html.recit .recit-ecran[data-ecran="resultat"] #h-ecran { padding: 11px 14px; }
/* Le workflow proposé : quatre étapes un peu plus serrées, le trait reste entre les pastilles */
html.recit .h-flux li { min-height: 40px; }
html.recit .h-flux li + li::after { top: -7px; height: 14px; }
}

@media (max-width: 760px) {
/* Cléo se présente : le titre et la carte gardent leur place du début à la fin de la mission */
html.recit .h-gauche.recit-ecran { justify-content: flex-start; padding-top: calc(var(--r-haut) + min(5vh, 40px)); }
html.recit .h-cleo, html.recit .h-cleo.ca-presente { min-height: 392px; }
}
@media (max-width: 760px) and (max-height: 700px) {
html.recit .h-gauche.recit-ecran { padding-top: calc(var(--r-haut) + 8px); }
html.recit .h-cleo, html.recit .h-cleo.ca-presente { min-height: 356px; }
}

@media (max-width: 760px) {
/* Le haut de page ne doit pas retenir ses écrans : un bloc qui coupe son débordement devient son propre cadre d’accroche */
html.recit .hero { overflow: visible; overflow: clip; }
/* Un écran s’accroche à son bord haut, sans la marge prévue pour les liens d’ancre : sinon il s’arrête trop bas sous le doigt */
html.recit .recit-ecran { scroll-margin: 0; }
}

@media (max-width: 760px) {
/* Cléo se présente : ancré en haut, mais posé au milieu de l’écran quand il est grand */
html.recit .h-gauche.recit-ecran { padding-top: calc(var(--r-haut) + max(6px, (var(--r-ecran) - 640px) * 0.4)); }
}

@media (max-width: 760px) {
/* La fenêtre du Mac : assez haute pour montrer le calcul fait sur place */
html.recit .entreprise .mac { max-height: 262px; }
html.recit .entreprise .mac__doc-titre { font-size: 19px; line-height: 1.25; }
html.recit .entreprise .mac__corps { padding: 14px 16px 16px; }
html.recit .entreprise .mac__pop { margin-top: 10px; padding: 12px 14px; }
html.recit .entreprise .mac__pop-texte { font-size: 13.5px; }
}

@media (max-width: 760px) {
html.recit .entreprise__sur { align-self: flex-start; width: auto; margin-inline: 0; text-align: left; }
}

@media (max-width: 760px) {
/* ── Les onglets des cartes : on voit ce qu’il y a, on touche ou on glisse ── */
/* Quatre missions, l’une sous l’autre */
html.recit .h-choix.ca-missions { min-height: 176px; }
html.recit .ca-missions.ouvert .ca-mission:nth-child(4) { transition-delay: 0.36s; animation-delay: 0.36s; }
}
@media (max-width: 760px) and (max-height: 700px) {
html.recit .h-choix.ca-missions { min-height: 162px; }
html.recit .ca-missions .ca-mission { height: 35px; }
}

@media (max-width: 760px) {
html.recit .ca-fiche .ca-fiche__lignes { margin-top: 10px; }
html.recit .ca-fiche .ca-ligne { padding: 6px 0 7px; }
html.recit .ca-fiche .ca-ligne dd { font-size: 16px; line-height: 1.3; }
html.recit .ca-fiche .ca-fiche__titre { font-size: clamp(36px, 10.2vw, 44px); }
}
@media (max-width: 760px) and (max-height: 700px) {
html.recit .ca-fiche .ca-ligne { padding: 4px 0 5px; }
html.recit .ca-fiche .ca-ligne dd { font-size: 14.5px; line-height: 1.26; }
html.recit .ca-fiche .ca-fiche__titre { margin-top: 8px; font-size: clamp(30px, 8.4vw, 34px); }
html.recit .ca-fiche .ca-fiche__lignes { margin-top: 8px; }
html.recit .recit-mac--ligne { margin: 4px 0 0; padding: 4px 10px; font-size: 12.5px; }
}

/* ══ Les rangées de cartes : Cléo fait la visite (choix du 24 novembre) ══
   Une carte à la fois, sans bloc de couleur : une feuille blanche posée sur un sous-main clair.
   En bas, Cléo dit ce qu’on voit et propose la suite ; la réponse « oui, montre » est à droite, sous le pouce. */
@media (max-width: 760px) {
html.recit .recit-ecran--rangee .recit-pile { position: relative; flex: 1 1 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); gap: 0; min-height: 0; max-width: none; margin: 20px 0 0; padding: 0; }
html.recit .recit-carte { grid-area: 1 / 1; box-sizing: border-box; min-width: 0; min-height: 0; margin: 0; opacity: 0; visibility: hidden; transform: translateY(26px) scale(0.975); transition: opacity 0.3s ease, transform 0.55s var(--sortie), visibility 0s 0.55s; }
html.recit .recit-carte.recit-partie { transform: translateY(-20px) scale(0.975); }
html.recit .recit-carte.recit-la { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s ease 0.12s, transform 0.62s var(--sortie) 0.12s, visibility 0s; }

/* le sous-main : la couleur de la page, un ton plus bas. La feuille s’y pose, centrée. */
html.recit .recit-carte.carte { display: flex; flex-direction: column; justify-content: flex-start; padding: 18px 16px; border-radius: 28px; background: var(--fond-2); color: var(--encre); overflow: hidden; isolation: auto; }
html.recit .recit-carte.carte::before { content: none; }
html.recit .recit-carte .carte__visuel { position: static; z-index: auto; flex: none; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; margin-block: auto; padding: 0; }
html.recit .recit-carte .carte__visuel .ui { width: 100%; border-radius: 18px; box-shadow: 0 0 0 1px rgba(29, 26, 36, 0.06), 0 14px 30px rgba(29, 26, 36, 0.09); }
html.recit .recit-carte .carte__texte { display: none; }
/* les captures d’écran du bureau : l’appli dépasse à droite et en bas, comme une fenêtre plus grande que la carte */
html.recit .recit-carte.capture-carte { display: flex; flex-direction: column; padding: 0; border-radius: 28px; background: var(--fond-2); color: var(--encre); overflow: hidden; }
html.recit .recit-carte .capture-carte__image { flex: 1 1 0; height: auto; min-height: 0; padding: 18px 0 0 18px; }
html.recit .recit-carte .capture-carte__image--lettre { padding: 18px 0 0; }
html.recit .recit-carte .capture-carte__texte { display: none; }
/* les offres : trois feuilles, la même encre. Le violet ne reste que sur le bouton de la première. */
html.recit .recit-carte.offre { display: flex; flex-direction: column; padding: 20px 20px 18px; border-radius: 28px; background: #fff; color: var(--encre); box-shadow: inset 0 0 0 1px var(--bord-2); overflow: hidden; }
html.recit .recit-carte.offre--mise .offre__liste li::before { background-color: rgba(109, 79, 232, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%236d4fe8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html.recit .recit-carte.offre--mise .bouton--plein { background: var(--acc); color: #fff; }
html.recit .recit-carte.offre .offre__nom { font-size: 18px; }
html.recit .recit-carte.offre .offre__prix { margin-top: 4px; font-size: 48px; }
html.recit .recit-carte.offre .offre__prix--mots { font-size: 34px; }
html.recit .recit-carte.offre .offre__liste { gap: 8px; margin: 14px 0 16px; font-size: 14.5px; }
html.recit .recit-carte.offre .bouton { flex: none; height: 46px; margin-top: auto; }
html.recit .recit-ecran[data-ecran="tarifs"] .recit-titre { font-size: clamp(26px, 7.4vw, 32px); }
html.recit .recit-ecran[data-ecran="tarifs"] .recit-titre em { display: inline; }
html.recit .recit-ecran[data-ecran="tarifs"] .recit-titre em::before { content: " "; white-space: pre; }

/* Cléo, en bas : sa bulle au-dessus, la réponse proposée à droite, toujours à la même place */
html.recit .recit-guide { box-sizing: border-box; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px 10px; align-content: end; align-items: end; margin-top: 14px; }
html.recit .recit-guide--sonde { position: absolute; left: var(--r-bord); right: var(--r-bord); top: 0; visibility: hidden; pointer-events: none; min-height: 0 !important; margin: 0; }
html.recit .recit-guide__cleo { grid-area: 1 / 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(29, 26, 36, 0.08), 0 8px 18px rgba(29, 26, 36, 0.1); }
html.recit .recit-guide__dit { grid-area: 1 / 2; justify-self: start; margin: 0; padding: 11px 15px 12px; border-radius: 20px 20px 20px 6px; background: #fff; box-shadow: 0 0 0 1px rgba(29, 26, 36, 0.07), 0 10px 24px rgba(29, 26, 36, 0.06); font-size: 15.5px; line-height: 1.34; letter-spacing: -0.01em; color: var(--encre-2); }
html.recit .recit-guide__question { font-weight: 600; color: var(--encre); }
html.recit .recit-guide__oui { grid-area: 2 / 1 / 3 / 3; position: relative; isolation: isolate; justify-self: end; height: 50px; padding: 0 26px; border: 0; border-radius: 25px 25px 8px 25px; background: var(--encre); color: #fff; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; box-shadow: 0 10px 24px rgba(29, 26, 36, 0.22); cursor: pointer; opacity: 0; transform: translateY(8px) scale(0.94); pointer-events: none; transition: opacity 0.3s, transform 0.5s var(--r-ressort); -webkit-tap-highlight-color: transparent; }
html.recit .recit-guide__oui span { position: relative; z-index: 2; }
html.recit .recit-guide__oui i { position: absolute; inset: 0; z-index: 1; border-radius: inherit; overflow: hidden; }
html.recit .recit-guide__oui i::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.22); transform: scaleX(0); transform-origin: 0 50%; }
html.recit .recit-guide__oui::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; }
/* la réponse est là dès que Cléo parle : on peut la toucher sans attendre la fin de sa phrase */
html.recit .recit-guide.recit-parle .recit-guide__oui { opacity: 1; transform: none; pointer-events: auto; }
/* Cléo a fini : la réponse se signale, un halo part d’elle toutes les deux secondes */
html.recit .recit-guide.recit-demande:not(.recit-repond) .recit-guide__oui { animation: recit-saut 0.6s var(--r-ressort) both; }
html.recit .recit-ecran.recit-en-vue .recit-guide.recit-demande:not(.recit-repond) .recit-guide__oui::after { animation: recit-appel 2.1s ease-out 0.5s infinite; }
/* tant que tu n’as rien touché, elle se remplit puis part seule */
html.recit .recit-ecran.recit-en-vue .recit-guide.recit-demande:not(.recit-a-toi):not(.recit-repond) .recit-guide__oui i::before { animation: recit-reponse 4.2s linear 0.5s forwards; }
html.recit .recit-guide.recit-repond .recit-guide__oui { transform: scale(0.94); opacity: 0.55; transition: transform 0.2s, opacity 0.3s 0.1s; }
@keyframes recit-reponse { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes recit-saut { 0% { transform: scale(1); } 45% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes recit-appel { 0% { box-shadow: 0 0 0 0 rgba(29, 26, 36, 0.34); } 70%, 100% { box-shadow: 0 0 0 15px rgba(29, 26, 36, 0); } }
}
@media (max-width: 760px) and (max-height: 700px) {
html.recit .recit-ecran--rangee .recit-pile { margin-top: 14px; }
html.recit .recit-carte.carte { padding: 14px 14px; }
html.recit .recit-guide { margin-top: 10px; gap: 6px 10px; }
html.recit .recit-guide__dit { padding: 9px 13px 10px; font-size: 14.5px; }
html.recit .recit-guide__oui { height: 44px; padding: 0 22px; font-size: 16px; }
html.recit .recit-carte.offre { padding: 16px 18px 14px; }
html.recit .recit-carte.offre .offre__prix { margin-top: 2px; font-size: 40px; }
html.recit .recit-carte.offre .offre__prix--mots { font-size: 30px; }
html.recit .recit-carte.offre .offre__liste { gap: 6px; margin: 10px 0 12px; font-size: 13.5px; }
html.recit .recit-carte.offre .bouton { height: 42px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
html.recit .recit-carte, html.recit .recit-guide__oui { transition: none !important; }
html.recit .recit-guide__oui, html.recit .recit-guide__oui::after, html.recit .recit-guide__oui i::before { animation: none !important; }
}

/* En ligne : Cléo se présente et ses questions ne viennent que dans le récit du téléphone ; ailleurs, la section d’avant */
html:not(.recit) .ca-fiche, html:not(.recit) .ca-demande { display: none; }
html.recit [data-ca-origine] { display: none; }
.ca-demande__scene { position: relative; }
html.recit .entreprise__mac { display: none; } /* au téléphone, le bouton de la maquette (vers /telecharger) le remplace */

/* 29/11 : au téléphone aussi, la phrase d'accueil (« un service de mail chiffré basé en France »). */
html.recit .hero__chapo { display: block; max-width: 340px; margin: 12px auto 0; font-size: 16px; line-height: 1.45; }
html.recit .hero__indice { max-width: 330px; font-size: 13.5px; }
