/* Voyantotel - voyance pas chère à 0,30 €/min */
:root {
  --fond: #f7f5fc;
  --blanc: #ffffff;
  --encre: #1b1530;
  --doux: #5b5474;
  --ligne: #e6e1f2;
  --violet: #6d28d9;
  --violet-f: #3b0f86;
  --nuit: #1e0b4b;
  --jaune: #fcd571;
  --jaune-f: #f4b740;
  --or-clair: #ffe7a3;
  --vert: #116b33;
  --vert-c: #15803d;
  --orange: #d97706;
  --rayon: 18px;
  --ombre: 0 1px 2px rgba(30, 11, 75, .06), 0 8px 24px rgba(30, 11, 75, .07);
  --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 17px/1.6 var(--police); }
img { max-width: 100%; height: auto; }
a { color: var(--violet); text-underline-offset: 2px; }
a:hover { color: var(--violet-f); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin: .2em 0 .4em; font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin: 0 0 .7em; font-weight: 800; }
h3 { font-size: 1.1rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
/* Fonds sombres : anneau de focus doré, lisible sur le violet nuit */
:is(.entete, .hero, .encadre-chiffres, .appel-final, .pied, .bandeau-ligne, .feuille-menu, .alerte, .tarot, .tarot-tete, .appel-voyante, .promo-carnet, .carnet-tete, .merci-suite) :focus-visible { outline-color: var(--jaune-f); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 0; background: var(--blanc); padding: 8px 14px; z-index: 100; }
.evitement:focus { left: 8px; top: 8px; }
.conteneur { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
.entete { background: var(--nuit); color: #fff; position: sticky; top: 0; z-index: 40; }
.entete-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; flex: none; }
.logo b, .pied-logo b { color: var(--jaune); font-weight: 800; }
.logo:hover { color: #fff; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: #ddd6fe; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; }
.entete-droite { display: flex; align-items: center; gap: 12px; flex: none; }
.compteur-ligne { display: inline-flex; align-items: center; gap: 8px; color: #ede9fe; text-decoration: none; font-size: .9rem; font-weight: 600; }
.compteur-ligne:hover { color: #fff; }

/* Boutons et numero-sva */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 700; text-decoration: none; padding: 12px 20px; line-height: 1.2; }
.btn-appel { background: var(--vert-c); color: #fff; }
.btn-appel:hover { background: var(--vert); color: #fff; }
.btn-entete { flex-direction: column; gap: 0; padding: 7px 18px; }
.btn-entete small { font-weight: 600; font-size: .72rem; }

.numero-sva { display: inline-flex; align-items: stretch; border: 2px solid var(--violet); border-radius: 12px; overflow: hidden; text-decoration: none; background: var(--blanc); max-width: 100%; min-width: 0; }
.numero-sva-num { display: flex; align-items: center; padding: 8px 14px; font-size: 1.35rem; font-weight: 800; color: var(--violet-f); letter-spacing: .02em; white-space: nowrap; }
.numero-sva-prix { display: flex; flex-direction: column; justify-content: center; background: var(--violet); color: #fff; padding: 6px 12px; font-size: .78rem; line-height: 1.25; font-weight: 600; white-space: nowrap; }
.numero-sva:hover .numero-sva-num { background: #f3effe; }
.numero-sva-grand .numero-sva-num { font-size: clamp(1.4rem, 5vw, 1.9rem); padding: 10px 18px; }
.numero-sva-grand .numero-sva-prix { font-size: .85rem; padding: 8px 14px; }

/* Héros */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #5b21b6 0%, transparent 60%), linear-gradient(160deg, var(--nuit) 0%, #2e1065 100%); color: #fff; padding: 44px 0 52px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.surtitre { display: inline-block; background: rgba(253, 224, 71, .15); color: var(--jaune); font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin: 0 0 8px; }
.surligne { color: var(--jaune); white-space: nowrap; }
.chapo { font-size: 1.12rem; color: var(--doux); max-width: 62ch; }
.hero .chapo { color: #ddd6fe; }
.puces-hero { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.puces-hero li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.puces-hero li::before { content: "✓ "; color: var(--jaune); }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-cta .numero-sva { border-color: var(--jaune-f); }
.hero-cta .numero-sva-prix { background: var(--jaune-f); color: var(--nuit); }
.hero-exemple { color: #ede9fe; margin: 0; font-size: .95rem; }
.hero-exemple strong { color: #fff; }
.etiquette { position: relative; width: min(300px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fef08a, var(--jaune-f) 70%); color: var(--nuit); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 20px 60px rgba(250, 204, 21, .25), inset 0 -8px 0 rgba(0, 0, 0, .06); transform: rotate(-6deg); }
.et-haut, .et-bas { font-weight: 700; font-size: .95rem; }
.et-prix { font-size: clamp(3.6rem, 9vw, 5.6rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.et-prix small { font-size: .45em; margin-left: 2px; }

/* Sections */
.page { padding-top: 22px; }
.section { margin: 44px 0; }
.fil { font-size: .88rem; color: var(--doux); margin-bottom: 6px; }
.fil a { color: var(--doux); }
.essentiel { background: var(--blanc); border: 1px solid var(--ligne); border-left: 5px solid var(--jaune-f); border-radius: var(--rayon); padding: 18px 20px; margin: 28px 0 0; box-shadow: var(--ombre); }
.essentiel p:last-child { margin: 0; }
.ess-titre { font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; color: var(--violet); margin: 0 0 6px; }
.deux-col { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cartes-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.carte-info { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px; box-shadow: var(--ombre); display: flex; flex-direction: column; min-width: 0; }
.carte-info p:last-child { margin: 0; }
.carte-budget { text-align: center; justify-content: flex-start; }
.cb-prix { font-size: 2rem; font-weight: 900; color: var(--violet-f); margin: 0 0 4px; }
.note { font-size: .92rem; color: var(--doux); margin-top: 14px; }
.lien-fleche { font-weight: 700; text-decoration: none; }
.lien-fleche::after { content: " →"; }
.lien-fleche:hover { text-decoration: underline; }

.etapes { counter-reset: e; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.etapes li { counter-increment: e; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 52px 20px 20px; position: relative; box-shadow: var(--ombre); }
.etapes li::before { content: counter(e); position: absolute; top: 16px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.liste-check { list-style: none; padding: 0; margin: 0 0 1em; }
.liste-check li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.liste-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--vert-c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/12px no-repeat; }

.table-wrap { overflow-x: auto; }
.tableau { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); font-size: .97rem; }
.tableau caption { caption-side: top; text-align: left; font-size: .88rem; color: var(--doux); padding: 0 0 8px; }
.tableau th, .tableau td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau tr:last-child th, .tableau tr:last-child td { border-bottom: 0; }
.tableau thead th { background: #f3effe; font-size: .88rem; }
.tableau td strong { color: var(--violet-f); }

.encadre-chiffres { background: var(--nuit); color: #fff; border-radius: var(--rayon); padding: 22px; }
.ec-titre { font-weight: 800; margin: 0 0 12px; color: var(--jaune); }
.encadre-chiffres dl { margin: 0; display: grid; gap: 8px; }
.encadre-chiffres dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 8px; }
.encadre-chiffres dl div:last-child { border: 0; padding: 0; }
.encadre-chiffres dt { color: #c4b5fd; }
.encadre-chiffres dd { margin: 0; font-weight: 700; text-align: right; }

/* Voyants */
.en-service { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 22px; padding: 22px; box-shadow: var(--ombre); }
.es-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.es-titre { margin: 0; display: flex; align-items: center; gap: 10px; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.es-sous { margin: 0; color: var(--doux); font-size: .92rem; }
.es-maj { white-space: nowrap; }
.point { position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--vert-c); flex: none; }
.point::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vert-c); animation: pouls 2s ease-out infinite; will-change: transform, opacity; }
@keyframes pouls { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.es-vide { color: var(--doux); }
.es-plus { margin: 14px 0 0; }
.es-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ligne); }
.es-note { margin: 0; font-size: .88rem; color: var(--doux); flex: 1 1 260px; }

.grille-voyants { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.fiche-v { background: #fcfbff; border: 1px solid var(--ligne); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: border-color .15s; }
.fiche-v:hover { border-color: #c4b5fd; }
.section > .grille-voyants .fiche-v { background: var(--blanc); box-shadow: var(--ombre); }
.fv-tete { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.fv-tete .vg { margin-top: 2px; }
.fv-id { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.fv-nom { margin: 0; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; min-height: 1.3em; }
.fv-spe { margin: 2px 0 6px; font-size: .86rem; color: var(--doux); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.fv-st { min-height: 22px; display: flex; align-items: center; }
.fv-desc { margin: 0; font-size: .92rem; color: #3d3656; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; min-height: 4.5em; }
.fv-desc:empty { visibility: hidden; }
.fv-plages { margin: auto 0 0; padding-top: 2px; font-size: .86rem; font-weight: 600; color: var(--violet-f); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; min-height: calc(2.8em + 2px); }
.fv-plages span { color: var(--doux); font-weight: 500; }

.avatar { display: block; width: 64px; height: 64px; border-radius: 18px; object-fit: cover; border: 1px solid var(--ligne); background: #ede9fe; }
.t64 { width: 64px; height: 64px; }
.t34 { width: 34px; height: 34px; }
.t32 { width: 32px; height: 32px; }
.avatar-ini { display: inline-grid; place-items: center; font-weight: 800; color: var(--violet); font-size: 1.3rem; }
.etat { display: inline-block; font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.etat-libre { background: #dcfce7; color: #14532d; }
.etat-occupe { background: #fef3c7; color: #7c2d12; }
.etat-service { background: #ede9fe; color: #4c1d95; }

.rangee { display: inline-flex; }
.rangee { gap: 6px; }
.rangee-v { display: block; width: 36px; height: 36px; border-radius: 11px; object-fit: cover; border: 1px solid #ddd6fe; background: #ede9fe; }
.rangee .avatar-ini { font-size: .85rem; }
.entete .rangee-v { border-color: rgba(255, 255, 255, .35); }

.prochaines { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.prochaines li { display: flex; align-items: center; gap: 14px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; padding: 10px 14px; flex-wrap: wrap; }
.ph-heure { font-weight: 800; color: var(--violet-f); min-width: 42px; }
.ph-noms { color: var(--doux); font-size: .92rem; flex: 1 1 200px; }

/* Planning */
.tranches { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.tranches a { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px; padding: 7px 14px; text-decoration: none; font-weight: 700; font-size: .93rem; }
.tranches small { color: var(--doux); font-weight: 500; }
.tranche h2 small { font-size: .6em; color: var(--doux); font-weight: 600; }
.heures { list-style: none; padding: 0; margin: 0; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.heure { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ligne); align-items: center; }
.heure:last-child { border-bottom: 0; }
.heure-courante { background: #f3effe; box-shadow: inset 4px 0 0 var(--violet); }
.heure-passee { background: #fbfaff; }
.heure-passee .h-lib { color: #6b6485; }
.heure-passee .mini { filter: grayscale(.6); }
.h-lib { font-weight: 800; color: var(--violet-f); display: flex; flex-direction: column; line-height: 1.2; }
.h-lib em { font-style: normal; font-size: .7rem; white-space: nowrap; color: var(--vert); font-weight: 700; }
.h-voyants { display: flex; flex-wrap: wrap; gap: 8px; }
.h-v { display: inline-flex; align-items: center; gap: 6px; background: #faf8ff; border: 1px solid var(--ligne); border-radius: 999px; padding: 3px 10px 3px 3px; font-size: .88rem; font-weight: 600; }
.mini { display: block; width: 32px; height: 32px; border-radius: 10px; object-fit: cover; border: 1px solid #ddd6fe; background: #ede9fe; font-size: .8rem; }
.h-vide { color: var(--doux); font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-bottom: 14px; }
.faq details { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 24px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 11px; font-size: 1.3rem; color: var(--violet); }
.faq details[open] summary::after { content: "−"; }
.faq-r { padding-bottom: 12px; }
.faq-r p:last-child { margin: 0; }

.appel-final { text-align: center; background: linear-gradient(160deg, var(--nuit), #3b0f86); color: #fff; border-radius: 24px; padding: 36px 20px; }
.appel-final h2 { color: #fff; }
.appel-final p { color: #ddd6fe; }
.appel-final .numero-sva { border-color: var(--jaune-f); }
.appel-final .numero-sva-prix { background: var(--jaune-f); color: var(--nuit); }

.page-legale { max-width: 820px; }
.page-legale h2 { font-size: 1.2rem; margin-top: 1.8em; }
.maj { color: var(--doux); font-size: .9rem; }

/* Pied */
.pied { background: var(--nuit); color: #c4b5fd; margin-top: 60px; padding: 40px 0 30px; font-size: .95rem; }
.pied-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.pied a { color: #ede9fe; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pied-logo { color: #fff; font-weight: 800; font-size: 1.3rem; margin: 0 0 8px; }
.pied-titre { color: #fff; font-weight: 700; margin: 0 0 10px; }
.pied-petit { font-size: .84rem; color: #a78bfa; margin-top: 14px; }
.numero-sva-pied { margin-top: 4px; }

/* Barre d'appel mobile */
.barre-appel { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .entete-in { justify-content: space-between; }
  .hero-in, .deux-col, .pied-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .btn-entete { display: none; }
  .hero { padding: 26px 0 34px; }
  .et-haut, .et-bas { font-size: .8rem; }
  .section { margin: 34px 0; }
  .en-service { padding: 16px; }
  .heure { grid-template-columns: 78px minmax(0, 1fr); padding: 10px 12px; }
  .compteur-ligne .vg:nth-child(n+4) { display: none; }
  .numero-sva-grand { flex-direction: column; width: 100%; max-width: 360px; }
  .numero-sva-grand .numero-sva-num { justify-content: center; }
  .numero-sva-grand .numero-sva-prix { flex-direction: row; justify-content: center; gap: 4px; text-align: center; }
  .numero-sva-grand .numero-sva-prix br { display: none; }
  .numero-sva-grand .numero-sva-prix { white-space: normal; flex-wrap: wrap; }
  .tableau { font-size: .88rem; }
  .tableau th, .tableau td { padding: 9px 10px; }
  .barre-appel { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--vert-c); box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); }
  .barre-appel a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; color: #fff; text-decoration: none; padding: 6px 16px; }
  .ba-num { font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; }
  .ba-prix { font-size: .78rem; }
  .barre-appel a:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 10px; }
}
@media (max-width: 1180px) {
  .compteur-ligne .cl-txt { display: none; }
  .nav a { padding: 8px 9px; }
}
@media (max-width: 420px) {
  .compteur-ligne .vg:nth-child(n+3) { display: none; }
}
@media (max-width: 380px) {
  .tableau { font-size: .82rem; }
  .tableau th, .tableau td { padding: 8px 7px; overflow-wrap: anywhere; hyphens: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .point::after { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- Passe visuelle 2 ---------- */
.resume-ligne { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; font-size: .92rem; max-width: 100%; }
.resume-ligne:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.resume-ligne .rangee-v { border-color: rgba(255, 255, 255, .35); }
.resume-ligne b { color: var(--jaune); }
.rl-txt { line-height: 1.3; }

.icone { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #f3effe; color: var(--violet); margin-bottom: 12px; }
.carte-info h3 { margin-top: 0; }
.cartes-4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.carte-budget p:last-child { color: var(--doux); }
.carte-num { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.carte-num .icone { margin: 0; }
.cn-titre { font-weight: 800; margin: 0; }
.carte-num .note { margin: 0; }
.etapes-simples { padding-left: 1.3em; margin: 0 0 1em; }
.etapes-simples li { margin-bottom: 6px; padding-left: 4px; }
.etapes-simples li::marker { color: var(--violet); font-weight: 800; }
.es-info { margin: -6px 0 14px; font-size: .88rem; color: #7c2d12; background: #fef3c7; border-radius: 10px; padding: 8px 12px; }

.barres { margin: 0; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 20px; box-shadow: var(--ombre); }
.barres figcaption { font-size: .88rem; color: var(--doux); margin-bottom: 12px; }
.barres ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.barres li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 72px; gap: 10px; align-items: center; font-size: .9rem; }
.b-lib { color: var(--doux); line-height: 1.25; }
.b-lib b { display: block; }
.b-piste { display: block; width: 100%; height: 14px; }
.b-fond { fill: #f1eef9; }
.b-val { fill: #c4b5fd; }
.b-min { font-weight: 700; text-align: right; color: var(--doux); white-space: nowrap; }
.barre-nous .b-lib { color: var(--encre); }
.barre-nous .b-val { fill: var(--violet); }
.barre-nous .b-min { color: var(--violet-f); font-size: 1rem; }


@media (max-width: 760px) {
  .resume-ligne { font-size: .88rem; border-radius: 16px; padding: 8px 12px; gap: 6px 10px; }
  .resume-ligne .vg:nth-child(n+5) { display: none; }
  .barres li { grid-template-columns: minmax(0, 1fr) 72px; }
  .hero .chapo { font-size: 1.02rem; }
  .barres .b-piste { grid-column: 1 / -1; grid-row: 2; }
  /* tableaux comparatifs en cartes */
  .tableau-cartes, .tableau-cartes tbody, .tableau-cartes tr, .tableau-cartes th, .tableau-cartes td { display: block; }
  .tableau-cartes { border: 0; box-shadow: none; background: none; }
  .tableau-cartes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tableau-cartes tr { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; margin-bottom: 10px; padding: 10px 14px; box-shadow: var(--ombre); }
  .tableau-cartes tr:last-child { margin-bottom: 0; }
  .tableau-cartes th[scope="row"] { padding: 0 0 6px; border: 0; font-size: .95rem; color: var(--violet-f); }
  .tableau-cartes td { padding: 4px 0; border: 0; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 10px; }
  .tableau-cartes td::before { content: attr(data-l); color: var(--doux); font-size: .84rem; }
  .tableau-cartes tr:last-child th, .tableau-cartes tr:last-child td { border: 0; }
}

/* ---------- Direct : fil, bandeau, relève, notifications ---------- */
.compteur-ligne .cl-n { font-weight: 800; color: #fff; }
@media (max-width: 1180px) {
  .compteur-ligne .cl-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--vert-c); color: #fff; font-weight: 800; font-size: .85rem; }
}
.journal-ligne { margin-top: 16px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px 18px; box-shadow: var(--ombre); }
.journal-ligne[hidden] { display: none; }
.jl-titre { display: flex; align-items: center; gap: 10px; font-weight: 800; margin: 0 0 10px; font-size: .95rem; }
.journal-ligne ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.journal-ligne li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .92rem; }
.jl-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jl-t { color: var(--doux); font-size: .82rem; white-space: nowrap; }
.jl-libere .jl-txt b, .jl-connecte .jl-txt b { color: var(--vert); }
.jl-consulte .jl-txt { color: var(--doux); }

.bandeau-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 16px 0 0; padding: 12px 16px; background: var(--nuit); border-radius: var(--rayon); color: #fff; }
.bl-lien { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #fff; text-decoration: none; font-size: .92rem; }
.bl-lien:hover { color: #fff; }
.bl-lien b { color: var(--jaune); }
.bl-lien .rangee-v { border-color: rgba(255, 255, 255, .35); }
.bl-txt { font-weight: 700; }
.bandeau-ligne .numero-sva { border-color: var(--jaune-f); }
.bandeau-ligne .numero-sva-prix { background: var(--jaune-f); color: var(--nuit); }

.prise { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 16px 0 0; padding: 10px 14px; background: #f3effe; border-radius: 14px; font-size: .92rem; color: var(--encre); }
.prise b { color: var(--violet-f); }

.alerte-zone { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.alerte { position: relative; pointer-events: auto; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--blanc); border: 1px solid var(--ligne); border-left: 5px solid var(--vert-c); border-radius: 16px; padding: 12px 36px 12px 12px; box-shadow: 0 12px 40px rgba(30, 11, 75, .22); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.alerte.visible { opacity: 1; transform: none; }
.alerte-ph { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 3px solid var(--vert-c); }
.alerte-corps p { margin: 0 0 8px; font-size: .95rem; }
.alerte-corps small { display: block; margin-top: 6px; color: var(--doux); font-size: .76rem; line-height: 1.35; }
.alerte-btn { padding: 9px 14px; font-size: .9rem; }
.alerte-x { border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--doux); cursor: pointer; padding: 0; width: 28px; height: 28px; border-radius: 8px; }
.alerte-x:hover { background: #f3effe; }
@media (max-width: 760px) {
  .alerte-zone { bottom: 76px; right: 12px; width: calc(100vw - 24px); }
  .bandeau-ligne { padding: 12px; }
  .bandeau-ligne .numero-sva { width: 100%; }
  .bandeau-ligne .numero-sva-num { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .alerte { transition: none; } }

/* ---------- Alignement strict des cartes ---------- */

@media (min-width: 540px) {
  .cartes-3 > .carte-info > h3 { min-height: 2.5em; }
}

.numero-sva-num, .numero-sva-prix { min-width: 0; }
@media (max-width: 480px) {
  .numero-sva { flex-direction: column; width: 100%; max-width: 360px; }
  .numero-sva-num { justify-content: center; }
  .numero-sva-prix { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 4px; text-align: center; white-space: normal; }
  .numero-sva-prix br { display: none; }
}

@media (max-width: 760px) {
  .barres li { grid-template-columns: minmax(0, 1fr) 72px; }
}
/* notification : bouton sur une ligne, croix hors grille */
.alerte-x { position: absolute; top: 8px; right: 6px; }
.alerte-btn { white-space: nowrap; font-size: .88rem; padding: 9px 12px; max-width: 100%; }
@media (max-width: 360px) { .alerte-btn { font-size: .82rem; padding: 8px 10px; } }
/* textes de boutons, numéros et étiquettes : jamais sur deux lignes */
.btn, .btn span, .numero-sva-num, .ba-num, .ba-prix, .cl-n, .etat, .tranches a, .puces-hero li, .alerte-btn, .ph-heure, .jl-t, .b-min { white-space: nowrap; }
.h-v { max-width: 100%; min-width: 0; }
.h-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.maj-page { font-size: .88rem; color: var(--doux); margin: -4px 0 0; }

/* ---------- Visuel de la voyante (héros) ---------- */
.hero-visuel { position: relative; display: flex; justify-content: center; align-items: center; min-width: 0; }
.hero-visuel picture { display: block; width: min(400px, 100%); }
.hero-img { display: block; width: 100%; height: auto; aspect-ratio: 438 / 790;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 52%, transparent 100%); }
.hero-visuel .etiquette { position: absolute; left: -8px; bottom: 6%; width: 150px; transform: rotate(-8deg); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.hero-visuel .et-prix { font-size: 3rem; }
.hero-visuel .et-haut, .hero-visuel .et-bas { font-size: .78rem; }
.hero { overflow: hidden; }
@media (min-width: 761px) and (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 20px; }
  .hero-visuel { order: 0; }
  .hero-visuel .etiquette { width: 120px; left: -4px; }
  .hero-visuel .et-prix { font-size: 2.3rem; }
  .hero-visuel .et-haut, .hero-visuel .et-bas { font-size: .66rem; }
}
@media (max-width: 760px) {
  .hero { padding-top: 0; }
  .hero-in { gap: 0; }
  .hero-visuel { order: -1; margin: 0 -16px 4px; height: 190px; overflow: hidden; }
  .hero-visuel picture { width: 100%; height: 100%; }
  .hero-img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
  .hero-visuel .etiquette { width: 122px; left: auto; right: 10px; bottom: 12px; }
  .hero-visuel .et-prix { font-size: 2.2rem; }
  .hero-visuel .et-haut, .hero-visuel .et-bas { font-size: .6rem; white-space: nowrap; }
  .hero-texte { display: flex; flex-direction: column; }
  .hero-texte .surtitre { align-self: flex-start; }
  .hero-texte .resume-ligne { order: 3; }
  .hero-texte .hero-cta { order: 4; margin-bottom: 18px; }
  .hero-texte .chapo { order: 5; }
  .hero-texte .puces-hero { order: 6; margin-bottom: 0; }
}


.et-haut, .et-bas { white-space: nowrap; }

@media (max-width: 360px) { .hero-visuel .etiquette { display: none; } }

/* ---------- Menu mobile ---------- */
.feuille-menu[hidden] { display: none; }
.feuille-menu ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.feuille-menu ul a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; }
.feuille-menu ul a:hover, .feuille-menu ul a[aria-current="page"] { background: rgba(255, 255, 255, .1); }
.feuille-menu .icone { width: 36px; height: 36px; margin: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--jaune); }
.fm-appel .numero-sva { border-color: var(--jaune-f); width: 100%; }
.fm-appel .numero-sva-num { flex: 1; justify-content: center; }
.fm-appel .numero-sva-prix { background: var(--jaune-f); color: var(--nuit); }
.fm-fermer { display: block; width: 100%; margin-top: 12px; min-height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: none; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.entete { position: sticky; }
.entete-in { position: relative; }
body.menu-ouvert { overflow: hidden; }
@media (max-width: 960px) {
}
@media (min-width: 961px) {
  .feuille-menu { display: none !important; }
}

/* ---------- Lisibilité mobile : 12 px minimum, cibles tactiles ---------- */
.etat { font-size: .78rem; }
.h-lib em { font-size: .76rem; }
.btn-entete small { font-size: .76rem; }
.fil a { display: inline-block; padding: 4px 0; min-height: 24px; }
@media (max-width: 960px) {
  /* etat de prix en forme de numero-sva (texte lisible, mention complète) */
  .hero-visuel .etiquette { width: auto; aspect-ratio: auto; border-radius: 16px; padding: 8px 14px; transform: rotate(-4deg); line-height: 1.15; }
  .hero-visuel .et-prix { font-size: 1.9rem; }
  .hero-visuel .et-haut, .hero-visuel .et-bas { font-size: .78rem; }
}
@media (max-width: 480px) {
  .fm-appel .numero-sva-num, .bandeau-ligne .numero-sva-num { flex: none; }
  .numero-sva-prix { align-self: stretch; }
}
@media (max-width: 380px) {
  .entete-in { gap: 10px; }
  .entete-droite { gap: 8px; }
  .logo { font-size: 1.1rem; gap: 8px; }
  .compteur-ligne .vg:nth-child(n+2) { display: none; }
}

/* ---------- Vignettes arrondies + etat de statut ---------- */
.vg { --bord-vg: var(--blanc); position: relative; display: inline-flex; flex: none; line-height: 0; }
.vg.st-libre::after, .vg.st-occupe::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--vert-c); border: 2px solid var(--bord-vg); box-sizing: content-box; }
.vg.st-occupe::after { background: var(--orange); }
.vg-avatar.st-libre::after, .vg-avatar.st-occupe::after { width: 14px; height: 14px; right: -4px; bottom: -4px; border-width: 3px; }
.vg-mini.st-libre::after, .vg-mini.st-occupe::after { width: 9px; height: 9px; right: -2px; bottom: -2px; }
.entete .vg, .resume-ligne .vg, .bl-lien .vg, .prise .vg { --bord-vg: var(--nuit); }
.prise .vg { --bord-vg: #f3effe; }
.fiche-v .vg { --bord-vg: #fcfbff; }
.section > .grille-voyants .fiche-v .vg { --bord-vg: var(--blanc); }
.h-v .vg { --bord-vg: #faf8ff; }
.avatar-ini.rangee-v, .avatar-ini.mini, .avatar-ini.avatar { display: grid; }

/* ---------- QR code d'appel (ordinateur uniquement) ---------- */
.cta-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta-centre { justify-content: center; }
.qr-appel { display: none; align-items: center; gap: 12px; max-width: 250px; text-align: left; }
.qr-appel img { display: block; width: 80px; height: 80px; border-radius: 10px; padding: 5px; background: #fff; flex: none; }
.qr-appel p { margin: 0; font-size: .85rem; line-height: 1.35; color: #ddd6fe; }
.qr-appel b { color: #fff; }
@media (min-width: 961px) and (hover: hover) and (pointer: fine) {
  .qr-appel { display: flex; }
}

/* Planning : moments de la journée toujours accessibles */
.tranches { position: sticky; top: 64px; z-index: 5; background: var(--fond); padding: 10px 0; margin-top: 16px; }
.tranche { scroll-margin-top: 150px; }

/* ---------- Identité propre à Voyantotel (modules distincts des autres sites) ---------- */
/* L'essentiel : fiche jaune pâle, étiquette posée sur le bord */
.essentiel { position: relative; background: #fffbeb; border: 1px solid #fde68a; border-left: 1px solid #fde68a; border-radius: 14px; padding: 22px 20px 16px; margin-top: 34px; box-shadow: none; }
.ess-titre { position: absolute; top: -12px; left: 16px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--nuit); color: var(--jaune); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }

/* Bouton menu : pilule "Menu" (plus de trois traits) */
.btn-menu { display: none; height: 40px; padding: 0 14px; gap: 7px; border: 0; cursor: pointer; border-radius: 999px; background: var(--jaune-f); color: var(--nuit); font: inherit; font-weight: 800; font-size: .9rem; }
.btn-menu[aria-expanded="true"] { background: #fff; }
@media (max-width: 960px) { .btn-menu { display: inline-flex; align-items: center; justify-content: center; } }

/* Menu en feuille qui monte du bas, tuiles sur deux colonnes */
.feuille-menu { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 82vh; border-top: 0; border-radius: 22px 22px 0 0; padding: 22px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--nuit); box-shadow: 0 0 0 100vmax rgba(10, 4, 30, .55); }
.feuille-menu ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feuille-menu ul a { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 88px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; line-height: 1.25; }
.feuille-menu ul a[aria-current="page"] { border-color: var(--jaune-f); }
.fm-fermer { margin-top: 10px; }

/* Journal de la ligne : frise verticale */
.journal-ligne { background: var(--blanc); }
.journal-ligne ul { position: relative; padding-left: 14px; border-left: 2px solid #ede9fe; margin-left: 4px; }
.journal-ligne li { position: relative; }
.journal-ligne li::before { content: ""; position: absolute; left: -21px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #c4b5fd; border: 2px solid var(--blanc); }
.jl-libere::before, .jl-connecte::before { background: var(--vert-c) !important; }
.jl-consulte::before { background: var(--orange) !important; }

/* Alerte "libre à l'instant" : bandeau sombre, liseré jaune */
.alerte { background: var(--nuit); color: #fff; border: 0; border-top: 4px solid var(--jaune-f); border-radius: 14px; box-shadow: 0 16px 44px rgba(10, 4, 30, .45); }
.alerte-corps p { color: #fff; }
.alerte-corps small { color: #c4b5fd; }
.alerte-x { color: #ddd6fe; }
.alerte-x:hover { background: rgba(255, 255, 255, .1); }
.alerte-ph { border-color: var(--jaune-f); }
.alerte-zone { left: 16px; right: auto; }
@media (max-width: 760px) { .alerte-zone { left: 12px; } }
.feuille-menu { overflow-y: auto; }
body.menu-ouvert .barre-appel, body.menu-ouvert .alerte-zone { display: none; }
@media (max-width: 480px) {
  .compteur-ligne .vg:nth-child(n+2) { display: none; }
  .btn-menu { padding: 0 12px; }
}
@media (max-width: 359px) {
  .compteur-ligne .rangee { display: none; }
}

/* ---------- Fiche voyant (/voyant-audiotel/...) ---------- */
.fv-nom a { color: inherit; text-decoration: none; display: inline-block; max-width: 100%; min-height: 24px; line-height: 24px; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.fv-nom a:hover { color: var(--violet); text-decoration: underline; }
a.h-nom { color: inherit; text-decoration: none; display: inline-block; min-height: 24px; line-height: 24px; }
a.h-nom:hover { color: var(--violet); text-decoration: underline; }
.profil { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 26px; padding: 28px; box-shadow: var(--ombre); margin-top: 8px; }
.profil-photo { position: relative; }
.profil-photo img, .profil-ini { display: block; width: 240px; height: 240px; border-radius: 28px; object-fit: cover; background: #ede9fe; }
.profil-ini { display: grid; place-items: center; font-size: 5rem; font-weight: 800; color: var(--violet); }
.profil-photo::after { content: ""; position: absolute; inset: auto 18px -10px 18px; height: 10px; border-radius: 0 0 16px 16px; background: var(--jaune); }
.profil-id { min-width: 0; }
.profil-id h1 { margin: 0 0 12px; overflow-wrap: anywhere; }
.profil-pratique { margin: 0; font-size: .86rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.profil-etat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 14px; color: var(--doux); font-size: .95rem; min-height: 26px; }
.profil-etat .etat { font-size: .82rem; padding: 3px 11px; white-space: nowrap; }
.etat-bientot { background: #e0f2fe; color: #0c4a6e; }
.etat-repos { background: #f1f0f5; color: #3d3656; }
.profil .chapo { margin-bottom: 18px; }
.profil-appel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.profil-appel p { margin: 0; flex: 1 1 220px; font-size: .88rem; color: var(--doux); line-height: 1.45; }

.journee ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; }
.journee li { height: 34px; border-radius: 6px; background: #ece8f6; }
.journee li.jh-on { background: var(--violet); }
.journee li.jh-on.jh-passe { background: #b8a5ea; }
.journee li.jh-passe:not(.jh-on) { background: #f3f1f8; }
.journee li.jh-now { outline: 3px solid var(--jaune-f); outline-offset: 2px; }
.journee-heures { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: .78rem; color: var(--doux); }
.journee-txt { margin: 14px 0 0; }

.fiche-texte { max-width: 68ch; }
.pratiques { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pratiques li { background: #f3effe; color: #4c1d95; border: 1px solid #ddd6fe; border-radius: 10px; padding: 5px 12px; font-size: .86rem; font-weight: 600; white-space: nowrap; }

.questions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.questions li { position: relative; background: var(--blanc); border: 1px solid var(--ligne); border-left: 5px solid var(--jaune-f); border-radius: 12px; padding: 14px 16px; font-weight: 600; min-width: 0; }
.questions-note { margin: 12px 0 0; font-size: .9rem; color: var(--doux); }

.presences { border-collapse: collapse; width: 100%; max-width: 560px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; }
.presences th, .presences td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ligne); }
.presences th { font-size: .82rem; color: var(--doux); font-weight: 600; background: #faf8ff; }
.presences tr:last-child td { border-bottom: 0; }
.presences td:first-child { white-space: nowrap; }

.suggestions { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.sugg { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 16px; padding: 12px 14px; min-width: 0; }
.sugg-v { display: block; width: 48px; height: 48px; border-radius: 14px; object-fit: cover; border: 1px solid #ddd6fe; background: #ede9fe; }
.avatar-ini.sugg-v { display: grid; }
.sugg .vg { --bord-vg: var(--blanc); }
.sugg-id { min-width: 0; display: flex; flex-direction: column; }
.sugg-nom { font-weight: 700; color: var(--encre); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-nom:hover { color: var(--violet); text-decoration: underline; }
.sugg-pra, .sugg-tags { font-size: .82rem; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-tags { color: var(--vert); }
.sugg-h { font-size: .8rem; font-weight: 700; color: var(--violet-f); text-align: right; white-space: nowrap; line-height: 1.3; }

@media (max-width: 760px) {
  .profil { grid-template-columns: 1fr; gap: 22px; padding: 20px; justify-items: center; text-align: center; }
  .profil-photo img, .profil-ini { width: 180px; height: 180px; }
  .profil-etat, .profil-appel { justify-content: center; }
  .profil-appel p { flex-basis: 100%; }
  .journee ol { gap: 2px; }
  .journee li { height: 28px; border-radius: 4px; }
  .journee li.jh-now { outline-width: 2px; outline-offset: 1px; }
}
@media (max-width: 420px) {
  .sugg { grid-template-columns: 48px minmax(0, 1fr); }
  .sugg-h { grid-column: 2; text-align: left; max-width: none; }
}
/* noms longs ("Gabriel Cartomancie") : cartes plus larges, et deux lignes permises sur une seule colonne */
.grille-voyants { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 480px) {
  .fv-nom, .fv-nom a { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
  .fv-nom a { display: inline-block; line-height: 1.3; padding: 2px 0; min-height: 24px; }
}

/* ---------- Tirage du tarot gratuit ---------- */
.feuille-menu li.fm-large { grid-column: 1 / -1; }
.feuille-menu li.fm-large a { min-height: 56px; flex-direction: row; align-items: center; background: rgba(253, 224, 71, .12); border-color: rgba(253, 224, 71, .35); }
.tarot { background: var(--nuit); color: #fff; border-radius: 26px; padding: 28px; margin: 8px 0 44px; box-shadow: var(--ombre); scroll-margin-top: 84px; }
.tarot-reglages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; align-items: end; }
.tarot-choix { border: 0; margin: 0; padding: 0; min-width: 0; }
.tarot-choix legend, .tarot-question label { font-weight: 800; margin-bottom: 10px; padding: 0; display: block; }
.tarot-question small { font-weight: 500; color: #c4b5fd; }
.tc-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc-opt, .tc-theme { position: relative; display: block; cursor: pointer; min-width: 0; }
.tc-opt input, .tc-theme input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tc-opt span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); }
.tc-opt b { font-size: .95rem; line-height: 1.25; }
.tc-opt small { color: #c4b5fd; font-size: .8rem; }
.tc-opt input:checked + span, .tc-theme input:checked + span { border-color: var(--jaune-f); background: rgba(253, 224, 71, .14); box-shadow: inset 0 0 0 1px var(--jaune-f); }
.tc-opt input:focus-visible + span, .tc-theme input:focus-visible + span { outline: 3px solid var(--jaune-f); outline-offset: 2px; }
.carnet-commande .tc-theme input:focus-visible + span { outline-color: var(--violet); }
.tc-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-theme span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.tarot-question { grid-column: 1 / 2; min-width: 0; }
.tarot-question input { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; padding: 10px 14px; font: inherit; font-size: 1rem; }
.tarot-question input::placeholder { color: #b9addb; }
.tarot-go, .tarot-refaire { justify-self: start; min-height: 48px; padding: 12px 26px; border: 0; border-radius: 14px; background: var(--jaune); color: var(--nuit); font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.tarot-go:hover, .tarot-refaire:hover { background: var(--jaune-f); }

.tarot-jeu { margin-top: 26px; scroll-margin-top: 84px; }
.tarot-consigne { font-weight: 700; margin: 0 0 14px; min-height: 1.6em; }
.tarot-paquet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 10px; }
.dos-t { display: block; width: 100%; aspect-ratio: 5 / 8; border-radius: 10px; border: 2px solid rgba(253, 224, 71, .55); cursor: pointer; padding: 0;
  background: radial-gradient(circle at 50% 50%, rgba(253, 224, 71, .5) 0 10%, transparent 11%), repeating-linear-gradient(45deg, #4c1d95 0 6px, #3b0f86 6px 12px); transition: transform .15s, opacity .2s; }
.dos-t:hover:not(:disabled) { transform: translateY(-4px); border-color: var(--jaune); }
.dos-t.tiree { opacity: .15; cursor: default; }
.dos-t:disabled:not(.tiree) { cursor: default; }
.tarot-paquet.melange li { animation: vt-melange .5s ease both; }
.tarot-paquet.melange li:nth-child(odd) { animation-delay: .05s; }
.tarot-paquet.melange li:nth-child(3n) { animation-delay: .1s; }
@keyframes vt-melange { 0% { transform: translateY(8px) scale(.94); opacity: 0; } 100% { transform: none; opacity: 1; } }

.tarot-resultat { margin-top: 26px; scroll-margin-top: 84px; }
.tarot-resultat:focus { outline: none; }
.tarot-q { font-style: italic; color: #ddd6fe; margin: 0 0 16px; }
.tarot-table { display: grid; gap: 16px; justify-content: center; margin: 0 auto 22px; }
.tt-oui { grid-template-columns: 150px; }
.tt-decision { grid-template-columns: repeat(3, 140px); grid-template-areas: "p1 . p2" ". p3 ."; }
.tt-decision .p1 { grid-area: p1; } .tt-decision .p2 { grid-area: p2; } .tt-decision .p3 { grid-area: p3; margin-top: -60px; }
.tt-fer { grid-template-columns: repeat(7, 112px); align-items: start; }
.tt-fer .p1, .tt-fer .p7 { margin-top: 84px; } .tt-fer .p2, .tt-fer .p6 { margin-top: 42px; } .tt-fer .p3, .tt-fer .p5 { margin-top: 12px; }
.carte-t { perspective: 800px; min-width: 0; }
.ct-in { position: relative; aspect-ratio: 5 / 8; transition: transform .6s; transform-style: preserve-3d; }
.carte-t.retournee .ct-in { transform: rotateY(180deg); }
.ct-dos, .ct-face { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ct-dos { border: 2px solid rgba(253, 224, 71, .55); background: radial-gradient(circle at 50% 50%, rgba(253, 224, 71, .5) 0 10%, transparent 11%), repeating-linear-gradient(45deg, #4c1d95 0 6px, #3b0f86 6px 12px); }
.ct-face { transform: rotateY(180deg); background: #fffbeb; color: var(--nuit); border: 2px solid var(--jaune-f); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 6px; text-align: center; }
.ct-num { font-weight: 800; font-size: .9rem; letter-spacing: .08em; color: var(--violet-f); }
.ct-sym { width: 62%; height: auto; color: var(--violet); }
.ct-nom { font-weight: 800; font-size: .8rem; line-height: 1.2; }
.ct-synthese .ct-face { background: #fef9c3; border-color: var(--violet); }
.ct-pos { margin: 8px 0 0; text-align: center; font-size: .8rem; font-weight: 700; color: #ddd6fe; line-height: 1.25; }
.tarot-lecture { background: var(--blanc); color: var(--encre); border-radius: 18px; padding: 22px; display: grid; gap: 16px; }
.tl-reponse { margin: 0; font-size: 1.5rem; font-weight: 800; }
.tl-oui { color: var(--vert); } .tl-non { color: #9a3412; } .tl-nuance { color: var(--violet-f); }
.tl-carte h3 { margin: 0 0 2px; }
.tl-pos { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--violet); margin-right: 4px; }
.tl-mots { margin: 0 0 6px; font-size: .88rem; color: var(--doux); }
.tl-carte p:last-child { margin: 0; }
.tl-conseil { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fef9c3; font-weight: 700; }
.tarot-actions { margin-top: 18px; }
.tarot-info { margin: 16px 0 0; color: #ddd6fe; }
.tarot-note { font-size: .88rem; color: var(--doux); margin: 10px 0 0; }
.tarot-suite .suggestions { margin-bottom: 18px; }

.arcanes-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.arcane-ligne { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.al-sym { width: 56px; height: 56px; color: var(--violet); background: #f3effe; border-radius: 14px; padding: 6px; }
.al-txt h3 { margin: 0 0 2px; font-size: 1.02rem; }
.al-txt h3 span { color: var(--violet); margin-right: 2px; }
.al-mots { font-size: .85rem; color: var(--doux); margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.al-oui { font-size: .76rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.al-v-oui { background: #dcfce7; color: #14532d; }
.al-v-non { background: #ffedd5; color: #7c2d12; }
.al-v-nuance { background: #ede9fe; color: #4c1d95; }
.al-txt p:last-child { margin: 0; font-size: .92rem; }

@media (max-width: 960px) {
  .tarot-reglages { grid-template-columns: 1fr; }
  .tarot-question { grid-column: auto; }
  .tarot-paquet { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tarot { padding: 20px 16px; border-radius: 20px; }
  .tc-options { grid-template-columns: 1fr; }
  .tarot-paquet { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .tt-oui { grid-template-columns: 130px; }
  .tt-decision { grid-template-columns: repeat(3, minmax(0, 104px)); gap: 10px; }
  .tt-decision .p3 { margin-top: -30px; }
  .tt-fer { grid-template-columns: repeat(3, minmax(0, 104px)); gap: 10px; }
  .tt-fer .p7 { grid-column: 2; }
  .tt-fer .p1, .tt-fer .p2, .tt-fer .p3, .tt-fer .p5, .tt-fer .p6, .tt-fer .p7 { margin-top: 0; }
  .ct-nom { font-size: .75rem; }
  .ct-num { font-size: .75rem; }
  .ct-pos { font-size: .75rem; }
  .tarot-lecture { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-in, .dos-t { transition: none; }
  .tarot-paquet.melange li { animation: none; }
}

.bloc-tarot { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 24px; align-items: center; background: var(--blanc); border: 1px solid var(--ligne); border-left: 6px solid var(--jaune-f); border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre); }
.bloc-tarot p:last-child { margin: 0; }
.bt-sym { width: 120px; height: 120px; color: var(--violet); background: #f3effe; border-radius: 22px; padding: 14px; }
@media (max-width: 600px) { .bloc-tarot { grid-template-columns: 1fr; } .bt-sym { display: none; } }

/* en-tête à 5 liens : visages limités pour que rien ne passe à la ligne */
@media (min-width: 961px) { .entete .compteur-ligne .vg:nth-child(n+4) { display: none; } }
@media (min-width: 961px) and (max-width: 1240px) { .entete .compteur-ligne .vg:nth-child(n+3) { display: none; } .nav a { padding: 8px 8px; } }

/* ---------- Plancher typographique (mobile et desktop) ----------
   corps 16-17 px ; textes secondaires 14 px minimum ; étiquettes, badges et mentions 13 px minimum */
.fv-spe, .fv-plages, .fv-plages span, .sugg-pra, .sugg-tags, .pied-petit, .al-mots, .surtitre, .profil-pratique,
.pratiques li, .qr-appel p, .tarot-note, .journee-txt, .es-note, .jl-txt, .tarot-question small, .tc-opt small,
.tableau td, .tableau th, .tableau strong, .tranche h2 small { font-size: max(14px, 1em * .82); }
.ct-num, .ct-nom, .ct-pos, .ess-titre, .al-oui, .etat, .profil-etat .etat, .tl-pos, .et-haut, .et-bas, .sugg-h, .jl-t, .cl-n,
.h-lib em, .btn-entete small, .tranches small, .journee-heures span, .numero-sva-prix, .ba-prix, .etat-bientot, .etat-repos { font-size: max(13px, .78rem); }
.numero-sva-grand .numero-sva-prix { font-size: max(13px, .85rem); }
.tableau td, .tableau th { font-size: 14px; }
@media (min-width: 761px) { .ct-num, .ct-nom, .ct-pos { font-size: 14px; } }
.hero-visuel .et-haut, .hero-visuel .et-bas { font-size: 13px; }
.fv-st { min-height: 26px; } .fv-st .etat { line-height: 1.5; }

/* ---------- Héros : visuel du voyant à la boule de cristal, fondu dans la nuit (thème or et violet) ---------- */
.hero { background:
  radial-gradient(520px 420px at 78% 62%, rgba(244, 183, 64, .22), transparent 70%),
  radial-gradient(900px 520px at 88% 10%, rgba(124, 58, 237, .45), transparent 65%),
  linear-gradient(160deg, #140726 0%, #1e0b4b 55%, #2a0f57 100%); }
@media (min-width: 961px) { .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hero-visuel picture { width: min(560px, 100%); }
.hero-img { aspect-ratio: 800 / 700; filter: saturate(1.05);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 52% 48%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 52% 48%, #000 58%, transparent 100%); }
.hero-visuel .etiquette { left: 2%; bottom: 4%; background: radial-gradient(circle at 35% 30%, var(--or-clair), var(--jaune-f) 72%); box-shadow: 0 14px 44px rgba(0, 0, 0, .45), 0 0 0 3px rgba(255, 231, 163, .35); }
.surligne { background: linear-gradient(180deg, var(--or-clair), var(--jaune-f)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .surtitre { background: rgba(244, 183, 64, .14); color: var(--or-clair); border: 1px solid rgba(244, 183, 64, .35); }
@media (min-width: 761px) and (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero-visuel { height: 220px; }
  .hero-visuel .etiquette { left: auto; right: 10px; bottom: 14px; }
  .hero-img { aspect-ratio: auto; object-position: 50% 62%;
    -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 50%, transparent 100%); }
  .hero-visuel picture { width: 100%; }
}
@media (min-width: 521px) and (max-width: 760px) {
  .hero-visuel { height: clamp(220px, 40vw, 300px); }
  .hero-img { object-position: 50% 30%; -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, #000 50%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-composite: intersect; }
}
@media (max-width: 760px) { .heure { grid-template-columns: 96px minmax(0, 1fr); } }

/* Appel final de l'accueil avec la voyante, fondue dans le dégradé */
.appel-voyante { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center; text-align: left; padding: 0 0 0 40px; overflow: hidden;
  background: radial-gradient(420px 360px at 85% 70%, rgba(244, 183, 64, .2), transparent 70%), linear-gradient(160deg, #140726, var(--nuit) 50%, #3b0f86); }
.av-txt { padding: 36px 0; min-width: 0; }
.av-txt .cta-ligne { justify-content: flex-start; }
.av-img { display: block; align-self: end; }
.av-img img { display: block; width: 100%; height: auto; aspect-ratio: 438 / 790;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to top, transparent 0, #000 22%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to top, transparent 0, #000 22%); mask-composite: intersect; }
@media (max-width: 960px) {
  .appel-voyante { grid-template-columns: 1fr; padding: 0 20px; gap: 0; text-align: center; }
  .av-img { order: -1; margin: 0 -20px; height: 220px; overflow: hidden; }
  .av-img img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
  .av-txt { padding: 8px 0 30px; }
  .av-txt .cta-ligne { justify-content: center; }
}

/* En-tête de la page tarot : boule de cristal et cartes */
.tarot-tete { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: center; }
.tt-img img { display: block; width: 100%; height: auto; aspect-ratio: 470 / 340; border-radius: 26px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
@media (max-width: 860px) {
  .tarot-tete { grid-template-columns: 1fr; gap: 8px; }
  .tt-img { order: -1; }
  .tt-img img { max-height: 220px; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
}
.tarot-tete { background: radial-gradient(420px 320px at 80% 50%, rgba(244, 183, 64, .18), transparent 70%), linear-gradient(160deg, #140726, var(--nuit) 55%, #2a0f57); color: #fff; border-radius: 26px; padding: 26px 30px; margin: 6px 0 24px; overflow: hidden; }
.tarot-tete h1 { color: #fff; }
.tarot-tete .chapo { color: #ddd6fe; }
.tarot-tete .maj-page { color: #c4b5fd; }
@media (max-width: 860px) { .tarot-tete { padding: 0 20px 22px; } .tt-img { margin: 0 -20px; } .tt-img img { border-radius: 0; width: 100%; } }
@media (min-width: 521px) and (max-width: 960px) {
  .av-img { width: 100%; max-width: 560px; margin: 0 auto; }
  .av-img img { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); mask-composite: intersect; }
}

.jl-txt a { color: inherit; font-weight: 700; text-decoration: none; display: inline-block; min-height: 24px; line-height: 24px; }
.jl-txt a:hover { text-decoration: underline; }
.jl-libere .jl-txt a, .jl-connecte .jl-txt a { color: var(--vert); }
.tarot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.tarot-appel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.tarot-appel p { margin: 0; color: #ddd6fe; flex: 1 1 220px; }
.tarot-appel .numero-sva { border-color: var(--jaune-f); }
.tarot-appel .numero-sva-prix { background: var(--jaune-f); color: var(--nuit); }

/* ---------- Carnet de semaine : mise en avant ---------- */
.promo-carnet { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: center; margin: 44px 0; padding: 22px; border-radius: 24px; color: #fff;
  background: radial-gradient(420px 300px at 15% 50%, rgba(244, 183, 64, .22), transparent 70%), linear-gradient(135deg, #140726, var(--nuit) 55%, #3b0f86); box-shadow: 0 18px 50px rgba(30, 11, 75, .25); }
.pc-visuel { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.pc-visuel img { display: block; width: 100%; height: auto; aspect-ratio: 1; transition: transform .3s; }
.pc-visuel:hover img { transform: scale(1.03); }
.pc-texte { min-width: 0; }
.pc-sur { display: inline-block; margin: 0 0 8px; padding: 3px 12px; border-radius: 999px; background: rgba(244, 183, 64, .16); border: 1px solid rgba(244, 183, 64, .4); color: var(--or-clair); font-weight: 700; font-size: max(13px, .8rem); }
.pc-titre { margin: 0 0 8px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; line-height: 1.2; }
.pc-texte p { color: #ddd6fe; }
.pc-texte .pc-titre { color: #fff; }
.pc-action { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 14px 0 0; }
.pc-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 12px 24px; border-radius: 14px; background: linear-gradient(180deg, var(--or-clair), var(--jaune-f)); color: var(--nuit); font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 20px rgba(244, 183, 64, .35); }
.pc-btn:hover { color: var(--nuit); filter: brightness(1.05); }
.pc-action span { color: #c4b5fd; font-size: max(14px, .85rem); }
@media (max-width: 600px) {
  .promo-carnet { grid-template-columns: 1fr; text-align: center; padding: 20px 16px; gap: 16px; }
  .pc-visuel { width: min(240px, 70%); margin: 0 auto; }
  .pc-action { justify-content: center; }
  .pc-btn { white-space: normal; justify-content: center; text-align: center; }
}

/* ---------- Carnet de semaine : page produit ---------- */
.carnet-tete { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 36px; align-items: center; background: radial-gradient(500px 360px at 20% 50%, rgba(244, 183, 64, .2), transparent 70%), linear-gradient(160deg, #140726, var(--nuit) 55%, #2a0f57); color: #fff; border-radius: 26px; padding: 30px; margin: 6px 0 12px; }
.ct-visuel img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 20px; box-shadow: 0 16px 44px rgba(0, 0, 0, .45); }
.ct-texte { min-width: 0; }
.ct-texte h1 { color: #fff; margin-top: 0; }
.ct-texte .chapo { color: #ddd6fe; }
.ct-texte .liste-check li { color: #f5f3ff; }
.ct-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 16px 0 0; }
.ct-prix strong { font-size: 2.4rem; line-height: 1; background: linear-gradient(180deg, var(--or-clair), var(--jaune-f)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.ct-prix span { color: #c4b5fd; font-size: max(14px, .9rem); flex: 1 1 220px; }
.carnet-commande { background: var(--blanc); border: 2px solid var(--jaune-f); border-radius: 24px; padding: 28px; box-shadow: var(--ombre); scroll-margin-top: 84px; margin-top: 24px; }
.cc-form { display: grid; gap: 16px; max-width: 640px; }
.cc-champ { border: 0; margin: 0; padding: 0; min-width: 0; }
.cc-champ label, .cc-champ legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.cc-champ small { font-weight: 500; color: var(--doux); }
.cc-champ input[type="text"] { width: 100%; min-height: 48px; border: 1px solid #c4b5fd; border-radius: 12px; padding: 10px 14px; font: inherit; background: #fcfbff; color: var(--encre); }
.cc-champ input[type="text"]:focus { outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
.carnet-commande .tc-theme span { background: #f3effe; border-color: #ddd6fe; color: var(--encre); }
.carnet-commande .tc-theme input:checked + span { background: #fef3c7; border-color: var(--jaune-f); color: var(--nuit); box-shadow: inset 0 0 0 1px var(--jaune-f); }
.cc-case { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: max(14px, .95rem); }
.cc-case input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--violet); }
.cc-case span { min-width: 0; }
.cc-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cc-payer { justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 28px; border: 0; border-radius: 14px; background: linear-gradient(180deg, var(--or-clair), var(--jaune-f)); color: var(--nuit); font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; text-decoration: none; box-shadow: 0 6px 20px rgba(244, 183, 64, .35); }
.cc-payer:hover { filter: brightness(1.05); color: var(--nuit); }
.cc-payer:disabled { opacity: .55; cursor: not-allowed; }
.cc-secu { margin: 0; font-size: max(14px, .88rem); color: var(--doux); }
.cc-erreur { background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.cc-info { background: #f3effe; border: 1px solid #ddd6fe; border-radius: 12px; padding: 12px 16px; }
.apercus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.apercu { margin: 0; min-width: 0; }
.apercu img { display: block; width: 100%; height: auto; aspect-ratio: 420 / 594; border-radius: 10px; border: 1px solid var(--ligne); box-shadow: var(--ombre); background: #fff; }
.apercu figcaption { margin-top: 10px; font-size: max(14px, .9rem); color: var(--doux); }
.merci { max-width: 760px; padding: 20px 0 10px; }
.merci-dl { font-size: 1.1rem; }
.merci-note { color: var(--doux); }
.merci-suite { margin-top: 30px; padding: 24px; border-radius: 20px; background: var(--nuit); color: #fff; }
.merci-suite h2 { color: #fff; }
.merci-suite p { color: #ddd6fe; }
@media (max-width: 960px) { .apercus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .carnet-tete { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .ct-visuel { width: min(360px, 100%); margin: 0 auto; }
}
@media (max-width: 600px) {
  .carnet-commande { padding: 20px 16px; }
  .cc-payer { justify-self: stretch; white-space: normal; text-align: center; }
}

.merci .surtitre { background: #dcfce7; color: #14532d; border: 0; }
.ct-action { margin: 18px 0 0; }
.h-absent { background: #f4f2f8; border-style: dashed; }
.h-absent .h-nom { color: var(--doux); }
.h-absent img { filter: grayscale(1); }
.h-abs { font-size: max(13px, .78rem); color: var(--doux); font-weight: 600; white-space: nowrap; }
.cc-case a { padding: 3px 0; }
.cc-case small, .cc-champ small { font-size: max(13px, .8rem); }
@media (min-width: 601px) and (max-width: 960px) { .tt-fer { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; } .tt-fer .ct-nom { font-size: 13px; } }
.ct-nom { overflow-wrap: anywhere; hyphens: auto; max-width: 100%; }
.ct-pos { overflow-wrap: anywhere; }

/* ---------- "Me prévenir" : cloche des cartes, bouton de la fiche, message d'état ---------- */
.prevenir { position: relative; flex: 0 0 auto; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 0 0 auto; padding: 0; border: 1px solid var(--ligne); border-radius: 50%; background: var(--blanc); color: var(--doux); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.prevenir:hover { color: var(--violet); border-color: #c4b5fd; background: #f3effe; }
.prevenir[aria-pressed="true"] { color: #7c2d12; border-color: var(--jaune-f); background: #fef3c7; }
.prevenir[hidden] { display: none; }
.fv-st { gap: 8px; min-height: 44px; }
.prevenir-txt { display: inline-flex; width: auto; height: auto; min-height: 44px; margin: 0; gap: 8px; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .92rem; font-weight: 700; text-align: left; max-width: 100%; }
.prevenir-txt .pv-ic { flex: 0 0 auto; }
.profil-prevenir { margin: -4px 0 14px; }
.pv-info { position: fixed; left: 50%; bottom: 24px; z-index: 65; width: max-content; max-width: min(460px, calc(100% - 32px)); margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--nuit); color: #fff; font-size: .92rem; line-height: 1.45; box-shadow: 0 16px 44px rgba(30, 11, 75, .35); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
.pv-info.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (max-width: 960px) { .pv-info { bottom: 78px; } }
@media (prefers-reduced-motion: reduce) { .prevenir, .pv-info { transition: none; } }
/* Cartes étroites : la cloche passe sous la photo, le statut garde toute sa largeur */
.fiche-v { container-type: inline-size; }
@container (max-width: 320px) {
  .fv-tete { position: relative; min-height: 116px; }
  .fv-st .prevenir { position: absolute; left: 10px; top: 72px; margin: 0; }
}
