/* ===================================
   VARIABLES CSS — Brand Cumulus
   ===================================*/
:root {
  --bg: #ffffff;
  --bg-2: #f8f7ff;
  --bg-3: #f0edff;
  --panel: #ffffff;
  --line: #e4e0f7;
  --text: #0f1430;
  --muted: #5c647a;

  /* Brand purple */
  --primary-dark: #22113d;
  --primary-purple: #6d4d9a;
  --accent-purple: #612cff;
  --accent-light: rgba(97, 44, 255, 0.06);

  /* Dégradés */
  --gradient-brand: linear-gradient(135deg, #7a00ff, #240b6e);
  --gradient-hero-glow:
    radial-gradient(circle at 15% 35%, rgba(97,44,255,.06), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(109,77,154,.05), transparent 30%),
    radial-gradient(circle at 50% 85%, rgba(97,44,255,.04), transparent 40%);

  /* Ombres */
  --shadow: 0 8px 32px rgba(15,20,48,.07);
  --shadow-sm: 0 4px 12px rgba(15,20,48,.04);
  --shadow-button: 0 8px 20px rgba(97,44,255,.25);
  --shadow-hover: 0 20px 60px rgba(97,44,255,.2);

  /* Rayon & espacement */
  --radius: 20px;
  --radius-sm: 12px;
  --gap: 20px;
  --max: 1180px;
}

/* ===================================
   RESET & BASE
   =================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Glow ambiant subtil */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background: var(--gradient-hero-glow);
  pointer-events: none;
}

a { text-decoration: none; color: inherit; }
h1, h2, h3, p { margin: 0; }

/* ===================================
   LAYOUT
   =================================== */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.section { padding: 88px 0; }

/* ===================================
   TYPOGRAPHIE
   =================================== */
.page-h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  font-family: "LtpEB", Inter, sans-serif;
  background: linear-gradient(180deg, #0f1430 0%, #3b2c6e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  font-family: "LtpEB", Inter, sans-serif;
  color: #0f1430;
  margin-bottom: 14px;
}

h2 span { color: var(--accent-purple); }
h3 { margin: .2em 0 .4em; font-weight: 700; }

.lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--muted);
}

