/* CyclopeVoice : site vitrine, licences et administration. Aucune ressource externe. */
:root {
  --fond: #08070d;
  --fond-2: #0e0c16;
  --verre: rgba(255, 255, 255, 0.045);
  --verre-fort: rgba(255, 255, 255, 0.08);
  --trait: rgba(255, 255, 255, 0.09);
  --trait-fort: rgba(255, 255, 255, 0.18);
  --texte: #f3f1fa;
  --doux: #a9a4bd;
  --pale: #6f6a85;
  --rose: #ff4fa3;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --vert: #34d399;
  --ambre: #fbbf24;
  --rouge: #f87171;
  --degrade: linear-gradient(115deg, var(--rose) 0%, var(--violet) 48%, var(--cyan) 100%);
  --rayon: 22px;
  --ombre: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --police: "Segoe UI Variable Display", "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", Consolas, "SFMono-Regular", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 17px/1.6 var(--police);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(139, 92, 246, 0.45); }

/* --- fond animé --- */
.aurore { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurore::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.aurore span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: flotte 22s ease-in-out infinite alternate; }
.aurore span:nth-child(1) { width: 620px; height: 620px; background: #ff2d95; top: -260px; left: -160px; opacity: 0.35; }
.aurore span:nth-child(2) { width: 560px; height: 560px; background: #6d28d9; top: -120px; right: -180px; animation-delay: -8s; }
.aurore span:nth-child(3) { width: 520px; height: 520px; background: #0891b2; top: 60vh; left: 30%; opacity: 0.25; animation-delay: -15s; }
@keyframes flotte {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.12); }
  100% { transform: translate(-60px, 120px) scale(0.95); }
}

/* --- barre de navigation --- */
.barre {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.barre.defile { background: rgba(8, 7, 13, 0.72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--trait); padding-block: 10px; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu a:not(.bouton) { padding: 8px 14px; border-radius: 999px; color: var(--doux); text-decoration: none; font-size: 15px; transition: color 0.2s, background 0.2s; }
.menu a:not(.bouton):hover, .menu a[aria-current] { color: var(--texte); background: var(--verre-fort); }
.menu-bouton { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.menu-bouton span { display: block; height: 2px; background: var(--texte); border-radius: 2px; margin: 6px 0; transition: transform 0.3s; }
.menu-bouton[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* --- boutons --- */
.bouton {
  --fond-bouton: var(--degrade);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--fond-bouton); background-size: 200% 100%; color: #fff;
  font: 600 16px var(--police); text-decoration: none; letter-spacing: -0.01em;
  box-shadow: 0 10px 40px -10px rgba(255, 79, 163, 0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, background-position 0.6s;
}
.bouton:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 50px -12px rgba(139, 92, 246, 0.7), inset 0 1px 0 rgba(255,255,255,0.3); }
.bouton:active { transform: translateY(0); }
.bouton:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.bouton-petit { padding: 9px 18px; font-size: 14px; }
.bouton-verre { background: var(--verre-fort); box-shadow: inset 0 0 0 1px var(--trait-fort); backdrop-filter: blur(10px); }
.bouton-verre:hover { background: rgba(255,255,255,0.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); }
.bouton-danger { background: rgba(248, 113, 113, 0.14); color: var(--rouge); box-shadow: inset 0 0 0 1px rgba(248,113,113,0.35); }
.bouton-danger:hover { background: rgba(248, 113, 113, 0.22); box-shadow: inset 0 0 0 1px rgba(248,113,113,0.6); }
.bouton svg { width: 18px; height: 18px; }

/* --- mise en page --- */
.section { padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 64px); max-width: 1240px; margin: 0 auto; }
.section-etroite { max-width: 860px; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.surtitre::before { content: ""; width: 22px; height: 2px; background: var(--degrade); border-radius: 2px; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 750; }
h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 720; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }
.degrade { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: brille 8s linear infinite; }
@keyframes brille { to { background-position: 200% center; } }
.chapeau { font-size: clamp(18px, 1.6vw, 21px); color: var(--doux); max-width: 640px; margin: 22px 0 0; }
.centre { text-align: center; }
.centre .chapeau { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.centre .actions { justify-content: center; }

/* --- héros --- */
.heros { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; min-height: calc(100vh - 80px); padding-top: 40px; }
.pastille-info {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: var(--verre); border: 1px solid var(--trait); font-size: 14px; color: var(--doux); margin-bottom: 26px;
}
.pastille-info b { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); color: var(--vert); font-weight: 600; font-size: 13px; }
.point-vivant { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.heros-visuel { position: relative; }
.heros-visuel > img { width: 100%; filter: drop-shadow(0 40px 80px rgba(139, 92, 246, 0.35)); animation: levite 7s ease-in-out infinite; }
@keyframes levite { 50% { transform: translateY(-14px); } }
.demo-frappe {
  position: absolute; left: 13%; right: 13%; top: 30.5%;
  font: 500 clamp(13px, 1.25vw, 17px)/1.55 var(--police); color: #e9e6f5; min-height: 5.5em;
}
.demo-frappe:not(.propre) [data-demo-texte] { color: #9d97b5; font-style: italic; }
.demo-frappe .etat { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; font: 600 11px var(--police); letter-spacing: .12em; text-transform: uppercase; background: rgba(255,79,163,.15); color: var(--rose); }
.demo-frappe.propre .etat { background: rgba(52,211,153,.15); color: var(--vert); }
.demo-frappe .etat::after { content: "Dictée en cours"; }
.demo-frappe.propre .etat::after { content: "Texte inséré"; }
.demo-frappe .curseur { display: inline-block; width: 2px; height: 1.1em; background: var(--rose); vertical-align: -0.18em; margin-left: 2px; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.preuves { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; color: var(--pale); font-size: 14px; }
.preuves span { display: inline-flex; align-items: center; gap: 8px; }
.preuves svg { width: 18px; height: 18px; color: var(--vert); }

/* --- défilé d'applications --- */
.defile-applis { border-block: 1px solid var(--trait); padding: 26px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defile-applis div { display: flex; gap: 64px; width: max-content; animation: defile 38s linear infinite; }
.defile-applis span { font-size: 22px; font-weight: 650; color: var(--pale); letter-spacing: -0.02em; white-space: nowrap; }
@keyframes defile { to { transform: translateX(-50%); } }

/* --- confidentialité --- */
.confidentialite { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.confidentialite-visuel img { width: 100%; }
.garanties { display: grid; gap: 14px; margin-top: 34px; }
.garantie { display: flex; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--verre); border: 1px solid var(--trait); transition: border-color .3s, transform .3s; }
.garantie:hover { border-color: rgba(52, 211, 153, 0.4); transform: translateX(6px); }
.garantie .icone { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(52, 211, 153, 0.12); color: var(--vert); }
.garantie .icone svg { width: 22px; height: 22px; }
.garantie b { display: block; font-size: 16.5px; margin-bottom: 2px; }
.garantie p { margin: 0; color: var(--doux); font-size: 15px; }

.comparatif { margin-top: 70px; border-radius: var(--rayon); border: 1px solid var(--trait); overflow: hidden; background: var(--verre); }
.comparatif table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.comparatif th, .comparatif td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--trait); }
.comparatif tr:last-child td { border-bottom: 0; }
.comparatif th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pale); font-weight: 600; }
.comparatif td:nth-child(3) { color: var(--vert); font-weight: 600; background: rgba(52, 211, 153, 0.05); }
.comparatif td:nth-child(2) { color: var(--doux); }
.comparatif th:nth-child(3) { color: var(--vert); background: rgba(52, 211, 153, 0.05); }

/* --- grille de fonctions (bento) --- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 60px; }
.carte {
  position: relative; padding: 30px; border-radius: var(--rayon); background: var(--verre); border: 1px solid var(--trait);
  overflow: hidden; isolation: isolate; transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s;
}
.carte::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--x, 50%) var(--y, 0%), rgba(139, 92, 246, 0.18), transparent 45%);
}
.carte:hover { transform: translateY(-4px); border-color: var(--trait-fort); }
.carte:hover::before { opacity: 1; }
.carte p { color: var(--doux); margin: 10px 0 0; font-size: 15.5px; }
.carte .icone { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: var(--verre-fort); border: 1px solid var(--trait); }
.carte .icone svg { width: 24px; height: 24px; }
.c-3 { grid-column: span 3; } .c-2 { grid-column: span 2; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; }
.carte-image { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.carte-image img { border-radius: 16px; }
.touches { display: flex; gap: 8px; margin-top: 18px; }
kbd, .kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; padding: 6px 12px; border-radius: 10px;
  font: 600 14px var(--mono); background: linear-gradient(#211d30, #16131f); border: 1px solid var(--trait-fort); box-shadow: 0 3px 0 #05040a; color: var(--texte);
}
.avant-apres { display: grid; gap: 12px; margin-top: 18px; font-size: 15px; }
.avant-apres div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--trait); }
.avant-apres .avant { color: var(--pale); text-decoration: line-through rgba(248,113,113,0.6); }
.avant-apres .apres { color: var(--texte); background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.35); }
.avant-apres small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--pale); margin-bottom: 4px; text-decoration: none; }

/* --- étapes --- */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; counter-reset: etape; }
.etape { padding: 30px; border-radius: var(--rayon); border: 1px solid var(--trait); background: linear-gradient(180deg, var(--verre-fort), transparent); }
.etape::before { counter-increment: etape; content: "0" counter(etape); display: block; font: 700 46px var(--police); letter-spacing: -0.04em; margin-bottom: 14px; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.etape p { color: var(--doux); margin: 8px 0 0; }

/* --- tarifs --- */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; align-items: stretch; }
.tarif { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--rayon); background: var(--verre); border: 1px solid var(--trait); }
.tarif.vedette { position: relative; background: linear-gradient(var(--fond-2), var(--fond-2)) padding-box, var(--degrade) border-box; border: 1px solid transparent; box-shadow: 0 30px 90px -30px rgba(139, 92, 246, 0.55); }
.tarif.vedette::after { content: "Le plus complet"; position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--degrade); font-size: 12px; font-weight: 700; }
.tarif .prix { font-size: 54px; font-weight: 760; letter-spacing: -0.04em; margin: 18px 0 4px; }
.tarif .prix small { font-size: 16px; color: var(--doux); font-weight: 500; letter-spacing: 0; }
.tarif .sous { color: var(--doux); font-size: 15px; margin: 0 0 24px; }
.tarif ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; flex: 1; }
.tarif li { display: flex; gap: 10px; font-size: 15.5px; }
.tarif li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(52,211,153,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* --- questions --- */
.faq { margin-top: 50px; display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--trait); background: var(--verre); transition: border-color .3s; }
.faq details[open] { border-color: var(--trait-fort); }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--rose); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--doux); }

