


.une { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "tete" "calcul" "objet" "tirage"; row-gap: var(--e4); align-items: start;
  padding-block: var(--e4) var(--e5); }
.une__tete { grid-area: tete; }
.une__tete .t-une { font-size: 44px; }
.une__chapo { margin-top: var(--e3); max-width: 34em; color: var(--encre-2); font-size: 17px; }
.une__calcul { grid-area: calcul; min-width: 0; }
.une__calcul .naissance__pied > p:last-child { margin-top: -6px; }

.une__objet { grid-area: objet; display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: var(--e4); align-items: center; }
.une__objet .cartel { margin-top: 0; }
.une__objet .cartel b { font-size: 25px; }
.une__objet .cartel span { color: var(--encre-2); }
.une__tire { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--champagne); cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px; -webkit-tap-highlight-color: transparent; }

.une__objet .lame[data-tirage], .une__objet .lame[data-tirage] .vitrail-main { cursor: pointer; }
.une__tirage { grid-area: tirage; padding-top: var(--e3); border-top: 1px solid var(--plomb); }
.une__tirage[hidden] { display: none; }

.une__tirage .lecture > * + * { margin-top: var(--e3); }
.une__tirage .lecture__mots { color: var(--champagne); }
.une__tirage .lecture__conseil { padding-top: var(--e3); border-top: 1px solid var(--plomb); }
.une__tirage .lecture__conseil > * + * { margin-top: 6px; }
.une__tirage .lecture__conseil .t-texte { color: var(--encre); }
.une__tirage .lecture__domaines dt { font: 400 17px/1.3 var(--serif); color: var(--encre); }
.une__tirage .lecture__domaines dd { color: var(--encre-2); text-align: left; }
.une__tirage .lecture__liens { display: flex; flex-wrap: wrap; gap: 0 22px; }

@media (min-width: 640px) {
  .une__objet { grid-template-columns: 170px minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .une { grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); grid-template-rows: auto 1fr auto; column-gap: var(--gouttiere); row-gap: var(--e5);
    grid-template-areas: "tete . objet" "calcul . objet" "tirage tirage tirage"; padding-block: var(--e6) var(--e6); }
  .une__tete .t-une { font-size: 84px; }
  .une__chapo { font-size: 21px; }
  .une__calcul { max-width: 560px; }
  .une__objet { display: block; justify-self: center; width: min(100%, 400px); }
  .une__objet .cartel { margin-top: var(--e3); }
  .une__objet .cartel b { font-size: 22px; }
}


@media (min-width: 1920px) { .p-accueil .page, .p-introuvable .page { max-width: calc(1840px + 2 * var(--marge)); } }
@media (min-width: 1920px) {
  .une { max-width: calc(1840px + 2 * var(--marge)); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "tete objet" "calcul objet" "tirage tirage"; column-gap: var(--e7); }
  .une__tete .t-une { font-size: 108px; }
  .une__chapo { font-size: 24px; max-width: 30em; }
  .une__calcul { max-width: 640px; }
  .une__objet { width: min(100%, 560px); justify-self: start; }
}


.une--tarot { grid-template-areas: "tete" "objet" "entrees" "tirage"; }
.une__entrees { grid-area: entrees; min-width: 0; }

.une__tete .fil { margin-bottom: var(--e4); }

.une--tarot .une__tire { display: block; width: 100%; margin: 0; text-decoration: none; }
@media (min-width: 1024px) { .une--tarot { grid-template-areas: "tete . objet" "entrees . objet" "tirage tirage tirage"; } }
@media (min-width: 1920px) { .une--tarot { grid-template-areas: "tete objet" "entrees objet" "tirage tirage"; } }


.portes { padding-block: 0 var(--e5); }
.portes h2 { margin-bottom: var(--e3); }
.portes__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e3); }
.porte { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-outil); background: var(--nuit-haute); text-decoration: none;
  box-shadow: 0 0 0 1px var(--plomb), inset 0 1px 0 var(--arete); transition: box-shadow .2s, transform .2s var(--sortie); -webkit-tap-highlight-color: transparent; }