/* ===================================
   EYEBROW TAG
   =================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: #5c647a;
  font-size: 13px;
  font-weight: 600;
  margin-top: 20px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

/* ===================================
   BOUTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: var(--gradient-brand);
  color: #fff;
  border-color: #120851cc;
  box-shadow: var(--shadow-button);
  text-decoration: none;
}
.btn.primary:hover { box-shadow: 0 12px 32px rgba(97,44,255,.35); }

.btn-outline {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { background: var(--bg-2); }

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  padding: 56px 0 0;
  text-align: left;
  background: linear-gradient(180deg, #f3f0fb 0%, #f8f7ff 55%, #ffffff 100%);
  overflow: hidden;
}

/* Sphères décoratives flottantes */
.hero-spheres {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sphere {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #d4c4ff 0%, #b79bff 35%, #8c5bff 70%, #6d3fe0 100%);
  opacity: .8;
  animation: floatSphere 9s ease-in-out infinite;
}
.sphere-1 { width: 150px; height: 150px; top: -4%; right: 2%; }
.sphere-2 { width: 64px;  height: 64px;  top: 42%; right: 16%; opacity: .5; animation-delay: -3s; }
.sphere-3 { width: 100px; height: 100px; bottom: 18%; left: -36px; opacity: .3; animation-delay: -6s; }

@keyframes floatSphere {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

/* Grille 2 colonnes : slogan / connexion */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-inner .page-h1 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.hero-inner .lead {
  max-width: 54ch;
}

/* Pill badge */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(97, 44, 255, .08);
  border: 1px solid rgba(97, 44, 255, .18);
  color: var(--accent-purple);
  font-size: 13px;
  font-weight: 700;
}

/* Mot rotatif du slogan */
.rotator {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.05em;
  white-space: nowrap;
  transition: width .35s ease;
}

.rotator-word {
  display: inline-block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rotator-word.slide-out { animation: rotOut .4s ease forwards; }
.rotator-word.slide-in  { animation: rotIn  .4s ease forwards; }

@keyframes rotOut {
  to { transform: translateY(-110%); opacity: 0; }
}
@keyframes rotIn {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .rotator { transition: none; }
  .rotator-word.slide-out,
  .rotator-word.slide-in,
  .sphere { animation: none; }
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}
.trust-bar span { display: flex; align-items: center; gap: 6px; }

/* ===================================
   CAROUSEL DE LOGOS
   =================================== */
.logos-wrap {
  width: 100%;
  margin: 40px 0 0;
}

.logos-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.track {
  display: flex;
  gap: clamp(12px, 4vw, 32px);
  align-items: center;
  width: max-content;
  animation: scroll 30s linear infinite;
  padding: 12px 0;
}

.track img {
  height: 30px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.carousel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px 8px 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.logos-marquee:hover .track { animation-play-state: paused; }

/* ===================================
   BOX CONNEXION (dans le hero)
   =================================== */
/* Neutralise les styles génériques #connexion (pages inscription/recovery) */
#connexion.hero-login {
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.connexion-card {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  width: 100%;
}

.connexion-card h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-family: "LtpR", Inter, sans-serif;
  color: var(--primary-dark);
}

.connexion-card form {
  display: flex;
  flex-direction: column;
}

.connexion-card label {
  margin: 10px 0 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.connexion-card input[type="text"],
.connexion-card input[type="password"],
.connexion-card input[type="email"] {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.connexion-card input[type="text"]:focus,
.connexion-card input[type="password"]:focus,
.connexion-card input[type="email"]:focus {
  border-color: var(--accent-purple);
}

.connexion-card input[type="submit"] {
  margin-top: 16px;
  height: 46px;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  font-family: inherit;
  box-shadow: var(--shadow-button);
}
.connexion-card input[type="submit"]:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn_3 {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
#Link_1, #Link_1:visited { color: var(--accent-purple); }
#Link_1:hover { text-decoration: underline; }

/* Messages retour login (?error / ?msg) */
.form-msg {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
}
.form-msg-error {
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #b91c1c;
}
.form-msg-info {
  background: #eef4fd;
  border: 1px solid #c4d9f5;
  color: #1d4ed8;
}

/* Utilisateur déjà connecté */
.connexion-card .logged-in-msg {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ===================================
   SECTION FEATURES — BENTO GRID
   =================================== */
.features-section { padding: 48px 0; }

.features-section > .container > .lead {
  margin-bottom: 48px;
  max-width: 56ch;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.bento-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.bento-card.large { grid-column: span 2; }

.bento-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--purple-primary, #7200ff);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 20px;
  line-height: 1.4;
}

.bento-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bento-card h3 {
  font-size: 18px;
  color: var(--primary-dark);
  font-weight: 700;
  margin: 0;
}

.bento-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ===================================
   SECTION MCP SHOWCASE — Premium
   =================================== */
.mcp-showcase {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
}

.mcp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f3eeff;
  border: 1px solid #e4dcff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #6d4d9a;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
.mcp-eyebrow-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.mcp-title {
  font-size: clamp(24px, 3.2vw, 34px);
  color: var(--primary-dark);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}

.mcp-lead {
  max-width: 64ch;
  margin-bottom: 36px;
}

.mcp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
}

.mcp-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mcp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 77, 154, .35);
  box-shadow: 0 14px 36px rgba(109, 77, 154, .18);
}

.mcp-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f2ff 100%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mcp-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mcp-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.mcp-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1100px) {
  .mcp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .mcp-grid { grid-template-columns: repeat(2, 1fr); }
  .mcp-showcase { padding: 48px 0 32px; }
}
@media (max-width: 480px) {
  .mcp-grid { grid-template-columns: 1fr; }
}

/* ===================================
   SECTION ABOUT — Édito
   =================================== */
.about-section { padding: 56px 0 24px; }

.about-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about-inner h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  margin-bottom: 22px;
  text-align: left;

}

.about-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 16px;
  text-align: left;
}

.about-inner p strong { color: var(--primary-dark); }

/* Lien article — style citation */
.about-article-link {
  text-align: left;
  border-left: 3px solid var(--accent-purple);
  padding: 6px 0 6px 16px;
  margin-top: 24px;
}

.about-article-link a {
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  color: var(--accent-purple);
}

.about-article-link a:hover { text-decoration: underline; }

/* ===================================
   SECTION PRIVACY
   =================================== */
.privacy-section { padding: 48px 0; }

