:root {
  --vert: #08783f;
  --vert2: #04572e;
  --orange: #f39a18;
  --bleu: #063b73;
  --gris: #f5f7f8;
  --texte: #26343d
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texte);
  background: #fff
}

.topbar {
  background: var(--vert2);
  color: #fff;
  font-size: 13px;
  padding: 7px 0
}

.topbar a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px
}

.header {
  background: #fff;
  padding: 6px 0;
  box-shadow: 0 2px 6px #00000012;
  position: relative;
  z-index: 5
}

.logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain
}

.logo-ministere {
  height: 100px;
  width: auto;
  max-width: 140px;
  object-fit: contain
}

.header .btn {
  padding: 7px 16px;
  font-size: 13.5px;
}

.nav-DGUA {
  background: linear-gradient(90deg, var(--vert), #0b8247)
}

.nav-DGUA .nav-link {
  color: #fff !important;
  font-weight: 700;
  padding: 16px 15px !important;
  font-size: 13px;
  text-transform: uppercase
}

.nav-DGUA .nav-link:hover,
.nav-DGUA .nav-link.active,
.nav-DGUA .nav-link.show,
.nav-DGUA .active {
  background: var(--orange) !important;
  color: #fff !important;
}

.nav-espace-prive {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  padding: 8px 18px !important;
  margin: auto 0;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-espace-prive:hover,
.nav-espace-prive.active {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: #fff !important;
}

.dropdown-menu {
  border: 0;
  box-shadow: 0 8px 25px #0002
}

.dropdown-item:hover {
  background: #edf7f1;
  color: var(--vert)
}

.hero {
  min-height: 500px;
  background: linear-gradient(90deg, #00391f, #08783f);
  display: flex;
  align-items: center;
  color: #fff
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  max-width: 760px
}

.hero p {
  font-size: 18px;
  max-width: 680px;
  line-height: 1.6
}

.badge-DGUA {
  background: var(--orange);
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 18px
}

.btn-DGUA {
  background: var(--orange);
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: 12px 22px
}

.btn-DGUA:hover {
  background: #d77d00;
  color: #fff
}

.section {
  padding: 65px 0
}

.light {
  background: var(--gris)
}

.title {
  text-align: center;
  margin-bottom: 40px
}

.title span {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px
}

.title h2 {
  color: var(--bleu);
  font-weight: 800;
  font-size: 34px
}

.card-DGUA {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 22px #0000000d;
  padding: 25px;
  height: 100%
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #e9f6ef;
  color: var(--vert);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px
}

.page-banner {
  background: linear-gradient(100deg, var(--vert2), var(--vert));
  color: #fff;
  padding: 55px 0
}

.page-banner h1 {
  font-weight: 800
}

.form-box {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 5px 25px #00000012
}

.form-control,
.form-select {
  min-height: 46px
}

.stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 25px 0 45px
}

.stepper:before {
  content: "";
  position: absolute;
  top: 24px;
  left: 7%;
  right: 7%;
  height: 4px;
  background: #dbe9df
}

.step {
  position: relative;
  text-align: center;
  width: 18%;
  z-index: 1
}

.step .circle {
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dbe9df;
  color: #567;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800
}

.step.active .circle,
.step.done .circle {
  background: var(--vert);
  color: #fff
}

.step.active .circle {
  box-shadow: 0 0 0 5px #dff2e6
}

.step small {
  display: block;
  margin-top: 8px;
  font-weight: 700
}

.timeline {
  border-left: 4px solid #dcece2;
  margin-left: 20px;
  padding-left: 30px
}

.event {
  position: relative;
  margin-bottom: 30px
}

.event:before {
  content: "";
  position: absolute;
  left: -42px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #f2d29f
}

.status {
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700
}

.status.ok {
  background: #e6f6ec;
  color: var(--vert)
}

.status.wait {
  background: #fff3dc;
  color: #a76400
}

.status.block {
  background: #fde9e9;
  color: #a72828
}

.table-responsive {
  border-radius: 10px
}

footer {
  background: #06291a;
  color: #dce8e1;
  padding-top: 45px;
  margin-top: auto;
  width: 100%
}

footer h5 {
  color: #fff;
  font-weight: 700
}

footer a {
  color: #dce8e1;
  text-decoration: none;
  display: block;
  margin: 9px 0
}

footer a:hover {
  color: var(--orange)
}

.footer-bottom {
  border-top: 1px solid #ffffff1a;
  margin-top: 30px;
  padding: 17px 0;
  font-size: 13px
}

@media(max-width:768px) {
  .hero h1 {
    font-size: 34px
  }

  .logo {
    height: 42px
  }

  .logo-ministere {
    height: 38px
  }

  .nav-espace-prive {
    margin: 10px 0;
    display: block;
    border-radius: 6px;
    text-align: center
  }

  .stepper {
    overflow: auto;
    gap: 15px
  }

  .step {
    min-width: 120px
  }

  .stepper:before {
    display: none
  }
}

/* ===== MODULES COMPLEMENTAIRES ===== */
.filter-bar {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 18px #0000000d
}

.table-DGUA thead th {
  background: var(--vert);
  color: #fff;
  border: 0;
  white-space: nowrap
}

.table-DGUA tbody tr:hover {
  background: #f4faf6
}

.ref {
  font-weight: 800;
  color: var(--bleu)
}

.status {
  display: inline-block
}

.stat-card {
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 5px 20px #0001;
  height: 100%
}

.stat-card .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--vert)
}

