/* Clai IA — la vitrine. Reprend les couleurs du site (style.css). */
.vitrine {
  height: auto; min-height: 100dvh; overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 10% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 50%),
    radial-gradient(ellipse at 95% 30%, color-mix(in srgb, var(--violet) 24%, transparent), transparent 55%),
    radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--violet) 16%, transparent), transparent 60%);
}
.vitrine main { max-width: 1180px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)) 40px; display: flex; flex-direction: column; gap: 72px; }

/* --- barre du haut --- */
.v-barre {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px;
  padding: 12px max(16px, calc((100% - 1180px) / 2 + 16px));
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.v-marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 1px; }
.v-marque span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-marque img { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--violet) 60%, transparent)) brightness(1.3); }
.v-liens { display: flex; gap: 22px; margin-left: auto; }
.v-liens a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.v-liens a:hover { color: var(--text); }
.v-actions { display: flex; gap: 8px; align-items: center; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }

.v-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--violet) 35%, transparent); transition: transform .15s, filter .15s;
}
.v-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.v-btn.secondaire { background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.v-btn.grand { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 18px; }

/* --- héros --- */
.v-heros { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; padding-top: 48px; }
.v-etiquette { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 20px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.v-heros h1 { margin: 18px 0 16px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.05; text-wrap: balance; }
.v-chapeau { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.v-boutons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.v-preuves { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 26px; flex-wrap: wrap; }
.v-preuves li { font-size: 14px; color: var(--muted); }
.v-preuves b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 30px; color: var(--text); }
.v-heros-video { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.v-tel {
  width: min(320px, 80vw); aspect-ratio: 9 / 16; border-radius: 36px; padding: 10px; position: relative;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 60%, #111), color-mix(in srgb, var(--violet) 60%, #111));
  box-shadow: 0 30px 80px color-mix(in srgb, var(--violet) 35%, transparent), 0 0 0 1px var(--border);
  transform: rotate(2deg);
}
.v-tel video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; background: #05070F; display: block; }
.v-son { border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--text); border-radius: 12px; padding: 8px 14px; font-weight: 600; }

/* --- sections --- */
.v-section { display: flex; flex-direction: column; gap: 22px; }
.v-section h2, .v-final h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 3.4vw, 40px); text-align: center; }
.v-sous { margin: -8px 0 0; text-align: center; color: var(--muted); }
.v-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v-carte {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s;
}
.v-carte:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.v-carte h3 { margin: 0; font-size: 20px; }
.v-carte p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.v-carte-emoji { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.v-bulles { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.v-bulle { max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: 14px; }
.v-bulle.moi { align-self: flex-end; background: var(--grad); color: #fff; border-radius: 14px 4px 14px 14px; }
.v-bulle.clai { align-self: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: 4px 14px 14px 14px; }
.v-dessins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.v-dessins img { width: 100%; aspect-ratio: 1 / 1; image-rendering: pixelated; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.v-bientot { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 12px; background: color-mix(in srgb, var(--violet) 15%, var(--surface)); }

.v-etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: e; }
.v-etapes li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); }
.v-etapes li > span { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--grad); }
.v-etapes h3 { margin: 0 0 4px; font-size: 17px; }
.v-etapes p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.v-formules { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.v-formule { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 10px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); }
.v-formule span { font-size: 28px; }
.v-formule h3 { margin: 4px 0 0; font-size: 16px; }
.v-formule b { font-family: 'Space Grotesk', sans-serif; font-size: 26px; }
.v-formule p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
.v-formule.vedette { border: 2px solid transparent; background: linear-gradient(color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface) 92%, transparent)) padding-box, var(--grad) border-box; box-shadow: 0 10px 30px color-mix(in srgb, var(--violet) 30%, transparent); }

.v-cartes.trois .v-carte.petite { padding: 18px; }
.v-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.v-membre { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 10px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); }
.v-av { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 8px 20px color-mix(in srgb, var(--violet) 35%, transparent); }
.v-membre b { font-size: 17px; margin-top: 4px; }
.v-membre small { color: var(--muted); font-size: 13px; }