.porte__image { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #03050f; }
.porte__image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.porte--ascendant .porte__image > img { object-position: 50% 92%; transform: scale(1.25); transform-origin: 50% 100%; }
.porte--compat .porte__image > img { object-position: 50% 71%; }
.porte--carte .porte__image .lame { height: 86%; width: auto; aspect-ratio: 888 / 1536; }
.porte__lune { position: absolute; top: 6%; left: 50%; height: 88%; width: auto; aspect-ratio: 1; transform: translateX(-50%); }
.porte__mots { display: grid; align-content: start; gap: 3px; padding: 10px 26px 12px 12px; }
.porte__mots b { font: 400 19px/1.12 var(--serif); }
.porte__mots span { font: 400 13.5px/1.3 var(--sans); color: var(--encre-3); }
.porte .fleche { position: absolute; right: 10px; bottom: 12px; width: 16px; height: 16px; color: var(--encre-3); }
.porte:active { transform: scale(.985); }
@media (hover: hover) {
  .porte:hover { box-shadow: 0 0 0 1px var(--champagne), inset 0 1px 0 var(--arete); }
  .porte:hover b, .porte:hover .fleche { color: var(--champagne); }
}
@media (min-width: 1024px) {
  .portes { padding-bottom: var(--e6); }
  .portes__liste { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gouttiere); }
  .porte__image { aspect-ratio: 1; }
  .porte__mots { padding: 14px 16px 18px; }
  .porte__mots b { font-size: 22px; }
  .porte__mots span { font-size: 14.5px; }
}
@media (min-width: 1920px) { .porte__mots b { font-size: 26px; } }


.signes__tete > * + * { margin-top: var(--e3); }
.signes__tete { max-width: var(--mesure); margin-bottom: var(--e4); }
.signes__douze a { font: 400 18px/1.15 var(--serif); color: var(--encre); padding: 6px 0; border-radius: var(--r-outil); transition: color .15s, transform .2s var(--sortie); }
.signes__douze a .glyphe { font-size: 16px; color: var(--champagne); vertical-align: 1px; }


.signes__douze a b .glyphe { display: block; margin: 0 auto 3px; }
@media (max-width: 639px) { .signes__douze { gap: var(--e4) 8px; } .signes__douze a { font-size: 17px; } }
.signes__douze a > span:last-child { font: 400 12.5px/1.25 var(--sans); color: var(--encre-3); }
.signes__douze .verre { max-width: 88px; }
@media (hover: hover) { .signes__douze a:hover { transform: translateY(-3px); } .signes__douze a:hover b { color: var(--champagne); } }
.signes > p { margin-top: var(--e4); }
@media (min-width: 1024px) { .signes__douze .verre { max-width: 112px; } .signes__douze a { font-size: 21px; } }


