/* Connexion / création de compte — reprend l'habillage de l'ancien écran plein
   cadre (bandeau sombre + carte), mais posé DANS le gabarit normal du site :
   Julien voulait garder l'entête à deux menus tout en retrouvant la présentation
   plus soignée d'avant. Classes préfixées `cx-` pour ne rien toucher d'autre. */

.cx-ecran {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin: 1.5rem 0 2.5rem;
}
@media (max-width: 860px) { .cx-ecran { grid-template-columns: 1fr; } }

.cx-pitch {
  position: relative; background: var(--c-black); color: #F2F6F8; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; padding: 3rem 2.4rem;
}
.cx-halftone {
  position: absolute; inset: -10%; opacity: .5; pointer-events: none;
  background-image:
    radial-gradient(circle at center, rgba(0,174,239,.55) 1.6px, transparent 1.7px),
    radial-gradient(circle at center, rgba(236,0,140,.45) 1.6px, transparent 1.7px),
    radial-gradient(circle at center, rgba(245,195,0,.40) 1.6px, transparent 1.7px);
  background-size: 14px 14px, 14px 14px, 14px 14px;
  background-position: 0 0, 5px 3px, 9px 7px;
  -webkit-mask-image: radial-gradient(120% 90% at 15% 40%, #000 25%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 15% 40%, #000 25%, transparent 72%);
}
.cx-pitch-corps { position: relative; max-width: 30rem; }
.cx-sur-titre { margin: 0 0 .9rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-cyan); font-weight: 600; }
.cx-pitch h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: #fff; line-height: 1.08; margin: 0; max-width: 14ch; }
.cx-chapo { margin: 1.1rem 0 0; color: #B7C7D0; font-size: .96rem; max-width: 34ch; line-height: 1.5; }
.cx-points { list-style: none; margin: 1.7rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.cx-points li { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: #DCE6EB; line-height: 1.45; }
.cx-points li span { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 99px;
  background: var(--c-cyan); position: relative; }
.cx-points li:nth-child(2) span { background: var(--c-magenta); }
.cx-points li:nth-child(3) span { background: var(--c-yellow, #F5C300); }
.cx-points li span::after { content: ""; position: absolute; left: 6.5px; top: 4.5px; width: 5px; height: 9px;
  border: solid #1A1A1A; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.cx-carte {
  background: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 2.4rem;
}
.cx-carte h1 { font-family: var(--font-head); font-size: 1.7rem; margin: 0; }
.cx-aide { color: var(--c-muted); margin: .4rem 0 1.4rem; font-size: .92rem; }

@media (max-width: 500px) {
  .cx-pitch, .cx-carte { padding: 2.2rem 1.4rem; }
}

/* ── Message réservé aux clients DOEMO ──────────────────────────────────
   Affiché UNIQUEMENT quand l'adresse porte ?c=doemo (voir vues/connexion.php),
   donc pour qui arrive de la lettre du 20/10/2026. Un visiteur venu de Google
   ou du menu ne le voit jamais : la boutique s'adresse à tout le monde.

   Il évite une erreur coûteuse : un client DOEMO qui crée un compte au lieu
   de se connecter obtient un compte local sans remise, et le chemin qui
   accorde ses 10 % ne sera plus jamais emprunté pour son adresse. */
.cx-doemo {
  margin: 0 0 1.4rem;
  padding: .85rem 1rem;
  background: #F2F6F8;
  border-left: 3px solid #1A1A1A;
  border-radius: 0 6px 6px 0;
  font-size: .9rem;
  line-height: 1.6;
  color: #333;
}
.cx-doemo strong { color: #1A1A1A; }
.cx-doemo-note { color: var(--c-muted); font-size: .85rem; }