.v-final { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 48px 20px; border-radius: 32px; text-align: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), color-mix(in srgb, var(--violet) 24%, var(--surface))); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); }
.v-final img { filter: drop-shadow(0 0 20px color-mix(in srgb, var(--violet) 60%, transparent)) brightness(1.3); }

.v-pied { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; padding: 24px 16px 40px; color: var(--muted); font-size: 13px; }
.v-pied a { color: var(--muted); }

/* --- tablette et téléphone --- */
@media (max-width: 900px) {
  .v-liens { display: none; }
  .v-actions { margin-left: auto; }
  .v-heros { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 28px; gap: 28px; }
  .v-chapeau { margin: 0 auto; }
  .v-boutons, .v-preuves { justify-content: center; }
  .v-tel { transform: none; }
  .v-cartes, .v-etapes { grid-template-columns: minmax(0, 1fr); }
  .v-formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vitrine main { gap: 52px; }
}
@media (max-width: 420px) {
  .v-actions .v-btn.secondaire { display: none; }
  .v-btn.grand { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .v-carte, .v-btn { transition: none; } }
.v-preuves li { max-width: 150px; line-height: 1.35; }

/* ---------- Boutons de la vitrine (refaits) ---------- */
.v-cta {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 26px 0 30px; border-radius: 20px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; letter-spacing: .01em;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--violet) 40%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s, box-shadow .2s;
}
.v-cta svg { transition: transform .2s; }
.v-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: reflet 3.5s ease-in-out infinite;
}
@keyframes reflet { 0%, 60% { left: -80px; } 100% { left: 110%; } }
.v-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px color-mix(in srgb, var(--violet) 50%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); }
.v-cta:hover svg { transform: translateX(4px); }
.v-cta-2 {
  display: inline-flex; align-items: center; height: 58px; padding: 0 26px; border-radius: 20px; font-weight: 700; font-size: 16px; text-decoration: none; color: var(--text);
  border: 1.5px solid transparent;
  background: linear-gradient(color-mix(in srgb, var(--bg) 85%, transparent), color-mix(in srgb, var(--bg) 85%, transparent)) padding-box, var(--grad) border-box;
  backdrop-filter: blur(10px); transition: transform .2s;
}
.v-cta-2:hover { transform: translateY(-2px); }
.v-deja { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.v-deja a { color: var(--accent-text); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.v-boutons.centre { justify-content: center; }
.v-mini { height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--text); }
.v-mini:hover { background: color-mix(in srgb, var(--surface) 80%, transparent); }
.v-mini.plein { background: var(--grad); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--violet) 35%, transparent); }
@media (max-width: 900px) { .v-deja { text-align: center; } }
@media (max-width: 480px) {
  .v-cta, .v-cta-2 { width: 100%; justify-content: center; }
  .v-mini:not(.plein) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .v-cta::after { animation: none; display: none; } }
/* « Déjà un compte ? Se connecter » en plus gros */
.v-deja { margin-top: 18px; font-size: 18px; }
.v-deja a {
  display: inline-flex; align-items: center; margin-left: 6px; padding: 6px 14px; border-radius: 12px; border-bottom: none; font-size: 18px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.v-deja a:hover { background: color-mix(in srgb, var(--accent) 24%, transparent); }

/* Signature Clai Force (à la place des chiffres) */
.v-force { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; text-decoration: none; color: var(--text); }
.v-force-avs { display: flex; }
.v-force-avs i {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: #fff; background: var(--grad);
  border: 3px solid var(--bg); margin-left: -12px; box-shadow: 0 4px 14px color-mix(in srgb, var(--violet) 35%, transparent);
}
.v-force-avs i:first-child { margin-left: 0; }
.v-force-texte { display: flex; flex-direction: column; line-height: 1.1; }
.v-force-texte small { font-size: 13px; color: var(--muted); }
.v-force-texte b { font-family: 'Space Grotesk', sans-serif; font-size: 28px; letter-spacing: 3px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-force:hover .v-force-avs i { transform: translateY(-2px); transition: transform .2s; }
@media (max-width: 900px) { .v-force { justify-content: center; } }
.v-sos { font-weight: 700; color: #EF4444 !important; }
.v-beta { cursor: default; opacity: .85; }
.v-discord[hidden] { display: none; }
