/* =============================================================================
   JAMPATHA YOGA — COMPOSANTS COMMUNS DE L'UNIVERS « SOUFFLE » (10/11/2026)
   =============================================================================
   Les éléments qui doivent avoir la même apparence sur toutes les pages : boutons, liens,
   pastilles, titres, lignes de cours, listes à filets, arches, lotus, sections teintées.
   Les valeurs viennent de reservation/jy-tokens.css, toujours avec une valeur de repli.

   Une page qui ne charge pas ce fichier n'est pas touchée : on convertit les pages une par
   une. Première page convertie : l'accueil (_accueil.php).

   Règles de l'univers, choisies sur la planche de maquettes de l'étape A :
     • titres en Fraunces, graisse 400, une seule échelle de tailles ;
     • texte courant en Inter ;
     • boutons en pilule, un seul vert d'action ;
     • photos dans une arche (haut arrondi) ;
     • peu de cadres : des fonds teintés et des filets, jamais une carte dans une carte ;
     • la pêche du logo pour les moments chaleureux seulement ;
     • mouvement lent, et rien ne bouge si le téléphone demande moins d'animations.
   ============================================================================= */

/* ---- Titres ------------------------------------------------------------------ */
.jy-titre,
.souffle h1, .souffle h2 {
    font-family: var(--jy-police-titre, 'Fraunces', Georgia, serif);
    font-weight: 400;
    font-optical-sizing: auto;
    letter-spacing: -0.01em;
    line-height: 1.12;
    text-wrap: balance;
}
.souffle h3 {
    font-family: var(--jy-police-titre, 'Fraunces', Georgia, serif);
    font-weight: 400;
    line-height: 1.2;
}
.surtitre {
    font: 600 11.5px/1.3 var(--jy-police-texte, Inter, sans-serif);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--jy-gris-chaud, #55655A);
}

