:root {
  --navy: #0A1D33;
  --navy-deep: #061322;
  --navy-soft: #143254;
  --gold: #B7974F;
  --gold-bright: #CFAF66;
  --gold-deep: #967837;
  --ivory: #F7F7F5;
  --surface: #FFFFFF;
  --ink: #0A1D33;
  --muted: #4B5D73;
  --line-navy: rgba(10, 29, 51, 0.11);
  --line-gold: rgba(183, 151, 79, 0.36);
  --shadow-card: 0 20px 44px -22px rgba(10, 29, 51, 0.22), 0 4px 14px -6px rgba(10, 29, 51, 0.08);
  --shadow-pedestal: 0 18px 36px -22px rgba(10, 29, 51, 0.20);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--ivory);
  background-image:
    radial-gradient(circle at 12% 16%, rgba(183, 151, 79, 0.13) 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(10, 29, 51, 0.08) 0%, transparent 46%);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Barre architecturale supérieure */
.top-accent-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 35%, var(--gold-bright) 50%, var(--gold) 65%, var(--navy) 100%);
  z-index: 20;
}

/* Fond géométrique fixe */
.geo-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.geo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.geo-orbit-group {
  transform-origin: 1270px 145px;
  animation: slowOrbit 48s linear infinite;
}

/* Conteneur principal calibré pour tenir intégralement au-dessus de la ligne de flottaison */
.portal-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* En-tête identitaire & logo */
.brand-header {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-gold);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.geo-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.brand-pedestal {
  position: relative;
  margin: 0;
  max-width: 100%;
  padding: 18px 34px 16px;
  background: #ffffff;
  border: 1px solid var(--line-gold);
  border-radius: 4px;
  box-shadow: var(--shadow-pedestal);
}

.pedestal-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.pedestal-corner--tl {
  top: 7px;
  left: 7px;
  border-top: 2px solid var(--navy);
  border-left: 2px solid var(--gold);
}

.pedestal-corner--tr {
  top: 7px;
  right: 7px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--navy);
}

.pedestal-corner--bl {
  bottom: 7px;
  left: 7px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--navy);
}

.pedestal-corner--br {
  bottom: 7px;
  right: 7px;
  border-bottom: 2px solid var(--navy);
  border-right: 2px solid var(--gold);
}

.brand-logo {
  display: block;
  width: min(250px, 64vw);
  height: auto;
  margin: 0 auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 6px 14px rgba(10, 29, 51, 0.06));
}

.geo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 210px;
  margin: 16px auto 10px;
}

.geo-divider__line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.geo-divider__diamond {
  width: 9px;
  height: 9px;
  border: 1.8px solid var(--navy);
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-subtitle {
  margin: 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Grille de cartes d'accès */
.access-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.access-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line-navy);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  animation: fadeRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}


.access-card:nth-child(2) {
  animation-delay: 0.08s;
}

.access-card:nth-child(3) {
  animation-delay: 0.16s;
}

.access-card:nth-child(4) {
  animation-delay: 0.24s;
}

.access-card--rhu::before {
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--navy) 100%);
}

.access-card--procure::before {
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 50%, var(--navy-soft) 100%);
}

.icon-octa--procure {
  background: linear-gradient(145deg, var(--navy) 0%, #15365E 100%);
  color: #FFFFFF;
  border: 1px solid rgba(183, 151, 79, 0.4);
}

.service-tag--procure {
  color: var(--navy);
  background: rgba(183, 151, 79, 0.14);
  border-left-color: var(--gold-deep);
}

.portal-btn--procure {
  background: linear-gradient(135deg, var(--navy) 0%, #15365E 100%);
  color: #FFFFFF;
  border-color: rgba(183, 151, 79, 0.45);
  box-shadow: 0 10px 22px -12px rgba(10, 29, 51, 0.65);
}

.portal-btn--procure .portal-btn__icon {
  background: rgba(183, 151, 79, 0.28);
  color: var(--gold-bright);
}

.portal-btn--procure:hover {
  background: linear-gradient(135deg, #071526 0%, var(--navy) 100%);
  border-color: var(--gold);
  box-shadow: 0 14px 28px -12px rgba(10, 29, 51, 0.75), 0 0 15px rgba(183, 151, 79, 0.25);
  transform: translateY(-2px);
}


.access-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.access-card--navy::before {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-soft) 65%, var(--gold) 100%);
}

.access-card--gold::before {
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold-bright) 60%, var(--navy) 100%);
}