.activity-item {
  border-left: 3px solid var(--vert);
  padding: 0 0 22px 22px;
  margin-left: 8px;
  position: relative
}

.activity-item:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 2px;
  width: 13px;
  height: 13px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #ddd
}

.activity-item h6 {
  font-weight: 800;
  color: var(--bleu)
}

.video-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px #0001;
  height: 100%
}

.video-thumb {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffffdf;
  color: var(--vert);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px
}

.video-body {
  padding: 18px
}

.fb-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px #0001;
  padding: 22px;
  height: 100%
}

.fb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px
}

.fb-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800
}

.social-post {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 14px
}

.social-post img {
  width: 100%;
  border-radius: 8px;
  max-height: 230px;
  object-fit: cover
}

.calendar-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px #0001
}

.calendar-day {
  border: 1px solid #e7ece9;
  border-radius: 8px;
  padding: 12px;
  text-align: center
}

.calendar-day strong {
  display: block;
  color: var(--vert)
}

.return-box {
  border-left: 5px solid var(--orange);
  background: #fff8ea;
  padding: 18px;
  border-radius: 8px
}

.badge-return {
  background: #e8f5ed;
  color: var(--vert);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px
}

@media(max-width:576px) {
  .carousel-item {
    height: 600px !important
  }

  .carousel-item h1 {
    font-size: 32px
  }

  .carousel-item p {
    font-size: 16px
  }

  .carousel-item .btn {
    margin-bottom: 8px
  }
}

/* ===== SLIDER PREMIUM DGUA ===== */
.DGUA-premium-slider {
  width: 100%;
  overflow: hidden;
  background: #06291a
}

.DGUA-slide {
  height: 570px;
  min-height: 520px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.DGUA-slide-content {
  max-width: 780px;
  color: #fff;
  padding-left: 4%;
  animation: DGUAText .8s ease both;
}

.DGUA-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.DGUA-kicker span {
  width: 42px;
  height: 3px;
  background: var(--orange);
  display: inline-block
}

.DGUA-slide h1 {
  font-size: 54px;
  line-height: 1.08;
  font-weight: 300;
  margin: 0 0 18px;
  letter-spacing: -1px;
}

.DGUA-slide h1 strong {
  font-weight: 800
}

.DGUA-slide p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.65;
  color: #f5f7f6;
}

.DGUA-indicators {
  bottom: 27px !important;
  justify-content: flex-start !important;
  left: 7% !important;
  margin-left: 0 !important;
  gap: 7px
}

.DGUA-indicators button {
  width: 28px !important;
  height: 3px !important;
  border: 0 !important;
  border-radius: 3px;
  opacity: .55;
  margin: 0 !important;
}

.DGUA-indicators button.active {
  width: 55px !important;
  background: var(--orange) !important;
  opacity: 1
}

.DGUA-premium-slider .carousel-item-next,
.DGUA-premium-slider .carousel-item-prev,
.DGUA-premium-slider .carousel-item.active {
  display: block;
}