/* --- appel final --- */
.appel { text-align: center; padding: clamp(50px, 8vw, 90px) 30px; border-radius: 32px; position: relative; overflow: hidden; background: radial-gradient(ellipse at top, rgba(139,92,246,0.3), transparent 60%), var(--verre); border: 1px solid var(--trait-fort); }
.appel .onde-fond { position: absolute; inset: auto 0 0 0; opacity: 0.35; }

/* --- formulaires --- */
.panneau { padding: clamp(26px, 4vw, 40px); border-radius: var(--rayon); background: rgba(14, 12, 22, 0.75); border: 1px solid var(--trait); backdrop-filter: blur(16px); box-shadow: var(--ombre); }
.onglets { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--verre); border: 1px solid var(--trait); margin-bottom: 28px; }
.onglets button { border: 0; background: none; color: var(--doux); font: 600 15px var(--police); padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.onglets button[aria-selected="true"] { background: var(--verre-fort); color: var(--texte); box-shadow: inset 0 0 0 1px var(--trait-fort); }
[role="tabpanel"][hidden] { display: none; }
.champ { display: grid; gap: 8px; margin-bottom: 20px; }
.champ label, .legende { font-weight: 600; font-size: 14.5px; }
.champ small { color: var(--pale); font-size: 13.5px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--trait-fort); background: rgba(0,0,0,0.3); color: var(--texte);
  font: 16px var(--police); transition: border-color .2s, box-shadow .2s; outline: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2); }
