﻿/* ============================================================
   LIY10.LEARNING — LE SITE
   Fond noir, et les quatre couleurs des logiciels pour tout le
   reste. Aucune couleur en dur : tout vient de jetons.css.
   ============================================================ */

body.site { background: var(--fond); }

.enveloppe { max-width: var(--large-max); margin: 0 auto; padding: 0 22px; }

/* ---------------------------------------------- la barre du haut */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--fond) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bord);
}
.nav .enveloppe { display: flex; align-items: center; gap: 22px; height: 70px; }
.marque-nav { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.marque-nav img { width: 34px; height: 34px; border-radius: 9px; }
.marque-nav .pale { color: var(--texte-3); }
.nav-liens { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-liens a { font-size: 14px; font-weight: 600; color: var(--texte-2); transition: color var(--transition); }
.nav-liens a:hover { color: var(--texte); }
.bouton {
  display: inline-block;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--r-m);
  background: var(--excel);
  color: #04120B;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 0 #0E5836;
  transition: transform 90ms ease, box-shadow 90ms ease;
}
.bouton:active { transform: translateY(3px); box-shadow: 0 1px 0 0 #0E5836; }
.bouton.creux { background: none; color: var(--texte); border: 2px solid var(--bord-fort); box-shadow: none; }
.bouton.creux:hover { border-color: var(--texte-3); }
.bouton.petit { padding: 9px 16px; font-size: 14px; }
@media (max-width: 720px) { .nav-liens a { display: none; } }

/* ---------------------------------------------- le héros */
.heros { position: relative; overflow: hidden; padding: 72px 0 40px; }
.heros::after {
  /* une lueur composée des quatre couleurs, très basse en opacité */
  content: '';
  position: absolute;
  left: 50%; top: -220px;
  width: 1100px; height: 620px;
  transform: translateX(-50%);
  background: var(--quatre);
  filter: blur(160px);
  opacity: .16;
  pointer-events: none;
}
.heros .enveloppe { position: relative; display: grid; grid-template-columns: 1fr; gap: 54px; justify-items: center; text-align: center; }
.heros .enveloppe > div:first-child { max-width: 880px; }
.heros .sous-titre { margin-left: auto; margin-right: auto; }
.heros .actions { justify-content: center; }

.pastille-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--bord);
  border-radius: 99px;
  font-size: 13px; font-weight: 600; color: var(--texte-2);
  margin-bottom: 22px;
}
.pastille-hero i { font-style: normal; }
h1.titre {
  font-size: clamp(38px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}
h1.titre .vert   { color: var(--excel); }
h1.titre .bleu   { color: var(--word); }
h1.titre .orange { color: var(--ppt); }
h1.titre .jaune  { color: var(--pbi); }
h1.titre .rose   { color: var(--access); }
h1.titre .rouge  { color: var(--sql); }
h1.titre .violet { color: var(--automate); }
h1.titre .turquoise { color: var(--fabric); }
/* Ce qui arrive : annoncé, sans voler la vedette aux cinq parcours
   qui existent vraiment. */
.bientot-hero {
  margin: -8px 0 22px;
  font-size: 15px;
  color: var(--texte-3);
}
.bientot-hero b { color: var(--texte-2); font-weight: 700; }
.sous-titre { font-size: 18px; line-height: 1.6; color: var(--texte-2); margin: 0 0 30px; max-width: 520px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.sous-actions { margin-top: 16px; font-size: 13px; color: var(--texte-3); }

/* le téléphone */
.tel {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 40px;
  border: 10px solid #15181A;
  background: #000;
  box-shadow: var(--ombre-3), 0 0 0 1px var(--bord);
  overflow: hidden;
  aspect-ratio: 9 / 19;
}
.tel iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------- bandeau des logiciels */
.bandeau { border-block: 1px solid var(--bord); padding: 26px 0; }
.bandeau .enveloppe { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.puce-logiciel {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--bord);
  border-radius: 99px;
  font-weight: 700; font-size: 15px;
  color: var(--c);
}
.puce-logiciel::before { content: ''; width: 10px; height: 10px; border-radius: 99px; background: var(--c); }
/* Ce qui n’est pas encore ouvert : présent, mais visiblement en
   attente. On ne fait pas croire que c’est disponible. */
.puce-bientot { color: var(--texte-3); --c: var(--bord-fort); }
.puce-bientot em {
  font-style: normal;
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-3);
  border: 1px solid var(--bord);
  border-radius: 99px;
  padding: 2px 8px;
}

/* ---------------------------------------------- sections */
section { padding: 78px 0; }
.chapeau { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.chapeau .sur {
  font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--texte-3); margin-bottom: 14px;
}
.chapeau h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 14px; }
.chapeau p { font-size: 17px; line-height: 1.6; color: var(--texte-2); margin: 0; }