.montre { background: radial-gradient(120% 80% at 50% 0%, rgba(91, 124, 245, .10), transparent 60%); }
.montre__page { display: grid; gap: var(--e5); align-items: center; }
.montre__tel { justify-self: center; width: min(250px, 66vw); }
.montre__ecran { position: relative; aspect-ratio: 1206 / 2622; border-radius: 34px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 7px #0c0e18, 0 0 0 8px rgba(236, 230, 218, .22), 0 30px 80px rgba(0, 0, 0, .6), 0 0 120px rgba(91, 124, 245, .18); }
.montre__diapo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--sortie); }
.montre__diapo[data-vue] { opacity: 1; }
.montre__diapo:first-child:not([data-pret]) { opacity: 1; }
.montre__points { display: flex; justify-content: center; gap: 7px; margin-top: var(--e4); }
.montre__points span { width: 6px; height: 6px; border-radius: 50%; background: rgba(236, 230, 218, .25); transition: background .3s, width .3s; }
.montre__points span[data-vue] { width: 18px; border-radius: 3px; background: var(--champagne); }
.montre__mots > * + * { margin-top: var(--e4); }
.montre__mots .t-mention { color: var(--champagne); }
.montre__faits { display: grid; border-top: 1px solid var(--plomb); }
.montre__faits li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--plomb); }
.montre__faits b { font: 400 22px/1.15 var(--serif); }
.montre__faits span { font: 400 16px/1.45 var(--sans); color: var(--encre-2); }
.montre__bouton { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e2) var(--e4); }
.montre__beta { max-width: 34em; }
.montre__qr { display: none; }
@media (min-width: 1024px) {
  .montre__page { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--e7); }
  .montre__tel { width: min(100%, 330px); justify-self: end; }
  .montre__mots { max-width: 640px; }
  .montre__qr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e3); align-items: center; }
  .montre__qr svg { width: 104px; height: 104px; border-radius: var(--r-image); background: var(--perle); padding: 6px; }
}
@media (min-width: 1920px) { .montre__tel { width: 400px; } }


.ciel { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "lune tete" "faits faits"; column-gap: var(--e4); row-gap: var(--e4); align-items: start; }
.ciel__lune { grid-area: lune; }
.ciel__lune canvas { width: 100%; height: auto; aspect-ratio: 1; }
.ciel__tete { grid-area: tete; }
.ciel__tete > * + * { margin-top: var(--e3); }
.ciel__phrase .glyphe { color: var(--champagne); }
.ciel__phase { color: var(--encre-2); }
.ciel__faits { grid-area: faits; }
.ciel__faits p { margin-top: var(--e3); }
.ciel .rangee dd { font-variant-numeric: tabular-nums; }
.ciel__aide { display: block; margin-top: 4px; }
.ciel #ciel-retro a { text-decoration: none; }
@media (hover: hover) { .ciel #ciel-retro a:hover { color: var(--champagne); } }
@media (max-width: 639px) { .ciel { grid-template-areas: "lune tete" "lune tete" "faits faits"; } .ciel__tete .t-partie { font-size: 27px; } }
@media (min-width: 1024px) {
  .ciel { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere);
    grid-template-areas: ". lune lune lune . tete tete tete tete tete tete ." ". lune lune lune . faits faits faits faits faits faits ."; }
  .ciel__lune { grid-row: 1 / span 2; align-self: center; }
}


.calcul { display: grid; row-gap: var(--e4); }
.calcul__tete > * + * { margin-top: var(--e3); }
.calcul__traits { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; color: var(--encre-2); }
.calcul__traits > span { display: inline-flex; align-items: center; gap: 8px; }
.trait { display: inline-block; width: 22px; height: 2px; border-radius: 1px; }
.trait--tendu { background: var(--rubis); }
.trait--fluide { background: var(--cobalt); }
.calcul__rose { max-width: 520px; width: 100%; justify-self: center; }
.rose-legende { color: var(--encre-2); }
.rose-legende .glyphe { color: var(--champagne); }
.rose-legende a { display: inline-flex; align-items: center; min-height: var(--cible); margin-left: 10px; color: var(--champagne); }
@media (min-width: 1024px) {
  .calcul { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: center; }
  .calcul__rose { grid-column: 1 / span 6; grid-row: 1; max-width: 620px; }
  .calcul__tete { grid-column: 8 / span 5; grid-row: 1; }
}
@media (min-width: 1920px) { .calcul__rose { max-width: 820px; } .calcul__tete { max-width: 46rem; } }