.code-pc { font: 600 20px var(--mono) !important; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }
.choix-editions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.choix-editions label { position: relative; display: block; padding: 18px; border-radius: 16px; border: 1px solid var(--trait-fort); cursor: pointer; transition: border-color .2s, background .2s; }
.choix-editions input { position: absolute; opacity: 0; }
.choix-editions label:has(input:checked) { border-color: var(--violet); background: rgba(139, 92, 246, 0.12); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); }
.choix-editions b { display: block; font-size: 17px; }
.choix-editions span { color: var(--doux); font-size: 15px; }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--doux); margin: 6px 0 24px; }
.case input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--violet); }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message { padding: 16px 20px; border-radius: 16px; margin: 0 0 22px; font-size: 15.5px; border: 1px solid; }
.message-ok { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.35); color: #b8f5dc; }
.message-erreur { background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.35); color: #fecaca; }
.message-info { background: rgba(34, 211, 238, 0.07); border-color: rgba(34, 211, 238, 0.3); color: #bdf3fb; }
.licence-bloc { margin-top: 18px; padding: 20px; border-radius: 16px; background: rgba(0,0,0,0.35); border: 1px dashed var(--trait-fort); }
.licence-bloc code { display: block; font: 14.5px/1.7 var(--mono); word-break: break-all; user-select: all; color: #e6defd; margin-bottom: 14px; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.etapes-licence { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: e; }
.etapes-licence li { position: relative; padding-left: 40px; min-height: 26px; color: var(--doux); font-size: 15.5px; }
.etapes-licence li::before { counter-increment: e; content: counter(e); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--verre-fort); border: 1px solid var(--trait-fort); color: var(--texte); }

/* --- suivi de commande --- */
.frise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 30px 0; }
.frise div { position: relative; padding-top: 22px; font-size: 14.5px; color: var(--pale); }
.frise div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: var(--trait); }
.frise div.fait { color: var(--texte); }
.frise div.fait::before { background: var(--degrade); }
.frise div.encours::before { background: linear-gradient(90deg, var(--violet), transparent); animation: avance 1.6s ease-in-out infinite alternate; }
@keyframes avance { from { opacity: .4; } to { opacity: 1; } }
.infos { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 15.5px; margin: 0; }
.infos dt { color: var(--pale); }
.infos dd { margin: 0; }