.grille { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
/* CINQ parcours, et cinq ne se divise pas. Une grille laissait le
   cinquième seul, collé à gauche d’une ligne vide. Un flex centré
   donne 3 puis 2, centrés : ça se lit comme une intention. */
.g5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.g5 > * { flex: 1 1 300px; max-width: 360px; }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } }

.carte {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.carte:hover { border-color: var(--bord-fort); transform: translateY(-3px); }
.carte .num {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c, var(--excel)) 22%, transparent);
  color: var(--c, var(--excel));
  font-weight: 800; font-size: 16px;
  margin-bottom: 16px;
}
.carte h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.carte p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--texte-2); }

/* les cartes de parcours */
.carte-p { padding: 0; }
.carte-p .haut-p { padding: 22px 24px 20px; border-bottom: 1px solid var(--bord); }
.carte-p .bas-p { padding: 18px 24px 22px; }
.carte-p h3 { color: var(--c); font-size: 21px; }
.carte-p .niveau { font-size: 13px; color: var(--texte-3); font-weight: 600; }
.carte-p ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.carte-p li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; color: var(--texte-2); }
.carte-p li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 99px; background: var(--c);
}

/* ---------------------------------------------- installer */
.installer { background: var(--fond-2); border-block: 1px solid var(--bord); }
.etapes-install { counter-reset: e; display: grid; gap: 14px; }
.etape-install {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
}
.etape-install::before {
  counter-increment: e; content: counter(e);
  flex: none; width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 99px;
  background: var(--word); color: #04121E;
  font-weight: 800; font-size: 14px;
}
.etape-install b { display: block; font-size: 15px; margin-bottom: 4px; }
.etape-install span { font-size: 14px; color: var(--texte-2); line-height: 1.5; }

/* ---------------------------------------------- tarifs */
.tarif {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
}
.tarif.mis { border-color: var(--excel); box-shadow: 0 0 0 1px var(--excel); }
.tarif .nom { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.tarif .prix { font-size: 40px; font-weight: 800; margin: 12px 0 4px; }
.tarif .prix small { font-size: 15px; font-weight: 600; color: var(--texte-3); }
.tarif ul { margin: 22px 0 26px; padding: 0; list-style: none; display: grid; gap: 11px; }
.tarif li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--texte-2); }
.tarif li::before { content: '✓'; position: absolute; left: 0; color: var(--excel); font-weight: 800; }
.tarif .bouton { width: 100%; text-align: center; }