@keyframes DGUAText {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media(max-width:768px) {
  .DGUA-slide {
    height: 610px;
    min-height: 560px
  }

  .DGUA-slide-content {
    padding-left: 0
  }

  .DGUA-slide h1 {
    font-size: 37px
  }

  .DGUA-slide p {
    font-size: 16px
  }
}

/* ===== ACTUALITES & COMMUNIQUES (ACCUEIL & PAGE) ===== */
.actu-home-card {
  background: #ffffff;
  border: 1px solid #eef2ef;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.actu-home-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(8, 120, 63, 0.12);
  border-color: #cde6d8;
}

.actu-home-img {
  width: 100%;
  height: 215px;
  object-position: center 20%;
  display: block;
  object-fit: cover;
  background: #eef3f0;
}

.actu-home-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.actu-featured-banner {
  background: #ffffff;
  border: 1px solid #dfe9e3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 35px;
}

.actu-featured-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(8, 120, 63, 0.12);
}

.actu-featured-banner img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 340px;
  object-position: center 20%;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   MODULES DÉMARCHES, SERVICES, PRÉSENTATION & ACTUALITÉS de la DGUA
   Centralisation globale des composants
   ========================================================================== */

/* ===== BANNIÈRES HÉROS ===== */
.presentation-hero,
.services-hero,
.demarche-hero,
.actu-hero,
.page-hero-track,
.page-banner {
  color: white;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative;
}

.presentation-hero {
  background: linear-gradient(135deg, rgba(8, 120, 63, 0.82), rgba(18, 61, 42, 0.86)), url('../images/presentation.webp') center 35% / cover no-repeat;
  padding: 70px 0 50px;
  text-align: center;
}

.services-hero {
  background: linear-gradient(135deg, rgba(8, 120, 63, 0.82), rgba(18, 61, 42, 0.86)), url('../images/services.webp') center center / cover no-repeat;
  padding: 70px 0 50px;
  text-align: center;
}

.actu-hero {
  background: linear-gradient(135deg, rgba(8, 120, 63, 0.82), rgba(18, 61, 42, 0.86)), url('../images/actu.webp') center center / cover no-repeat;
  padding: 70px 0 50px;
  text-align: center;
}

.demarche-hero {
  background: linear-gradient(135deg, rgba(8, 120, 63, 0.82), rgba(18, 61, 42, 0.86)), url('../images/dossier.webp') center center / cover no-repeat;
  padding: 70px 0 50px;
  text-align: center;
}

/* Bannières spécifiques aux pages formulaires & démarches */
.page-banner,
.banner-demande,
.banner-parcours,
.banner-reclamation,
.banner-faq,
.page-hero-track {
  text-align: center !important;
}

.banner-demande {
  background: linear-gradient(135deg, rgba(8, 120, 63, 0.82), rgba(18, 61, 42, 0.86)), url('../images/poseplaque.webp') center 38% / cover no-repeat !important;
  padding: 65px 0 55px;
}

.banner-parcours {
  background: linear-gradient(135deg, rgba(8, 120, 63, 0.82), rgba(18, 61, 42, 0.86)), url('../images/dossier.webp') center center / cover no-repeat !important;
  padding: 65px 0 55px;
}

.banner-reclamation {
  background: linear-gradient(135deg, rgba(8, 120, 63, 0.82), rgba(18, 61, 42, 0.86)), url('../images/gua-front.webp') center center / cover no-repeat !important;
  padding: 65px 0 55px;
}

.banner-faq {
  background: linear-gradient(135deg, rgba(8, 120, 63, 0.82), rgba(18, 61, 42, 0.86)), url('../images/entree-gua.webp') center 42% / cover no-repeat !important;
  padding: 65px 0 55px;
}

.presentation-hero h1,
.services-hero h1,
.demarche-hero h1,
.actu-hero h1,
.page-hero-track h1,
.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  text-align: center !important;
}

.presentation-hero p,
.services-hero p,
.demarche-hero p,
.actu-hero p,
.page-hero-track p,
.page-banner p {
  font-size: 1.15rem;
  max-width: 780px;
  margin: 0 auto !important;
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  text-align: center !important;
}

