/* DGDN public — glass hub, auth, tracking */
:root {
  --dgdn-ink: #14241c;
  --dgdn-forest: #006b3f;
  --dgdn-leaf: #0d9488;
  --dgdn-teal: #0d9488;
  --dgdn-gold: #c9a227;
  --dgdn-gold-soft: #e8d9a8;
  --dgdn-ivory: #f4f7f5;
  --dgdn-paper: rgba(255, 255, 255, .72);
  --dgdn-glass: rgba(255, 255, 255, .58);
  --dgdn-glass-strong: rgba(255, 255, 255, .78);
  --dgdn-line: rgba(20, 36, 28, .1);
  --dgdn-muted: #5c6b63;
  --dgdn-danger: #dc2626;
  --dgdn-ok: #16a34a;
  --dgdn-shadow: 0 10px 28px rgba(20, 36, 28, .08);
  --dgdn-serif: "Fraunces", Georgia, serif;
  --dgdn-sans: "Outfit", system-ui, sans-serif;
  --tg-green: #006b3f;
  --tg-yellow: #ffce00;
  --tg-red: #d21034;
}

.dgdn-public,
.dgdn-auth-body,
.dgdn-auth,
.dgdn-track {
  font-family: var(--dgdn-sans);
  color: var(--dgdn-ink);
}

/* ——— Public hub ——— */
.dgdn-public {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 68% 50% at 6% 0%, rgba(0, 107, 63, .14), transparent 58%),
    radial-gradient(ellipse 50% 42% at 94% 8%, rgba(13, 148, 136, .12), transparent 55%),
    radial-gradient(ellipse 48% 40% at 82% 92%, rgba(201, 162, 39, .1), transparent 58%),
    radial-gradient(ellipse 36% 30% at 12% 78%, rgba(210, 16, 52, .05), transparent 60%),
    linear-gradient(168deg, #eef6f1 0%, #f7f5ef 46%, #f3f0ea 100%);
}

.dgdn-public-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.dgdn-public-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--tg-green) 0 33.33%, var(--tg-yellow) 33.33% 66.66%, var(--tg-red) 66.66% 100%);
  opacity: .85;
}
.dgdn-public-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.dgdn-public-blob--a {
  width: min(420px, 58vw);
  height: min(420px, 58vw);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle at 35% 40%, rgba(13, 148, 136, .22), rgba(0, 107, 63, .06) 62%, transparent 72%);
}
.dgdn-public-blob--b {
  width: min(380px, 52vw);
  height: min(380px, 52vw);
  left: -14%;
  bottom: 8%;
  background: radial-gradient(circle at 60% 45%, rgba(201, 162, 39, .16), rgba(244, 247, 245, 0) 70%);
}
.dgdn-public-bg-stripe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--tg-green) 0 33%, var(--tg-yellow) 33% 66%, var(--tg-red) 66% 100%);
  opacity: .9;
}

.dgdn-public-banner {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 12px 16px;
  border-radius: 18px;
  color: var(--dgdn-ink);
  background: var(--dgdn-glass);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--dgdn-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dgdn-public-banner--float {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  margin-bottom: 0;
  z-index: 30;
}
.dgdn-public-banner-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.dgdn-public-banner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.dgdn-public-banner-logo img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.dgdn-public-banner-id.is-logo-only .dgdn-public-banner-logo img {
  height: 60px;
  width: auto;
  max-width: none;
}
.dgdn-public-banner:has(.is-logo-only) {
  flex-wrap: nowrap;
}
/* Barre blanche pleine largeur (portail) : logo seul à gauche, alignée sur le contenu */
.dgdn-public-banner--bar {
  margin: 0;
  padding: 10px max(20px, calc((100% - 1180px) / 2 + 20px));
  border: 0;
  border-bottom: 1px solid var(--dgdn-line);
  border-radius: 0;
  background: #fff url("/public/assets/media/banners/generalbanner.png") center / cover no-repeat;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.dgdn-public-banner--bar .dgdn-public-banner-nav a {
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
}
.dgdn-public-banner--bar .dgdn-public-banner-nav a:hover {
  background: #eef3f0;
  color: var(--dgdn-forest);
}
.dgdn-public-banner--bar .dgdn-public-banner-nav a.is-solid {
  padding-inline: 18px;
  background: var(--dgdn-forest);
  color: #fff;
}
.dgdn-public-banner--bar .dgdn-public-banner-nav a.is-solid:hover {
  background: #00552f;
  color: #fff;
}
.dgdn-public-banner--bar ~ .dgdn-public-inner--pad-top {
  padding-top: 40px;
}
@media (max-width: 480px) {
  .dgdn-public-banner-id.is-logo-only .dgdn-public-banner-logo img { height: 44px; }
  .dgdn-public-banner:has(.is-logo-only) { padding-block: 8px; }
  .dgdn-public-banner:has(.is-logo-only) .dgdn-public-banner-nav { flex-wrap: nowrap; gap: 6px; }
  .dgdn-public-banner:has(.is-logo-only) .dgdn-public-banner-nav a { padding: 7px 11px; font-size: .82rem; white-space: nowrap; }
}
.dgdn-public-banner-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.dgdn-public-banner-eyebrow {
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dgdn-muted);
  margin-bottom: 2px;
  max-width: 16rem;
  white-space: normal;
  line-height: 1.25;
}
.dgdn-public-banner-mark strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--dgdn-forest);
}
.dgdn-public-banner-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.dgdn-public-banner-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--dgdn-ink);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid rgba(20, 36, 28, .12);
  background: rgba(255, 255, 255, .45);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.dgdn-public-banner-nav a:hover {
  background: rgba(255, 255, 255, .75);
  border-color: rgba(13, 148, 136, .35);
  color: var(--dgdn-forest);
}
.dgdn-public-banner-nav a.is-solid {
  background: var(--dgdn-leaf);
  color: #fff;
  border-color: var(--dgdn-leaf);
}
.dgdn-public-banner-nav a.is-solid:hover {
  background: var(--dgdn-forest);
  border-color: var(--dgdn-forest);
  color: #fff;
}

.dgdn-public-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 72px;
}
.dgdn-public-inner--pad-top {
  padding-top: 110px;
}

.dgdn-hub-intro {
  text-align: center;
  margin: 8px 0 28px;
}
.dgdn-hub-intro--apps {
  margin-bottom: 32px;
}