/* Facette géométrique discrète en pied de carte */
.access-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, transparent 50%, rgba(183, 151, 79, 0.22) 50%);
  pointer-events: none;
}

.access-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 26px 52px -22px rgba(10, 29, 51, 0.26), 0 6px 18px -6px rgba(183, 151, 79, 0.24);
}

.card-geo-pattern {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 155px;
  height: 155px;
  pointer-events: none;
}

.card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.icon-octa {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.icon-octa--navy {
  background: var(--navy);
  color: #FFFFFF;
}

.icon-octa--gold {
  background: linear-gradient(145deg, #CFAF66 0%, #B7974F 100%);
  color: var(--navy);
}

.service-tag {
  display: inline-block;
  padding: 5px 11px;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(10, 29, 51, 0.06);
  border-left: 2px solid var(--navy);
}

.service-tag--gold {
  color: var(--navy);
  background: rgba(183, 151, 79, 0.16);
  border-left-color: var(--gold-deep);
}

.card-body {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

.card-body h2 {
  margin: 0 0 8px;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Boutons d'accès dédiés (aucun lien nu) */
.card-actions {
  position: relative;
  z-index: 1;
}

.portal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  text-decoration: none;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-btn__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.portal-btn--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 10px 22px -12px rgba(10, 29, 51, 0.65);
}

.portal-btn--navy .portal-btn__icon {
  background: rgba(183, 151, 79, 0.24);
  color: var(--gold-bright);
}

.portal-btn--navy:hover {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.portal-btn--gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--navy);
  border-color: var(--gold-deep);
  box-shadow: 0 10px 22px -12px rgba(150, 120, 55, 0.55);
}

.portal-btn--gold .portal-btn__icon {
  background: rgba(10, 29, 51, 0.14);
  color: var(--navy);
}

.portal-btn--gold:hover {
  background: linear-gradient(135deg, #D8BA74 0%, #BE9D53 100%);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.portal-btn:hover .portal-btn__icon {
  transform: translateX(3px);
}

.portal-btn:active {
  transform: translateY(0);
}

.portal-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Pied de page */
.portal-footer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  padding-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-navy);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-weight: 600;
  color: var(--navy);
}

.footer-pill--link {
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--navy);
  cursor: pointer;
}