/* --- page de téléchargement --- */
.telechargement { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.config-requise { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.config-requise li { display: flex; gap: 12px; align-items: center; color: var(--doux); }
.config-requise svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }

/* --- texte long --- */
.texte-long h2 { font-size: 30px; margin: 46px 0 12px; }
.texte-long p, .texte-long li { color: var(--doux); }
.texte-long strong { color: var(--texte); }

/* --- pied --- */
.pied { border-top: 1px solid var(--trait); padding: 60px clamp(20px, 5vw, 64px) 34px; margin-top: 60px; background: linear-gradient(transparent, rgba(0,0,0,0.4)); }
.pied-grille { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.pied p { color: var(--pale); font-size: 15px; }
.pied h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--pale); }
.pied-grille a:not(.marque) { display: block; color: var(--doux); text-decoration: none; font-size: 15px; margin-bottom: 8px; }
.pied-grille a:hover { color: var(--texte); }
.pied-note { max-width: 1240px; margin: 40px auto 0 !important; padding-top: 24px; border-top: 1px solid var(--trait); font-size: 13.5px !important; }

/* --- apparition au défilement --- */
.js .revele { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--delai, 0s); }
.js .revele.visible { opacity: 1; transform: none; }

/* --- administration --- */
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-cote { position: sticky; top: 0; height: 100vh; padding: 26px 18px; border-right: 1px solid var(--trait); background: rgba(8,7,13,0.75); backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 6px; }
.admin-cote .marque { margin: 0 10px 26px; }
.admin-cote a, .admin-cote button { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--doux); text-decoration: none; font: 500 15px var(--police); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.admin-cote a:hover, .admin-cote a[aria-current], .admin-cote button:hover { background: var(--verre-fort); color: var(--texte); }
.admin-cote svg { width: 19px; height: 19px; }
.admin-cote .bas { margin-top: auto; }
.admin-cote .compteur { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 12px; font-weight: 700; }
.admin-corps { padding: 34px clamp(20px, 4vw, 50px); max-width: 1300px; width: 100%; }
.admin-corps h1 { font-size: 34px; margin-bottom: 26px; }
.admin-corps h2 { font-size: 22px; margin: 34px 0 14px; letter-spacing: -0.02em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { padding: 22px; border-radius: 18px; background: var(--verre); border: 1px solid var(--trait); }
.stat span { color: var(--pale); font-size: 13.5px; }
.stat b { display: block; font-size: 34px; letter-spacing: -0.03em; margin-top: 6px; }
.stat.chaud { border-color: rgba(255, 79, 163, 0.45); background: rgba(255, 79, 163, 0.07); }
.tableau { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--verre); border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; }
.tableau th, .tableau td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--pale); font-weight: 600; background: rgba(255,255,255,0.02); }
.tableau tr:last-child td { border-bottom: 0; }
.tableau tbody tr { transition: background .2s; }
.tableau tbody tr:hover { background: rgba(255,255,255,0.03); }
.tableau a { color: var(--texte); }
.mono { font-family: var(--mono); font-size: 13.5px; }
.etiquette { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.e-attente { background: rgba(251, 191, 36, 0.14); color: var(--ambre); }
.e-payee { background: rgba(139, 92, 246, 0.18); color: #c4b5fd; }
.e-livree { background: rgba(52, 211, 153, 0.14); color: var(--vert); }
.e-annulee { background: rgba(255,255,255,0.07); color: var(--pale); }
.e-expire { background: rgba(255,255,255,0.07); color: var(--pale); }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; align-items: center; }
.filtres a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--trait); color: var(--doux); text-decoration: none; font-size: 14px; }
.filtres a[aria-current] { background: var(--verre-fort); color: var(--texte); border-color: var(--trait-fort); }
.filtres form { margin-left: auto; display: flex; gap: 8px; }
.filtres input { padding: 8px 14px; border-radius: 999px; width: 240px; }
.grille-admin { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.ligne-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.commande-gen { display: flex; gap: 10px; align-items: center; margin: 10px 0 16px; }
.commande-gen code { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,0.4); border: 1px solid var(--trait); font: 13.5px var(--mono); overflow-x: auto; white-space: nowrap; }
.connexion { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.connexion .panneau { width: 100%; max-width: 420px; }
.h-connexion { font-size: 30px !important; margin: 26px 0 20px !important; }
.connexion-texte { color: var(--doux, #a9a3bd); margin: -8px 0 20px; }
.connexion .champ + .champ { margin-top: 14px; }
.connexion form .bouton { margin-top: 20px; }
.vide { padding: 40px; text-align: center; color: var(--pale); border: 1px dashed var(--trait-fort); border-radius: 16px; }

/* --- couleurs d'icônes et détails --- */
.t-rose { color: var(--rose); } .t-cyan { color: var(--cyan); } .t-violet { color: var(--violet); }
.t-ambre { color: var(--ambre); } .t-vert { color: var(--vert); }
.note-touche { color: var(--pale); align-self: center; font-size: 15px; }
.onde-carte { height: 150px; width: 100%; object-fit: cover; }

/* --- adaptatif --- */
@media (max-width: 980px) {
  .heros, .confidentialite, .telechargement, .grille-admin, .carte-image { grid-template-columns: 1fr; }
  .heros { min-height: 0; text-align: center; }
  .heros .actions, .heros .preuves { justify-content: center; }
  .heros .chapeau { margin-inline: auto; }
  .confidentialite-visuel { order: -1; max-width: 520px; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-2, .c-3, .c-4, .c-6 { grid-column: span 2; }
  .etapes, .tarifs { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-grille > div:first-child { grid-column: span 2; }
  .admin { grid-template-columns: 1fr; }
  .admin-cote { position: static; height: auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--trait); }
  .admin-cote .marque { width: 100%; margin-bottom: 10px; }
  .admin-cote a, .admin-cote button { width: auto; }
  .admin-cote .bas { margin-top: 0; }
}
@media (max-width: 760px) {
  .menu-bouton { display: block; }
  .menu { position: fixed; inset: 70px 16px auto; flex-direction: column; align-items: stretch; padding: 14px; border-radius: 20px; background: rgba(14, 12, 22, 0.96); border: 1px solid var(--trait-fort); backdrop-filter: blur(20px); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .menu.ouvert { opacity: 1; transform: none; pointer-events: auto; }
  .menu a { text-align: center; }
  .bento { grid-template-columns: 1fr; }
  .c-2, .c-3, .c-4, .c-6 { grid-column: span 1; }
  .deux-colonnes, .choix-editions, .frise { grid-template-columns: 1fr; }
  .comparatif { overflow-x: auto; }
  .comparatif table { min-width: 560px; }
  .tableau { display: block; overflow-x: auto; }
}
/* --- Assistant (questions-réponses, sans IA, rien n'est envoyé) --- */
.assistant { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; font-family: var(--police); }
.assistant-bouton {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 9px; border-radius: 999px; cursor: pointer;
  color: var(--texte); font: 600 15px var(--police); background: rgba(14, 12, 22, 0.82); border: 1px solid var(--trait-fort);
  backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(139, 92, 246, 0.7); transition: transform .25s, box-shadow .25s;
  animation: assistant-pouls 3.2s ease-in-out infinite;
}
.assistant-bouton img { border-radius: 9px; }
.assistant-bouton:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -14px rgba(255, 79, 163, 0.75); }
.assistant.ouvert .assistant-bouton { animation: none; }
.assistant.ouvert .assistant-bouton span { display: none; }
.assistant.ouvert .assistant-bouton { padding: 9px; }
@keyframes assistant-pouls { 0%, 100% { box-shadow: 0 18px 40px -16px rgba(139, 92, 246, 0.7); } 50% { box-shadow: 0 18px 46px -10px rgba(34, 211, 238, 0.55); } }

.assistant-fenetre {
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column;
  border-radius: var(--rayon); background: rgba(12, 10, 20, 0.92); border: 1px solid var(--trait-fort);
  backdrop-filter: blur(20px); box-shadow: var(--ombre), 0 0 0 1px rgba(139, 92, 246, 0.12); overflow: hidden;
  transform-origin: bottom right; animation: assistant-entree .28s cubic-bezier(.2, .9, .3, 1.2);
}
.assistant-fenetre[hidden] { display: none; }
@keyframes assistant-entree { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.assistant-tete { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--trait);
  background: linear-gradient(115deg, rgba(255, 79, 163, 0.16), rgba(139, 92, 246, 0.12) 50%, rgba(34, 211, 238, 0.1)); }
.assistant-tete img { border-radius: 10px; flex: none; }
.assistant-tete div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.assistant-tete strong { font-size: 15px; }
.assistant-tete span { font-size: 12px; color: var(--doux); }
.assistant-fermer { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--trait); background: var(--verre); color: var(--texte); font-size: 20px; line-height: 1; cursor: pointer; }
.assistant-fermer:hover { background: var(--verre-fort); }

.assistant-fil { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.assistant-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; animation: assistant-msg .25s ease-out; }
@keyframes assistant-msg { from { opacity: 0; transform: translateY(6px); } }
.assistant-msg.de-lui { align-self: flex-start; background: var(--verre-fort); border: 1px solid var(--trait); border-bottom-left-radius: 6px; }
.assistant-msg.de-moi { align-self: flex-end; background: var(--degrade); color: #fff; border-bottom-right-radius: 6px; }
.assistant-msg a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.assistant-msg.ecrit { display: inline-flex; gap: 5px; padding: 14px 16px; }
.assistant-msg.ecrit span { width: 7px; height: 7px; border-radius: 50%; background: var(--doux); animation: assistant-points 1s infinite ease-in-out; }
.assistant-msg.ecrit span:nth-child(2) { animation-delay: .15s; }
.assistant-msg.ecrit span:nth-child(3) { animation-delay: .3s; }
@keyframes assistant-points { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

.assistant-puces { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.assistant-puces:empty { display: none; }
.assistant-puce { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.1);
  color: var(--texte); font: 500 12.5px var(--police); cursor: pointer; text-align: left; transition: background .2s, border-color .2s; }
.assistant-puce:hover { background: rgba(139, 92, 246, 0.25); border-color: var(--violet); }

.assistant-saisie { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--trait); }
.assistant-saisie input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--trait-fort); background: rgba(0, 0, 0, 0.3); color: var(--texte); font: 14px var(--police); }
.assistant-saisie input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25); }
.assistant-saisie button { width: 44px; flex: none; border-radius: 12px; border: 0; background: var(--degrade); color: #fff; cursor: pointer; display: grid; place-items: center; }
.assistant-saisie button svg { width: 20px; height: 20px; }
.assistant-note { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--pale); text-align: center; }