/* ——— Hero stage (présidence-style slider) ——— */
.dgdn-hub-stage {
  position: relative;
  z-index: 0;
  min-height: min(64vh, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  margin: 0;
}
.dgdn-hub-slides {
  position: absolute;
  inset: 0;
}
.dgdn-hub-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s ease, transform 6s ease;
}
.dgdn-hub-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.dgdn-hub-slide--brand {
  background: linear-gradient(155deg, #0a1f18 0%, #0d3b2e 45%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dgdn-hub-slide-flag {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.dgdn-hub-slide-logo {
  position: relative;
  z-index: 1;
  width: min(280px, 46vw);
  height: auto;
  opacity: .9;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .35));
}
.dgdn-hub-stage-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 30, 20, .86) 0%, rgba(10, 30, 20, .62) 45%, rgba(10, 30, 20, .18) 100%);
  z-index: 1;
}
@media (max-width: 767px) {
  .dgdn-hub-stage-scrim { background: rgba(10, 30, 20, .66); }
}
.dgdn-hub-stage-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  width: min(1180px, 100%);
  padding: 72px 20px 104px;
}
.dgdn-hub-stage-inner > * {
  max-width: 560px;
}
.dgdn-hub-stage-kicker {
  margin: 0 0 12px;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dgdn-gold-soft);
}
.dgdn-hub-stage-title {
  margin: 0 0 14px;
  font-family: var(--dgdn-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.dgdn-hub-stage-lead {
  margin: 0 0 24px;
  max-width: 46ch;
  color: rgba(255, 255, 255, .88);
  line-height: 1.55;
  font-size: 1.05rem;
}
.dgdn-hub-stage-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
.dgdn-hub-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--dgdn-leaf);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid var(--dgdn-leaf);
  min-width: 180px;
  transition: background .15s ease;
}
.dgdn-hub-btn-solid:hover {
  background: var(--dgdn-forest);
  border-color: var(--dgdn-forest);
  color: #fff;
}
.dgdn-hub-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .65);
  min-width: 180px;
  transition: background .15s ease, border-color .15s ease;
}
.dgdn-hub-btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}
.dgdn-hub-dots {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}
.dgdn-hub-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .4);
  transition: background .15s ease, transform .15s ease;
}
.dgdn-hub-dot.is-active {
  background: var(--dgdn-leaf);
  transform: scale(1.15);
}

.dgdn-hub-stage-tricolor {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  z-index: 3;
  background: linear-gradient(90deg, var(--tg-green) 0 33.33%, var(--tg-yellow) 33.33% 66.66%, var(--tg-red) 66.66% 100%);
}

@media (prefers-reduced-motion: reduce) {
  .dgdn-hub-slide {
    transition: opacity .2s ease;
    transform: none;
  }
  .dgdn-hub-slide.is-active {
    transform: none;
  }
}

.dgdn-hub-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dgdn-hub-cta-btn {
  width: auto !important;
  min-width: 180px;
  padding-left: 22px;
  padding-right: 22px;
}

.dgdn-hub-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dgdn-leaf);
}
.dgdn-hub-lead {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--dgdn-muted);
  line-height: 1.55;
  font-size: 1rem;
}

.dgdn-hub-tiles {
  margin-bottom: 40px;
}
.dgdn-hub-tiles .dgdn-tile {
  min-height: 168px;
}

.dgdn-hub-section-title {
  font-family: var(--dgdn-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.01em;
  color: var(--dgdn-ink);
}
.dgdn-hub-section-lead {
  margin: 0 0 22px;
  color: var(--dgdn-muted);
  line-height: 1.5;
  max-width: 48ch;
}

.dgdn-hub-how {
  margin: 8px 0 48px;
}
.dgdn-hub-how--compact {
  margin-top: 28px;
}
.dgdn-hub-how-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--dgdn-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.dgdn-hub-how-card {
  padding: 22px 24px;
  border-top: 1px solid var(--dgdn-line);
}
.dgdn-hub-how-card:first-child { border-top: 0; }
@media (min-width: 768px) {
  .dgdn-hub-how-grid { grid-template-columns: 1fr 1fr 1fr; }
  .dgdn-hub-how-card { border-top: 0; border-left: 1px solid var(--dgdn-line); }
  .dgdn-hub-how-card:first-child { border-left: 0; }
}
.dgdn-hub-how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e8f3ed;
  color: var(--dgdn-forest);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 10px;
}
.dgdn-hub-how-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--dgdn-ink);
}
.dgdn-hub-how-card p {
  margin: 0;
  color: var(--dgdn-muted);
  font-size: .92rem;
  line-height: 1.5;
}

.dgdn-hub-help {
  margin-top: 8px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #e8f3ed;
}
.dgdn-hub-help .dgdn-hub-section-title {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.dgdn-hub-help-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--dgdn-forest);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.dgdn-hub-help-btn:hover { background: #00552f; color: #fff; }
.dgdn-hub-help-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dgdn-hub-help .dgdn-hub-section-lead {
  margin-bottom: 0;
}

/* ——— Accueil public (piste A) : fond uni, tuiles, DGDN Mobile ——— */
.dgdn-public:has(.dgdn-hub-stage) {
  background: #f6f8f7;
}
.dgdn-public:has(.dgdn-hub-stage) .dgdn-public-blob,
.dgdn-public:has(.dgdn-hub-stage) .dgdn-public-bg-stripe {
  display: none;
}
.dgdn-hub-main {
  padding-top: 0;
}

/* Icônes Android / iOS du hero → section #dgdn-mobile */
.dgdn-hub-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.dgdn-hub-stores-label {
  width: 100%;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}
.dgdn-hub-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.dgdn-hub-store i { font-size: 1.35rem; }
.dgdn-hub-store:hover {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
  color: #fff;
}
.dgdn-hub-store.is-solid {
  background: #fff;
  border-color: #fff;
  color: var(--dgdn-ink);
}
.dgdn-hub-store.is-solid:hover {
  background: #eef3f0;
  border-color: #eef3f0;
  color: var(--dgdn-ink);
}

/* Tuiles qui chevauchent le bas du hero */
.dgdn-hub-ptiles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: -56px 0 48px;
}
@media (min-width: 768px) {
  .dgdn-hub-ptiles { grid-template-columns: 1fr 1fr; }
  .dgdn-hub-ptiles:has(> :only-child) { grid-template-columns: 1fr; }
}
.dgdn-hub-ptiles-empty {
  margin: 32px 0 40px;
}
.dgdn-hub-ptile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 6px 16px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--dgdn-line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 28px -20px rgba(20, 36, 28, .45);
  transition: border-color .15s ease, transform .15s ease;
}
.dgdn-hub-ptile:hover {
  border-color: rgba(0, 107, 63, .35);
  transform: translateY(-2px);
}
.dgdn-hub-ptile:focus-visible,
.dgdn-hub-store:focus-visible,
.dgdn-hub-badge:focus-visible,
.dgdn-hub-help-btn:focus-visible {
  outline: 2px solid var(--tg-yellow);
  outline-offset: 2px;
}
.dgdn-hub-ptile-icon {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8f3ed;
  color: var(--dgdn-forest);
  font-size: 1.3rem;
}
.dgdn-hub-ptile-title {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--dgdn-ink);
}
.dgdn-hub-ptile-desc {
  color: var(--dgdn-muted);
  font-size: .93rem;
  line-height: 1.5;
}
.dgdn-hub-ptile-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--dgdn-forest);
  font-size: .92rem;
  font-weight: 600;
}