.footer-pill--link svg {
  color: var(--gold-deep);
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-pill--link:hover {
  background: #FFFFFF;
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -3px rgba(183, 151, 79, 0.35);
}

.footer-pill--link:hover svg {
  transform: scale(1.1);
  color: var(--gold);
}

.wa-inline-email {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.wa-inline-email:hover {
  color: var(--gold-deep);
  text-decoration-color: var(--navy);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.copyright {
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   Connecteur WhatsApp Business Officiel (@amayraf)
   ========================================================================== */
.whatsapp-connector {
  width: 100%;
  max-width: 920px;
  margin: 4px auto 16px;
  position: relative;
  z-index: 2;
  animation: fadeRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.wa-conn-card {
  background: #FFFFFF;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 248, 0.95) 100%);
  border: 1.5px solid rgba(37, 211, 102, 0.40);
  box-shadow: 0 14px 34px -14px rgba(10, 29, 51, 0.14), 0 4px 16px -4px rgba(37, 211, 102, 0.18);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-conn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
  border-radius: 14px 0 0 14px;
}

.wa-conn-card:hover {
  transform: translateY(-2px);
  border-color: #25D366;
  box-shadow: 0 20px 42px -14px rgba(10, 29, 51, 0.20), 0 6px 22px -4px rgba(37, 211, 102, 0.30);
}

.wa-conn-geo {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 140px;
  height: 140px;
  pointer-events: none;
  opacity: 0.65;
}

.wa-conn-left {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}

.wa-avatar-box {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 6px 16px -4px rgba(37, 211, 102, 0.45);
  flex-shrink: 0;
}

.wa-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13px;
  height: 13px;
  background: #22C55E;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 6px #22C55E;
}

.wa-conn-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.wa-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.wa-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(37, 211, 102, 0.14);
  color: #0D7A3E;
  border: 1px solid rgba(37, 211, 102, 0.32);
  padding: 2px 8px;
  border-radius: 4px;
}

.wa-handle {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
}

.wa-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.35;
}

.wa-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #4B5E76;
  line-height: 1.45;
}

.wa-conn-right {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #4ADE80;
  box-shadow: 0 8px 18px -4px rgba(37, 211, 102, 0.45);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.wa-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2CE570 0%, #22BF5C 100%);
  box-shadow: 0 12px 24px -4px rgba(37, 211, 102, 0.65);
  color: #FFFFFF !important;
}

.wa-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-btn__arrow {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.wa-btn:hover .wa-btn__arrow {
  transform: translateX(3px);
}


/* Widget Flottant Permanent WhatsApp Business */
.wa-floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  animation: fadeRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.wa-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  background: rgba(10, 29, 51, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(183, 151, 79, 0.45);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 16px 36px -10px rgba(10, 29, 51, 0.42), 0 0 20px rgba(37, 211, 102, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #25D366;
  box-shadow: 0 20px 42px -10px rgba(10, 29, 51, 0.52), 0 0 30px rgba(37, 211, 102, 0.38);
}

.wa-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 54px;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waPulse 3s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.96); opacity: 0.75; }
  50% { transform: scale(1.05); opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}

.wa-float-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.wa-float-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.wa-float-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.wa-float-sub {
  font-size: 0.70rem;
  color: #CFAF66;
  font-weight: 600;
}

@media (max-width: 820px) {
  .wa-conn-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 16px;
  }
  .wa-conn-right {
    width: 100%;
  }
  .wa-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .wa-floating-widget {
    bottom: 16px;
    right: 16px;
  }
  .wa-float-btn {
    padding: 6px;
    border-radius: 50%;
  }
  .wa-float-text {
    display: none;
  }
  .wa-float-pulse {
    border-radius: 50%;
  }
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


@media (max-width: 960px) {
  .portal-shell {
    max-width: 720px;
  }
  .access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .access-card:nth-child(3) {
    grid-column: span 2;
  }
}

@media (max-width: 780px) {
  .portal-shell {
    padding: 32px 16px 24px;
    gap: 20px;
  }

  .brand-pedestal {
    padding: 16px 24px 14px;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .access-card:nth-child(3) {
    grid-column: span 1;
  }

  .access-card {
    padding: 22px 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .geo-orbit-group,
  .brand-header,
  .access-card {
    animation: none;
  }

  .access-card,
  .portal-btn,
  .portal-btn__icon {
    transition: none;
  }
}

/* ==========================================================================
   NOUVEAUX STYLES : ACCÈS STAFF & NAVIGATION PORTAIL RÉORGANISÉ
   ========================================================================== */

/* Barre de navigation supérieure */
.portal-top-nav {
  width: 100%;
  max-width: 1140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-gold);
  border-radius: 9999px;
  box-shadow: 0 4px 16px -4px rgba(10, 29, 51, 0.08);
}

.portal-top-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding-left: 4px;
}

.portal-top-nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.portal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid transparent;
}

.portal-nav-btn--staff {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--gold-bright);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(10, 29, 51, 0.22);
}

.portal-nav-btn--staff:hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(183, 151, 79, 0.35);
}