.privacy-banner {
  background: linear-gradient(135deg, #f5f0ff, #ede8ff);
  border: 1px solid #d4c8f7;
  border-radius: 32px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-banner h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.privacy-banner .lead { color: #4a3d7a; }

.privacy-checks { display: flex; flex-direction: column; gap: 22px; }

.check-item { display: flex; gap: 16px; align-items: flex-start; }

.check-icon {
  min-width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(97,44,255,.3);
  flex-shrink: 0;
}

.check-content strong {
  display: block;
  color: var(--primary-dark);
  font-size: 15px;
  margin-bottom: 3px;
  font-weight: 700;
}
.check-content span {
  color: #4a3d7a;
  font-size: 14px;
  line-height: 1.55;
}

/* Section éco */
.eco-section { padding: 0 0 32px; }

/* Carte éco — impact environnemental */
.eco-card {
  margin-top: 0;
  background: #e8f5ec;
  border: 1px solid #cbe7d4;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.eco-emoji { font-size: 34px; flex-shrink: 0; }

.eco-card h3 {
  color: #1c5c34;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.eco-card p {
  color: #2f6b47;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.eco-card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1c5c34;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===================================
   SECTION FAQ
   =================================== */
.faq-section { padding: 88px 0; text-align: center; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 760px;
  margin: 44px auto 0;
  text-align: left;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 10px;
}

.faq-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ===================================
   CTA BAND
   =================================== */
.cta-band-section { padding: 48px 0 72px; }

.cta-band {
  background: linear-gradient(135deg, rgba(97,44,255,.07), rgba(97,44,255,.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}

.cta-band h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--primary-dark);
  margin: 0 0 4px;
}

.cta-band p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.btn-doc { text-decoration: none; }

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.large { grid-column: span 1; }
  .privacy-banner { grid-template-columns: 1fr; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  #connexion.hero-login { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; }
  .privacy-banner { padding: 32px 24px; border-radius: 20px; }
  .cta-band { padding: 24px; }
  .connexion-card { padding: 28px 24px; }
  .hero { padding-top: 40px; }
  .hero-inner .page-h1 { font-size: clamp(30px, 8vw, 44px); }
  .sphere-1 { width: 90px; height: 90px; }
  .sphere-3 { display: none; }
  .eco-card { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ===================================
   PAGE confirm email (conservé)
   =================================== */
.banniere {
  margin: 100px auto 0;
  text-align: center;
  color: rgb(55,55,55);
}

/* ===================================
   SHARED — page-wrapper
   (inscription, password-recovery, etc.)
   =================================== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===================================
   SHARED — Section #connexion générique
   (inscription.php, password-recovery.php,
    finalrecovery_psw.php)
   =================================== */
#connexion {
  margin: 0 auto;
  max-width: 460px;
  padding: 20px 28px 32px;
}

#connexion h2 {
  font-size: 2rem;
  font-family: "LtpR", Inter, sans-serif;
  color: var(--primary-dark);
  margin-bottom: 8px;
  text-transform: none;
}

#connexion form {
  display: flex;
  flex-direction: column;
}

#connexion label {
  margin: 12px 0 5px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: var(--primary-dark);
}

#connexion input[type="text"],
#connexion input[type="password"],
#connexion input[type="email"] {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

#connexion input[type="text"]:focus,
#connexion input[type="password"]:focus,
#connexion input[type="email"]:focus {
  border-color: var(--accent-purple);
}

#connexion input[type="submit"],
#connexion button[type="submit"],
#submitBtn {
  margin-top: 18px;
  padding: 12px;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-button);
  transition: opacity .2s, transform .2s;
}

#connexion input[type="submit"]:hover,
#connexion button[type="submit"]:hover,
#submitBtn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn_3 {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

#Link_1,
#Link_1:visited {
  color: var(--accent-purple);
}

#Link_1:hover {
  text-decoration: underline;
}

/* ===================================
   SHARED — Champ mot de passe + toggle
   =================================== */
.field-hint {
  font-size: 0.875rem;
  opacity: .7;
  margin-top: .2rem;
  color: var(--muted);
}

.pwd-field {
  position: relative;
  display: flex;
  align-items: center;
}

.pwd-field input[type="password"],
.pwd-field input[type="text"] {
  width: 100%;
  padding-right: 44px;
}

.pwd-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 6px;
  line-height: 0;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s;
  color: var(--muted);
}

.pwd-toggle:hover {
  background: rgba(0,0,0,.05);
}

.pwd-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* ===================================
   SHARED — Message d'erreur
   =================================== */
.error {
  color: #dc2626;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}

/* ===================================
   SHARED — Message feedback #reg-msg
   =================================== */
#reg-msg {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.4em;
  text-align: center;
}
