/* chiche! · « Les deux portes » (17 nov. 2026)
   L'accueil à deux portes (pros, fêtes), l'aiguillage en haut de chaque porte, et les rubriques
   ajoutées à l'intérieur : lieux, temps forts de l'année, idées de fêtes.
   Mêmes couleurs et mêmes polices que le reste du site. Tout reste lisible sans JavaScript et sans animation. */

/* ---------- L'aiguillage : passer d'une porte à l'autre ---------- */
.aiguillage {
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(42, 33, 69, .7); border: 1px solid var(--ligne, #3a3057);
}
.aiguillage a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border-radius: 999px;
  font: 600 14px/20px var(--font-sans, "DM Sans", sans-serif); color: var(--ink-muted, #cfc6dd); text-decoration: none; white-space: nowrap;
  transition: color .3s ease, background-color .3s ease;
}
.aiguillage a:hover { color: var(--ink, #fbf5ec); }
.aiguillage a[aria-current="page"] { background: var(--neige, #fbf5ec); color: var(--nuit, #1e1633); }
.feerie-js header.top.avec-aiguillage { flex-direction: column; gap: 14px; padding-bottom: 4px; }
@media (max-width: 899px) { header.top.avec-aiguillage { flex-wrap: wrap; justify-content: center; } }

/* ---------- L'accueil : le seuil et ses deux portes ---------- */
.fe-portes body { padding-bottom: 0; }
.seuil { padding: 20px 0 56px; text-align: center; }
.seuil h1 { max-width: 15em; margin: 10px auto 14px; font-size: clamp(32px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -.025em; }
/* Écrans peu hauts (ordinateurs portables) : le titre et les portes se resserrent pour tenir dans la première vue. */
@media (min-width: 1020px) { .seuil h1 { font-size: clamp(34px, min(5.4vw, 7.4vh), 58px); } }
.seuil .chapo { margin: 0 auto; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; }
.deux-portes {
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; column-gap: 18px; align-items: start;
  max-width: 860px; margin: 36px auto 0; padding: 0 6px;
}
@media (min-width: 720px) { .deux-portes { column-gap: 56px; margin-top: 44px; } }

/* Chaque porte occupe six rangées partagées (arche, lumière, titre, pour qui, en ce moment, bouton) : les deux colonnes restent alignées. */
.porte {
  position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; justify-items: center;
  color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.porte-arche { width: 100%; }
.porte-seuil { width: 100%; }
.porte-texte { display: contents; }
.porte:focus-visible { outline: none; }
.feerie-js .deux-portes .porte.givre, .feerie-js .deux-portes .porte.givre.vu { filter: none; } /* les textes des portes restent nets */
.porte-arche {
  position: relative; display: block; aspect-ratio: 3 / 4; max-width: 300px; margin: 0 auto;
  border-radius: 999px 999px 14px 14px; overflow: hidden; isolation: isolate;
  background: #120c22; perspective: 1100px; perspective-origin: 0% 55%;
  box-shadow: 0 0 0 1px rgba(255, 201, 60, .38), 0 0 0 7px rgba(42, 33, 69, .9), 0 0 0 8px rgba(255, 201, 60, .16), 0 30px 70px rgba(10, 6, 24, .6);
  transition: box-shadow .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.porte:focus-visible .porte-arche { box-shadow: 0 0 0 3px var(--soleil), 0 0 0 7px rgba(42, 33, 69, .9), 0 30px 70px rgba(10, 6, 24, .6); }
.porte-arche img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  transform: scale(1.22); transition: transform 1.4s cubic-bezier(.2,.8,.2,1), filter 1.2s ease; filter: brightness(.82) saturate(1.05);
}
.porte-arche::after { /* la lumière chaude de l'intérieur */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(90% 60% at 50% 100%, rgba(255, 201, 60, .34), transparent 70%);
  opacity: .5; transition: opacity 1s ease;
}
.porte-battant {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit;
  transform-origin: 0 50%; transform: rotateY(0deg);
  transition: transform 1.25s cubic-bezier(.2,.8,.2,1), filter 1.2s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 201, 60, .5), inset -14px 0 28px rgba(10, 6, 24, .35);
}
.porte-battant::before { /* le panneau de la porte */
  content: ""; position: absolute; inset: 9% 11% 7%; border-radius: 999px 999px 8px 8px;
  border: 1px solid rgba(255, 201, 60, .34); box-shadow: inset 0 0 0 6px rgba(10, 6, 24, .10), inset 0 1px 0 rgba(251, 245, 236, .14);
}
.porte-battant::after { /* la poignée */
  content: ""; position: absolute; right: 9%; top: 58%; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff3c4, #ffc93c 55%, #b9860f); box-shadow: 0 0 14px rgba(255, 201, 60, .9);
}
.porte-pros .porte-battant {
  background:
    radial-gradient(120% 70% at 80% 0%, rgba(255, 201, 60, .20), transparent 55%),
    repeating-linear-gradient(90deg, rgba(251,245,236,.03) 0 2px, transparent 2px 11px),
    linear-gradient(165deg, #45357a, #2a2145 55%, #1e1633);
}
.porte-fetes .porte-battant {
  background:
    radial-gradient(120% 70% at 80% 0%, rgba(255, 243, 196, .30), transparent 55%),
    repeating-linear-gradient(90deg, rgba(30,22,51,.05) 0 2px, transparent 2px 11px),
    linear-gradient(165deg, #ff8a6b, #ff6b4a 50%, #d9482a);
}
.porte-fetes .porte-battant::before { border-color: rgba(255, 243, 196, .5); }
.porte-etoile { /* l'étoile gravée sur la porte */
  position: absolute; left: 50%; top: 27%; width: 30px; height: 30px; margin-left: -15px;
  background: linear-gradient(140deg, #fff3c4, #ffc93c 50%, #c98c12);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 8px rgba(255, 201, 60, .8));
}
.porte-seuil { /* la lumière qui se répand sur la neige, au pied de la porte */
  display: block; height: 26px; max-width: 300px; margin: -6px auto 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 201, 60, .5), transparent); filter: blur(8px);
  opacity: .35; transform: scaleX(.7); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.8,.2,1);
}
/* entrouverte (à l'arrivée), puis grande ouverte (au survol, au focus, au toucher) */
.porte.entrouverte .porte-battant { transform: rotateY(24deg); }
.porte.entrouverte .porte-seuil { opacity: .6; transform: scaleX(.85); }
.porte.ouverte .porte-battant, .porte.entre .porte-battant { transform: rotateY(74deg); filter: brightness(1.12); }
.porte.ouverte .porte-arche img, .porte.entre .porte-arche img { transform: scale(1.12); filter: brightness(1.05) saturate(1.1); }
.porte.ouverte .porte-arche::after, .porte.entre .porte-arche::after { opacity: 1; }
.porte.ouverte .porte-seuil, .porte.entre .porte-seuil { opacity: 1; transform: scaleX(1.15); }
.porte.ouverte .porte-arche {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(255, 201, 60, .7), 0 0 0 7px rgba(42, 33, 69, .9), 0 0 0 8px rgba(255, 201, 60, .3), 0 30px 80px rgba(10, 6, 24, .6), 0 0 70px rgba(255, 201, 60, .22);
}
.porte.entre .porte-battant { transform: rotateY(86deg); }

.porte h2 { margin-top: 8px; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.08; letter-spacing: -.02em; }
.porte-qui { display: block; margin: 8px auto 0; max-width: 20em; color: var(--ink-muted); font-size: clamp(14px, 1.6vw, 17px); line-height: 1.45; }
.porte-moment { display: block; margin: 12px auto 0; font: 700 clamp(13px, 1.5vw, 15px)/1.35 var(--font-sans); color: var(--soleil); }
.porte .btn { margin-top: 16px; align-self: end; }
@media (max-width: 519px) { .porte .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; } }

/* Grand écran : les deux portes côte à côte au centre, comme une entrée double, et leurs textes de part et d'autre. */
@media (min-width: 1020px) {
  .seuil > .wrap { max-width: 1320px; }
  /* les deux portes partagent les mêmes rangées (titre, pour qui, en ce moment, bouton) : leurs textes restent alignés même s'ils n'ont pas le même nombre de lignes */
  .deux-portes { max-width: 1240px; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto 1fr auto; column-gap: 34px; margin-top: 40px; }
  .porte { grid-row: 1 / 7; grid-template-rows: subgrid; column-gap: 36px; }
  .deux-portes { --arche: clamp(190px, 33vh, 250px); margin-top: clamp(20px, 4.4vh, 40px); }
  .porte-pros { grid-template-columns: 1fr var(--arche); justify-items: end; text-align: right; }
  .porte-fetes { grid-template-columns: var(--arche) 1fr; justify-items: start; text-align: left; }
  .porte-arche { grid-row: 1 / 6; align-self: center; }
  .porte-pros .porte-arche { grid-column: 2; }
  .porte-fetes .porte-arche { grid-column: 1; }
  .porte-seuil { grid-row: 6; height: 22px; margin-top: -4px; }
  .porte-pros .porte-seuil { grid-column: 2; }
  .porte-fetes .porte-seuil { grid-column: 1; }
  .porte-pros > .porte-texte > * { grid-column: 1; }
  .porte-fetes > .porte-texte > * { grid-column: 2; }
  .porte h2 { grid-row: 1; align-self: end; margin-top: clamp(8px, 6vh, 56px); font-size: clamp(30px, 5vh, 38px); }
  .porte-qui { grid-row: 2; margin: 12px 0 0; max-width: none; font-size: 18px; text-wrap: balance; }
  .porte-moment { grid-row: 3; margin: 14px 0 0; }
  .porte .btn { grid-row: 4; margin-top: 22px; align-self: start; }
}

/* le passage : la lumière emplit l'écran, puis la page s'ouvre */
.passage {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), #fff3c4 0, #ffc93c 22%, rgba(255, 201, 60, .0) 60%), #1e1633;
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
}
.passage.va { opacity: 1; clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); transition: clip-path .75s cubic-bezier(.6,0,.3,1), opacity .2s ease; }

.promesse { max-width: 34em; margin: 56px auto 0; color: var(--ink-muted); font-size: 18px; line-height: 1.6; }
.promesse strong { color: var(--ink); font-weight: 700; }
@media (min-width: 720px) { .promesse { margin-top: 72px; } }

/* ---------- Cartes d'idées (lieux, fêtes du moment) : trois ou quatre de front ---------- */
/* Cartes de créations côte à côte : cinq rangées partagées (image, date, titre, texte, lien). Un titre sur deux lignes ne décale plus le texte de sa carte. */
@media (min-width: 640px) {
  .creations > .creation { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .creations > .creation > .creation-corps { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 6px; align-content: start; }
  .creations > .creation .creation-actions { align-self: end; }
}
.creations.trois { max-width: 980px; margin-left: auto; margin-right: auto; }
@media (min-width: 1040px) { .creations.trois { grid-template-columns: repeat(3, 1fr); } }
.creation .quand { margin: 0; font: 700 13px/18px var(--font-sans); color: var(--soleil); }
.creation { transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .5s ease; }
.creation:hover { transform: translateY(-4px); border-color: rgba(255,201,60,.35); box-shadow: 0 24px 60px -24px rgba(255,201,60,.30); }
.creation-img img { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.creation:hover .creation-img img { transform: scale(1.06); }
.apres-grille { margin: 28px auto 0; text-align: center; color: var(--ink-muted); font-size: 15px; line-height: 1.6; max-width: 40em; }
.apres-grille a:not(.btn) { color: var(--soleil); font-weight: 700; }
.actions.centre { justify-content: center; margin-top: 28px; }

/* ---------- Les temps forts de l'année ---------- */
/* Ce que la marque y gagne (/pros) : six atouts sans cadre, posés sur un filet, pour ne pas concurrencer les cartes des offres qui suivent.
   Section permanente : aucun mot de saison dans ses textes. */
.atouts { list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; display: grid; grid-template-columns: 1fr; gap: 36px 40px; text-align: left; }
/* chaque atout occupe deux rangées partagées (titre, points) : sur une même ligne, les points démarrent à la même hauteur */
.atouts > li { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ligne); }
.atouts > li::before { /* la petite étoile des portes, posée sur le filet */
  content: ""; position: absolute; top: -9px; left: 0; width: 18px; height: 18px;
  background: linear-gradient(140deg, #fff3c4, #ffc93c 50%, #c98c12);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px rgba(255, 201, 60, .7));
}
.atouts h3 { font-size: 24px; line-height: 30px; letter-spacing: -.015em; }
.atouts .points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.atouts .points li { color: var(--ink-muted); font-size: 15px; line-height: 1.55; max-width: 36em; }
.atouts .points b { color: var(--ink); font-weight: 700; }
@media (min-width: 720px) { .atouts { grid-template-columns: 1fr 1fr; gap: 44px 48px; } }
@media (min-width: 1020px) { .atouts { grid-template-columns: repeat(3, 1fr); gap: 52px 56px; } }
#pourquoi .apres-grille { margin-top: 44px; max-width: 44em; font-size: 16px; text-wrap: balance; }

.temps-forts { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.temps-forts li { display: grid; grid-template-columns: 1fr; gap: 2px 24px; padding: 18px 4px; border-bottom: 1px solid var(--ligne); transition: background-color .4s ease, padding .4s ease; border-radius: 0; }
.temps-forts .tf-quand { font: 700 14px/22px var(--font-sans); color: var(--soleil); }
.temps-forts h3 { font-size: 22px; line-height: 28px; }
.temps-forts p { margin: 0; color: var(--ink-muted); }
.temps-forts p a { color: var(--soleil); font-weight: 700; }
@media (min-width: 760px) {
  .temps-forts li { grid-template-columns: 150px 230px 1fr; align-items: baseline; padding: 20px 12px; }
  .temps-forts li:hover { background: rgba(255, 201, 60, .06); padding-left: 22px; }
  .temps-forts li:hover .tf-quand { text-shadow: 0 0 14px rgba(255,201,60,.8); }
}

/* ---------- La porte « fêtes » ---------- */
.fetes-heros { padding-top: var(--space-6, 24px); padding-bottom: 24px; }
.fetes-heros .heros-grille { grid-template-areas: "texte" "image"; }
@media (min-width: 980px) { .fetes-heros .heros-grille { grid-template-areas: "texte image"; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
/* ---------- La scène de la porte « fêtes » : la maison s'allume quand on choisit sa fête ---------- */
.fetes-scene { grid-area: image; width: 100%; max-width: 440px; margin: 0 auto; }
@media (max-width: 979px) { .fetes-scene { max-width: 340px; } }
.scene-fete {
  position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate; background: #1e1633;
  border-radius: 50% 50% 16px 16px / 50% 50% 16px 16px;
  box-shadow: 0 0 0 1px rgba(255, 201, 60, .38), 0 0 0 7px rgba(42, 33, 69, .9), 0 0 0 8px rgba(255, 201, 60, .16), 0 30px 70px rgba(10, 6, 24, .6);
  transition: box-shadow 1.4s ease;
}
.scene-fete.eveillee { box-shadow: 0 0 0 1px rgba(255, 201, 60, .7), 0 0 0 7px rgba(42, 33, 69, .9), 0 0 0 8px rgba(255, 201, 60, .3), 0 30px 80px rgba(10, 6, 24, .6), 0 0 80px rgba(255, 201, 60, .24); }
.scene-plan { position: absolute; inset: 0; transform: translate(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -6px)) scale(1.07); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.scene-plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Sans JavaScript : la maison allumée, rien d'autre. */
.scene-plan .scene-nuit, .scene-lueurs, .scene-confettis, .scene-guirlande, .scene-choix, .scene-legende { display: none; }
.feerie-js .scene-plan .scene-nuit, .feerie-js .scene-lueurs { display: block; }
.feerie-js .scene-confettis, .feerie-js .scene-guirlande { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* La nuit recouvre le jour. Si le script n'arrive jamais, l'aube se lève toute seule au bout de 12 s. */
.scene-nuit { background: #201838; animation: scene-aube 1.6s ease 12s forwards; }
.scene-fete.eveillee .scene-nuit { opacity: 0; transition: opacity 1.1s ease; animation: none; }
.scene-fete.attend .scene-nuit { animation: none; }
@keyframes scene-aube { to { opacity: 0; } }
/* Chaque lueur montre l'image allumée dans un rond aux bords fondus : une fenêtre, le lampadaire, le toit, les cadeaux. */
.scene-lueurs { position: absolute; inset: 0; }
.scene-lueurs i {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  background: url(decor/maison-eclairee.jpg) center / 100% 100% no-repeat;
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, rgba(0, 0, 0, .85) calc(var(--r) * .3), transparent var(--r));
  mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, rgba(0, 0, 0, .85) calc(var(--r) * .3), transparent var(--r));
}
.scene-lueurs i.on { opacity: 1; }
/* La guirlande de l'arche : éteinte, puis aux couleurs de la fête choisie. */
.scene-guirlande .fil { fill: none; stroke: rgba(207, 198, 221, .28); stroke-width: .35; }
.scene-guirlande circle { fill: rgba(207, 198, 221, .3); transition: fill .5s ease, filter .5s ease; }
.scene-guirlande circle.on { filter: drop-shadow(0 0 1.4px currentColor); }
/* Le choix de la fête */
.feerie-js .scene-choix { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px auto 0; }
.scene-choix button {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: rgba(42, 33, 69, .6); border: 1px solid var(--ligne); color: var(--ink); font: 700 14px/1.2 var(--font-sans);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .4s ease, transform .3s ease;
}
.scene-choix button:hover { border-color: var(--ink); transform: translateY(-1px); }
.scene-choix button[aria-pressed="true"] { background: var(--soleil); border-color: var(--soleil); color: var(--nuit); box-shadow: var(--lueur-soleil); }
.scene-choix button:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; }
.feerie-js .scene-legende { display: block; margin: 14px auto 0; min-height: 4.8em; max-width: 26em; text-align: center; color: var(--ink-muted); font-size: 15px; line-height: 1.6; text-wrap: balance; }
@media (min-width: 980px) { .feerie-js .scene-legende { min-height: 3.2em; } }
.scene-legende b { color: var(--ink); }
.scene-legende a { color: var(--soleil); font-weight: 700; white-space: nowrap; }
.scene-legende.invite { color: var(--soleil); font-weight: 700; }

/* Choisir sa fête : des onglets, et les idées qui vont avec */
.occasions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 32px; max-width: 900px; }
.occasions button {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(251, 245, 236, .28); background: transparent; color: var(--ink);
  font: 600 15px/20px var(--font-sans); transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.occasions button:hover { border-color: var(--ink); }
.occasions button[aria-selected="true"] { background: var(--soleil); border-color: var(--soleil); color: var(--nuit); box-shadow: var(--lueur-soleil); }
.fete { max-width: 980px; margin: 0 auto 40px; }
.fete > h3 { margin: 0 0 16px; text-align: center; }
.feerie-js .fete { margin-bottom: 0; }
.feerie-js .fete > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.feerie-js .fete[hidden] { display: none; }
.idees { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 820px) {
  .idees { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  /* trois rangées partagées (étoile, titre, texte) : les textes des trois cartes démarrent à la même hauteur */
  .idees li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
}
/* les phrases d'introduction centrées se répartissent sur des lignes de longueur voisine, sans mot isolé */
.section-tete .chapo, .apres-grille { text-wrap: balance; }
.idees li {
  position: relative; padding: 24px 24px 26px; border-radius: 24px; background: rgba(42, 33, 69, .5); border: 1px solid var(--ligne);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .5s ease;
}
.idees li:hover { transform: translateY(-4px); border-color: rgba(255,201,60,.35); box-shadow: 0 24px 60px -24px rgba(255,201,60,.30); }
.idees li::before {
  content: ""; display: block; width: 14px; height: 14px; margin-bottom: 14px; background: var(--soleil);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 5px rgba(255,201,60,.9));
}
.idees h4 { margin: 0 0 6px; font: 700 20px/26px var(--font-display); letter-spacing: -.01em; }
.idees p { margin: 0; color: var(--ink-muted); }
.feerie-js .fete.arrive .idees li { animation: givre-in .7s cubic-bezier(.2,.8,.2,1) both; }
.feerie-js .fete.arrive .idees li:nth-child(2) { animation-delay: .09s; }
.feerie-js .fete.arrive .idees li:nth-child(3) { animation-delay: .18s; }

/* Encart partenaires et renvois d'une porte à l'autre */
.encart .lien-soleil, .renvoi a { color: var(--soleil); font-weight: 700; }
.renvoi { margin: 32px auto 0; text-align: center; color: var(--ink-muted); }

@media (prefers-reduced-motion: reduce) {
  .porte-battant, .porte-arche, .porte-arche img, .porte-seuil, .creation, .creation-img img, .idees li, .temps-forts li { transition: none !important; }
  .feerie-js .fete.arrive .idees li { animation: none !important; }
  .scene-plan, .scene-lueurs i, .scene-nuit, .scene-fete, .scene-guirlande circle, .scene-choix button { transition: none !important; }
  .scene-plan { transform: scale(1.07) !important; }
  .passage { display: none; }
}
@media print { .aiguillage, .passage { display: none !important; } }

.faq details p a { color: var(--soleil); font-weight: 700; }

/* Cohérence avec les jeux (17 nov. au soir) : zones à toucher de 44 px, exposant de « 1er » en minuscules. */
.btn-small { min-height: 44px; }
.lien-fiche, .temps-forts p a, .apres-grille a:not(.btn), .encart .lien-soleil { display: inline-flex; align-items: center; min-height: 44px; }
.temps-forts p a, .apres-grille a:not(.btn) { display: inline; }
sup { text-transform: lowercase; letter-spacing: 0; }
.v3d-pastille::after { content: ""; position: absolute; inset: -10px -4px; } /* zone à toucher élargie autour des pastilles de la boule */
.precisions summary { padding: 10px 0; }
/* Les trois portes des offres s’alignent, quelle que soit la longueur des textes au-dessus. */
@media (min-width: 900px) {
  .offres { grid-template-rows: repeat(8, auto); column-gap: 20px; row-gap: 0; }
  .offres .offre { display: grid; grid-row: span 8; grid-template-rows: subgrid; align-content: start; }
  .offres .offre > img { grid-row: 1; }
  .offres .offre > .etiquette { grid-row: 2; }
  .offres .offre > h3 { grid-row: 3; }
  .offres .offre > h3 + p { grid-row: 4; }
  .offres .offre > .av-zone, .offres .offre > ul { grid-row: 5; align-self: stretch; }
  .offres .offre > .av-zone > ul { height: 100%; box-sizing: border-box; }
  .offres .offre > .av-refermer { grid-row: 6; }
  .offres .offre > .actions { grid-row: 7; margin-top: 0; align-self: start; }
  .offres .offre > .offre-deja { grid-row: 8; }
}

/* ---------- L'accueil : la vitrine des créations, à tester (18 nov. 2026) ---------- */
.vitrine { padding: 64px 0 24px; text-align: center; }
@media (min-width: 900px) { .vitrine { padding: 96px 0 40px; } }
.vitrine-liste { list-style: none; margin: 0; padding: 4px 16px 20px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vitrine-liste::-webkit-scrollbar { display: none; }
.vitrine-liste li { flex: 0 0 62%; max-width: 240px; scroll-snap-align: center; }
.vitrine .wrap { padding-left: 0; padding-right: 0; }
.vitrine .section-tete { padding: 0 16px; }
.vitrine-carte { display: grid; justify-items: center; gap: 4px; color: var(--ink); text-decoration: none; }
.vitrine-arche { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 999px 999px 16px 16px; overflow: hidden; background: #120c22; box-shadow: 0 0 0 1px rgba(255, 201, 60, .3), 0 24px 50px -20px rgba(10, 6, 24, .8); transition: box-shadow .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.vitrine-arche img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.vitrine-nom { margin-top: 12px; font: 700 18px/1.2 var(--font-display); letter-spacing: -.01em; }
.vitrine-ligne { max-width: 16em; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.vitrine-tester { display: inline-flex; align-items: center; min-height: 44px; font: 700 15px/1 var(--font-sans); color: var(--soleil); text-decoration: underline; text-underline-offset: 4px; }
.vitrine-carte:hover .vitrine-arche, .vitrine-carte:focus-visible .vitrine-arche { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255, 201, 60, .7), 0 30px 60px -20px rgba(10, 6, 24, .8), 0 0 50px rgba(255, 201, 60, .2); }
.vitrine-carte:hover .vitrine-arche img, .vitrine-carte:focus-visible .vitrine-arche img { transform: scale(1.16); }
@media (min-width: 1100px) {
  .vitrine .wrap { max-width: 1320px; padding: 0 32px; }
  .vitrine-liste { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 20px; overflow: visible; padding: 4px 0 20px; }
  .vitrine-liste li { max-width: none; }
  .vitrine-nom { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .vitrine-arche, .vitrine-arche img { transition: none !important; } }

/* Accueil : « chiche!, en deux mots » */
.apropos { text-align: center; padding-top: 0; }
.apropos h2 { font-size: clamp(24px, 3.4vw, 32px); }
.apropos .promesse { margin-top: 16px; text-wrap: pretty; }
.apropos .actions { margin-top: 28px; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* 21 nov. 2026 : sur téléphone et tablette, une ligne invite à faire glisser les créations. */
.vitrine-glisser { margin: 0; padding: 0 16px; text-align: center; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.vitrine-glisser span { color: var(--soleil); }
@media (min-width: 1100px) { .vitrine-glisser { display: none; } }