.portal-nav-btn--back {
  background: rgba(10, 29, 51, 0.06);
  color: var(--navy);
  border-color: rgba(10, 29, 51, 0.15);
}

.portal-nav-btn--back:hover {
  background: var(--navy);
  color: #FFFFFF;
}

.portal-nav-btn--logout {
  background: rgba(220, 38, 38, 0.08);
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.25);
}

.portal-nav-btn--logout:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.user-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  color: #065F46;
}

.user-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

/* Grille de la page Index : centrée et équilibrée */
.index-grid {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  margin: 8px 0 16px;
}

.card-actions-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-btn--secondary {
  background: #FFFFFF;
  color: var(--navy);
  border-color: var(--line-gold);
  box-shadow: 0 4px 10px rgba(10, 29, 51, 0.06);
}

.portal-btn--secondary:hover {
  background: var(--navy);
  color: var(--gold-bright);
  border-color: var(--navy);
}

/* Carte de connexion Staff (Mire de connexion) */
.staff-auth-wrapper {
  width: 100%;
  max-width: 460px;
  margin: 12px auto 24px;
}

.staff-auth-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  padding: 34px 30px 28px;
  box-shadow: 0 24px 50px -20px rgba(10, 29, 51, 0.25), 0 0 20px rgba(183, 151, 79, 0.12);
  text-align: center;
}

.staff-auth-header {
  margin-bottom: 22px;
}

.staff-auth-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 6px;
}

.staff-auth-header p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.staff-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.staff-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.staff-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.staff-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.staff-input-box input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid rgba(10, 29, 51, 0.2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: #FAFBFD;
  transition: all 0.2s ease;
}

.staff-input-box input:focus {
  outline: none;
  border-color: var(--gold);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(183, 151, 79, 0.18);
}

.staff-input-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.toggle-pwd-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.toggle-pwd-btn:hover {
  color: var(--navy);
}

.staff-btn-submit {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(183, 151, 79, 0.55);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.staff-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(183, 151, 79, 0.7);
  background: linear-gradient(135deg, #A8863A 0%, var(--gold-bright) 100%);
}

.staff-auth-error {
  padding: 10px 14px;
  border-radius: 8px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.staff-auth-footer-note {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 29, 51, 0.08);
  font-size: 0.76rem;
  color: var(--muted);
}

/* Dashboard Staff connecté */
.staff-welcome-banner {
  width: 100%;
  max-width: 1140px;
  padding: 16px 22px;
  margin-bottom: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line-gold);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 8px 20px -8px rgba(10, 29, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.staff-welcome-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 3px;
}

.staff-welcome-text p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   VOLET WHATSAPP BUSINESS & CALLOUT STAFF
   ========================================================================== */

.access-card--wa {
  border-color: rgba(37, 211, 102, 0.35);
  box-shadow: 0 20px 44px -22px rgba(10, 29, 51, 0.18), 0 4px 18px -6px rgba(37, 211, 102, 0.20);
}

.access-card--wa::before {
  background: linear-gradient(90deg, #128C7E 0%, #25D366 60%, var(--gold) 100%);
}

.access-card--wa:hover {
  border-color: #25D366;
  box-shadow: 0 26px 52px -22px rgba(10, 29, 51, 0.22), 0 8px 24px -4px rgba(37, 211, 102, 0.35);
}

.icon-octa--wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.service-tag--wa {
  color: #0D7A3E;
  background: rgba(37, 211, 102, 0.12);
  border-left-color: #25D366;
}

.portal-btn--wa {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF;
  border-color: #4ADE80;
  box-shadow: 0 10px 22px -8px rgba(37, 211, 102, 0.55);
}

.portal-btn--wa:hover {
  background: linear-gradient(135deg, #2CE570 0%, #22BF5C 100%);
  border-color: #86EFAC;
  box-shadow: 0 14px 28px -6px rgba(37, 211, 102, 0.7);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.portal-btn--wa .portal-btn__icon {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.wa-direct-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #128C7E;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(37, 211, 102, 0.10);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 6px;
}

.staff-access-callout {
  width: 100%;
  max-width: 920px;
  text-align: center;
  margin: 6px 0 2px;
}

.staff-callout-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-gold);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 4px 14px -4px rgba(10, 29, 51, 0.08);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.staff-callout-pill:hover {
  background: var(--navy);
  color: var(--gold-bright);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(10, 29, 51, 0.25);
}

/* Optimisation de compacité verticale pour affichage au-dessus de la ligne de flottaison */
@media (min-height: 600px) {
  .portal-shell {
    padding: 16px 20px 14px;
    gap: 14px;
  }
  .brand-header {
    gap: 8px;
  }
  .brand-pedestal {
    padding: 10px 24px 8px;
  }
  .brand-logo {
    width: min(190px, 50vw);
  }
  .geo-divider {
    margin: 8px auto 4px;
  }
  .hero-subtitle {
    font-size: 0.88rem;
  }
  .index-grid {
    margin: 2px 0 8px;
  }
}

/* ==========================================================================
   Bannière de découverte de la Présentation Industrielle
   ========================================================================== */
.pres-discovery-banner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto 12px;
}

.pres-discovery-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 248, 0.92) 100%);
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 16px -4px rgba(10, 29, 51, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pres-discovery-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px -4px rgba(10, 29, 51, 0.15);
  background: #FFFFFF;
}