/* ---------------------------------------------- questions */
.question-s {
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.question-s summary {
  padding: 18px 22px;
  font-size: 16px; font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.question-s summary::-webkit-details-marker { display: none; }
.question-s summary::after { content: '+'; font-size: 22px; color: var(--texte-3); flex: none; }
.question-s[open] summary::after { content: '−'; }
.question-s p { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: var(--texte-2); }

/* ---------------------------------------------- appel final */
.final { text-align: center; padding: 90px 0; position: relative; overflow: hidden; }
.final::after {
  content: ''; position: absolute; left: 50%; bottom: -320px;
  width: 900px; height: 520px; transform: translateX(-50%);
  background: var(--quatre); filter: blur(150px); opacity: .18; pointer-events: none;
}
.final .enveloppe { position: relative; }

/* ---------------------------------------------- le pied */
.pied { border-top: 1px solid var(--bord); padding: 44px 0 34px; }
.pied .enveloppe { display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.pied .col h4 { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.pied .col a, .pied .col span { display: block; font-size: 14px; color: var(--texte-2); margin-bottom: 8px; }
.pied .col a:hover { color: var(--texte); }
.pied-bas { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--bord); font-size: 13px; color: var(--texte-3); }

.avis { font-size: 15px; line-height: 1.65; color: var(--texte-2); font-style: italic; }
.avis + .qui { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--c); font-style: normal; }

/* ---------- les tarifs ---------- */
.tarif { position: relative; overflow: hidden; }
.tarif .etiq-promo {
  position: absolute; top: 0; right: 0;
  background: var(--excel); color: #04120B;
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 0 0 0 12px;
}
.tarif .prix-mois {
  font-size: 13px; color: var(--texte-2); margin-top: -2px; line-height: 1.4;
}
.lancement-bandeau {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  max-width: 1000px; margin: 26px auto 0;
  padding: 22px 26px;
  border: 2px dashed var(--pbi);
  border-radius: var(--r-l);
  background: color-mix(in srgb, var(--pbi) 7%, transparent);
}
.lancement-bandeau > b {
  flex: none; font-size: 13px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pbi);
}
.lancement-bandeau span { flex: 1; min-width: 240px; font-size: 15px; line-height: 1.55; color: var(--texte-2); }
.lancement-bandeau span b { color: var(--texte); }
.mini-site {
  max-width: 1000px; margin: 22px auto 0;
  font-size: 13px; line-height: 1.6; color: var(--texte-3); text-align: center;
}

/* ============================================================
   LE MOUVEMENT DU SITE
   Les apparitions au defilement ne s’appliquent que si le script
   a tourne (.js-anim) : sans JavaScript, tout reste visible.
   ============================================================ */
.js-anim .revele {
  opacity: 0;
  transform: translateY(48px) scale(.94) rotate(var(--rot, 0deg));
  filter: blur(8px);
  transition: opacity 800ms var(--doux), transform 900ms var(--ressort), filter 700ms ease;
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js-anim .grille > .revele:nth-child(odd) { --rot: -2deg; }
.js-anim .grille > .revele:nth-child(even) { --rot: 2deg; }
.js-anim .revele.vu { opacity: 1; transform: none; filter: none; }

/* les logiciels en orbite autour du telephone */
.orbite-heros { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.orbite-heros .ob { position: absolute; left: -22px; top: -22px; display: block; will-change: transform; }
.orbite-heros .ob svg { display: block; border-radius: 13px; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .9); }
.orbite-heros .ob.gris svg { filter: grayscale(1) brightness(.7); }


/* la barre du haut se resserre en descendant */
.nav { transition: box-shadow 260ms ease, background 260ms ease; }
.nav .enveloppe { transition: height 260ms var(--doux); }
.nav.roule { box-shadow: var(--ombre-2); }
.nav.roule .enveloppe { height: 58px; }
.nav-liens a { position: relative; }
.nav-liens a:not(.bouton)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--quatre); transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--doux);
}
.nav-liens a:not(.bouton):hover::after { transform: scaleX(1); }

/* le heros : les mots montent un par un */
h1.titre > span, .bientot-hero, .sous-titre, .actions, .sous-actions, .pastille-hero {
  display: inline-block;
  animation: mot-monte 760ms var(--doux) backwards;
}
.bientot-hero, .sous-titre, .actions, .sous-actions { display: block; }
.actions { display: flex; }
.pastille-hero { display: inline-flex; animation-delay: 0ms; }
h1.titre { animation: mot-monte 520ms var(--doux) 60ms backwards; }
h1.titre > span:nth-of-type(1) { animation-delay: 120ms; }
h1.titre > span:nth-of-type(2) { animation-delay: 200ms; }
h1.titre > span:nth-of-type(3) { animation-delay: 280ms; }
h1.titre > span:nth-of-type(4) { animation-delay: 360ms; }
h1.titre > span:nth-of-type(5) { animation-delay: 440ms; }
h1.titre > span:nth-of-type(6) { animation-delay: 520ms; }
.bientot-hero { animation-delay: 560ms; }
.sous-titre   { animation-delay: 640ms; }
.actions      { animation-delay: 720ms; }
.sous-actions { animation-delay: 800ms; }
@keyframes mot-monte {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.pastille-hero i { display: inline-block; animation: pouls 2.2s ease-in-out infinite; }
@keyframes pouls { 50% { transform: scale(1.25); } }

/* la lueur derive lentement */
.heros::after { animation: derive 16s ease-in-out infinite alternate; }
.final::after { animation: derive 18s ease-in-out infinite alternate-reverse; }
@keyframes derive {
  from { transform: translateX(-56%) rotate(-4deg); }
  to   { transform: translateX(-44%) rotate(4deg); }
}

/* l'ecran d'apercu s'ouvre en basculant, puis le telephone flotte */
.apercu-cadre { animation: ecran-ouvre 1.1s var(--doux) 300ms backwards; }
.apercu.mobile .apercu-cadre { animation: ecran-ouvre 1.1s var(--doux) 300ms backwards, flotte-tel 7s ease-in-out 1.4s infinite; }
@keyframes ecran-ouvre { from { opacity: 0; transform: perspective(1400px) rotateX(24deg) translateY(70px) scale(.92); } }
@keyframes tel-entre { from { opacity: 0; transform: translateY(60px) rotate(4deg) scale(.94); } }
@keyframes flotte-tel {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-12px) rotate(-1deg); }
}