/* Section DGDN Mobile */
.dgdn-hub-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin: 0 0 32px;
  padding: 32px 24px;
  border-radius: 16px;
  background: #0f2a1f;
  color: #fff;
  overflow: hidden;
  scroll-margin-top: 24px;
}
@media (min-width: 900px) {
  .dgdn-hub-mobile {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    padding: 40px 48px 0;
    align-items: end;
  }
  .dgdn-hub-mobile-txt { padding-bottom: 40px; }
}
.dgdn-hub-mobile-kicker {
  margin: 0 0 10px;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--tg-yellow);
}
.dgdn-hub-mobile-title {
  margin: 0 0 12px;
  font-family: var(--dgdn-serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}
.dgdn-hub-mobile-lead {
  margin: 0 0 20px;
  max-width: 50ch;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}
.dgdn-hub-mobile-list {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.dgdn-hub-mobile-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
}
.dgdn-hub-mobile-list i {
  font-size: 1.15rem;
  color: #6fd3a0;
}
.dgdn-hub-mobile-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.dgdn-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  padding: 9px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--dgdn-ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
}
.dgdn-hub-badge i { font-size: 1.6rem; }
.dgdn-hub-badge small {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  color: var(--dgdn-muted);
}
.dgdn-hub-badge.is-soon {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .85);
  border: 1px dashed rgba(255, 255, 255, .35);
  cursor: default;
}
.dgdn-hub-badge.is-soon small { color: rgba(255, 255, 255, .6); }

/* Téléphone illustratif */
.dgdn-hub-mobile-phone {
  display: flex;
  justify-content: center;
}
.dgdn-hub-phone {
  width: min(240px, 100%);
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 300px;
  padding: 14px 14px 24px;
  border: 6px solid #1d4434;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #f6f8f7;
}
@media (max-width: 899px) {
  .dgdn-hub-phone { border-bottom: 6px solid #1d4434; border-radius: 28px; min-height: 0; }
}
.dgdn-hub-phone-bar {
  display: flex;
  justify-content: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--dgdn-line);
}
.dgdn-hub-phone-bar img { height: 26px; width: auto; }
.dgdn-hub-phone-note {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(20, 36, 28, .5);
  color: var(--dgdn-ink);
  font-size: .76rem;
  line-height: 1.35;
}
.dgdn-hub-phone-note i { font-size: 1.1rem; color: var(--dgdn-forest); }
.dgdn-hub-phone-note b { display: block; font-size: .8rem; }
.dgdn-hub-phone-card {
  display: grid;
  gap: 7px;
  padding: 12px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--dgdn-line);
}
.dgdn-hub-phone-line {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #dfe6e2;
}
.dgdn-hub-phone-line.is-w70 { width: 70%; background: #c3d1c9; }
.dgdn-hub-phone-line.is-w60 { width: 60%; background: #c3d1c9; }
.dgdn-hub-phone-line.is-w45 { width: 45%; }
.dgdn-hub-phone-line.is-w35 { width: 35%; }
.dgdn-hub-phone-steps {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}
.dgdn-hub-phone-steps i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #dfe6e2;
}
.dgdn-hub-phone-steps i.is-done { background: var(--tg-green); }

@media (prefers-reduced-motion: reduce) {
  .dgdn-hub-ptile { transition: none; }
  .dgdn-hub-ptile:hover { transform: none; }
}

.dgdn-page-title {
  font-family: var(--dgdn-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: -.02em;
  text-align: center;
  margin: 0 0 12px;
  text-transform: none;
  color: var(--dgdn-ink);
}

.dgdn-card {
  background: var(--dgdn-glass-strong);
  border-radius: 24px;
  box-shadow: var(--dgdn-shadow);
  border: 1px solid rgba(255, 255, 255, .75);
  padding: 28px 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dgdn-grid-2, .dgdn-grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) {
  .dgdn-grid-2 { grid-template-columns: 1fr 1fr; }
  .dgdn-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.dgdn-tile-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 8px;
}
.dgdn-tile-grid-2 {
  grid-template-columns: 1fr;
}
.dgdn-tile-grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .dgdn-tile-grid-2 { grid-template-columns: 1fr 1fr; }
  .dgdn-tile-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .dgdn-tile-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.dgdn-empty-note {
  margin-top: 1rem;
  color: var(--dgdn-muted);
}

.dgdn-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 22px 20px;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, .78);
  background: var(--dgdn-glass);
  box-shadow: 0 8px 24px rgba(20, 36, 28, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.dgdn-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--tg-green), var(--tg-yellow), var(--tg-red));
  opacity: .7;
}
.dgdn-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, .4);
}
.dgdn-tile-icon {
  width: 44px; height: 44px;
  border-radius: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13, 148, 136, .12);
  color: var(--dgdn-leaf);
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.dgdn-tile-title {
  color: var(--dgdn-ink);
  font-weight: 650;
  font-size: 1.02rem;
  margin-bottom: 8px;
  letter-spacing: .01em;
  text-transform: none;
}
.dgdn-tile-desc { color: var(--dgdn-muted); font-size: .92rem; line-height: 1.5; }

/* legacy topbar (unused by PublicBase; kept harmless) */
.dgdn-topbar { display: none; }
.dgdn-top-links { display: flex; gap: 8px; flex-wrap: wrap; }
.dgdn-top-links a {
  color: var(--dgdn-forest);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.dgdn-top-links a:hover { background: rgba(13, 63, 48, .06); }
.dgdn-top-links a.dgdn-link-solid {
  background: var(--dgdn-forest);
  color: #fff;
  border-color: var(--dgdn-forest);
}
.dgdn-top-links a.dgdn-link-solid:hover { background: #0a3327; }

.dgdn-logo-wrap { display: none; }

/* ——— Auth split (glass DGDN) ——— */
.dgdn-auth-body {
  margin: 0;
  min-height: 100%;
  background: #eef4f1;
}

.dgdn-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: transparent;
}
@media (min-width: 960px) {
  .dgdn-auth { grid-template-columns: minmax(380px, 46%) 1fr; }
}

.dgdn-auth-brand {
  position: relative;
  min-height: 280px;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0a1f18;
}
.dgdn-auth-brand-photo {
  position: absolute;
  inset: 0;
  background: url('/public/assets/media/images/dgdn-building.jpeg') center/cover no-repeat;
  pointer-events: none;
}
.dgdn-auth-brand-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 28, 22, .35) 0%, rgba(8, 28, 22, .55) 45%, rgba(8, 28, 22, .78) 100%);
}
.dgdn-auth-brand-overlay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tg-green) 0 33%, var(--tg-yellow) 33% 66%, var(--tg-red) 66% 100%);
  opacity: .9;
}
/* Écran large : filet tricolore vertical, séparation entre la photo et le formulaire */
@media (min-width: 960px) {
  .dgdn-auth-brand-overlay::after {
    left: auto;
    top: 0;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, var(--tg-green) 0 33%, var(--tg-yellow) 33% 66%, var(--tg-red) 66% 100%);
    opacity: 1;
  }
}

