/* Site de Joris v7 (08/11/2026, 22 h) : plateformes, téléphone, « Tout est déjà dans Joris ». Chargé après signature.css. */

/* Plateformes sous les boutons du haut */
.plateformes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 26px; }
.plateformes .lib { font-size: 13.5px; color: var(--gris); margin-right: 4px; }
.plateformes .pf { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid #e4e1ef; font-size: 14px; font-weight: 500; color: var(--encre); backdrop-filter: blur(6px); }
.plateformes .pf svg { width: 16px; height: 16px; color: var(--mauve); }
.haut .plateformes { opacity: 0; animation: mot .8s .95s cubic-bezier(.2, .7, .2, 1) forwards; }
.haut .note { margin-top: 14px; }

/* Le téléphone à côté de la vitrine */
.telephone { position: absolute; z-index: 4; right: -40px; bottom: -70px; width: 240px; height: 470px; border-radius: 40px; background: #0d1424; padding: 10px; box-shadow: 0 40px 80px rgba(11, 26, 51, .35), inset 0 0 0 1.5px #2a3550; transform: rotate(4deg); animation: flotte 7s ease-in-out infinite; }
.telephone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #0d1424; z-index: 2; }
@keyframes flotte { 50% { transform: rotate(4deg) translateY(-10px); } }
.tel-ecran { height: 100%; border-radius: 31px; background: linear-gradient(180deg, #f8f7fc, #fff 40%); padding: 46px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; font-size: 12.5px; color: #1f2937; text-align: left; line-height: 1.4; }
.tel-tete { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--encre); padding-bottom: 8px; border-bottom: 1px solid #eceaf3; }
.tel-tete img { width: 22px; height: 22px; border-radius: 50%; }
.tel-tete span { margin-left: auto; font-size: 10.5px; font-weight: 500; color: #15803d; }
.tel-tete span::before { content: "● "; }
.tel-bulle { padding: 9px 11px; border-radius: 14px; max-width: 88%; }
.tel-bulle.moi { align-self: flex-end; background: var(--encre); color: #fff; border-bottom-right-radius: 5px; }
.tel-bulle.lui { align-self: flex-start; background: #fff; border: 1px solid #e6e1f7; border-bottom-left-radius: 5px; box-shadow: 0 6px 16px rgba(11, 26, 51, .06); }
.tel-choix { display: flex; gap: 6px; }
.tel-choix span { padding: 6px 10px; border-radius: 8px; background: #f1efea; font-weight: 600; font-size: 11.5px; }
.tel-choix span.oui { background: var(--encre); color: #fff; }
.tel-saisie { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border: 1px solid #e5e7eb; border-radius: 999px; padding: 8px 8px 8px 12px; color: #9ca3af; font-size: 11px; }
.tel-saisie i { width: 22px; height: 22px; border-radius: 50%; background: var(--bleu); flex: none; }
@media (min-width: 1021px) { .notif.n4 { display: none; } }
@media (max-width: 1020px) { .telephone { display: none; } }

/* Tout est déjà dans Joris */
.fonctions { background: #fff; padding-top: 110px; }
.grille-fonctions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fonction { position: relative; background: var(--fond-2); border: 1px solid var(--trait); border-radius: 18px; padding: 24px 22px 20px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s, background .35s; opacity: 0; transform: translateY(16px); }
.grille-fonctions.vu .fonction { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms); }
.grille-fonctions.vu .fonction:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 26, 51, .1); border-color: #d9d3f3; background: #fff; transition-delay: 0s; }
.fonction > i { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--trait); display: grid; place-items: center; margin-bottom: 18px; transition: background .35s, border-color .35s; }
.fonction > i svg { width: 22px; height: 22px; }
.fonction:hover > i { background: var(--mauve-pale); border-color: #ddd5fb; }
.fonction h3 { font-size: 19px; margin-bottom: 8px; }
.fonction p { color: var(--gris); font-size: 15px; line-height: 1.5; }
.fonction .dire { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--mauve); font-style: italic; }
.fonction.apprend { grid-column: span 2; background: var(--encre); border-color: var(--encre); color: #f7f3ec; overflow: hidden; }
.fonction.apprend::before { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(109, 76, 224, .4), transparent 65%); }
.fonction.apprend h3 { color: #fff; font-size: 26px; position: relative; }
.fonction.apprend p { color: rgba(247, 243, 236, .75); position: relative; max-width: 520px; }
.fonction.apprend .sur { position: relative; margin-bottom: 8px; }
.fonction.apprend .dire { color: #c9bdf8; position: relative; }
.grille-fonctions.vu .fonction.apprend:hover { background: var(--encre); }
.barres-apprend { position: relative; display: grid; gap: 10px; margin-top: 20px; max-width: 460px; }
.barres-apprend div { display: grid; grid-template-columns: 110px 70px 1fr; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(247, 243, 236, .7); }
.barres-apprend b { color: #fff; font-family: var(--titre); font-weight: 500; font-size: 17px; }
.barres-apprend i { display: block; height: 8px; border-radius: 8px; background: linear-gradient(90deg, #8f7cf0, #E2C27D); width: 0; transition: width 1.4s .4s cubic-bezier(.2, .7, .2, 1); }
.grille-fonctions.vu .barres-apprend i { width: var(--l); }

@media (max-width: 1020px) { .grille-fonctions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .grille-fonctions { grid-template-columns: 1fr; gap: 10px; }
  .fonction { padding: 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .fonction > i { margin: 0; grid-row: span 3; }
  .fonction .dire { padding-top: 8px; }
  .fonction.apprend { grid-column: auto; display: flex; }
  .barres-apprend div { grid-template-columns: 96px 60px 1fr; }
  .fonctions { padding-top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .telephone { animation: none; } .haut .plateformes { animation: none; opacity: 1; }
  .fonction { opacity: 1; transform: none; } .barres-apprend i { width: var(--l); transition: none; }
}

/* 22 h 08 : Greg n'aime pas ce qui suit la souris (cercle doré, halo) ; la petite étoile reste */
.curseur-or { display: none !important; }
.cree::after, .final::after, .journee::after { content: none; }


/* 22 h 10 : le journal des coulisses ne doit jamais rester vide (visible par défaut, animé seulement si le script le prépare) */
.journal li { opacity: 1; transform: none; }
.journal.prepare li { opacity: 0; transform: translateY(10px); }
.journal.prepare li.vu { opacity: 1; transform: none; }


/* v8 (22 h 32) : chaque clic a sa réponse */
/* Onglets : pastille qui glisse */
.pastilles { position: relative; }
.pastilles button { position: relative; z-index: 1; transition: color .3s; }
.pastilles button[aria-selected=true] { background: transparent; box-shadow: none; }
.pastilles .indic { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(11, 26, 51, .14), 0 4px 12px rgba(11, 26, 51, .06); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1), width .5s cubic-bezier(.3, 1.3, .5, 1); z-index: 0; }
.pastilles button[aria-selected=true] svg { animation: sautille .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sautille { 40% { transform: translateY(-3px) rotate(-8deg); } }
/* Usages : rideau sur la photo, demande, points de saisie, réponse, liste en cascade */
#usages.prep .profil.actif .cadre-photo, #usages.prep .profil.actif .demande, #usages.prep .profil.actif .cote-reponse .reponse, #usages.prep .profil.actif .liste-icones > li, #usages.prep .profil.actif .cote-reponse .tape { opacity: 0; }
#usages.vu .profil.actif .cadre-photo { animation: rideau 1.1s cubic-bezier(.7, 0, .2, 1) both; }
#usages.vu .profil.actif .cadre-photo img { animation: zoomPhoto 1.8s cubic-bezier(.2, .7, .2, 1) both; }
#usages.vu .profil.actif .demande { animation: monte .6s .45s cubic-bezier(.2, .7, .2, 1) both; }
#usages.vu .profil.actif .cote-reponse { animation: fond .6s cubic-bezier(.2, .7, .2, 1) both; }
#usages.vu .profil.actif .cote-reponse .tape { animation: tape 1.5s .7s both; }
#usages.vu .profil.actif .cote-reponse .reponse { animation: monte .7s 1.9s cubic-bezier(.2, .7, .2, 1) both; }
#usages.vu .profil.actif .liste-icones > li { animation: monte .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms + .5s); }
@keyframes rideau { from { opacity: 1; clip-path: inset(10% 10% 10% 10% round 22px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 22px); } }
@keyframes zoomPhoto { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fond { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes tape { 0% { opacity: 0; transform: scale(.8); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.9); } }
/* FAQ : la réponse se déplie */
.faq details[open] > p { animation: monte .4s cubic-bezier(.2, .7, .2, 1) both; }
.faq summary { transition: color .25s; } .faq summary:hover { color: var(--mauve); }
/* Formulaire : choix, bouton, merci */
.choix label { transition: transform .2s, background .2s, border-color .2s; }
.choix label:active { transform: scale(.95); }
.choix label:has(input:checked) { animation: choisi .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes choisi { 50% { transform: scale(1.06); } }
.btn:active { filter: brightness(.9); }
.succes.visible { animation: monte .6s cubic-bezier(.2, .7, .2, 1) both; }
.succes.visible .numero { animation: choisi .7s .25s cubic-bezier(.3, 1.6, .5, 1) both; }
/* Journée : les cartes se soulèvent au survol */
.moment { transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s; }
.moment:hover { transform: translateY(-6px); border-color: rgba(201, 189, 248, .35); }
@media (prefers-reduced-motion: reduce) {
  #usages .profil.actif .cadre-photo, #usages .profil.actif .cadre-photo img, #usages .profil.actif .demande, #usages .profil.actif .cote-reponse, #usages .profil.actif .cote-reponse .reponse, #usages .profil.actif .liste-icones > li, .faq details[open] > p, .succes.visible, .succes.visible .numero { animation: none !important; opacity: 1 !important; }
}

/* 22 h 36 : FAQ dépliée en douceur, question ouverte en mauve */
.faq details { overflow: hidden; }
.faq details[open] summary { color: var(--mauve); }
.faq details[open] > p { animation: monte .45s .08s cubic-bezier(.2, .7, .2, 1) both; }