.tarot__tete > * + * { margin-top: var(--e3); }
.frise-lames { display: flex; gap: var(--e3); margin-top: calc(var(--e5) - 16px); margin-bottom: -16px; padding: 16px var(--marge); overflow-x: auto; scroll-snap-type: x proximity;
  scroll-padding-inline: var(--marge); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.frise-lames::-webkit-scrollbar { display: none; }
.frise-lames > * { flex: 0 0 132px; scroll-snap-align: start; text-decoration: none; }
.frise-lames > a .lame { transition: transform .25s var(--sortie), box-shadow .25s; }
.frise-lames__nom { display: block; margin-top: 10px; font: 400 17px/1.2 var(--serif); }
@media (hover: hover) {
  .frise-lames a:hover .frise-lames__nom { color: var(--champagne); }
  .frise-lames a:hover .lame { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(235, 211, 162, .55), 0 18px 40px rgba(0, 0, 0, .5); }
}
.frise-lames--tiree { cursor: grabbing; scroll-snap-type: none; }
.frise-lames--tiree a { pointer-events: none; }
.tarot__suite { margin-top: var(--e3); }

.frise-fleches { display: none; }
@media (min-width: 1024px) {
  .frise-lames > * { flex-basis: 170px; } .frise-lames { gap: var(--e4); }
  .frise-fleches { display: flex; justify-content: flex-end; gap: 10px; max-width: var(--page); margin: var(--e3) auto 0; padding-inline: var(--marge); box-sizing: content-box; }
  .frise-fleches[hidden] { display: none; }
  .frise-fleche { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--plomb); border-radius: 50%; background: rgba(12, 17, 48, .6); color: var(--encre); cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
  .frise-fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .frise-fleche:hover:not(:disabled) { border-color: var(--champagne); color: var(--champagne); }
  .frise-fleche:disabled { opacity: .3; cursor: default; }
}
@media (min-width: 1920px) {
  .frise-lames { max-width: calc(var(--page) + 2 * var(--marge) + 400px); margin-inline: auto; }
  .frise-lames > * { flex-basis: 196px; }
  .frise-fleches { max-width: calc(var(--page) + 400px); }
}


.savoir__tete > * + * { margin-top: var(--e3); }
.savoir__tete { max-width: var(--mesure); }
.savoir__tuiles { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: var(--e4); border-top: 1px solid var(--plomb); }
.savoir__tuile { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "image nom" "image phrase"; column-gap: var(--e3); align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--plomb); text-decoration: none; }
.savoir__image { grid-area: image; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 10px; background: #03050f; }
.savoir__image { position: relative; }
.savoir__image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.savoir__image .lame { height: 92%; width: auto; }
.savoir__glyphes { display: grid; grid-template-columns: repeat(3, auto); gap: 0 4px; font-size: 17px; line-height: 1.1; }
.savoir__glyphes [data-nature="tendu"] { color: var(--rubis); }
.savoir__glyphes [data-nature="fluide"] { color: var(--cobalt); }
.savoir__glyphes [data-nature="uni"] { color: var(--ambre); }
.savoir__tuile b { grid-area: nom; align-self: end; font: 400 22px/1.12 var(--serif); }
.savoir__tuile .t-texte { grid-area: phrase; align-self: start; font-size: 15px; line-height: 1.4; }
@media (hover: hover) { .savoir__tuile:hover b { color: var(--champagne); } }
@media (min-width: 1024px) {
  .savoir__tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e5) var(--gouttiere); border-top: 0; margin-top: var(--e5); }
  .savoir__tuile { grid-template-columns: 1fr; grid-template-areas: "image" "nom" "phrase"; row-gap: 6px; padding: 0; border: 0; align-items: start; }
  .savoir__image { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--r-outil); margin-bottom: 8px; box-shadow: 0 0 0 1px var(--plomb); }
  .savoir__glyphes { grid-template-columns: repeat(5, auto); gap: 0 14px; font-size: 34px; }
  .savoir__tuile b { font-size: 26px; }
}


.une--introuvable { grid-template-areas: "tete" "objet"; }
.introuvable__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e2) var(--e4); }
.introuvable__actions .bouton svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .une--introuvable { grid-template-areas: "tete . objet"; } }
@media (min-width: 1920px) { .une--introuvable { grid-template-areas: "tete objet"; } }