/* le bandeau des logiciels : chacun arrive a son tour */
.bandeau .puce-logiciel { animation: mot-monte 600ms var(--ressort) backwards; transition: transform 200ms var(--ressort), border-color 200ms ease; }
.bandeau .puce-logiciel:nth-child(2) { animation-delay: 70ms; }
.bandeau .puce-logiciel:nth-child(3) { animation-delay: 140ms; }
.bandeau .puce-logiciel:nth-child(4) { animation-delay: 210ms; }
.bandeau .puce-logiciel:nth-child(5) { animation-delay: 280ms; }
.bandeau .puce-logiciel:nth-child(6) { animation-delay: 350ms; }
.bandeau .puce-logiciel:nth-child(7) { animation-delay: 420ms; }
.bandeau .puce-logiciel:nth-child(n+8) { animation-delay: 490ms; }
.puce-logiciel:not(.puce-bientot):hover { transform: translateY(-3px); border-color: var(--c); }
.puce-logiciel:not(.puce-bientot)::before { animation: pouls 2.6s ease-in-out infinite; }
.puce-bientot { position: relative; overflow: hidden; border-style: dashed; }
.puce-bientot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .08) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: reflet-site 3.4s ease-in-out 1.2s infinite;
}
@keyframes reflet-site { 0% { transform: translateX(-100%); } 50%, 100% { transform: translateX(100%); } }

/* les cartes de parcours : la couleur monte au survol */
.carte-p { transition: border-color 240ms ease, transform 240ms var(--ressort), box-shadow 240ms ease; }
.carte-p:hover { border-color: var(--c); box-shadow: 0 18px 40px -20px var(--c); transform: translateY(-5px); }
.carte-p .haut-p { position: relative; }
.carte-p .haut-p::before {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--c); transform: scaleX(0); transform-origin: left;
  transition: transform 420ms var(--doux);
}
.carte-p:hover .haut-p::before { transform: scaleX(1); }

/* les boutons : un reflet passe au survol */
.bouton { position: relative; overflow: hidden; transition: transform 160ms var(--ressort), box-shadow 90ms ease; }
.bouton:not(.creux)::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left 600ms var(--doux);
}
@media (hover: hover) {
  .bouton:hover { transform: translateY(-2px); }
  .bouton:not(.creux):hover::after { left: 120%; }
}
.tarif { transition: transform 240ms var(--ressort), box-shadow 240ms ease; }
@media (hover: hover) { .tarif:hover { transform: translateY(-4px); box-shadow: var(--ombre-2); } }
.tarif.mis { animation: halo-tarif 3.2s ease-in-out infinite; }
@keyframes halo-tarif {
  50% { box-shadow: 0 0 0 1px var(--excel), 0 0 34px -6px var(--excel); }
}
.question-s summary::after { transition: transform 260ms var(--ressort); }
.question-s[open] summary::after { transform: rotate(180deg); }
.question-s[open] p { animation: mot-monte 380ms var(--doux); }
/* ============================================================
   L'ECRAN D'APERCU — ordinateur sur ordinateur, telephone sur
   telephone. Les tailles exactes sont posees par site.js ; ici,
   seulement l'habillage de l'appareil. Le cadre reste sombre dans
   les deux themes : c'est un objet, pas une surface du site.
   ============================================================ */
.apercu { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }
.apercu-cadre {
  position: relative; z-index: 2;
  background: #0B0D0E;
  box-shadow: var(--ombre-3), 0 0 0 1px #2A2F33, inset 0 0 0 1px #1C2023;
}
.apercu-ecran { position: relative; overflow: hidden; background: var(--fond); }
.apercu-ecran iframe { display: block; border: 0; transform-origin: 0 0; background: var(--fond); }
/* le telephone : un bord fin, des coins tres ronds, l'encoche */
.apercu.mobile .apercu-cadre { padding: 10px; border-radius: 42px; }
.apercu.mobile .apercu-ecran { border-radius: 32px; }
.apercu.mobile .apercu-cadre::before {
  content: ''; position: absolute; z-index: 3; left: 50%; top: 18px;
  width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: #0B0D0E;
}
/* l'ordinateur : l'ecran, sa camera, et le socle du clavier */
.apercu.ordi .apercu-cadre { padding: 16px 16px 20px; border-radius: 20px 20px 8px 8px; }
.apercu.ordi .apercu-ecran { border-radius: 6px; }
.apercu.ordi .apercu-cadre::before {
  content: ''; position: absolute; left: 50%; top: 6px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: #2A2F33;
}
.apercu-socle { display: none; }
.apercu.ordi .apercu-socle {
  display: block; position: relative; z-index: 2;
  width: calc(var(--w) * 1.18 + 32px); height: 18px; margin-top: -1px;
  background: linear-gradient(#3A4045, #1B1F22 70%, #0E1012);
  border-radius: 2px 2px 18px 18px / 2px 2px 14px 14px;
  box-shadow: 0 26px 50px -16px rgba(0, 0, 0, .7);
  animation: ecran-ouvre 1.1s var(--doux) 300ms backwards;
}
.apercu.ordi .apercu-socle::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 120px; height: 7px; margin-left: -60px;
  background: #0E1012; border-radius: 0 0 10px 10px;
}