.dgdn-auth-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px 36px 42px;
  min-height: inherit;
}

.dgdn-auth-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: auto;
}
.dgdn-auth-logo {
  height: 150px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
  background: transparent;
}
.dgdn-auth-wordmark-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.dgdn-auth-wordmark {
  font-size: 1.25rem;
  letter-spacing: .08em;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.dgdn-auth-wordmark-sub {
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
  margin-top: 4px;
  max-width: 16rem;
  white-space: normal;
  line-height: 1.3;
}

.dgdn-auth-center {
  margin: 36px 0 24px;
  max-width: 28rem;
}
.dgdn-auth-kicker {
  margin: 0 0 12px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dgdn-gold-soft);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.dgdn-auth-hero-title {
  margin: 0 0 16px;
  font-family: var(--dgdn-serif);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}
.dgdn-auth-hero-lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

.dgdn-auth-bottom {
  margin-top: auto;
}

.dgdn-auth-rotator {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dgdn-auth-rotator-label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .7;
  font-weight: 600;
}
.dgdn-auth-rotator-words {
  position: relative;
  height: 1.55em;
  overflow: hidden;
  font-family: var(--dgdn-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}
.dgdn-auth-rotator-words span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(8px);
  animation: dgdn-rotator 12s infinite;
}
.dgdn-auth-rotator-words span:nth-child(1) { animation-delay: 0s; }
.dgdn-auth-rotator-words span:nth-child(2) { animation-delay: 3s; }
.dgdn-auth-rotator-words span:nth-child(3) { animation-delay: 6s; }
.dgdn-auth-rotator-words span:nth-child(4) { animation-delay: 9s; }

@keyframes dgdn-rotator {
  0%, 4% { opacity: 0; transform: translateY(8px); }
  8%, 22% { opacity: 1; transform: translateY(0); }
  28%, 100% { opacity: 0; transform: translateY(-8px); }
}

.dgdn-rise {
  opacity: 0;
  transform: translateY(10px);
  animation: dgdn-rise .35s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes dgdn-rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .dgdn-rise {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .dgdn-auth-rotator-words span {
    animation: none;
    opacity: 0;
    transform: none;
  }
  .dgdn-auth-rotator-words span:first-child {
    opacity: 1;
  }
  .dgdn-tile:hover {
    transform: none;
  }
}

.dgdn-auth-form {
  position: relative;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 45% at 80% 10%, rgba(13, 148, 136, .12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(0, 107, 63, .08), transparent 55%),
    linear-gradient(165deg, #eef6f2 0%, #f6f4ee 100%);
  overflow: hidden;
}
.dgdn-auth-form-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .45), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(201, 162, 39, .08), transparent 45%);
}
@media (min-width: 960px) {
  .dgdn-auth-form { padding: 48px 8vw; }
}

.dgdn-auth-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .62);
  border-radius: 28px;
  padding: 32px 28px 28px;
  box-shadow: 0 16px 40px rgba(20, 36, 28, .1);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dgdn-auth-title {
  font-family: var(--dgdn-serif);
  font-size: 1.85rem;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.dgdn-auth-sub {
  color: var(--dgdn-muted);
  font-size: .95rem;
  margin: 0 0 22px;
  line-height: 1.45;
}

.dgdn-auth-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 22px;
  font-size: .88rem;
}
.dgdn-auth-meta a { color: var(--dgdn-leaf); font-weight: 600; text-decoration: none; }
.dgdn-auth-meta a:hover { text-decoration: underline; }
/* Liens placés après le formulaire (ex. diaspora) : espace au-dessus du bloc plutôt qu'en dessous */
form + .dgdn-auth-meta {
  margin-top: 20px;
  margin-bottom: 0;
}

.dgdn-auth-alert {
  background: rgba(201, 162, 39, .12);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: .9rem;
  border: 1px solid rgba(201, 162, 39, .25);
}
.dgdn-auth-alert a { color: var(--dgdn-forest); font-weight: 700; }

.dgdn-alert {
  padding: 11px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: .92rem;
}
.dgdn-alert-error { background: #fdecec; color: var(--dgdn-danger); border: 1px solid #f4c7c7; }
.dgdn-alert-ok { background: #e8f6ee; color: var(--dgdn-ok); border: 1px solid #c6e6d4; }
.dgdn-alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.dgdn-field { margin-bottom: 14px; }
.dgdn-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dgdn-muted);
  margin-bottom: 6px;
}

.dgdn-input, .dgdn-select {
  width: 100%;
  border: 1px solid rgba(20, 36, 28, .12);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  background: rgba(255, 255, 255, .62);
  color: var(--dgdn-ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dgdn-input:focus, .dgdn-select:focus {
  background: rgba(255, 255, 255, .88);
  border-color: var(--dgdn-leaf);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .14);
}

.dgdn-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .9rem;
  color: var(--dgdn-muted);
  margin: 4px 0 16px;
}

.dgdn-btn-green,
.dgdn-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dgdn-leaf);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .12s ease, background .12s ease;
}
.dgdn-btn-green:hover,
.dgdn-btn-primary:hover { background: var(--dgdn-forest); transform: translateY(-1px); color: #fff; }

.dgdn-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dgdn-forest);
  border: 1px solid var(--dgdn-line);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.dgdn-btn-ghost:hover { background: rgba(13, 63, 48, .05); }

.dgdn-form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .dgdn-form-grid { grid-template-columns: 1fr 1fr; } }

.dgdn-auth-foot {
  margin-top: 18px;
  font-size: .9rem;
  color: var(--dgdn-muted);
  text-align: center;
}
.dgdn-auth-foot a { color: var(--dgdn-leaf); font-weight: 600; text-decoration: none; }

/* OTP */
.dgdn-otp {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin: 8px 0 20px;
}
.dgdn-otp-box {
  width: 100%;
  max-width: 52px;
  aspect-ratio: 1;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid rgba(20, 36, 28, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  color: var(--dgdn-ink);
}
.dgdn-otp-box:focus {
  outline: none;
  border-color: var(--dgdn-leaf);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .16);
  background: rgba(255, 255, 255, .9);
}

/* ——— Tracking (split: brand | form) ——— */
.dgdn-track {
  min-height: 100vh;
  background: var(--dgdn-ivory);
}

.dgdn-track-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .dgdn-track-split {
    grid-template-columns: minmax(340px, 46%) 1fr;
  }
}

