/* Charte GIVRE d'adrienicolo.com — chargée APRÈS site.css, sur toutes les
 * pages. Validée par Thomas et appliquée à la demande d'Adrien.
 *
 * site.css (l'agencement de thomasml.com) pose déjà le cyan à la place de
 * l'ambre. Ce fichier porte ce qui est propre à Adrien : les rayures de
 * pellicule de sa page Beacons, la carte « verre fumé », les variables dont
 * la page Trading a besoin, et le cyan de la page Trading.
 */

:root {
  --givre: #7fe7f0;
  --givre-fonce: #3c9aa3;
  /* Les noms de l'ancienne feuille, que trading.css emploie encore. */
  --carte: #8a8a8a;
  --encre: #000000;
  --gris-doux: #a6a6a6;
  --blanc: #f3f3f3;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* Rayures et poussières blanches, comme sur la photo de la page Beacons.
   Un seul motif de 600 px qui se répète : à cette taille, l'œil ne
   retrouve pas la répétition. */
.rayures {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cg stroke='%23fff' stroke-linecap='round' fill='none'%3E%3Cpath d='M40 80l26 30' stroke-width='1.2'/%3E%3Cpath d='M410 40l38 26' stroke-width='1'/%3E%3Cpath d='M520 300l18 40' stroke-width='1.4'/%3E%3Cpath d='M120 420l50 24' stroke-width='.9'/%3E%3Cpath d='M300 520l14 30' stroke-width='1.2'/%3E%3Cpath d='M260 200l6 18' stroke-width='1'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='200' cy='130' r='1.2'/%3E%3Ccircle cx='470' cy='180' r='1'/%3E%3Ccircle cx='80' cy='300' r='1.4'/%3E%3Ccircle cx='350' cy='360' r='.9'/%3E%3Ccircle cx='560' cy='500' r='1.2'/%3E%3Ccircle cx='30' cy='560' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

/* Le point qui bat, en fin de grand titre : le seul cyan du titre. */
h1 .point { color: var(--givre); -webkit-text-fill-color: var(--givre); animation: bat 2.4s ease-in-out infinite; }
@keyframes bat { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { h1 .point { animation: none; } }

/* Un bouton qui n'est pas encore un lien : la pilule éteinte. */
.acheter.bientot, .acheter.bientot:hover { background: #1d2a2b; color: var(--givre); box-shadow: inset 0 0 0 1px rgba(127, 231, 240, 0.35); transform: none; filter: none; cursor: default; }

/* Verre fumé : la carte de la page Trading. Le liseré est un dégradé
   masqué, plus vif en haut, comme si la lumière froide tombait dessus. */
.verre {
  position: relative; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.verre::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(127, 231, 240, 0.55), rgba(255, 255, 255, 0.06) 45%, rgba(127, 231, 240, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ===== Page Trading ===== */
.t-ouverture::before {
  background:
    radial-gradient(40% 55% at 50% 0%, rgba(127, 231, 240, 0.22), transparent 70%),
    conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(127, 231, 240, 0.07) 172deg, rgba(127, 231, 240, 0.11) 180deg, rgba(127, 231, 240, 0.07) 188deg, transparent 200deg);
}
/* Le reflet sur le titre : blanc, avec un éclat givre au passage. */
.t-ouverture .titre-page {
  background: linear-gradient(100deg, #9a9a9a 0%, #ffffff 28%, #7fe7f0 42%, #ffffff 52%, #9a9a9a 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
}
.ecran-barre .direct::before { background: var(--givre); box-shadow: 0 0 10px 2px rgba(127, 231, 240, 0.7); }
.unites span.on { color: var(--givre); background: rgba(127, 231, 240, 0.10); box-shadow: inset 0 0 0 1px rgba(127, 231, 240, 0.35); }
.tableau .eclairage { background: radial-gradient(45% 70% at 82% 35%, rgba(127, 231, 240, 0.12), transparent 70%); }
.graphe .monte { fill: var(--givre); stroke: var(--givre); filter: drop-shadow(0 0 6px rgba(127, 231, 240, 0.5)); }
.graphe .courbe { stroke: rgba(127, 231, 240, 0.55); }
.graphe .viseur circle { stroke: var(--givre); }
.bande span::after { background: var(--givre); box-shadow: 0 0 10px rgba(127, 231, 240, 0.6); }
.methode .etape .num { color: transparent; -webkit-text-stroke-color: var(--givre); }
.methode .etape::after { background: radial-gradient(70% 60% at 0% 0%, rgba(127, 231, 240, 0.10), transparent 70%); }
.etape .picto { color: var(--givre); }
.t-carte { background: var(--givre); box-shadow: 0 40px 120px -40px rgba(127, 231, 240, 0.45); }
.t-carte .surtitre { color: var(--encre); }
.t-carte .acheter.bientot { background: var(--encre); color: var(--givre); box-shadow: none; }