.pres-discovery-text {
  font-size: 0.82rem;
  color: var(--navy);
  line-height: 1.4;
  flex: 1 1 auto;
}

.pres-discovery-text strong {
  color: var(--gold-deep);
}

.pres-discovery-arrow {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--gold-deep);
  white-space: nowrap;
  padding: 4px 10px;
  background: rgba(183, 151, 79, 0.12);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pres-discovery-link:hover .pres-discovery-arrow {
  background: var(--navy);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .pres-discovery-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }
  .pres-discovery-arrow {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}





/* =====================================================================
   PLAN DU SITE UNIFIÉ AMAYRAF (SITEMAP COMPONENT)
   ===================================================================== */
.site-sitemap {
  width: 100%;
  background: #040D18;
  border-top: 1px solid rgba(212, 178, 111, 0.25);
  color: #CBD5E1;
  padding: 44px 20px 28px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.site-sitemap__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.site-sitemap__head {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-sitemap__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.site-sitemap__logo-dot {
  width: 8px;
  height: 8px;
  background: #D4B26F;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 178, 111, 0.6);
  flex-shrink: 0;
}

.site-sitemap__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-sitemap__tagline {
  margin: 0;
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.5;
}

.site-sitemap__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}

@media (max-width: 992px) {
  .site-sitemap__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 580px) {
  .site-sitemap__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.site-sitemap__col {
  display: flex;
  flex-direction: column;
}

.site-sitemap__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #D4B26F;
}

.site-sitemap__heading-bar {
  display: inline-block;
  width: 12px;
  height: 2px;
  background: #D4B26F;
  border-radius: 1px;
}

.site-sitemap__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-sitemap__item {
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-sitemap__link {
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-sitemap__link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
  text-decoration: underline;
  text-decoration-color: #D4B26F;
}

.site-sitemap__link--wa:hover {
  color: #25D366;
}

.site-sitemap__link--mail:hover {
  color: #60A5FA;
}

/* Page active / lien inhibé */
.site-sitemap__link--current {
  color: #D4B26F !important;
  font-weight: 700 !important;
  cursor: default !important;
  pointer-events: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(212, 178, 111, 0.12);
  border: 1px solid rgba(212, 178, 111, 0.35);
  border-radius: 4px;
}

.site-sitemap__current-badge {
  color: #22C55E;
  font-size: 0.75rem;
  line-height: 1;
}

.site-sitemap__tag-cur {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: #E2E8F0;
  opacity: 0.85;
}