.dgdn-track-brand-pane {
  display: none;
  position: relative;
  min-height: 100vh;
  color: #fff;
  background: url('/public/assets/media/images/dgdn-building.jpeg') center/cover no-repeat;
  overflow: hidden;
}
.dgdn-track-brand-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 22, .4) 0%, rgba(8, 28, 22, .62) 45%, rgba(8, 28, 22, .92) 100%),
    linear-gradient(90deg, rgba(0, 153, 143, .35), transparent 75%);
}
.dgdn-track-brand-pane::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #008751 0 33%, #ffce00 33% 66%, #d21034 66% 100%);
}
.dgdn-track-brand-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 42px 48px;
  max-width: 28rem;
}
.dgdn-track-brand-eyebrow {
  margin: 0 0 8px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dgdn-gold-soft);
}
.dgdn-track-brand-title {
  margin: 0 0 20px;
  font-family: var(--dgdn-serif);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.dgdn-track-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.dgdn-track-brand-lead {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.5;
  max-width: 32ch;
}

@media (min-width: 900px) {
  .dgdn-track-brand-pane { display: block; }
}

.dgdn-track-form-pane {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--dgdn-ivory);
}

.dgdn-track-form-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  padding: 14px 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 28, 22, .9), rgba(0, 153, 143, .78)),
    url('/public/assets/media/images/dgdn-building.jpeg') center/cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.dgdn-track-form-banner-id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.dgdn-track-form-banner .dgdn-track-brand-icon {
  margin: 0;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .28);
}
.dgdn-track-form-banner .dgdn-track-brand-eyebrow {
  margin: 0 0 2px;
  font-size: .68rem;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .78);
}
.dgdn-track-form-banner-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .95rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.dgdn-track-form-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.dgdn-track-form-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  transition: background .15s ease, border-color .15s ease;
}
.dgdn-track-form-nav a:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.dgdn-track-panel {
  width: min(560px, calc(100% - 36px));
  margin: 20px auto 48px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--dgdn-line);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: var(--dgdn-shadow);
  animation: dgdn-track-in .28s ease-out;
}
@media (min-width: 900px) {
  .dgdn-track-panel {
    margin: 28px auto 56px;
    padding: 32px 28px 28px;
  }
}

@keyframes dgdn-track-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dgdn-track-panel { animation: none; }
}

.dgdn-track-kicker {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dgdn-leaf);
  font-weight: 650;
  margin: 0 0 8px;
}
.dgdn-track-heading {
  font-family: var(--dgdn-serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.dgdn-track-lead {
  color: var(--dgdn-muted);
  margin: 0 0 22px;
  line-height: 1.5;
  font-size: .95rem;
}

.dgdn-steps {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.dgdn-steps li {
  flex: 1;
  font-size: .8rem;
  font-weight: 650;
  color: var(--dgdn-muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--dgdn-line);
}
.dgdn-steps li.is-on {
  color: var(--dgdn-forest);
  border-bottom-color: var(--dgdn-gold);
}

.dgdn-choice {
  display: grid;
  gap: 12px;
}
@media (min-width: 560px) {
  .dgdn-choice { grid-template-columns: 1fr 1fr; }
}

.dgdn-choice a {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  background: var(--dgdn-paper);
  border: 1px solid var(--dgdn-line);
  border-radius: 18px;
  padding: 20px 18px 18px;
  min-height: 168px;
  box-shadow: 0 8px 24px rgba(13, 63, 48, .05);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.dgdn-choice a:hover {
  border-color: var(--dgdn-gold);
  box-shadow: 0 10px 28px rgba(13, 63, 48, .08);
}
.dgdn-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(0, 153, 143, .1);
  color: var(--dgdn-leaf);
  font-size: 1.1rem;
}
.dgdn-choice-tag {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dgdn-leaf);
  margin-bottom: 8px;
}
.dgdn-choice h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.dgdn-choice p {
  margin: 0;
  color: var(--dgdn-muted);
  font-size: .88rem;
  line-height: 1.45;
}

.dgdn-input-icon {
  position: relative;
}
.dgdn-input-icon > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dgdn-muted);
  font-size: 1rem;
  pointer-events: none;
}
.dgdn-input-icon .dgdn-input {
  padding-left: 42px;
}

.dgdn-result {
  background: rgba(0, 153, 143, .04);
  border-radius: 16px;
  border: 1px solid var(--dgdn-line);
  padding: 18px;
  margin-bottom: 16px;
}
.dgdn-result-dl {
  display: grid;
  gap: 14px;
  margin: 0;
}
.dgdn-result dt {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dgdn-muted);
  margin: 0 0 4px;
}
.dgdn-result dd {
  margin: 0;
  font-weight: 650;
}
.dgdn-result-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dgdn-progress {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(24, 24, 27, .08);
  overflow: hidden;
}
.dgdn-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: var(--dgdn-ok);
  min-width: 2px;
}
.dgdn-progress-label {
  font-size: .85rem;
  color: var(--dgdn-muted);
  font-variant-numeric: tabular-nums;
  min-width: 2.5rem;
}
.dgdn-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 122, 88, .12);
  color: var(--dgdn-ok);
  font-size: .85rem;
  font-weight: 650;
}

.dgdn-note {
  background: rgba(0, 153, 143, .08);
  color: var(--dgdn-forest);
  padding: 14px 16px;
  border-radius: 14px;
  font-size: .88rem;
  margin-top: 20px;
  line-height: 1.5;
}
.dgdn-help {
  color: #9a7b12;
  font-size: .82rem;
  margin-top: 6px;
  line-height: 1.4;
}

.dgdn-radio-stack {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.dgdn-radio-stack-2 {
  grid-template-columns: 1fr 1fr;
}
.dgdn-radio-card {
  display: block;
  border: 1px solid var(--dgdn-line);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dgdn-radio-card:has(input:checked) {
  border-color: var(--dgdn-leaf);
  box-shadow: 0 0 0 3px rgba(0, 153, 143, .12);
}
.dgdn-radio-card input { margin-right: 8px; }

.dgdn-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.dgdn-track-actions .dgdn-btn-primary {
  width: auto;
  min-width: 220px;
}
.dgdn-track-actions .dgdn-btn-ghost { width: auto; }
.dgdn-track-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  padding-left: 22px;
}
.dgdn-track-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #008751, #ffce00, #d21034);
}

@media (max-width: 640px) {
  .dgdn-auth-panel { padding: 24px 18px; border-radius: 22px; }
  .dgdn-otp { gap: 6px; }
  .dgdn-radio-stack-2 { grid-template-columns: 1fr; }
  .dgdn-track-panel { width: min(100%, calc(100% - 28px)); padding: 22px 18px; }
}

