/* Portail Vitrio — page d'attente « Bientot disponible » (templates/bientot.html, EF-N2-20).
   Chargee par cette page seule. Le socle commun (Poppins, scene sombre et ses lueurs,
   grandes cartes numerotees, surtitres, apparition au defilement) est dans portal.css ;
   ne reste ici que ce qui est propre a cette page : la demonstration du champ et des
   cartes, la bande commercant, les reseaux. Mouvement decoratif seulement, coupe par
   prefers-reduced-motion ; sans script, la frappe montre la premiere phrase et les
   blocs sont visibles. */

/* Poppins sur tous les titres de la page, quel que soit le theme (vitrine compris). */
.main-plein h1,.main-plein h2,.main-plein h3,.demo-bouton,.marchand-bouton,
.suivre-liens a{font-family:var(--poppins)}

/* Reflet du titre propre a la page d'attente, tel que valide. */
.scene-eclat{background:linear-gradient(100deg,var(--accent-soft) 0%,var(--accent) 35%,#e8a25a 55%,var(--accent) 75%,var(--accent-soft) 100%);
  background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}

/* Demonstration : un champ qui s'ecrit tout seul, puis trois cartes qui montent. */
.demo{position:relative;margin:clamp(34px,6vh,56px) auto 0;max-width:720px;perspective:1200px}
.demo-champ{display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 8px 8px 20px;border-radius:999px;
  background:color-mix(in srgb,var(--sur-scene,var(--sur-bandeau)) 10%,transparent);
  border:1px solid color-mix(in srgb,var(--sur-scene,var(--sur-bandeau)) 24%,transparent);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-align:left;
  box-shadow:0 20px 60px rgba(0,0,0,.35)}
.demo-loupe{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;opacity:.8}
.demo-frappe{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:clamp(15px,2.2vw,18px)}
.demo-curseur{flex:none;width:2px;height:1.3em;margin-left:-8px;background:var(--accent)}
.demo-bouton{flex:none;margin-left:auto;padding:12px 22px;border-radius:999px;background:var(--accent);color:var(--sur-accent);
  font-weight:700;font-size:15px}
.demo-cartes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,2vw,18px);margin-top:26px;
  transform-style:preserve-3d}
.demo-carte{display:flex;flex-direction:column;gap:8px;padding:10px 10px 14px;border-radius:18px;background:var(--card);
  color:var(--ink);text-align:left;box-shadow:0 24px 50px rgba(0,0,0,.35);transform:rotateX(10deg)}
.demo-carte:nth-child(2){transform:rotateX(10deg) translateY(-14px)}
.demo-image{display:grid;place-items:center;aspect-ratio:4/3;border-radius:12px;background:var(--accent-soft)}
.demo-image svg{width:42%;height:auto;fill:none;stroke:var(--lien);stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round}
.demo-carte:nth-child(2) .demo-image{background:var(--ok-soft)}
.demo-carte:nth-child(2) .demo-image svg{stroke:var(--ok)}
.demo-ligne{display:block;height:9px;border-radius:5px;background:var(--card-fort)}
.demo-ligne.courte{width:55%}
.demo-badge{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;margin-top:2px;padding:3px 8px;border-radius:999px;
  background:var(--ok-soft);color:var(--ok);font-size:11.5px;font-weight:700;white-space:nowrap}
.demo-badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.demo-legende{margin:14px 0 0;font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:color-mix(in srgb,currentColor 55%,transparent)}

/* --- Trois gestes ----------------------------------------------------------------- */
.etapes-grandes{padding:clamp(56px,10vw,112px) 0}

/* --- Bande commercant ------------------------------------------------------------- */
.marchand{padding:0 0 clamp(56px,9vw,96px)}
.marchand-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 40px;
  padding:clamp(28px,5vw,56px) clamp(22px,5vw,56px);border-radius:32px;
  background:linear-gradient(120deg,var(--accent-dark),var(--accent) 60%,#d4632b);color:var(--sur-accent);
  box-shadow:var(--lift);max-width:calc(var(--largeur) - 2 * var(--marge-page));width:calc(100% - 2 * var(--marge-page))}
.marchand-in > div{flex:1 1 420px;min-width:0}
.marchand .surtitre{background:rgba(255,255,255,.16);color:inherit}
.marchand-bouton{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:14px 28px;border-radius:999px;
  background:var(--sur-accent);color:var(--accent-dark);font-weight:700;font-size:17px;text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.18)}
.marchand-bouton svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.marchand-bouton:hover svg{transform:translateX(3px)}

/* --- Reseaux ---------------------------------------------------------------------- */
.suivre{padding:0 0 clamp(56px,9vw,96px);text-align:center}
.suivre-liens{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:22px 0 0;padding:0;list-style:none}
.suivre-liens a{display:inline-flex;align-items:center;min-height:52px;padding:10px 26px;border-radius:999px;
  border:1.5px solid var(--ink);color:var(--ink);font-weight:700;text-decoration:none}
.suivre-liens a:hover{background:var(--ink);color:var(--paper)}

/* --- Telephone -------------------------------------------------------------------- */
@media (max-width:720px){
  .demo-champ{min-height:56px;padding-left:16px}
  .demo-bouton{display:none}
  .demo-cartes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .demo-carte{padding:6px 6px 10px;border-radius:12px}
  .demo-badge{font-size:0;padding:4px}
  .demo-badge svg{width:12px;height:12px}
  .marchand-in{border-radius:24px}
  .marchand-bouton{width:100%;justify-content:center}
}

/* --- Mouvement : seulement si le visiteur ne l'a pas coupe ------------------------- */
@media (prefers-reduced-motion:no-preference){
  .demo-curseur{animation:clignote 1s steps(1) infinite}
  .demo-carte{animation:monte .9s var(--sortie) both,flotte 6s ease-in-out 1s infinite}
  .demo-carte:nth-child(2){animation-delay:.12s,1.4s}
  .demo-carte:nth-child(3){animation-delay:.24s,1.8s}
  .scene-pastille,.scene-titre,.scene-texte,.demo-champ{animation:monte .8s var(--sortie) both}
  .scene-titre{animation-delay:.08s}
  .scene-texte{animation-delay:.16s}
  .demo-champ{animation-delay:.24s}
  .marchand-bouton svg{transition:transform .2s ease}
}
@keyframes clignote{50%{opacity:0}}
@keyframes flotte{0%,100%{translate:0 0}50%{translate:0 -8px}}