/* ===== PRÉSENTATION : HISTORIQUE, PILIERS & DOMAINES ===== */
.history-card {
  background: #ffffff;
  border: 1px solid #e2ece6;
  border-radius: 18px;
  padding: 38px 42px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.history-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #08783f, #f39a1e);
}

/* ===== PHOTO DE PRÉSENTATION : ZOOM AU SURVOL & LIGHTBOX ===== */
.presentation-img-container {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(8, 120, 63, 0.14);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  background-color: #f0f7f3;
  display: block;
  user-select: none;
}

.presentation-img-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(8, 120, 63, 0.22);
  border-color: rgba(8, 120, 63, 0.4);
}

.presentation-img-container .presentation-img {
  width: 100%;
  max-height: 290px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  transform-origin: center center;
}

/* Petit zoom fluide au survol */
.presentation-img-container:hover .presentation-img {
  transform: scale(1.08);
  filter: brightness(1.03) contrast(1.02);
}

/* Modale Agrandissement Plein Écran */
.modal-presentation-lightbox {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.7);
}

.modal-presentation-lightbox .modal-dialog {
  max-width: 1050px;
}

.modal-presentation-lightbox .btn-close-lightbox {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.modal-presentation-lightbox .btn-close-lightbox:hover {
  background: #dc3545;
  border-color: #dc3545;
  color: #ffffff;
  transform: scale(1.1);
}

.pillar-card {
  background: #ffffff;
  border: 1px solid #eef2ef;
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(8, 120, 63, 0.12);
  border-color: #cde6d8;
}

.pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.pillar-icon.simplicity {
  background: #e8f5ed;
  color: #08783f;
}

.pillar-icon.security {
  background: #eaf2fb;
  color: #17629a;
}

.pillar-icon.speed {
  background: #fff4e5;
  color: #e07908;
}

.pillar-icon.innovation {
  background: #f4ecfb;
  color: #6f42c1;
}

.domain-badge-card {
  background: #fff;
  border: 1px solid #e4ede7;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.domain-badge-card:hover {
  background: #f7faf8;
  border-color: #08783f;
  transform: translateX(4px);
}

.domain-badge-card i {
  font-size: 1.8rem;
  color: #08783f;
}

.partner-pill {
  background: #ffffff;
  border: 1px solid #e2ece6;
  border-radius: 12px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: #1a3828;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* ===== SERVICES & DÉMARCHES ===== */
.service-card {
  background: #ffffff;
  border: 1px solid #eef2ef;
  border-radius: 16px;
  padding: 32px 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(8, 120, 63, 0.12);
  border-color: #cde6d8;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.service-icon.green {
  background: #e8f5ed;
  color: #08783f;
}

.service-icon.blue {
  background: #eaf2fb;
  color: #17629a;
}

.service-icon.amber {
  background: #fff4e5;
  color: #e07908;
}

.service-icon.purple {
  background: #f4ecfb;
  color: #6f42c1;
}

.service-icon.teal {
  background: #e3f6f5;
  color: #0d8076;
}

.service-icon.indigo {
  background: #eef1fd;
  color: #3d5afe;
}

.service-icon.orange {
  background: #ffefe6;
  color: #d85600;
}

.service-icon.rose {
  background: #fdeced;
  color: #c5221f;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-desc {
  color: #55625c;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

/* ===== ÉTAPES, SÉCURITÉ & LISTES D'INFORMATIONS ===== */
.step-badge-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #08783f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.info-list-card {
  background: #fff;
  border: 1px solid #e2ece6;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.security-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f8faf8;
  border: 1px solid #eef2ef;
  border-radius: 12px;
  padding: 18px 20px;
  height: 100%;
}

.security-badge-item i {
  font-size: 1.5rem;
  color: #08783f;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== DOCUMENTS REQUIS ===== */
.doc-card {
  background: #ffffff;
  border: 1px solid #eef2ef;
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(8, 120, 63, 0.12);
  border-color: #cde6d8;
}

.doc-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.doc-icon.green {
  background: #e8f5ed;
  color: #08783f;
}

.doc-icon.blue {
  background: #eaf2fb;
  color: #17629a;
}

.doc-icon.amber {
  background: #fff4e5;
  color: #e07908;
}

.doc-icon.purple {
  background: #f4ecfb;
  color: #6f42c1;
}

.doc-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.doc-card-subtitle {
  font-size: 0.88rem;
  color: #718279;
  margin-bottom: 20px;
}

.doc-item-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.doc-item-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #edf2ee;
  font-size: 0.93rem;
  color: #334139;
  line-height: 1.45;
}

.doc-item-list li:last-child {
  border-bottom: none;
}

.doc-item-list li i {
  color: #08783f;
  font-size: 1.15rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.doc-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: auto;
  flex-shrink: 0;
}

.doc-tag.orig {
  background: #fee2e2;
  color: #991b1b;
}

.doc-tag.copy {
  background: #e0f2fe;
  color: #0369a1;
}

.notice-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 35px;
}

.notice-card i {
  font-size: 1.7rem;
  color: #08783f;
}

/* ===== ACTUALITÉS & ARTICLES DÉTAILLÉS ===== */
.actu-featured-card {
  background: #ffffff;
  border: 1px solid #e2ece6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 40px;
}

.actu-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(8, 120, 63, 0.12);
}