/* ——— Barre utilitaire noire (contact à gauche, menu à droite) + tiroir mobile ——— */
.dgdn-utilbar {
  position: relative;
  z-index: 21;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 0 max(20px, calc((100% - 1180px) / 2 + 20px));
  background: #0e1411;
  color: rgba(255, 255, 255, .74);
  font-size: .8rem;
}
.dgdn-utilbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}
.dgdn-utilbar a:hover { color: #fff; }
.dgdn-utilbar a:focus-visible { outline: 2px solid var(--tg-yellow); outline-offset: 2px; border-radius: 2px; }
.dgdn-utilbar i { font-size: .95rem; opacity: .8; }
.dgdn-utilbar-contact { display: flex; align-items: center; gap: 18px; min-width: 0; }
.dgdn-utilbar-menu { display: flex; align-items: stretch; gap: 22px; }
.dgdn-utilbar-menu a { min-height: 38px; border-bottom: 2px solid transparent; }
.dgdn-utilbar-menu a[aria-current="page"] { color: #fff; border-bottom-color: var(--tg-yellow); }

.dgdn-menu-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--dgdn-line);
  border-radius: 8px;
  background: #fff;
  color: var(--dgdn-ink);
  font-size: 1.35rem;
  cursor: pointer;
}
.dgdn-menu-toggle:focus-visible { outline: 2px solid var(--dgdn-forest); outline-offset: 2px; }

.dgdn-drawer { display: none; }

@media (max-width: 900px) {
  .dgdn-utilbar { display: none; }
  .dgdn-menu-toggle { display: inline-flex; }
  .dgdn-public-banner--bar .dgdn-public-banner-nav a:not(.is-solid) { display: none; }
  .dgdn-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
    transition: visibility 0s linear .25s;
  }
  .dgdn-drawer.is-open { visibility: visible; transition-delay: 0s; }
}
.dgdn-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 12, .55);
  opacity: 0;
  transition: opacity .25s ease;
}
.dgdn-drawer.is-open .dgdn-drawer-backdrop { opacity: 1; }
.dgdn-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(320px, 86vw);
  padding: calc(16px + env(safe-area-inset-top, 0px)) calc(20px + env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) 20px;
  overflow-y: auto;
  background: #fff;
  box-shadow: -18px 0 40px -20px rgba(8, 16, 12, .5);
  transform: translateX(100%);
  transition: transform .25s ease;
}
.dgdn-drawer.is-open .dgdn-drawer-panel { transform: none; }
.dgdn-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dgdn-line);
}
.dgdn-drawer-head img { display: block; height: 48px; width: auto; }
.dgdn-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #f1f4f2;
  color: var(--dgdn-ink);
  font-size: 1.2rem;
  cursor: pointer;
}
.dgdn-drawer-close:focus-visible { outline: 2px solid var(--dgdn-forest); outline-offset: 2px; }
.dgdn-drawer-menu { display: grid; }
.dgdn-drawer-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid #edf1ee;
  color: var(--dgdn-ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.dgdn-drawer-menu a i { font-size: 1.15rem; color: var(--dgdn-forest); }
.dgdn-drawer-menu a[aria-current="page"] { color: var(--dgdn-forest); font-weight: 600; }
.dgdn-drawer-menu a:focus-visible { outline: 2px solid var(--dgdn-forest); outline-offset: -2px; border-radius: 4px; }
.dgdn-drawer-account { display: grid; gap: 10px; }
.dgdn-drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 8px;
  background: var(--dgdn-forest);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.dgdn-drawer-btn.is-ghost { background: #fff; border: 1px solid var(--dgdn-line); color: var(--dgdn-ink); }
.dgdn-drawer-contact {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--dgdn-line);
  font-size: .85rem;
  color: var(--dgdn-muted);
}
.dgdn-drawer-contact span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.dgdn-drawer-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--dgdn-forest); font-weight: 500; text-decoration: none; }
body.dgdn-drawer-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .dgdn-drawer, .dgdn-drawer-backdrop, .dgdn-drawer-panel { transition: none; }
}

/* ——— Sélecteur de documents (/applications) ——— */
.dgdn-mod-page, .dgdn-mod-page *, .dgdn-mod-page *::before, .dgdn-mod-page *::after { box-sizing: border-box; }
.dgdn-mod-body { margin: 0; background: #0B6B50; font-family: "Outfit", system-ui, sans-serif; }
.dgdn-mod-page {
  --mod-primary: #087A55;
  --mod-primary-dark: #075B43;
  --mod-heading: #10265C;
  --mod-text: #244578;
  --mod-muted: #5E6B80;
  --mod-border: #DCE6EE;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: clamp(24px, 5vh, 56px) 16px;
  background: #0B6B50;
}
.dgdn-mod-bg { position: absolute; inset: -16px; z-index: -2; }
.dgdn-mod-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: blur(10px) saturate(.8); transform: scale(1.04); }
.dgdn-mod-page::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(7, 91, 67, .52), rgba(12, 86, 77, .42)); }
.dgdn-mod-page .pt-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dgdn-mod-panel {
  position: relative;
  width: min(100%, 800px);
  padding: 24px 16px 16px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96) radial-gradient(120% 60% at 50% -10%, rgba(223, 246, 238, .8), transparent 60%);
  box-shadow: 0 12px 40px rgba(0, 35, 25, .15);
  backdrop-filter: blur(8px);
  color: var(--mod-heading);
}