/* ---------------------------------------------- l'application Android */
.carte-apk {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  max-width: 1000px; margin: 0 auto 30px; padding: 24px 26px;
  background: var(--surface); border: 1.5px solid var(--excel); border-radius: var(--r-l);
  box-shadow: 0 18px 40px -24px var(--excel);
}
.apk-icone { font-size: 46px; line-height: 1; animation: pouls 2.4s ease-in-out infinite; }
.apk-texte h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.apk-texte p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: var(--texte-2); }
.apk-texte ol { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--texte-2); }
.apk-texte .apk-note { font-size: 12.5px; color: var(--texte-3); margin: 0; }
.carte-apk .bouton { white-space: nowrap; text-align: center; }
.carte-apk .bouton small { font-weight: 600; opacity: .8; }
@media (max-width: 760px) {
  .carte-apk { grid-template-columns: 1fr; text-align: left; }
  .apk-icone { display: none; }
  .carte-apk .bouton { width: 100%; white-space: normal; }
}
.lien-apk {
  display: inline-block; margin-top: 10px;
  font-weight: 700; color: var(--excel); text-decoration: underline; text-underline-offset: 3px;
}

/* l'icone du defi dans la barre du haut du site : la bulle vient s'y ranger */
.nav .enveloppe { position: relative; }
.nav-defi {
  position: relative; flex: none; margin-left: 12px;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: var(--surface); border: 1.5px solid var(--or); font-size: 20px;
  animation: defi-site 2.2s ease-in-out infinite;
}
.nav-defi b {
  position: absolute; top: -7px; right: -8px; padding: 2px 6px; border-radius: 99px;
  background: var(--or); color: #1A1403; font-size: 10px; font-weight: 800;
}
@keyframes defi-site { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--or) 50%, transparent); } 50% { box-shadow: 0 0 0 7px transparent; } }
@media (max-width: 720px) { .nav-defi { margin-left: auto; } }

/* « La version Pro arrive bientot » (tant que PRO_OUVERT est faux, etat.js). */
.pastille-pro { margin-left: 8px; border-color: var(--or); color: var(--or); }
.pastille-pro i { animation: pro-brille 2.4s ease-in-out infinite; display: inline-block; }
@keyframes pro-brille { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.3) rotate(-12deg); } 90% { transform: scale(1.1) rotate(8deg); } }
.annonce-pro { display: inline-block; margin-top: 14px; padding: 9px 16px; border-radius: 99px; border: 1.5px dashed var(--or); color: var(--texte-2); font-size: 15px; }
.annonce-pro b { color: var(--or); }

/* « Se connecter » (02/10/2026) : visible aussi sur telephone, ou les
   autres liens de la barre se cachent. */
.nav-liens a.lien-cnx { color: var(--texte); border: 1.5px solid currentColor; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 720px) { .nav-liens a.lien-cnx { display: inline-flex; font-size: 12.5px; padding: 5px 10px; } .nav-liens { gap: 10px; } }
.nav-liens a.lien-cnx .cnx-ico { display: none; }
@media (max-width: 420px) {
  .nav-liens a.lien-cnx { padding: 4px 8px; }
  .nav-liens a.lien-cnx .cnx-txt { display: none; }
  .nav-liens a.lien-cnx .cnx-ico { display: inline; font-size: 15px; line-height: 1; }
}

/* Le bouton « Se connecter avec Google ou par e-mail », sous les deux
   grands boutons de l'accueil : on le voit des l'ouverture du site. */
.bouton-cnx { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 20px;
  border-radius: 999px; background: var(--fond, #fff); color: var(--texte); font-weight: 700; font-size: 15px;
  border: 1.5px solid var(--bord-fort); box-shadow: 0 4px 14px rgba(0,0,0,.08); text-decoration: none; }
.bouton-cnx:hover { border-color: var(--texte-3); }
.bouton-cnx .g { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px;
  color: #fff; background: conic-gradient(#EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0); }