.actu-featured-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 350px;
  object-position: center 20%;
  display: block;
  object-fit: cover;
}

.actu-card {
  background: #ffffff;
  border: 1px solid #eef2ef;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.actu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(8, 120, 63, 0.12);
  border-color: #cde6d8;
}

.actu-card-img {
  width: 100%;
  height: 235px;
  object-position: center 20%;
  display: block;
  object-fit: cover;
  background: #f0f4f2;
}

.actu-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.badge-actu-officiel {
  background: #e8f5ed;
  color: #08783f;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 30px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-actu-date {
  color: #718279;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.actu-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 12px 0 10px;
}

.actu-desc {
  color: #55625c;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-full-box {
  background: #ffffff;
  border: 1px solid #e2ece6;
  border-radius: 18px;
  padding: 35px;
  margin-bottom: 35px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 100px;
}

.article-quote {
  border-left: 4px solid #08783f;
  background: #f7faf8;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #2b3a32;
  margin: 18px 0;
}

/* ===== RÉCLAMATIONS ===== */
.claim-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #e7ece9;
  overflow: hidden;
}

.claim-badge-status {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}

.claim-badge-status.processing {
  background: #fff3dc;
  color: #a76400;
}

.claim-badge-status.resolved {
  background: #e6f6ec;
  color: #08783f;
}