/* ---- Boutons ----------------------------------------------------------------- */
.souffle .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 26px;
    border-radius: var(--jy-rayon-pilule, 999px);
    border: 1.5px solid transparent;
    font: 600 16px/1.2 var(--jy-police-texte, Inter, sans-serif);
    text-decoration: none; text-align: center; cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.souffle .btn-petit { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.souffle .btn-plein { background: var(--jy-vert-action, #3D714F); color: #fff; }
.souffle .btn-plein:hover { background: #346343; }
.souffle .btn-doux { background: var(--jy-vert-fond, #E3EDE7); color: var(--jy-vert-fond-encre, #30503B); }
.souffle .btn-doux:hover { background: var(--jy-vert-fond-fort, #D2E0D7); }
.souffle .btn-contour,
.souffle .btn-carte { background: transparent; border-color: #B9CBBE; color: var(--jy-vert-fond-encre, #30503B); }
.souffle .btn-contour:hover,
.souffle .btn-carte:hover { background: rgba(255,255,255,.6); }
.souffle .btn-clair { background: #fff; color: var(--jy-vert-profond, #2F4A3A); }
.lien-doux {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
    color: var(--jy-vert-lecture, #3A5A45); font-weight: 500;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}

/* ---- Pastilles --------------------------------------------------------------- */
.souffle .pastille {
    display: inline-flex; align-items: center; gap: 8px; width: fit-content;
    padding: 6px 13px; border-radius: var(--jy-rayon-pilule, 999px);
    font-size: 12.5px; font-weight: 600; line-height: 1.3;
}
.pastille-peche { background: var(--jy-accent-fond, #FAEBDC); color: var(--jy-peche-encre, #8A4B1F); }
.pastille-sauge { background: var(--jy-vert-fond, #E3EDE7); color: var(--jy-vert-fond-encre, #30503B); }

/* ---- Sections : le rythme par la couleur --------------------------------------- */
.section-sable { background: var(--jy-sable, #F1E7D8); }
.section-sauge { background: var(--jy-vert-fond, #E3EDE7); }

/* ---- Photos en arche --------------------------------------------------------- */
.arche {
    overflow: hidden;
    border-radius: var(--jy-rayon-arche, 999px 999px 24px 24px);
    background: var(--jy-vert-fond, #E3EDE7);
}
.arche picture, .arche img { display: block; width: 100%; height: 100%; }
.arche img { object-fit: cover; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* ---- Le lotus ---------------------------------------------------------------- */
.lotus { display: block; color: var(--jy-lotus, #7E9C88); stroke-width: 1.6; }
.lotus .lotus-point { fill: var(--jy-accent, #E0975F); }
.lotus-filigrane { color: #E6E0D2; stroke-width: .5; pointer-events: none; }
.lotus-filigrane .lotus-point { display: none; }
.lotus-separateur { width: 52px; height: 39px; margin: 0 auto; color: #B9CBBE; stroke-width: 2; }

/* ---- Listes à filets (tarifs, cours) ---------------------------------------- */
.filets > li { border-top: 1px solid var(--jy-filet, #E2DCCD); }
.filets > li:last-child { border-bottom: 1px solid var(--jy-filet, #E2DCCD); }
.section-sable .filets > li { border-color: var(--jy-sable-filet, #DCCDB6); }
.section-sauge .filets > li { border-color: var(--jy-sauge-filet, #C9D9CE); }

/* ---- Apparition douce au défilement ----------------------------------------- */
/* Le script ajoute .apparait aux blocs marqués [data-apparait] quand ils entrent à l'écran.
   Sans script, ou si le téléphone demande moins d'animations, tout est visible d'emblée. */
@media (prefers-reduced-motion: no-preference) {
    html.js [data-apparait] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
    html.js [data-apparait].apparait { opacity: 1; transform: none; }
}

/* ---- Page de message (merci, page introuvable, confirmations) ---------------- */
/* Un seul message au centre, le lotus qui respire au-dessus, une action principale. */
.page-message { padding: 48px 0 72px; text-align: center; }
.page-message .conteneur { max-width: 620px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.souffle .page-message h1 { font-size: 40px; }
.page-message p { font-size: 17px; line-height: 1.65; color: #3B4A40; }
.page-message .signature-message { font: 400 24px/1.2 var(--jy-police-titre, Georgia, serif); color: var(--jy-vert-lecture, #3A5A45); }
.page-message .actions { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; margin-top: 10px; }
.page-message .actions .btn { width: 100%; max-width: 360px; }
.souffle-respire { position: relative; width: 190px; height: 190px; margin-bottom: 6px; }
.souffle-respire::before, .souffle-respire::after { content: ""; position: absolute; border-radius: 50%; background: var(--jy-accent-fond, #FAEBDC); }
.souffle-respire::before { inset: 0; }
.souffle-respire::after { inset: 32px; background: #F6DCC2; }
.souffle-respire .lotus { position: absolute; z-index: 1; left: 40px; top: 52px; width: 110px; height: 82px; color: var(--jy-vert-action, #3D714F); stroke-width: 1.6; }
@media (prefers-reduced-motion: no-preference) {
    .souffle-respire::before, .souffle-respire::after { animation: jy-respire 5.5s ease-in-out infinite; }
    .souffle-respire::after { animation-delay: .4s; }
}
@keyframes jy-respire { 0%, 100% { transform: scale(.88); opacity: .6; } 50% { transform: scale(1.06); opacity: 1; } }
.page-message .encart { width: 100%; margin-top: 28px; padding: 22px; border-radius: var(--jy-rayon-bloc, 24px); background: var(--jy-vert-fond, #E3EDE7); text-align: left; }
.souffle .page-message .encart h2 { font-size: 22px; }
.page-message .encart ul { margin: 12px 0 0; padding: 0; list-style: none; }
.page-message .encart li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 4px 0; border-top: 1px solid var(--jy-sauge-filet, #C9D9CE); color: var(--jy-vert-fond-encre, #30503B); font-weight: 500; text-decoration: none; }
.page-message .encart li:last-child a { border-bottom: 1px solid var(--jy-sauge-filet, #C9D9CE); }
@media (min-width: 720px) { .page-message { padding: 72px 0 96px; } .souffle .page-message h1 { font-size: 52px; } }

/* ---- Conteneur de page ------------------------------------------------------- */
.conteneur{width:100%;max-width:1160px;margin:0 auto;padding-inline:max(20px,env(safe-area-inset-left,0px)) max(20px,env(safe-area-inset-right,0px))}

/* ---- Ligne de cours (accueil, blog, et plus tard la page Réserver) -------------- */
/* Date à gauche (VEN. / 8 janv.), heure et places au milieu, bouton à droite, séparées
   par des filets. Sur un fond sable ou sauge, les filets prennent la teinte du fond. */
.lignes .ligne{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--jy-filet,#E2DCCD)}
.lignes .ligne:last-child{border-bottom:1px solid var(--jy-filet,#E2DCCD)}
.section-sable .lignes .ligne{border-color:var(--jy-sable-filet,#DCCDB6)}
.ligne-date{flex:none;width:96px;display:flex;flex-direction:column;line-height:1.15}
.ligne-jour{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--jy-gris-chaud,#55655A)}
.ligne-quand{font:400 23px/1.15 var(--jy-police-titre,Georgia,serif);white-space:nowrap}
.ligne-icone{width:28px;height:44px;justify-content:center;color:var(--jy-vert-lecture,#3A5A45)}
.ligne-texte{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ligne-titre{font-weight:600;font-size:15px}
.ligne-salle{font-weight:400;color:var(--jy-gris-chaud,#55655A)}
.ligne-lieu{font-size:14px;color:var(--jy-gris-chaud,#55655A)}
.ligne-complet{color:#7A4E0E;font-weight:600}
.ligne .btn{flex:none}
@media (max-width:400px){.ligne-date{width:82px}.ligne-icone{width:28px}.ligne-quand{font-size:20px}}

/* ---- Pied de page commun -------------------------------------------------------- */
.pied{background:var(--jy-vert-profond,#2F4A3A);color:#DCE6DF;padding:48px 0 calc(48px + env(safe-area-inset-bottom,0px))}
.pied-in{display:flex;flex-direction:column;gap:20px;font-size:14.5px}
.pied-marque{display:flex;flex-direction:column;gap:6px}
.pied-lotus{width:52px;height:39px;color:#B9CBBE;margin-bottom:6px}
.pied-nom{display:block;font:400 25px/1.2 var(--jy-police-titre,Georgia,serif);color:#fff}
.pied-liens{display:flex;flex-wrap:wrap;gap:4px 20px}
.pied-liens a,.pied-liens button{color:#fff;padding:8px 0;min-height:40px;background:none;border:0;font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:4px}
.pied-legal a,.pied-legal button{color:#C9D9CE;font-size:13.5px}
.pied-copie{font-size:13px;color:#B4C6B9}
.pied-liens #jy-prefs-link{display:inline-block}
@media (min-width:1000px){.pied-in{display:grid;grid-template-columns:1fr auto;gap:20px 48px}.pied-legal,.pied-copie{grid-column:1/-1}}