/* En-tête */
.dgdn-mod-head { display: grid; justify-items: center; text-align: center; }
.dgdn-mod-logo { display: block; width: auto; height: 88px; }
.dgdn-mod-flag { display: block; background: linear-gradient(90deg, #006A4E 0 33.3%, #F5C400 33.3% 66.6%, #D92735 66.6%); }
.dgdn-mod-page .pt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dgdn-mod-kicker { display: flex; align-items: center; gap: 12px; width: min(100%, 620px); margin: 18px 0 12px; color: var(--mod-heading); font: 600 12px/1 "Outfit", system-ui, sans-serif; letter-spacing: .28em; text-transform: uppercase; }
.dgdn-mod-kicker::before, .dgdn-mod-kicker::after { content: ""; flex: 1; height: 1px; background: #9AA6B4; }
.dgdn-mod-kicker .pt-ico { width: 16px; height: 16px; color: #52616B; }
.dgdn-mod-head h1 { margin: 0; font: 800 clamp(1.7rem, 4vw, 2.3rem)/1.05 "Outfit", system-ui, sans-serif; letter-spacing: -.02em; color: #0B2436; }
.dgdn-mod-lead { margin: 6px 0 20px; color: var(--mod-muted); font: 400 clamp(.95rem, 1.6vw, 1.05rem)/1.4 "Outfit", system-ui, sans-serif; }

/* Grille de cartes */
.dgdn-mod-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.dgdn-mod-grid li { display: flex; }
.dgdn-mod-grid.is-few { grid-template-columns: repeat(auto-fit, minmax(0, 300px)); justify-content: center; }
.dgdn-mod-card {
  --tone: #087A55;
  --tone-bg: #DFF6EE;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 88px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--mod-border);
  border-bottom: 2px solid color-mix(in srgb, var(--tone) 35%, transparent);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--tone-bg) 45%, #fff) 100%);
  box-shadow: 0 5px 18px rgba(16, 38, 92, .08);
  color: var(--mod-heading);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.dgdn-mod-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tone) 40%, transparent); box-shadow: 0 9px 24px rgba(16, 38, 92, .11); color: var(--mod-heading); }
.dgdn-mod-card:focus-visible { outline: 3px solid rgba(8, 122, 85, .45); outline-offset: 3px; }
.dgdn-mod-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--tone-bg); color: var(--tone); }
.dgdn-mod-ico .pt-ico { width: 24px; height: 24px; stroke-width: 2; }
.dgdn-mod-card.is-solid .dgdn-mod-ico { background: linear-gradient(145deg, color-mix(in srgb, var(--tone) 82%, #fff), var(--tone)); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--tone) 30%, transparent); }
.dgdn-mod-text { display: grid; gap: 4px; min-width: 0; }
.dgdn-mod-text b { font: 700 15px/1.2 "Outfit", system-ui, sans-serif; }
.dgdn-mod-text > span:not(.pt-sr) { display: -webkit-box; overflow: hidden; color: var(--mod-muted); font: 400 12.5px/1.35 "Outfit", system-ui, sans-serif; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dgdn-mod-arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tone-bg); color: var(--tone); }
.dgdn-mod-arrow .pt-ico { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .16s ease; }
.dgdn-mod-card:hover .dgdn-mod-arrow .pt-ico { transform: translateX(2px); }
.dgdn-mod-card.is-green { --tone: #087A55; --tone-bg: #DFF6EE; }
.dgdn-mod-card.is-blue { --tone: #1877E8; --tone-bg: #E4F0FF; }
.dgdn-mod-card.is-purple { --tone: #7C2CE8; --tone-bg: #F0E7FF; }
.dgdn-mod-card.is-violet { --tone: #6D28D9; --tone-bg: #F0E7FF; }
.dgdn-mod-card.is-orange { --tone: #D58A00; --tone-bg: #FFF0D8; }
.dgdn-mod-card.is-red { --tone: #C8192E; --tone-bg: #FFE8EB; }
.dgdn-mod-card.is-rose { --tone: #D92F45; --tone-bg: #FFE8EB; }
.dgdn-mod-card.is-teal { --tone: #008C83; --tone-bg: #DDF8F4; }
.dgdn-mod-card.is-gray { --tone: #52616B; --tone-bg: #EDF0F2; }
.dgdn-mod-empty { margin: 0; padding: 24px; border: 1px dashed var(--mod-border); border-radius: 16px; color: var(--mod-muted); text-align: center; }

/* Filigrane et pied de panneau */
.dgdn-mod-emblem { position: absolute; right: 48px; bottom: 76px; z-index: 0; width: 130px; height: auto; opacity: .7; pointer-events: none; }
.dgdn-mod-foot { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 18px 6px 0; padding-top: 14px; border-top: 1px solid var(--mod-border); color: var(--mod-muted); font: 400 12.5px/1.4 "Outfit", system-ui, sans-serif; }
.dgdn-mod-foot p { display: flex; align-items: center; gap: 14px; margin: 0; }
.dgdn-mod-foot p:first-child { padding-right: 24px; border-right: 1px solid var(--mod-border); }
.dgdn-mod-foot p:last-child { justify-content: flex-end; padding-left: 24px; border-left: 1px solid var(--mod-border); }
.dgdn-mod-foot .pt-ico { width: 24px; height: 24px; color: #3E4C5E; stroke-width: 1.7; }
.dgdn-mod-foot .dgdn-mod-flag.is-wide { width: 110px; height: 5px; margin: 0; }
.dgdn-mod-values i { margin: 0 10px; color: #A5B0BC; font-style: normal; }

@media (max-width: 1099px) {
  .dgdn-mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgdn-mod-emblem { display: none; }
}
@media (max-width: 699px) {
  .dgdn-mod-page { place-items: start center; padding: 16px 12px 28px; }
  .dgdn-mod-panel { padding: 18px 12px 14px; border-radius: 16px; }
  .dgdn-mod-logo { height: 72px; }
  .dgdn-mod-kicker { margin: 14px 0 10px; font-size: 11px; letter-spacing: .18em; }
  .dgdn-mod-lead { margin-bottom: 16px; }
  .dgdn-mod-grid, .dgdn-mod-grid.is-few { grid-template-columns: 1fr; gap: 10px; }
  .dgdn-mod-card { min-height: 76px; padding: 10px 12px; }
  .dgdn-mod-foot { grid-template-columns: 1fr; justify-items: center; gap: 14px; text-align: center; }
  .dgdn-mod-foot p:first-child, .dgdn-mod-foot p:last-child { justify-content: center; padding: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .dgdn-mod-card, .dgdn-mod-arrow .pt-ico { transition: none; } }

/* ——— Authentification v2 : panneau centré (auth.CenteredScreen) ——— */
.dgdn-cs-body { margin: 0; background: #E9F3EE; font-family: "Outfit", system-ui, sans-serif; }
.dgdn-cs, .dgdn-cs *, .dgdn-cs *::before, .dgdn-cs *::after { box-sizing: border-box; }
.dgdn-cs {
  --cs-primary: #087A55;
  --cs-primary-dark: #075B43;
  --cs-mint: #E6F5EE;
  --cs-heading: #102B3A;
  --cs-text: #53616D;
  --cs-muted: #7B8790;
  --cs-border: #DCE7E1;
  --cs-icon: #5F6B73;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(48px, 8vh, 90px) 16px 22px;
  color: var(--cs-heading);
}
.dgdn-cs-bg { position: fixed; inset: -14px; z-index: -3; }
.dgdn-cs-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: blur(9px) saturate(.85); transform: scale(1.03); }
.dgdn-cs::before { content: ""; position: fixed; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(241, 248, 244, .25) 0%, rgba(7, 91, 67, .28) 45%, rgba(241, 248, 244, .9) 88%); }
.dgdn-cs-emblem { position: absolute; left: clamp(12px, 3vw, 40px); top: clamp(12px, 3vw, 28px); z-index: -1; width: min(16vw, 180px); height: auto; opacity: .22; pointer-events: none; }
.dgdn-cs-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgdn-cs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dgdn-cs a:focus-visible, .dgdn-cs button:focus-visible { outline: 3px solid rgba(8, 122, 85, .45); outline-offset: 3px; }

.dgdn-cs-lang { position: absolute; top: 20px; right: 20px; display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .88); box-shadow: 0 4px 14px rgba(16, 43, 58, .1); font: 700 14px/1 "Outfit", system-ui, sans-serif; }
.dgdn-cs-lang .dgdn-cs-ico { width: 20px; height: 20px; }

.dgdn-cs-panel {
  width: min(100%, 500px);
  padding: 26px clamp(20px, 5vw, 40px) 26px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96) radial-gradient(130% 55% at 50% -5%, rgba(230, 245, 238, .9), transparent 62%);
  box-shadow: 0 14px 40px rgba(14, 50, 40, .16);
  backdrop-filter: blur(10px);
}
.dgdn-cs-head { display: grid; justify-items: center; }
.dgdn-cs-logo { display: block; width: auto; height: 96px; }
.dgdn-cs-kicker { display: flex; align-items: center; gap: 18px; width: 100%; margin: 18px 0 8px; color: #5F6B73; font: 600 12px/1 "Outfit", system-ui, sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.dgdn-cs-kicker::before, .dgdn-cs-kicker::after { content: ""; flex: 1; height: 1px; background: #C9D3D0; }
.dgdn-cs-title { margin: 0; font: 800 clamp(1.7rem, 5vw, 2.2rem)/1.1 "Outfit", system-ui, sans-serif; text-align: center; letter-spacing: -.01em; }
.dgdn-cs-lead { margin: 4px 0 20px; color: var(--cs-text); font-size: 15px; line-height: 1.45; text-align: center; }

.dgdn-cs-alert { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.45; }
.dgdn-cs-alert .dgdn-cs-ico { width: 20px; height: 20px; margin-top: 1px; }
.dgdn-cs-alert.is-error { border: 1px solid #EFC9C9; background: #FCF1F1; color: #8E2626; }
.dgdn-cs-alert.is-ok { border: 1px solid #BFE3CF; background: #ECF8F1; color: #155C3D; }

.dgdn-cs-form { display: grid; gap: 12px; }
.dgdn-cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dgdn-cs-form > .dgdn-cs-btn { margin-top: 6px; }
.dgdn-cs-forgot + .dgdn-cs-btn { margin-top: 0; }
.dgdn-cs-field { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px 0 16px; border: 1px solid var(--cs-border); border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(16, 43, 58, .04); color: var(--cs-icon); transition: border-color .15s ease, box-shadow .15s ease; }
.dgdn-cs-field:focus-within { border-color: var(--cs-primary); box-shadow: 0 0 0 3px rgba(8, 122, 85, .12); }
.dgdn-cs-field:has([aria-invalid="true"]) { border-color: #B93838; }
.dgdn-cs-field input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--cs-heading); font: 400 15.5px "Outfit", system-ui, sans-serif; }
.dgdn-cs-field input::placeholder { color: var(--cs-muted); }
.dgdn-cs-field input:focus { outline: none; }
.dgdn-cs-eye { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -6px; border: 0; border-radius: 8px; background: transparent; color: var(--cs-icon); cursor: pointer; }
.dgdn-cs-eye:hover { background: #F1F5F3; }
.dgdn-cs-eye .is-hide, .dgdn-cs-eye[aria-pressed="true"] .is-show { display: none; }
.dgdn-cs-eye[aria-pressed="true"] .is-hide { display: grid; }
.dgdn-cs-eye span { display: grid; }
.dgdn-cs-forgot { margin: -4px 0 6px; text-align: right; }
.dgdn-cs-forgot a { color: var(--cs-primary-dark); font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.dgdn-cs-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; border: 1.5px solid var(--cs-primary-dark); border-radius: 10px; background: var(--cs-primary-dark); color: #fff; font: 700 16px/1 "Outfit", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s ease; }
.dgdn-cs-btn:hover { background: #054634; }
.dgdn-cs-btn:disabled { opacity: .75; cursor: progress; }
.dgdn-cs-btn.is-outline { background: #fff; color: var(--cs-primary-dark); }
.dgdn-cs-btn.is-outline:hover { background: var(--cs-mint); }
.dgdn-cs-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--cs-text); font-size: 13.5px; }
.dgdn-cs-or::before, .dgdn-cs-or::after { content: ""; flex: 1; height: 1px; background: var(--cs-border); }

.dgdn-cs-trust { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--cs-mint); }
.dgdn-cs-trust-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #CFEBDD; color: var(--cs-primary-dark); }
.dgdn-cs-trust-ico .dgdn-cs-ico { width: 24px; height: 24px; }
.dgdn-cs-trust p { margin: 0; color: var(--cs-text); font-size: 13.5px; line-height: 1.45; }
.dgdn-cs-trust b { display: block; margin-bottom: 2px; color: var(--cs-heading); font-size: 14.5px; }

.dgdn-cs-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; width: min(100%, 820px); margin-top: clamp(28px, 5vh, 56px); color: var(--cs-heading); font-size: 13px; line-height: 1.4; }
.dgdn-cs-foot p { display: flex; align-items: center; gap: 14px; margin: 0; }
.dgdn-cs-foot p:first-child { padding-right: 28px; border-right: 1px solid rgba(16, 43, 58, .25); }
.dgdn-cs-foot p:last-child { justify-content: flex-end; padding-left: 28px; border-left: 1px solid rgba(16, 43, 58, .25); }
.dgdn-cs-foot .dgdn-cs-ico { width: 26px; height: 26px; stroke-width: 1.7; }
.dgdn-cs-foot-id { flex-direction: column; gap: 10px !important; text-align: center; }
.dgdn-cs-flag { display: block; width: 106px; height: 5px; background: linear-gradient(90deg, #006A4E 0 33.3%, #FCD116 33.3% 66.6%, #D21034 66.6%); }
.dgdn-cs-values i { margin: 0 9px; color: rgba(16, 43, 58, .45); font-style: normal; }

@media (max-width: 1023px) {
  .dgdn-cs-emblem { opacity: .14; }
}
@media (max-width: 767px) {
  .dgdn-cs { padding: 66px 12px 20px; }
  .dgdn-cs-lang { top: 14px; right: 12px; min-height: 42px; padding: 0 14px; }
  .dgdn-cs-emblem { display: none; }
  .dgdn-cs-panel { padding: 20px 16px; border-radius: 16px; }
  .dgdn-cs-logo { height: 78px; }
  .dgdn-cs-kicker { margin-top: 14px; font-size: 11px; letter-spacing: .18em; }
  .dgdn-cs-field input { font-size: 16px; }
  .dgdn-cs-grid { grid-template-columns: 1fr; }
  .dgdn-cs-trust { align-items: flex-start; padding: 12px 14px; }
  .dgdn-cs-foot { grid-template-columns: 1fr; justify-items: center; gap: 16px; text-align: center; }
  .dgdn-cs-foot p:first-child, .dgdn-cs-foot p:last-child { justify-content: center; padding: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .dgdn-cs-field, .dgdn-cs-btn { transition: none; } }