.badge-sla {
  background: #fdf0ed;
  color: #d94826;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== BANNIÈRES D'APPEL À L'ACTION (CTA) ===== */
.cta-banner {
  background: linear-gradient(135deg, #08783f, #123d2a);
  color: white;
  border-radius: 20px;
  padding: 40px 45px;
  box-shadow: 0 15px 35px rgba(8, 120, 63, 0.2);
}

/* ===== MODULE SUIVI DE DOSSIER & PROGRESSION ===== */
.page-hero-track {
  background: linear-gradient(135deg, rgba(10, 115, 50, 0.82), rgba(18, 61, 42, 0.86)), url('../images/dossier.webp') center center / cover no-repeat;
  color: #fff;
  padding: 60px 0 40px;
  margin-bottom: 25px;
}

.search-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2ece6;
  margin-bottom: 25px;
}

.bloc-center {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F18F26, #ea7d0c);
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(241, 143, 38, 0.25);
  letter-spacing: 0.5px;
}

.concession-card__progression {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.concession-card__progression-toggle {
  width: 100%;
  border: none;
  padding: 16px 22px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
}

.concession-card__progression-toggle:hover {
  filter: brightness(0.97);
}

.concession-card__steps {
  background: #fdfdfd;
  border: 1px solid #eef2ef;
  border-top: none;
  padding: 15px 20px;
}

.concession-card__step {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 4px solid #ccd3cf;
  background: #f8faf9;
  transition: all 0.2s ease;
}

.concession-card__step:last-child {
  margin-bottom: 0;
}

.concession-card__step.is-complete {
  border-left-color: #0A7332;
  background: rgba(10, 115, 50, 0.05);
}

.concession-card__step.is-pending {
  border-left-color: #dedfe0;
  background: #fafafa;
}

.concession-card__step.is-reject {
  border-left-color: #dc3545;
  background: rgba(220, 53, 69, 0.08);
}

.concession-card__step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.concession-card__step-index {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.concession-card__step-note {
  margin-bottom: 0;
  color: #4a5568;
  font-size: 0.92rem;
}

.dossier-summary-card {
  background: #ffffff;
  border: 1px solid #e3ebe6;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 15px;
}

.summary-item label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #65756c;
  margin-bottom: 3px;
  font-weight: 600;
}

.summary-item strong {
  color: #123d2a;
  font-size: 0.98rem;
}

.immat-plate-box {
  background-color: #144728;
  color: white;
  border-left: 6px solid #f18f26;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.immat-plate-text {
  background: #f18f26;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
}

.immat-plate-box.is-pending {
  background-color: #2e3e34;
  border-left: 6px solid #8e9e94;
}

.immat-plate-box.is-pending .immat-plate-text {
  background: #5a6e61;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
}

.chassis-text {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.92rem;
  letter-spacing: 1px;
  background: #f3f6f4;
  padding: 3px 8px;
  border-radius: 4px;
  color: #0b4929;
  border: 1px solid #d5e2da;
  display: inline-block;
}

.titulaire-masked {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 600;
  color: #1f3629;
}

.badge-masked {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: #eef2ef;
  color: #556b5e;
  font-weight: 600;
  border: 1px solid #d6ded8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggestion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef7f2;
  color: #0A7332;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid #cce5d6;
  transition: all 0.2s ease;
}

.suggestion-badge:hover {
  background: #0A7332;
  color: white;
}

/* =========================================================
   CARTES DE CHOIX CATÉGORIE (DOSSIERS À FOURNIR)
========================================================= */
.choice-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 28px;
  border: 2px solid #e2e8f0;
  padding: 50px 36px;
  text-decoration: none !important;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.choice-card:hover {
  transform: translateY(-8px);
  border-color: var(--vert);
  box-shadow: 0 24px 48px rgba(8, 120, 63, 0.12);
}

.choice-card.concessionnaire:hover {
  border-color: var(--orange);
  box-shadow: 0 24px 48px rgba(243, 154, 24, 0.14);
}

.choice-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.choice-card:hover .choice-card-icon {
  transform: scale(1.1);
}

.choice-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.choice-card-desc {
  font-size: 1.02rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 440px;
}

.choice-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.25s ease;
}

.choice-card-action {
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vert);
  margin-top: 10px;
  transition: gap 0.2s ease;
}

.choice-card:hover .choice-card-action {
  gap: 12px;
}

.choice-card.concessionnaire .choice-card-action {
  color: var(--orange);
}

/* ===== SECTION LOCALISATION COMPACTE (GOOGLE MAPS) ===== */
.map-compact-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(8, 120, 63, 0.15);
  height: 250px;
  background: #eef3f0;
}

.map-compact-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}



/* ===== ORGANISATION & ORGANIGRAMME (organisation.php) ===== */
.org-tree-wrapper {
  position: relative;
  padding: 10px 0;
}

.org-node-top {
  background: linear-gradient(135deg, #063b73, #0a529c);
  color: #ffffff;
  border-radius: 16px;
  padding: 20px 28px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(6, 59, 115, 0.18);
  text-align: center;
  position: relative;
}

.org-node-dgttc {
  background: #ffffff;
  border: 2px solid #063b73;
  color: #063b73;
  border-radius: 14px;
  padding: 16px 24px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.org-node-dgua {
  background: linear-gradient(135deg, #08783f, #04572e);
  color: #ffffff;
  border-radius: 18px;
  padding: 26px 30px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 14px 32px rgba(8, 120, 63, 0.22);
  border: 2px solid rgba(243, 154, 24, 0.7);
}

.org-connector-v {
  width: 3px;
  height: 28px;
  background: #b8cfc2;
  margin: 0 auto;
}

.org-sub-card {
  background: #ffffff;
  border: 1px solid #dce8e0;
  border-top: 5px solid #08783f;
  border-radius: 16px;
  padding: 26px 24px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-sub-card.blue-top {
  border-top-color: #063b73;
}

.org-sub-card.orange-top {
  border-top-color: #f39a18;
}

.org-sub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(8, 120, 63, 0.12);
}

.actor-card {
  background: #ffffff;
  border: 1px solid #e4ede7;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.actor-card:hover {
  border-color: #08783f;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8, 120, 63, 0.1);
}

.actor-step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #e8f5ed;
  color: #08783f;
}

.site-card {
  background: #ffffff;
  border: 1px solid #e2ece6;
  border-radius: 16px;
  padding: 26px;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.site-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #08783f;
}

.site-card.accent-orange::before {
  background: #f39a18;
}

.site-card.accent-blue::before {
  background: #063b73;
}

/* ===== DOSSIERS À FOURNIR : VÉHICULES & CONCESSIONNAIRES ===== */
.sub-pill-btn {
  border-radius: 30px;
  padding: 7px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  transition: all 0.2s;
  cursor: pointer;
}

.sub-pill-btn:hover,
.sub-pill-btn.active {
  background: var(--vert);
  color: #fff;
  border-color: var(--vert);
}

.dossier-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dossier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.dossier-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafbfc;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.dossier-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.dossier-body {
  padding: 26px 28px;
}

.piece-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.piece-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: 0.96rem;
  color: #334155;
}

.piece-list li:last-child {
  border-bottom: none;
}

.piece-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(8, 120, 63, 0.1);
  color: var(--vert);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.sub-section-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 12px 0;
}

