/* ═══ « IHRE JAHRESLEGUNG 2027 » (portage de sites/it/css/anno.css, 02/12/2026) — l'univers de la nouvelle année (13/11/2026) ═══════════════════════
   Un fond qui dit « on n'est plus sur le site de tous les jours » : nuit d'indigo → violet
   (le site est violet/noir), une AURORE lente en haut (teal, or, magenta), des étoiles qui
   scintillent, et « 2027 » en filigrane derrière le titre.
   · Tout en CSS, 0 Ko d'image — leçon du fond du site (20/09) : ce qui fait vivre un fond,
     c'est l'ÉCART de luminosité et l'asymétrie, pas une photo floue.
   · Animations sur `opacity`/`transform` uniquement, jamais sur `background-position` ni
     `filter` : rien qui repeigne au défilement (87 % de l'audience est sur mobile).
   · (0,2,0) pour passer devant `.alt-bg` (0,1,0), y compris sa variante mobile. */
.card-area.anno-page {
  position: relative;
  isolation: isolate;
  background-color: #070a1e;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(64, 196, 210, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 12%, rgba(255, 196, 80, 0.16), transparent 65%),
    radial-gradient(ellipse 70% 50% at 10% 30%, rgba(190, 70, 200, 0.18), transparent 65%),
    linear-gradient(180deg, #070a1e 0%, #11164a 32%, #2a1554 68%, #0a0616 100%);
  background-attachment: scroll;
  background-size: auto;
  background-position: 0 0;
  overflow: hidden;
}
/* Les étoiles : trois tuiles de tailles premières entre elles — aucune grille ne se devine. */
.card-area.anno-page::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 23px 41px, rgba(255,255,255,.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 131px 97px, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 77px 163px, rgba(255,236,180,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 191px 29px, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 47px 229px, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 157px 211px, rgba(190,220,255,.7) 50%, transparent 51%);
  background-size: 211px 263px, 211px 263px, 211px 263px, 307px 293px, 307px 293px, 307px 293px;
  animation: anno-twinkle 6s ease-in-out infinite alternate;
}
/* L'aurore : un voile qui dérive très lentement — on la sent plus qu'on ne la voit. */
.card-area.anno-page::after {
  content: "";
  position: absolute; z-index: -1; pointer-events: none;
  left: -20%; right: -20%; top: -10%; height: 70vh; max-height: 640px;
  background:
    radial-gradient(ellipse 45% 60% at 30% 40%, rgba(80, 220, 200, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 55% at 70% 30%, rgba(255, 215, 0, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 70%, rgba(220, 90, 230, 0.12), transparent 70%);
  animation: anno-aurora 26s ease-in-out infinite alternate;
}
@keyframes anno-twinkle { from { opacity: .55; } to { opacity: 1; } }
@keyframes anno-aurora  { from { transform: translateX(-4%) scaleY(1); opacity: .8; } to { transform: translateX(4%) scaleY(1.12); opacity: 1; } }

/* « 2027 » en filigrane, derrière le titre. Ne se sélectionne pas, ne se lit pas : il s'aperçoit. */
.anno-wrap { position: relative; }
.anno-wrap::before {
  content: "2027";
  position: absolute; left: 50%; top: -6px; transform: translateX(-50%);
  z-index: -1; pointer-events: none; user-select: none;
  font-family: 'Playball', cursive; font-size: 190px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 215, 0, 0.11);
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.06);
  letter-spacing: 8px; white-space: nowrap;
}
@media (max-width: 640px) {
  /* plus bas et plus discret : il doublait le titre à 112 px (capture du 13/11) */
  .anno-wrap::before { font-size: 150px; top: 38px; letter-spacing: 2px; -webkit-text-stroke-color: rgba(255, 215, 0, 0.08); text-shadow: none; }
  .card-area.anno-page::after { height: 50vh; }
}
@media (prefers-reduced-motion: reduce) {
  .card-area.anno-page::before, .card-area.anno-page::after { animation: none; }
}

/* ── Survol des liens (13/11) ────────────────────────────────────────────────────────────────
   style.css porte `a:hover, a:focus { color: #23527c; text-decoration: underline }` et une
   variante qui vire en gris foncé (mesuré : rgb(49,49,49) au survol de « I tuoi 2027 ») —
   (0,1,1) bat la classe seule (0,1,0). Chaque lien de la rubrique redéclare donc SON survol
   avec deux classes ou une classe + pseudo-classe (≥ 0,2,0). Règle du 17/09 : on redéclare
   les propriétés, on ne se contente pas de gagner en spécificité sur une seule. */
/* ⚠ `a, a:hover, a:focus { display: inline-block }` (style.css) passait devant mon `display: flex`
   au survol : la ligne se repliait sur son contenu (526 → 465 px, mesuré) et tout sautait.
   On redéclare l'affichage ICI, pas seulement la couleur. */
.anno-mine-row:hover, .anno-mine-row:focus { display: flex; vertical-align: baseline; color: #fff; text-decoration: none; background: rgba(255,255,255,.05); border-radius: 8px; }
a.anno-link:hover, a.anno-link:focus, .anno-ck a:hover, .anno-cgu-pay a:hover { display: inline; }
.anno-mine-row:hover .anno-mine-q, .anno-mine-row:focus .anno-mine-q { color: #fff; }
.anno-mine-row:hover .anno-mine-d { color: #cbb9ff; }
.anno-mine-row:hover .anno-mine-go, .anno-mine-row:focus .anno-mine-go { color: #fff; }
.anno-link:hover, .anno-link:focus { color: #fff; text-decoration: underline; }
.anno-ck a:hover, .anno-ck a:focus, .anno-cgu-pay a:hover, .anno-cgu-pay a:focus { color: #fff; text-decoration: underline; }
a.anno-cta:hover, a.anno-cta:focus { color: #1a1a2e; background: #fff; text-decoration: none; }
a.anno-cta-ghost:hover, a.anno-cta-ghost:focus { color: #1a1a2e; background: #FFD700; }
.anno-page .ofr-cta:hover, .anno-page .ofr-cta:focus { color: #1a1a2e; text-decoration: none; }
