/* Lumistral / Astra : ciel gravé, choix des cartes, révélations brèves.
   Aucun contenu essentiel n'attend une animation. Aucun asset externe. */
.hero h1, .hero .lead, .hero .btn-group, .hero .small { animation: none; opacity: 1; transform: none; }
.hero::after { animation: none; }
.hero-inner { z-index: 1; }
.astra-sky { position: absolute; width: 390px; height: 390px; right: max(2rem, calc((100% - 1120px)/2)); top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--lumiere); }
.astra-sky svg { display: block; width: 100%; height: 100%; overflow: visible; }
.astra-orbit { fill: none; stroke: currentColor; stroke-width: .6; opacity: .35; }
.astra-line { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.astra-star { fill: var(--lumiere-2); }
.astra-sky.astra-enter .astra-line { animation: astra-trace 1.8s ease-out both; }
.astra-sky.astra-enter .astra-star { animation: astra-light 1.4s ease-out both; }
@keyframes astra-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes astra-light { from { opacity: .2; } to { opacity: 1; } }
@media (min-width: 1100px) {
  .hero .hero-inner { max-width: var(--max); }
  .hero-inner > * { max-width: 56%; }
  .hero .lead { max-width: 56%; }
}
@media (max-width: 1099px) {
  .astra-sky { width: 220px; height: 220px; right: -90px; top: 2rem; transform: none; opacity: .25; }
}
/* Réserver reste immobile. */
a.btn[href^="/reserver"], a.btn[data-calcom] { transform: none !important; transition: color .15s, background .15s; }
a.btn[href^="/reserver"]::after, a.btn[data-calcom]::after { display: none; }
.form.reveal { opacity: 1; transform: none; transition: none; }
.form .btn:hover { transform: none; }
.astra-quiet *, .astra-quiet *::before, .astra-quiet *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.astra-quiet .reveal { opacity: 1; transform: none; }
.astra-quiet #ciel { display: none; }
.astra-quiet .offre:hover, .astra-quiet .card:hover { transform: none; }
.astra-picker { margin: 1.3rem 0; padding: 1.25rem; border: var(--bord-or); border-radius: var(--radius); background: radial-gradient(ellipse at 50% 0, #26345a 0, var(--nuit) 80%); }
.astra-picker[hidden] { display: none; }
.grid:has(.astra-picker:not([hidden])) { grid-template-columns: 1fr; }
.astra-picker { scroll-margin-top: 90px; }
.astra-picker h3 { margin: 0 0 .4rem; font-size: 1.5rem; }
.astra-selection { color: var(--lumiere-2); margin-bottom: .4rem; min-height: 1.7em; }
.astra-deck { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: .65rem; padding: 1.2rem .5rem 1.8rem; max-width: 850px; margin: auto; }
.astra-pick { appearance: none; position: relative; width: 100%; min-width: 0; aspect-ratio: 3/5; padding: 0; border: 1px solid #cba75e; border-radius: 6px; background: #16234b url('/assets/tarot/dos.svg') center/cover; color: var(--lumiere-2); cursor: pointer; transform: translateY(var(--arc-y, 0px)) rotate(var(--arc-r, 0deg)); transition: transform .22s ease; }
.astra-pick:hover, .astra-pick:focus-visible { transform: translateY(calc(var(--arc-y, 0px) - 6px)) rotate(0); z-index: 2; }
.astra-pick[aria-pressed="true"] { border: 2px solid var(--lumiere-2); background-color: #384269; }
.astra-pick[aria-pressed="true"]::after { content: '✦'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; background: rgba(11,20,52,.65); border-radius: 4px; }
.astra-card-index { position: absolute; z-index: 1; left: 50%; bottom: 2px; transform: translateX(-50%); min-width: 1.4rem; border-radius: 1rem; font: 600 .7rem/1.4rem var(--font); background: var(--nuit); color: var(--lumiere-2); }
.astra-picker .btn-group { margin-bottom: 0; }
.astra-picker .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.astra-picker-note { font-size: .85rem; color: var(--texte-2); margin-bottom: 0; }
.astra-result { position: relative; scroll-margin-top: 95px; }
.astra-result::before { content: ''; display: block; width: min(12rem, 60%); height: 1px; background: linear-gradient(90deg, transparent, var(--lumiere), transparent); margin: 0 auto 1rem; }
.astra-result.astra-enter::before { animation: astra-align .7s ease-out both; }
.astra-result.astra-enter .resultat-nombre { animation: astra-number .55s ease-out both; }
.carte-inner::after { content: ''; position: absolute; pointer-events: none; inset: -5px; border: 1px solid var(--lumiere); border-radius: 15px; opacity: 0; }
.carte.is-flipped .carte-inner::after { animation: astra-frame 1.1s ease-out; }
.carte.is-flipped .carte-recto img { animation: none; }
.cartes .carte .carte-face { transition-duration: .65s; transition-delay: 0s; }
.carte:not(.is-readable) .carte-texte { visibility: hidden; opacity: 0; }
.carte.is-readable .carte-texte { animation: astra-number .25s ease-out both; }
.astra-key-hint { display: none; }
@media (pointer: fine) { .astra-key-hint { display: inline; } .astra-touch-hint { display: none; } }
.astra-paused *, .astra-paused *::before, .astra-paused *::after { animation-play-state: paused !important; }
@keyframes astra-align { from { opacity: .3; transform: scaleX(.15); } to { opacity: 1; transform: scaleX(1); } }
@keyframes astra-number { from { opacity: .45; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes astra-frame { 0% { opacity: 0; transform: scale(.98); } 40% { opacity: .8; } 100% { opacity: 0; transform: scale(1.04); } }
@media (max-width: 699px) {
  .astra-picker { padding: .75rem; margin-inline: -.3rem; }
  .astra-deck { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; padding: .8rem 0; }
  .astra-pick { transform: none; min-height: 64px; }
  .astra-pick:hover, .astra-pick:focus-visible { transform: none; }
  .astra-picker .btn-group { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-art { transform: none !important; }
}
.astra-reduced *, .astra-reduced *::before, .astra-reduced *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.astra-reduced .reveal { opacity: 1; transform: none; }
.astra-reduced .hero-art { transform: none !important; }

/* Deuxième mouvement : une identité de collection sur tous les gabarits. */
main .page-head { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.6rem, 4vw, 3rem); margin: 1.7rem 0 2rem; border: 1px solid rgba(242,200,121,.24); border-radius: 24px; background: radial-gradient(ellipse at 100% 0,rgba(149,124,203,.16),transparent 65%),linear-gradient(120deg,#142044,#0b1434 75%); box-shadow: inset 0 1px rgba(255,240,204,.06); }
main .page-head::after { content:''; position:absolute; height:1px; bottom:0; left:15%; right:15%; background:linear-gradient(90deg,transparent,var(--lumiere),transparent); opacity:.6; }
main .page-head h1 { max-width: 18ch; font-size: clamp(2rem,4.7vw,3.25rem); text-wrap: balance; }
main .page-head .lead { position:relative; max-width: 55ch; margin-bottom:0; line-height:1.65; }
main .page-head .meta-line { font-size:.875rem; letter-spacing:.02em; color:var(--texte-2); max-width:62ch; }
.astra-crest { position:absolute; z-index:-1; width:260px; height:260px; right:-24px; top:18px; color:var(--lumiere); opacity:.32; pointer-events:none; }
.astra-engraving { display:block; width:100%; height:100%; overflow:visible; }
.astra-engraving g { fill:none; stroke:currentColor; stroke-width:1; stroke-linecap:round; stroke-linejoin:round; }
.astra-engraving text { fill:currentColor; stroke:none; text-anchor:middle; font:22px 'Segoe UI Symbol',Georgia,serif; }
.astra-engraving .astra-glyph { font-size:44px; }
.astra-ink { stroke-dasharray:1; stroke-dashoffset:0; }
.astra-crest.astra-enter .astra-ink { animation:astra-trace 1.6s ease-out both; }
main .outil, main .tool { position:relative; padding:clamp(1.1rem,3vw,2rem); border:1px solid rgba(242,200,121,.35); border-radius:22px; background:radial-gradient(ellipse at 0 0,rgba(106,117,188,.16),transparent 65%),#111d42; box-shadow:0 14px 45px -30px #000; }
.outil > h2 { max-width:30ch; }
.outil input:not([type=checkbox]):not([type=radio]), .outil select { min-height:48px; }
.outil .tool-result { border-radius:18px; padding:clamp(1.1rem,3vw,2rem); background:radial-gradient(ellipse at 100% 0,rgba(242,200,121,.12),transparent 70%),#142247; }
.outil .tool-result .resultat-nombre { font-size:clamp(2.8rem,7vw,4.2rem); letter-spacing:-.02em; color:var(--lumiere-2); }
.astra-pair-result { width:240px; height:130px; margin:-1rem auto 1rem; color:var(--lumiere); }
.astra-pair-result svg { height:100%; }
.astra-enter .astra-pair-result .astra-ink { animation:astra-trace 1.1s ease-out both; }
.chips { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:.75rem; }
.chips li { min-width:0; }
.chips a { display:flex; align-items:center; width:100%; height:100%; min-height:62px; padding:.9rem 1rem; border-radius:13px; border-color:rgba(242,200,121,.2); background:linear-gradient(135deg,rgba(242,200,121,.07),rgba(255,255,255,.015)); font-family:var(--serif); font-size:1.08rem; line-height:1.35; transition:transform .2s ease; }
.chips a:hover, .chips a:focus-visible { background:#1b2c56; border-color:var(--lumiere); transform:translateY(-3px); }
main .card, main .card-outil, main .praticien-card { border-color:rgba(242,200,121,.2); background:linear-gradient(145deg,rgba(242,200,121,.045),transparent 65%),var(--nuit-2); }
main .card-outil .icon { width:48px; height:48px; margin-bottom:1.1rem; }
.content { line-height:1.8; }
.content h2 { padding-top:1rem; border-top:1px solid rgba(242,200,121,.15); }
.faq details { border-color:rgba(242,200,121,.2); border-radius:12px; }
.faq summary { padding-block:1rem; }
.callout.cta-block { border-radius:22px; background:radial-gradient(ellipse at 50% 0,rgba(242,200,121,.12),transparent 72%),var(--nuit-2); }
.pager { gap:.75rem; flex-wrap:wrap; }
.pager a { padding:.6rem .8rem; border:1px solid rgba(242,200,121,.18); border-radius:10px; }
.arcane-figure img { animation:none; border:1px solid rgba(242,200,121,.5); padding:5px; background:#0b1434; }
.horloge { font-variant-numeric:tabular-nums; letter-spacing:.06em; }
.lune-live { padding:1.5rem; border:1px solid rgba(242,200,121,.2); border-radius:18px; background:#0b1535; }
.scores li { align-items:center; }
.scores .bar { background:rgba(255,255,255,.08); }
.scores .bar i { background:linear-gradient(90deg,#b78642,var(--lumiere-2)); }
.quiz fieldset { border-color:rgba(242,200,121,.2); border-radius:14px; padding:1rem; }
.quiz label:has(input:checked) { color:var(--lumiere-2); }
.astra-quiet main .page-head { background:linear-gradient(120deg,#142044,#0b1434); box-shadow:none; }
.astra-quiet .offre { border-radius:18px; }
.astra-search { max-width:40rem; padding:1.25rem; margin:1rem 0 1.8rem; border:1px solid rgba(242,200,121,.3); border-radius:18px; background:#111d42; }
.astra-search label { display:block; margin-bottom:.5rem; font-weight:600; }
.astra-search input { width:100%; min-height:48px; }
.astra-search .help { margin:.6rem 0 0; }
.arcanes li[hidden] { display:none !important; }
.signes { grid-template-columns:repeat(2,minmax(0,1fr)); }
.signes li, .signes a, .signes a > span { min-width:0; }
@media (min-width:560px) { .signes { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:900px) { .signes { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:559px) {
  .signes a { grid-template-columns:minmax(0,1fr); justify-items:center; text-align:center; height:100%; gap:.6rem; padding:1rem .5rem; border-radius:18px; }
  .signes img { width:60px; height:60px; }
  .signes .nom { font-size:1.2rem; }
  .signes .dates { font-size:.8rem; }
}
@media (min-width: 900px) {
  main > .wrap:not(.narrow) > .page-head h1, main > .wrap:not(.narrow) > .page-head .lead { max-width:70%; }
  main > .wrap:not(.narrow) > .page-head .astra-crest { width:300px; height:300px; right:1.5rem; top:50%; transform:translateY(-50%); opacity:.65; }
  main > .narrow > .page-head .astra-crest { right:12px; top:12px; width:200px; height:200px; opacity:.3; }
  main > .narrow > .page-head h1 { max-width:calc(100% - 75px); font-size:clamp(2rem,3.8vw,2.8rem); }
}
@media (max-width: 599px) {
  main .page-head { padding:1.4rem 1.15rem; margin-top:1.1rem; border-radius:18px; }
  main .page-head h1 { font-size:2rem; }
  main .page-head .lead { font-size:1.04rem; }
  .astra-crest { width:150px; height:150px; right:-35px; top:-20px; opacity:.18; }
  .chips { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
  .chips a { min-height:64px; font-size:1rem; padding:.75rem; overflow-wrap:anywhere; }
  .lune-live { padding:1rem; }
  .astra-pair-result { width:200px; height:100px; }
}
/* Convergence unique dans la session, à l'écart de la lecture. */
.astra-sky.astra-enter .astra-line { animation:astra-trace 1.4s .65s ease-out both; }
.astra-sky.astra-enter circle.astra-star { animation:astra-converge 1.4s cubic-bezier(.16,.65,.3,1) both; }
@keyframes astra-converge { from { transform:translate(var(--drift-x,0px),var(--drift-y,0px)); opacity:.05; } to { transform:none; opacity:1; } }
@media (min-width:800px) and (max-width:1099px) { .astra-sky { width:200px; height:200px; right:18px; top:20px; opacity:.3; } }
@media (max-width:799px) { .astra-sky { display:none; } }
/* La carte du jour remplace la carte centrale sans modifier la taille de l'éventail. */
.astra-day { position:absolute; display:block; width:120px; height:200px; left:50%; bottom:10px; transform:translateX(-50%); perspective:800px; z-index:2; border-radius:8px; }
.astra-day-turn { display:block; position:relative; width:100%; height:100%; transform-style:preserve-3d; transform:rotateY(0); }
.astra-day-front,.astra-day-back { display:block; position:absolute; inset:0; border:1px solid var(--lumiere); border-radius:8px; overflow:hidden; backface-visibility:hidden; }
.astra-day-back { background:#16234b url('/assets/tarot/dos.svg') center/cover; }
.astra-day-front { transform:rotateY(180deg); background:#16234b; }
.cartes-eventail .astra-day img { display:block; position:static; width:100%; height:100%; max-width:none; transform:none; animation:none; box-shadow:none; border-radius:0; }
.astra-day.astra-enter .astra-day-turn { animation:astra-day-flip .9s .1s cubic-bezier(.3,.1,.2,1) both; }
.astra-day.astra-final .astra-day-turn { transform:rotateY(180deg); }
.astra-day::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(110deg,transparent 20%,rgba(255,233,184,.5) 48%,transparent 75%); opacity:0; border-radius:8px; }
.astra-day.astra-enter::after { animation:astra-reflect 1s .75s ease-out; }
@keyframes astra-day-flip { from { transform:rotateY(0); } to { transform:rotateY(180deg); } }
@keyframes astra-reflect { 0% { opacity:0; transform:translateX(-60%) scaleX(.5); } 50% { opacity:.6; } 100% { opacity:0; transform:translateX(60%) scaleX(.5); } }
@media (hover:hover) and (pointer:fine) { .astra-day { transition:transform .25s ease; } .astra-day:hover { transform:translateX(-50%) translateY(-6px) rotate(-3deg); } }
/* Repli natif : une navigation ordinaire si les transitions ne sont pas supportées. */
@media (prefers-reduced-motion:no-preference) { @view-transition { navigation:auto; } }
::view-transition-old(root) { animation:astra-page-out .15s ease both; }
::view-transition-new(root) { animation:astra-page-in .2s ease both; }
@keyframes astra-page-out { to { opacity:0; } }
@keyframes astra-page-in { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { .astra-day .astra-day-turn { transform:rotateY(180deg); } ::view-transition-old(root),::view-transition-new(root) { animation:none; } }
.astra-reduced .astra-day .astra-day-turn { transform:rotateY(180deg); }
.astra-quiet::view-transition-old(root),.astra-quiet::view-transition-new(root) { animation:none; }

/* Thème astral : la géométrie calculée par outils.js reste intacte. */
.astra-wheel { position:relative; padding:clamp(.5rem,2vw,1.5rem); margin:1.2rem auto 1.6rem; border:1px solid rgba(242,200,121,.32); border-radius:50%; background:radial-gradient(circle,rgba(242,200,121,.08),#111d42 52%,#0a1330 73%); box-shadow:inset 0 0 35px rgba(242,200,121,.04),0 20px 60px -36px #000; }
.astra-wheel .roue { display:block; overflow:visible; transform-origin:center; }
.astra-wheel .roue-cercle { stroke:var(--lumiere); stroke-width:1; }
.astra-wheel .roue-fin { stroke-opacity:.35; }
.astra-wheel .roue-trait { stroke:var(--lumiere); stroke-opacity:.3; }
.astra-wheel .roue-axe { stroke:var(--lumiere-2); stroke-width:1.5; stroke-dasharray:1; stroke-dashoffset:0; }
.astra-wheel .roue-axe-nom { fill:var(--lumiere-2); font-weight:700; }
.astra-wheel .roue-astre { fill:#fff2cb; paint-order:stroke; stroke:#111d42; stroke-width:3px; stroke-linejoin:round; }
.astra-wheel .roue-repere { stroke:var(--lumiere); stroke-opacity:.6; }
.astra-enter .astra-wheel .roue { animation:astra-wheel-settle 1.1s cubic-bezier(.2,.7,.2,1) both; }
.astra-enter .astra-wheel .roue-axe { animation:astra-trace 1.1s .15s ease-out both; }
.astra-enter .astra-wheel .roue-astre { animation:astra-planet .65s var(--planet-delay,0ms) ease-out both; }
@keyframes astra-wheel-settle { from { transform:rotate(-9deg); } to { transform:none; } }
@keyframes astra-planet { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
.theme-table-wrap { border:1px solid rgba(242,200,121,.22); border-radius:16px; background:#0c1737; }
.theme-table caption { padding:1rem; color:var(--texte-2); text-align:left; }
.theme-table th { background:#19274a; color:var(--lumiere-2); }
.theme-table td, .theme-table th { padding:.85rem 1rem; border-color:rgba(242,200,121,.13); }
.theme-table tbody tr:nth-child(even) { background:rgba(255,255,255,.025); }
.theme-table .astre { color:var(--lumiere-2); }
@media (max-width:599px) { .astra-wheel { padding:.35rem; } .theme-table td,.theme-table th { padding:.75rem; } }