@media (max-width: 560px) {
  .assistant { right: 12px; bottom: 12px; left: 12px; }
  .assistant-fenetre { width: 100%; height: min(560px, calc(100vh - 96px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .revele { opacity: 1; transform: none; }
}

/* Case « Je ne suis pas un robot » (prive/captcha.php) */
.captcha { margin: 2px 0 20px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--trait-fort); background: var(--verre); }
.captcha .case { margin: 0; color: var(--texte); }
.captcha [data-captcha-etat] { color: var(--pale); }
.captcha-ok { border-color: rgba(52, 211, 153, 0.5); }
.captcha-ok [data-captcha-etat] { color: var(--vert); }
.connexion .captcha { margin-top: 14px; }

/* Bouton « Se déconnecter » de la barre de navigation (compte client connecté) */
.menu-sortie { display: contents; }
.menu a, .menu .bouton { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 761px) {
  .menu-sortie-texte { display: none; }  /* icône seule : la barre reste sur une ligne */
  .menu a:not(.bouton) { padding: 8px 10px; }
}
.ligne-newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin: 4px 0 18px; border-radius: 14px; border: 1px solid var(--trait-fort); background: var(--verre); color: var(--doux); }

/* Mon compte : blocs successifs, zone de suppression du compte */
.section-etroite .panneau + .panneau { margin-top: 18px; }
.zone-danger { margin-top: 22px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(248, 113, 113, 0.3); }
.zone-danger summary { cursor: pointer; color: var(--rouge); font-weight: 600; }
.zone-danger[open] summary { margin-bottom: 12px; }

/* Politique de confidentialité : tableau des traitements, champs encore à remplir dans config.php */
.tableau-defile { overflow-x: auto; margin: 10px 0 18px; }
.tableau-rgpd { min-width: 640px; font-size: 14.5px; }
.tableau-rgpd td { vertical-align: top; }
.a-completer { color: var(--ambre); font-weight: 600; }
.case-ligne { margin: 0 18px 0 0; }

/* Panneau → Licences : une carte par client */
.client-licences { margin-bottom: 18px; }
.client-licences h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 0; }
.client-licences h2 small { font-size: 14px; font-weight: 400; color: var(--doux); }
.licence-cellule { display: flex; align-items: center; gap: 8px; }
.licence-cellule code { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.filtres .separateur { width: 1px; align-self: stretch; background: var(--trait-fort); margin: 0 6px; }

/* Télécharger : dictionnaires prêts à l'emploi */
.filtres-dicos { display: none; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 8px; }
.js .filtres-dicos { display: flex; }  /* sans JavaScript : tous les dictionnaires, sans filtre */
.filtres-titre { color: var(--pale); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-right: 4px; }
.filtre { font: inherit; font-size: 14px; color: var(--doux); background: var(--verre); border: 1px solid var(--trait); border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.filtre span { color: var(--pale); margin-left: 4px; font-size: 12.5px; }
.filtre:hover { color: var(--texte); border-color: var(--trait-fort); }
.filtre.actif { color: var(--texte); background: rgba(139, 92, 246, 0.18); border-color: rgba(139, 92, 246, 0.55); }
.filtre.actif span { color: var(--doux); }
.filtre:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.groupe-dicos { margin-top: 26px; }
.groupe-dicos[hidden], .ligne-dico[hidden] { display: none; }
.groupe-titre { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 18px; }
.groupe-titre span { font-size: 13px; font-weight: 600; color: var(--pale); }
.liste-dicos { list-style: none; margin: 0; padding: 0; border: 1px solid var(--trait); border-radius: var(--rayon); background: rgba(14, 12, 22, 0.75); overflow: hidden; }
.ligne-dico { display: flex; align-items: center; gap: 18px; padding: 16px 22px; }
.ligne-dico + .ligne-dico { border-top: 1px solid var(--trait); }
.ligne-dico:hover { background: var(--verre); }
.ligne-dico-texte { flex: 1; min-width: 0; }
.ligne-dico-nom { display: flex; align-items: center; gap: 10px; }
.ligne-dico-nom svg { width: 20px; height: 20px; color: var(--violet); flex: none; }
.ligne-dico-texte p { margin: 4px 0 2px; color: var(--doux); font-size: 14.5px; }
.ligne-dico-texte small { color: var(--pale); }
.etiquette-langue { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.ligne-dico .bouton { flex: none; }
@media (max-width: 560px) {
  .ligne-dico { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
}

/* Mon compte : licence payante et transfert vers un autre PC */
.licence-commande { margin: 14px 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--trait); }
.licence-commande .licence-bloc { margin-top: 8px; }
.ligne-commande { margin: 0 0 6px; }
.transfert summary { list-style: none; display: inline-flex; cursor: pointer; margin-top: 12px; }
.transfert summary::-webkit-details-marker { display: none; }
.formulaire-transfert { margin-top: 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--trait); background: var(--verre); }
/* Panneau : transferts de licence */
.transfert-admin { margin-bottom: 18px; }
.refus-transfert { margin-top: 12px; }
.refus-transfert input { flex: 1; min-width: 220px; }

/* Accueil : les trois modes (couleurs du logo de l'application : vert local, bleu intranet, orange en ligne) */
.garantie.mode-local .icone { background: rgba(34, 197, 94, 0.14); color: #22c55e; }
.garantie.mode-intranet .icone { background: rgba(59, 130, 246, 0.16); color: #60a5fa; }
.garantie.mode-ligne .icone { background: rgba(249, 115, 22, 0.16); color: #fb923c; }
