/* Accueil public du serveur : fond bleu nuit de l'app (tokens.css), typographie
   et accents de la charte Fox Echo / Argos. Seul index.html la charge. */
.accueil {
  --violet: #7c3aed;
  --violet-profond: #4c1d95;
  --violet-lueur: #a78bfa;
  --magenta: #c026a3;
  --turquoise: #25d5b2;
  --gris-doux: #afafaf;
  --police: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

body.accueil {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font-family: var(--police);
  -webkit-font-smoothing: antialiased;
}

/* Barre : logo FE GROUP a gauche, nom du produit a droite */
.acc-entete {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line);
}
.acc-entete img { height: 28px; width: auto; display: block; }
.acc-entete .acc-produit { font-weight: 800; letter-spacing: .3em; font-size: var(--fs-sm); color: var(--violet-lueur); }

/* Heros centre, l'anneau des cent yeux derriere */
.acc-heros {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(24px, 4vh, 56px) clamp(16px, 4vw, 40px) clamp(24px, 4vh, 48px); overflow: hidden;
}
.acc-heros::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 45% at 50% 42%, rgba(124, 58, 237, .26), transparent 70%);
  pointer-events: none;
}
.acc-yeux {
  position: absolute; width: min(72vh, 600px); height: min(72vh, 600px); left: 50%; top: 44%;
  transform: translate(-50%, -50%); pointer-events: none; opacity: .9;
}
.acc-yeux circle { fill: var(--violet); opacity: .18; animation: acc-veille 6s linear infinite; }
@keyframes acc-veille { 0%, 92%, 100% { opacity: .18; } 96% { opacity: 1; fill: var(--violet-lueur); } }

.acc-embleme {
  position: relative; width: clamp(120px, 20vh, 190px); height: auto; margin-bottom: clamp(6px, 1.5vh, 16px);
  filter: drop-shadow(0 0 22px rgba(124, 58, 237, .55));
}
.acc-heros h1 { position: relative; margin: 0; line-height: 1; }
.acc-fe { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(13px, 1.6vw, 18px); letter-spacing: .4em; color: var(--gris-doux); margin-bottom: 10px; }
.acc-nom {
  display: block; font-weight: 800; font-size: clamp(56px, 12vw, 124px); letter-spacing: .04em; line-height: .95;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--text-strong) 0%, var(--violet-lueur) 55%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Le O d'Argos reprend le magenta du mot GROUP dans le logo Fox Echo */
.acc-nom .acc-o { background: var(--magenta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acc-slogan { display: block; font-weight: 600; font-size: clamp(18px, 2.6vw, 30px); color: var(--text-strong); margin-top: 10px; }
.acc-accroche { position: relative; max-width: 560px; margin: 16px auto 0; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.55; color: var(--text-dim); }

/* Bandeau d'acces : point turquoise « en direct » + consigne */
.acc-acces {
  position: relative; display: inline-flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; justify-content: center;
  margin-top: clamp(20px, 3.5vh, 32px); padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: var(--fs-md);
}
.acc-acces .acc-point { width: 9px; height: 9px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 10px var(--turquoise); animation: acc-pouls 1.6s ease-in-out infinite; }
.acc-acces strong { color: var(--text-strong); font-weight: 600; }
@keyframes acc-pouls { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Boutons : nettement decolles du texte, l'ancien accueil les collait */
.acc-actions { position: relative; display: flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: center; margin-top: clamp(24px, 4vh, 40px); }
.acc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--touch); padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: var(--fs-md); text-decoration: none; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.acc-btn.is-plein { background: var(--violet); color: var(--text-strong); box-shadow: 0 8px 28px rgba(124, 58, 237, .35); }
.acc-btn.is-plein:hover { background: var(--violet-profond); transform: translateY(-1px); }
.acc-btn.is-contour { border: 1px solid var(--violet-lueur); color: var(--violet-lueur); }
.acc-btn.is-contour:hover { background: rgba(167, 139, 250, .1); }

/* Pied : signature produit et editeur */
.acc-pied { border-top: 1px solid var(--line); padding: var(--sp-4) clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--text-dim); }
.acc-pied .d-brand { letter-spacing: .2em; text-transform: uppercase; font-size: var(--fs-label); color: var(--text-dim); }
.acc-pied .d-brand b { color: var(--magenta); }
.acc-pied address { font-style: normal; }
.acc-pied a { color: var(--violet-lueur); text-decoration: none; }

@media (max-width: 640px) {
  .acc-yeux { display: none; }
  .acc-btn { width: 100%; }
  .acc-pied { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-yeux circle, .acc-acces .acc-point { animation: none; }
  .acc-btn:hover { transform: none; }
}

/* Formulaire de connexion, a la place du bandeau « Service en direct » */
.acc-connexion {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3); width: min(100%, 380px);
  margin-top: clamp(20px, 3.5vh, 32px); padding: var(--sp-5); text-align: left;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.acc-connexion__titre { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; font-size: var(--fs-md); color: var(--text-dim); margin-bottom: var(--sp-1); }
.acc-connexion__titre strong { color: var(--text-strong); font-weight: 600; }
.acc-connexion .acc-point { width: 9px; height: 9px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 10px var(--turquoise); animation: acc-pouls 1.6s ease-in-out infinite; }
.acc-champ { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); color: var(--text-dim); }
.acc-champ input {
  min-height: var(--touch); padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text-strong); font: inherit; font-size: var(--fs-md);
}
.acc-champ input:focus { outline: none; border-color: var(--violet-lueur); box-shadow: 0 0 0 3px rgba(167, 139, 250, .25); }
.acc-connexion__bouton { width: 100%; margin-top: var(--sp-2); }
.acc-connexion__bouton:disabled { opacity: .6; cursor: wait; transform: none; }
.acc-connexion__erreur { margin: 0; font-size: var(--fs-sm); color: var(--magenta); }

/* Les deux boutons Fox Echo restent dans la page, masques : hidden doit battre le display:flex de la classe */
.acc-actions[hidden] { display: none; }