.sub-section-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-facultatif {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tag-surligner {
  background: #fed7aa;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.nb-box {
  background: #f0fdf4;
  border-left: 4px solid var(--vert);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: #166534;
}

.download-bar {
  padding: 18px 28px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-box-custom {
  max-width: 420px;
  width: 100%;
  position: relative;
}

.search-box-custom input {
  border-radius: 30px;
  padding-left: 42px;
  font-size: 0.92rem;
  border: 1px solid #cbd5e1;
}

.search-box-custom i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

/* ===== CARTES RETOUR DE DEMANDE (retour-demande.php) ===== */
.retour-card {
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.retour-card-warning {
  background-color: #fffdf5;
  border: 1px solid #fed7aa;
  border-left: 5px solid #f59e0b;
  color: #1f2937;
}

.retour-card-warning .retour-title {
  color: #c26500;
}

.retour-card-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #16a34a;
  color: #1f2937;
}

.retour-card-success .retour-title {
  color: #15803d;
}

.retour-card-danger {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 5px solid #dc2626;
  color: #1f2937;
}

.retour-card-danger .retour-title {
  color: #b91c1c;
}

/* ===== PORTAIL CONNECTÉ AGENT & ADMINISTRATION DGUA ===== */
.portail-nav-pills {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portail-nav-pills .nav-link {
  border-radius: 11px;
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
}

.portail-nav-pills .nav-link:hover {
  background: #f1f5f9;
  color: #08783f;
}

.portail-nav-pills .nav-link.active {
  background: linear-gradient(135deg, #08783f, #065f32);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(8, 120, 63, 0.25);
}

.portail-admin-pills .nav-link.active {
  background: linear-gradient(135deg, #063b73, #08783f);
}

.kpi-portail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.kpi-portail-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.badge-etat-transmis {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-etat-encours {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-etat-traite {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.portail-panel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
}

.audit-code-pill {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #0f172a;
}

/* =========================================================
   SPLASH SCREEN D'ACCUEIL (STYLE ONECI)
   ========================================================= */
.dgua-splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: rgba(245, 247, 246, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.dgua-splash-overlay.show {
  opacity: 1;
}

.dgua-splash-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 95vw;
  margin: auto;
}

.dgua-splash-topbar {
  margin-bottom: 12px;
  text-align: center;
}

.dgua-splash-btn {
  background: #007a3d;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 122, 61, 0.35);
  transition: all 0.2s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dgua-splash-btn:hover {
  background: #006030;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 122, 61, 0.45);
}

.dgua-splash-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.dgua-splash-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
  z-index: 10;
  cursor: pointer;
}

.dgua-splash-close:hover {
  opacity: 1;
  transform: scale(1.08);
}

.dgua-splash-img {
  max-height: 80vh;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  transition: filter 0.2s ease;
}

.dgua-splash-img:hover {
  filter: brightness(1.02);
}

@media (max-width: 768px) {
  .dgua-splash-btn {
    font-size: 11.5px;
    padding: 8px 16px;
  }
  .dgua-splash-img {
    max-height: 72vh;
  }
}

