/* DGDN — portail public (barre latérale, barre utilitaire, héros, cartes, bandeau de confiance).
   Jetons repris du guide « Gamme chromatique et guide de reproduction du template ». */
:root {
  --dgdn-green-900: #003F3A;
  --dgdn-green-800: #005B46;
  --dgdn-green-700: #08785B;
  --dgdn-green-100: #E6F5EE;
  --dgdn-green-050: #F3FAF7;
  --dgdn-navy-900: #10243A;
  --dgdn-slate-700: #40556B;
  --dgdn-blue-050: #EAF4FB;
  --color-white: #FFFFFF;
  --color-border: #D9E3E8;
  --color-surface: #F5F8F9;
  --flag-green: #006A4E;
  --flag-yellow: #F5C400;
  --flag-red: #D92735;
  --text-primary: var(--dgdn-navy-900);
  --text-secondary: var(--dgdn-slate-700);
  --action-primary: var(--dgdn-green-800);
  --action-hover: var(--dgdn-green-900);
  --focus-ring: #1684C7;
  --trust-bg: #1C3543;
  --shadow-card: 0 12px 32px rgba(16, 36, 58, .08);
  --shadow-pop: 0 18px 40px rgba(16, 36, 58, .14);
  --font-title: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;
  --sidebar-w: 264px;
  --utilbar-h: 68px;
  --tricolor: linear-gradient(90deg, var(--flag-green) 0 33.3%, var(--flag-yellow) 33.3% 66.6%, var(--flag-red) 66.6% 100%);
}

* { box-sizing: border-box; }
body.dgdn-portal {
  margin: 0;
  min-height: 100vh;
  font: 15px/1.55 var(--font-body);
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 60% 40% at 70% 0%, rgba(230, 245, 238, .9), transparent 70%),
    linear-gradient(180deg, #F1F7F5 0%, var(--color-surface) 60%);
  /* les sections héritées (dgdn-public.css) suivent la typographie du portail */
  --dgdn-serif: var(--font-title);
  --dgdn-sans: var(--font-body);
  --dgdn-ink: var(--dgdn-navy-900);
  --dgdn-muted: var(--dgdn-slate-700);
  --dgdn-forest: var(--dgdn-green-800);
  --dgdn-line: var(--color-border);
}
.dgdn-portal img { max-width: 100%; }
.dgdn-portal a:focus-visible,
.dgdn-portal button:focus-visible,
.dgdn-portal input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.pt-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.pt-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--action-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.pt-skip:focus { top: 12px; }
.pt-ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ——— Boutons ——— */
.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 600 15px/1 var(--font-title);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pt-btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.pt-btn-lg { min-height: 58px; padding: 0 26px; font-size: 16px; }
.pt-btn-primary { background: var(--action-primary); color: #fff; }
.pt-btn-primary:hover { background: var(--action-hover); color: #fff; }
.pt-btn-outline { background: #fff; border-color: var(--color-border); color: var(--text-primary); }
.pt-btn-outline:hover { border-color: var(--dgdn-green-700); color: var(--dgdn-green-800); }
.pt-btn-light { background: #fff; color: var(--dgdn-green-900); }
.pt-btn-light:hover { background: var(--dgdn-green-100); }
.pt-btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.pt-btn-outline-light:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ——— Barre latérale ——— */
.pt-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-w);
  padding: 0 18px;
  overflow-y: auto;
  color: #fff;
  background: linear-gradient(180deg, #0B5A47 0%, #064A40 42%, var(--dgdn-green-900) 75%, #033532 100%);
}
.pt-sidebar-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 46px 4px 6px;
}
.pt-sidebar-flag {
  position: absolute;
  top: 0;
  left: 82px;
  width: 7px;
  height: 34px;
  background: linear-gradient(180deg, var(--flag-green) 0 33.3%, var(--flag-yellow) 33.3% 66.6%, var(--flag-red) 66.6% 100%);
}
.pt-sidebar-logo img { display: block; height: 76px; width: auto; }
.pt-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
}
.pt-sidebar-search { display: none; margin-top: 18px; }
.pt-nav { display: grid; gap: 6px; margin-top: 30px; }
.pt-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  font: 500 15.5px/1.2 var(--font-body);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.pt-nav-link .pt-ico { width: 22px; height: 22px; stroke-width: 1.7; }
.pt-nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pt-nav-link.is-active {
  background: linear-gradient(90deg, #14845F 0%, rgba(20, 132, 95, .55) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.pt-nav-chevron { margin-left: auto; display: inline-flex; transition: transform .2s ease; }
.pt-nav-chevron .pt-ico { width: 18px; height: 18px; }
.pt-nav-toggle[aria-expanded="true"] .pt-nav-chevron { transform: rotate(90deg); }
.pt-nav-sub { display: grid; gap: 2px; padding: 2px 0 8px 52px; }
.pt-nav-sub[hidden] { display: none; }
.pt-nav-label {
  margin: 18px 16px 4px;
  color: rgba(255, 255, 255, .55);
  font: 600 11.5px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pt-nav-sub a {
  padding: 8px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  text-decoration: none;
}
.pt-nav-sub a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pt-sidebar-account { display: none; gap: 8px; margin-top: 22px; }
.pt-sidebar-motif {
  margin: auto -18px 0;
  padding-top: 24px;
}
.pt-sidebar-motif img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
}
.pt-backdrop { display: none; }

/* ——— Barre compacte (tablette, mobile) ——— */
.pt-mbar { display: none; }

/* ——— Zone principale ——— */
.pt-main-wrap { margin-left: var(--sidebar-w); min-width: 0; }
.pt-utilbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--utilbar-h);
  padding: 0 48px 0 56px;
  border-bottom: 1px solid rgba(217, 227, 232, .8);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pt-utilbar-loc {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-width: 0;
  color: var(--text-secondary);
  font-size: 14px;
  white-space: nowrap;
}
.pt-utilbar-loc .pt-ico { width: 18px; height: 18px; color: var(--text-primary); }
.pt-utilbar-sep { width: 1px; height: 18px; background: var(--color-border); }
.pt-utilbar-tools { display: flex; align-items: center; gap: 12px; }

.pt-search { position: relative; width: clamp(240px, 26vw, 380px); }
.pt-search > .pt-ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-primary);
  pointer-events: none;
}
.pt-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 46px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font: 14px var(--font-body);
  color: var(--text-primary);
}
.pt-search input::placeholder { color: #7A8A99; }
.pt-search input:focus { outline: none; border-color: var(--dgdn-green-700); box-shadow: 0 0 0 3px rgba(22, 132, 199, .25); }
.pt-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-pop);
}
.pt-search-results[hidden] { display: none; }
.pt-search-results a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
}
.pt-search-results a:hover, .pt-search-results a:focus-visible { background: var(--dgdn-green-050); color: var(--dgdn-green-800); }
.pt-search-results .is-empty { padding: 10px 12px; color: var(--text-secondary); font-size: 13.5px; }
.pt-search-results { max-height: min(60vh, 420px); overflow-y: auto; }
.pt-search-results a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pt-search-results b { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.pt-search-results small { flex: none; color: var(--text-secondary); font-size: 12px; }
.pt-search-results .is-active a { background: var(--dgdn-green-050); color: var(--dgdn-green-800); }
.pt-search-results .is-all a { justify-content: center; color: var(--dgdn-green-800); font-weight: 600; }

.pt-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font: 600 14px var(--font-title);
}
.pt-lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0055A4 0 33.3%, #fff 33.3% 66.6%, #EF4135 66.6% 100%);
  box-shadow: 0 0 0 1px rgba(16, 36, 58, .12);
}
.pt-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
}
.pt-icon-btn:hover { background: var(--dgdn-green-050); }
.pt-icon-btn .pt-ico { width: 24px; height: 24px; }
.pt-apps { position: relative; }
.pt-apps-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: grid;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-pop);
}
.pt-apps-menu[hidden] { display: none; }
.pt-apps-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.pt-apps-menu a .pt-ico { color: var(--dgdn-green-800); }
.pt-apps-menu a:hover { background: var(--dgdn-green-050); }

.pt-main { padding: 44px 132px 56px 56px; }

/* ——— Héros ——— */
.pt-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: flex-start;
}
.pt-hero-text { position: relative; z-index: 2; max-width: 700px; padding: 12px 0 36px; }
.pt-kicker {
  margin: 0;
  color: var(--dgdn-green-800);
  font: 700 13px/1.5 var(--font-title);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.pt-tricolor { display: block; width: 86px; height: 4px; margin: 16px 0 26px; border-radius: 2px; background: var(--tricolor); }
.pt-hero-title {
  margin: 0 0 18px;
  font: 800 clamp(34px, 4.1vw, 58px)/1.04 var(--font-title);
  letter-spacing: -.025em;
  color: var(--text-primary);
  text-wrap: balance;
}
.pt-hero-title span { display: block; color: var(--dgdn-green-800); }
.pt-hero-lead {
  margin: 0 0 30px;
  max-width: 34em;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.5;
}
.pt-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.pt-hero-cta .pt-btn-primary .pt-ico:last-child { margin-left: 6px; }
.pt-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.pt-benefits li { display: inline-flex; align-items: center; gap: 8px; }
.pt-benefits .pt-ico { width: 18px; height: 18px; color: var(--dgdn-green-800); }
.pt-hero-photo {
  display: block;
  position: absolute;
  z-index: 1;
  top: -44px;
  right: -132px;
  bottom: -40px;
  width: 58%;
  max-width: 720px;
  /* fondu du bas : le bord de la photo ne se voit pas autour des cartes */
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.pt-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}

/* ——— Cartes de services ——— */
.pt-cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pt-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(217, 227, 232, .7);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pt-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); border-color: rgba(8, 120, 91, .3); }
.pt-card-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 14px;
}
.pt-card-icon .pt-ico { width: 46px; height: 46px; stroke-width: 1.6; }
.pt-card-icon.is-green { background: var(--dgdn-green-100); color: var(--dgdn-green-800); }
.pt-card-icon.is-blue { background: var(--dgdn-blue-050); color: var(--dgdn-navy-900); }
.pt-card-body { display: grid; gap: 6px; min-width: 0; padding-top: 4px; }
.pt-card-title { font: 700 20px/1.2 var(--font-title); }
.pt-card-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.5; }
.pt-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--dgdn-green-800);
  font: 700 15px/1.3 var(--font-title);
}
.pt-card-action .pt-ico { width: 18px; height: 18px; }
.pt-card-chevron {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--text-primary);
}
.pt-card-chevron .pt-ico { width: 16px; height: 16px; }
.pt-cards-more { margin: 14px 0 0; text-align: right; font-size: 14px; }
.pt-cards-more a { color: var(--dgdn-green-800); font-weight: 600; }
.pt-empty { padding: 18px 20px; border-radius: 14px; background: #fff; color: var(--text-secondary); }

/* ——— Bandeau de confiance ——— */
.pt-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  margin-top: 34px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--trust-bg);
  color: #fff;
}
.pt-trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 26px 8px 26px 28px;
  list-style: none;
}
.pt-trust-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.pt-trust-list li:first-child { border-left: 0; padding-left: 0; }
.pt-trust-list .pt-ico { width: 30px; height: 30px; stroke-width: 1.6; color: rgba(255, 255, 255, .92); }
.pt-trust-list span { display: grid; gap: 3px; font-size: 13px; color: rgba(255, 255, 255, .72); line-height: 1.35; }
.pt-trust-list b { font: 600 15px/1.3 var(--font-title); color: #fff; }
.pt-trust-picture { display: block; min-width: 0; }
.pt-trust-visual {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

/* ——— Sections d'information (héritées) ——— */
.pt-sections { margin-top: 56px; }

/* ——— Barre d'accès rapide (droite) ——— */
.pt-rail {
  position: fixed;
  top: 150px;
  right: 16px;
  /* Sous .pt-utilbar (30), dont dépendent le menu des applications et les résultats de recherche. */
  z-index: 20;
  display: grid;
  width: 96px;
  padding: 8px 6px;
  border: 1px solid rgba(217, 227, 232, .8);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.pt-rail a {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 6px;
  border-top: 1px solid #EEF2F4;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}
.pt-rail a:first-child { border-top: 0; }
.pt-rail .pt-ico { width: 28px; height: 28px; stroke-width: 1.6; color: var(--text-primary); }
.pt-rail a:hover { border-radius: 12px; background: var(--dgdn-green-050); color: var(--dgdn-green-800); }
.pt-rail a:hover .pt-ico { color: var(--dgdn-green-800); }

/* ——— Écrans de portable (1200–1599 px) ——— */
@media (max-width: 1599px) {
  .pt-hero-text { max-width: 54%; }
  .pt-hero-title { font-size: clamp(34px, 3.6vw, 52px); }
  .pt-hero-photo { width: 52%; }
  /* cartes empilées : icône et chevron en haut, texte dessous */
  .pt-card { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 20px; }
  .pt-card-icon { width: 64px; height: 64px; }
  .pt-card-icon .pt-ico { width: 32px; height: 32px; }
  .pt-card-chevron { grid-row: 1; grid-column: 2; justify-self: end; }
  .pt-card-body { grid-column: 1 / -1; padding-top: 0; }
  .pt-card-title { font-size: 19px; }
  .pt-trust { grid-template-columns: minmax(0, 1fr) 240px; }
  .pt-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .pt-trust-list li:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ——— Tablette et mobile : tiroir de navigation ——— */
@media (max-width: 1199px) {
  .pt-mbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 64px;
    padding: 0 16px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, .95);
  }
  .pt-mbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
    color: var(--text-primary);
    cursor: pointer;
  }
  .pt-mbar-btn .pt-ico { width: 24px; height: 24px; }
  .pt-mbar-logo img { display: block; height: 52px; width: auto; }
  .pt-mbar-account {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--action-primary);
    color: #fff;
    font: 600 14px var(--font-title);
    text-decoration: none;
  }
  .pt-sidebar {
    width: min(300px, 86vw);
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform .25s ease, visibility 0s linear .25s;
    box-shadow: 18px 0 40px -18px rgba(0, 0, 0, .5);
  }
  .pt-drawer-open .pt-sidebar { visibility: visible; transform: none; transition: transform .25s ease; }
  .pt-sidebar-head { padding-top: 40px; }
  .pt-sidebar-close { display: inline-flex; }
  .pt-sidebar-search { display: block; }
  .pt-sidebar-search .pt-search { width: 100%; }
  .pt-sidebar-search .pt-search input { border-color: transparent; }
  .pt-sidebar-account { display: grid; }
  .pt-nav { margin-top: 20px; }
  .pt-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(8, 20, 16, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .pt-drawer-open .pt-backdrop { opacity: 1; visibility: visible; transition: opacity .25s ease; }
  body.pt-drawer-open { overflow: hidden; }
  .pt-utilbar, .pt-rail { display: none; }
  .pt-main-wrap { margin-left: 0; }
  .pt-main { padding: 32px 32px 48px; }
  .pt-hero { min-height: 420px; }
  .pt-hero-text { max-width: 56%; }
  .pt-hero-photo { top: -32px; right: -32px; bottom: -24px; width: 52%; }
  .pt-cards { grid-template-columns: 1fr; }
  .pt-card { grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; }
  .pt-card-body { grid-column: auto; padding-top: 2px; }
  .pt-card-chevron { grid-row: auto; grid-column: auto; }
  .pt-trust { grid-template-columns: 1fr; }
  .pt-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .pt-trust-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .pt-trust-visual { height: 170px; -webkit-mask-image: none; mask-image: none; }
}

/* ——— Mobile ——— */
@media (max-width: 767px) {
  .pt-main { padding: 24px 16px 40px; }
  .pt-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .pt-hero-text { max-width: none; padding-top: 0; }
  .pt-kicker { font-size: 11.5px; letter-spacing: .16em; }
  .pt-tricolor { margin: 12px 0 18px; }
  .pt-hero-title { font-size: clamp(30px, 8.6vw, 34px); }
  .pt-hero-lead { font-size: 16px; margin-bottom: 22px; }
  .pt-hero-cta { flex-direction: column; gap: 12px; }
  .pt-hero-cta .pt-btn { width: 100%; }
  .pt-hero-photo {
    position: static;
    width: auto;
    max-width: none;
    height: 300px;
    margin: 0 -16px 20px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pt-hero-photo img {
    object-position: 35% 10%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
  }
  .pt-card { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .pt-card-chevron { display: none; }
  .pt-card-icon { width: 60px; height: 60px; border-radius: 12px; }
  .pt-card-icon .pt-ico { width: 30px; height: 30px; }
  .pt-card-title { font-size: 18px; }
  .pt-cards-more { text-align: left; }
  .pt-trust-list { grid-template-columns: 1fr; padding: 22px 20px; gap: 16px; }
  .pt-trust-list li { border-left: 0; padding: 0; }
  .pt-trust-list li + li { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .pt-mbar-logo img { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-sidebar, .pt-backdrop, .pt-card, .pt-nav-chevron { transition: none; }
  .pt-card:hover { transform: none; }
}

/* ——— Corps de page : À la une, services, étapes, aide ——— */
.pt-sections {
  --bd-green: #006653;
  --bd-green-deep: #004C43;
  --bd-mint-soft: #EFF8F4;
  --bd-mint: #DDF1E8;
  --bd-navy: #102449;
  --bd-muted: #60708B;
  --bd-border: #DDE8E8;
  --bd-warm: #FFF4D8;
  --bd-shadow: 0 2px 10px rgba(16, 36, 73, .04);
  display: grid;
  gap: 32px;
  color: var(--bd-navy);
}
.pt-sections a { text-decoration: none; }
.pt-sections a:focus-visible, .pt-sections button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 8px; }
.pt-bd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pt-bd-title { margin: 0; font: 800 clamp(1.35rem, 2vw, 1.85rem)/1.2 var(--font-title); }
.pt-bd-title::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--bd-green); }
.pt-bd-carousel { display: flex; gap: 10px; }
.pt-bd-carousel button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #EAF1F2;
  color: var(--bd-navy);
  cursor: default;
}
.pt-bd-carousel .pt-ico { width: 20px; height: 20px; }
.pt-bd-link { display: inline-flex; align-items: center; gap: 10px; color: var(--bd-green); font: 700 16px/1.3 var(--font-title); }
.pt-bd-link-sm { font-size: 14.5px; }
.pt-bd-link .pt-ico { width: 18px; height: 18px; transition: transform .15s ease; }
.pt-bd-link:hover .pt-ico { transform: translateX(3px); }

/* À la une */
.pt-bd-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--bd-border);
  border-radius: 10px;
  background: var(--bd-mint-soft);
}
.pt-bd-featured img { display: block; width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.pt-bd-featured-body { display: grid; align-content: center; gap: 10px; padding: 24px 32px; }
.pt-bd-date { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--bd-muted); font-size: 14px; }
.pt-bd-date .pt-ico { width: 18px; height: 18px; }
.pt-bd-featured h3 { margin: 0; font: 800 clamp(1.15rem, 1.7vw, 1.55rem)/1.3 var(--font-title); }
.pt-bd-featured-text { margin: 0; color: var(--bd-muted); font-size: 16px; line-height: 1.6; }
.pt-bd-featured .pt-bd-link { margin-top: 6px; }

/* Services */
.pt-bd-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.pt-bd-services li { display: flex; }
.pt-bd-service {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--bd-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--bd-shadow);
  color: inherit;
  transition: transform .15s ease, border-color .15s ease;
}
.pt-bd-service:hover { transform: translateY(-2px); border-color: #B9D8CB; }
.pt-bd-service img { display: block; width: 100%; height: 124px; object-fit: cover; }
.pt-bd-service-body { display: flex; flex: 1; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 16px 14px; }
.pt-bd-service-text { display: grid; gap: 6px; }
.pt-bd-service-text b { font: 700 15.5px/1.3 var(--font-title); }
.pt-bd-service-text span { color: var(--bd-muted); font-size: 14px; line-height: 1.5; }
.pt-bd-circle {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--bd-navy);
  border-radius: 50%;
}
.pt-bd-circle .pt-ico { width: 15px; height: 15px; stroke-width: 2.2; }
.pt-bd-service:hover .pt-bd-circle { border-color: var(--bd-green); background: var(--bd-green); color: #fff; }

/* Étapes */
.pt-bd-steps-panel { padding: 18px 20px 22px; border: 1px solid #E0EEE7; border-radius: 12px; background: var(--bd-mint-soft); }
.pt-bd-steps-panel .pt-bd-title { margin-bottom: 18px; }
.pt-bd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px; margin: 0; padding: 0; list-style: none; }
.pt-bd-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 16px 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .7);
  text-align: center;
}
.pt-bd-steps b { margin-top: 6px; font: 700 15px/1.3 var(--font-title); }
.pt-bd-steps li > span:not([class]) { color: var(--bd-muted); font-size: 14px; line-height: 1.5; }
.pt-bd-step-num {
  position: absolute;
  top: -10px;
  left: -6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bd-green);
  color: #fff;
  font: 700 15px/1 var(--font-title);
}
.pt-bd-step-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bd-mint); color: var(--bd-green); }
.pt-bd-step-ico .pt-ico { width: 28px; height: 28px; stroke-width: 1.9; }
.pt-bd-chev { position: absolute; top: 50%; right: -34px; display: grid; width: 24px; height: 24px; margin-top: -12px; color: var(--bd-navy); }
.pt-bd-chev .pt-ico { width: 22px; height: 22px; stroke-width: 2.2; }

/* Aide */
.pt-bd-help { display: grid; gap: 12px; }
.pt-bd-help-bar { display: flex; align-items: center; gap: 22px; padding: 16px 24px; border: 1px solid #E0EEE7; border-radius: 12px; background: var(--bd-mint-soft); }
.pt-bd-help-ico { flex: none; color: var(--bd-green); }
.pt-bd-help-ico .pt-ico { width: 52px; height: 52px; stroke-width: 1.6; }
.pt-bd-help-bar div { flex: 1; min-width: 0; }
.pt-bd-help-bar h2 { margin: 0 0 4px; font: 800 20px/1.3 var(--font-title); }
.pt-bd-help-bar p { margin: 0; color: var(--bd-muted); font-size: 15px; }
.pt-bd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 26px;
  border: 1.5px solid var(--bd-green);
  border-radius: 8px;
  background: #fff;
  color: var(--bd-navy);
  font: 700 15px/1 var(--font-title);
  white-space: nowrap;
}
.pt-bd-btn .pt-ico { width: 17px; height: 17px; }
.pt-bd-btn:hover { background: var(--bd-green); color: #fff; }
.pt-bd-resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pt-bd-resource { display: flex; align-items: center; gap: 22px; padding: 18px 22px; border: 1px solid var(--bd-border); border-radius: 10px; background: #fff; box-shadow: var(--bd-shadow); }
.pt-bd-resource-ico { display: grid; place-items: center; flex: none; width: 84px; height: 84px; border-radius: 14px; background: var(--bd-mint); color: var(--bd-green); }
.pt-bd-resource-ico.is-warm { background: var(--bd-warm); }
.pt-bd-resource-ico .pt-ico { width: 38px; height: 38px; stroke-width: 1.7; }
.pt-bd-resource h3 { margin: 0 0 6px; font: 700 15.5px/1.3 var(--font-title); }
.pt-bd-resource p { margin: 0 0 10px; color: var(--bd-muted); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 1599px) {
  .pt-bd-steps { gap: 38px; }
  .pt-bd-chev { right: -31px; }
}
@media (min-width: 1200px) and (max-width: 1299px), (max-width: 999px) {
  .pt-bd-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-bd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 44px; }
  .pt-bd-steps li:nth-child(2) .pt-bd-chev { display: none; }
}
@media (max-width: 767px) {
  .pt-sections { gap: 26px; }
  .pt-bd-head { flex-wrap: wrap; align-items: center; }
  .pt-bd-featured { grid-template-columns: 1fr; }
  .pt-bd-featured img { height: 200px; }
  .pt-bd-featured-body { padding: 20px 18px; }
  .pt-bd-services { grid-template-columns: 1fr; gap: 16px; }
  .pt-bd-steps-panel { padding: 16px 14px 18px; }
  .pt-bd-steps { grid-template-columns: 1fr; gap: 22px; }
  .pt-bd-chev { display: none; }
  .pt-bd-step-num { left: 8px; }
  .pt-bd-help-bar { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
  .pt-bd-btn { width: 100%; }
  .pt-bd-resources { grid-template-columns: 1fr; }
  .pt-bd-resource { padding: 16px; gap: 16px; }
  .pt-bd-resource-ico { width: 68px; height: 68px; }
}

/* ——— Page « À propos » ——— */
.pt-ab {
  --bd-green: #006653;
  --bd-green-deep: #004C43;
  --bd-green-dark: #003D36;
  --bd-mint-soft: #EFF8F4;
  --bd-mint: #DDF1E8;
  --bd-navy: #102449;
  --bd-muted: #60708B;
  --bd-border: #DDE8E8;
  --bd-shadow: 0 2px 10px rgba(16, 36, 73, .05);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  color: var(--bd-navy);
}
.pt-ab a { text-decoration: none; }
.pt-ab a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 8px; }
.pt-ab-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.pt-ab-crumbs li + li::before { content: ">"; margin-right: 8px; color: var(--bd-muted); }
.pt-ab-crumbs a { color: var(--bd-navy); }
.pt-ab-crumbs a:hover { color: var(--bd-green); text-decoration: underline; }
.pt-ab-crumbs [aria-current] { color: var(--bd-muted); }
.pt-ab-section-title { margin-bottom: 16px; }
.pt-ab .pt-bd-title { margin-bottom: 18px; }

.pt-ab-eyebrow { margin: 0 0 6px; color: var(--bd-green); font: 700 12.5px/1.2 var(--font-title); letter-spacing: .12em; text-transform: uppercase; }

/* Notre organisation : texte à gauche, emblème institutionnel à droite */
.pt-ab-org { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: stretch; }
.pt-ab-org-text { align-self: center; }
.pt-ab-lead { margin: 0; color: var(--bd-muted); font-size: 16px; line-height: 1.8; }
/* Carte de l'organisation : même composant que « Une documentation sécurisée… » */
.pt-ab-org-card { align-self: center; }
.pt-ab-org-card h3 { margin: 0 0 10px; color: var(--bd-green-deep); font: 800 21px/1.3 var(--font-title); }
@media (min-width: 1000px) and (max-width: 1599px) {
  .pt-ab-org-card { flex-direction: column; gap: 14px; }
  .pt-ab-org-card .pt-ab-secure-ico .pt-ico { width: 56px; height: 56px; }
}

/* Notre mission : panneau menthe, photo à gauche, texte à droite */
.pt-ab-mission {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid #E0EEE7;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--bd-mint) 0%, var(--bd-mint-soft) 55%, #fff 100%);
}
.pt-ab-mission-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.pt-ab-mission-head .pt-bd-title { margin-bottom: 0; }
.pt-ab-mission-ico { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--bd-mint); color: var(--bd-green); }
.pt-ab-mission-ico .pt-ico { width: 36px; height: 36px; stroke-width: 1.9; }
.pt-ab-mission-lead { margin: 0 0 22px; padding-left: 18px; border-left: 3px solid var(--bd-green); color: var(--bd-navy); font-size: 17px; line-height: 1.7; }
.pt-ab .pt-ab-stamp { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 26px rgba(16, 36, 73, .12); }
.pt-ab-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 14px; list-style: none; border-radius: 12px; background: #fff; }
.pt-ab-stats li { display: grid; justify-items: center; gap: 4px; padding: 10px 8px; text-align: center; }
.pt-ab-stats li + li { border-left: 1px solid var(--bd-border); }
.pt-ab-stat-ico { color: var(--bd-green); }
.pt-ab-stat-ico .pt-ico { width: 30px; height: 30px; }
.pt-ab-stats b { font: 800 17px/1.2 var(--font-title); }
.pt-ab-stats span:last-child { color: var(--bd-muted); font-size: 12.5px; line-height: 1.4; }

.pt-ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 26px;
  border: 1.5px solid var(--bd-green);
  border-radius: 8px;
  background: var(--bd-green);
  color: #fff;
  font: 700 15px/1 var(--font-title);
}
.pt-ab-btn .pt-ico { width: 18px; height: 18px; transition: transform .15s ease; }
.pt-ab-btn:hover { background: var(--bd-green-deep); border-color: var(--bd-green-deep); }
.pt-ab-btn:hover .pt-ico { transform: translateX(3px); }
.pt-ab-btn.is-light { border-color: #fff; background: #fff; color: var(--bd-green-deep); }
.pt-ab-btn.is-light:hover { background: var(--bd-mint); }
.pt-ab-btn.is-outline { background: transparent; color: var(--bd-green-deep); }
.pt-ab-btn.is-outline:hover { background: var(--bd-green); color: #fff; }

.pt-ab-ico { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--bd-mint); color: var(--bd-green); }
.pt-ab-ico .pt-ico { width: 30px; height: 30px; stroke-width: 1.9; }
.pt-ab-cards { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pt-ab-cards li { flex: 1 1 150px; min-width: 0; padding: 18px 18px 20px; border: 1px solid var(--bd-border); border-radius: 8px; background: #fff; box-shadow: var(--bd-shadow); }
.pt-ab-cards h3 { margin: 16px 0 8px; font: 700 16px/1.3 var(--font-title); }
.pt-ab-cards p { margin: 0; color: var(--bd-muted); font-size: 14.5px; line-height: 1.6; }

.pt-ab-values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 18px; list-style: none; border-radius: 10px; background: var(--bd-mint-soft); }
.pt-ab-values li { display: flex; align-items: flex-start; gap: 14px; padding: 4px 16px; }
.pt-ab-values li + li { border-left: 1px solid var(--bd-border); }
.pt-ab-values .pt-ab-ico { width: 56px; height: 56px; background: #fff; }
.pt-ab-values .pt-ab-ico .pt-ico { width: 28px; height: 28px; }
.pt-ab-values li > span:last-child { display: grid; gap: 4px; color: var(--bd-muted); font-size: 13.5px; line-height: 1.5; }
.pt-ab-values b { color: var(--bd-navy); font: 700 14.5px/1.3 var(--font-title); }

.pt-ab-closing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pt-ab-abroad, .pt-ab-secure { padding: 26px 30px; border-radius: 10px; }
.pt-ab-abroad { color: #fff; background: linear-gradient(115deg, var(--bd-green-dark), var(--bd-green-deep)); }
.pt-ab-abroad h2 { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; font: 800 21px/1.3 var(--font-title); }
.pt-ab-abroad h2 .pt-ico { width: 46px; height: 46px; stroke-width: 1.4; }
.pt-ab-abroad-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.pt-ab-abroad-body img { display: block; width: 100%; max-width: 260px; height: auto; }
.pt-ab-abroad p { margin: 0 0 18px; color: rgba(255, 255, 255, .92); font-size: 15px; line-height: 1.6; }
.pt-ab-secure { display: flex; align-items: flex-start; gap: 26px; border: 1px solid #E0EEE7; background: var(--bd-mint-soft); }
.pt-ab-secure-ico { flex: none; color: var(--bd-green-deep); }
.pt-ab-secure-ico .pt-ico { width: 72px; height: 72px; stroke-width: 1.6; }
.pt-ab-secure h2 { margin: 0 0 10px; color: var(--bd-green-deep); font: 800 21px/1.3 var(--font-title); }
.pt-ab-secure p { margin: 0 0 18px; color: var(--bd-muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 1399px) {
  .pt-ab-values { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .pt-ab-values li:nth-child(4) { border-left: 0; }
  .pt-ab-closing { grid-template-columns: 1fr; }
}
@media (max-width: 999px) {
  .pt-ab-org { grid-template-columns: 1fr; gap: 24px; }
  .pt-ab-mission { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
  .pt-ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-ab-stats li:nth-child(3) { border-left: 0; }
  .pt-ab-cards li { flex-basis: 30%; }
}
@media (max-width: 767px) {
  .pt-ab { gap: 30px; }
  .pt-ab-mission { grid-template-columns: 1fr; padding: 18px; }
  .pt-ab .pt-ab-stamp { aspect-ratio: 16 / 10; }
  .pt-ab-mission-ico { width: 56px; height: 56px; }
  .pt-ab-mission-ico .pt-ico { width: 28px; height: 28px; }
  .pt-ab-mission-lead { font-size: 16px; }
  .pt-ab-cards { gap: 12px; }
  .pt-ab-cards li { flex-basis: 40%; }
  .pt-ab-values { grid-template-columns: 1fr; padding: 8px 14px; row-gap: 0; }
  .pt-ab-values li { padding: 14px 0; }
  .pt-ab-values li + li { border-left: 0; border-top: 1px solid var(--bd-border); }
  .pt-ab-abroad, .pt-ab-secure { padding: 22px 18px; }
  .pt-ab-abroad-body { grid-template-columns: 1fr; gap: 16px; }
  .pt-ab-secure { flex-direction: column; gap: 14px; }
  .pt-ab-secure-ico .pt-ico { width: 56px; height: 56px; }
  .pt-ab-btn { width: 100%; }
}
@media (max-width: 459px) {
  .pt-ab-cards li { flex-basis: 100%; }
}

/* ——— Page « Contact » ——— */
.pt-ct {
  --ct-primary: #087A55;
  --ct-primary-dark: #075B43;
  --ct-accent: #19A879;
  --ct-soft: #F1F8F4;
  --ct-heading: #142B3B;
  --ct-text: #52616B;
  --ct-muted: #78858D;
  --ct-border: #DFE8E2;
  --ct-success: #21865B;
  --ct-danger: #B93838;
  --ct-shadow: 0 8px 24px rgba(20, 43, 59, .06);
  --bd-green: var(--ct-primary);
  --bd-navy: var(--ct-heading);
  --bd-muted: var(--ct-text);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  color: var(--ct-heading);
}
.pt-ct a, .pt-ct-hero a { text-decoration: none; }
.pt-ct a:focus-visible, .pt-ct button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 8px; }

.pt-ct-hero {
  --ct-primary: #087A55;
  --ct-text: #52616B;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  min-height: 250px;
  margin: -44px -132px 0 -56px;
  padding: 28px 0 28px 56px;
  background: linear-gradient(90deg, #fff 0%, #F4F9F6 60%, #EAF4EF 100%);
}
.pt-ct-hero-text { position: relative; z-index: 1; padding-right: 24px; }
.pt-ct-hero-bar { display: block; width: 52px; height: 3px; margin: 18px 0 14px; border-radius: 2px; background: var(--ct-primary); }
.pt-ct-hero h1 { margin: 0 0 16px; font: 800 clamp(2rem, 3.6vw, 3.1rem)/1.05 var(--font-title); letter-spacing: -.02em; }
.pt-ct-hero h1 span { color: var(--ct-primary); }
.pt-ct-hero h1.has-bar { margin: 22px 0 0; }
.pt-ct-hero-bar.is-under { width: 44px; margin: 16px 0 14px; }
.pt-ct-hero p { max-width: 520px; margin: 0; color: var(--ct-text); font-size: 17px; line-height: 1.6; }
.pt-ct-hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 70%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%);
}
.dgdn-portal .pt-ct-hero-photo { max-width: none; }

/* ——— Représentations (/representations) ——— */
.pt-rp-search { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border: 1px solid var(--ct-border); border-radius: 12px; background: #fff; box-shadow: var(--ct-shadow); }
.pt-rp-search .pt-ico { flex: none; width: 20px; height: 20px; color: var(--ct-muted); }
.pt-rp-search input { flex: 1; min-width: 0; min-height: 42px; border: 0; background: transparent; color: inherit; font-size: 16px; outline-offset: 2px; }
.pt-rp-search button { flex: none; min-height: 42px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--ct-primary); color: #fff; font: 700 15px/1 var(--font-title); cursor: pointer; }
.pt-rp-count { margin: -8px 0 0; color: var(--ct-text); font-size: 14px; }
.pt-rp-empty { margin: 0; padding: 20px; border-radius: 12px; background: var(--ct-soft); color: var(--ct-text); }
.pt-rp-empty a { color: var(--ct-primary); text-decoration: underline; }
.pt-rp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pt-rp-card { padding: 18px 20px; border: 1px solid var(--ct-border); border-radius: 14px; background: #fff; box-shadow: var(--ct-shadow); }
.pt-rp-card h2 { margin: 0; font: 700 16px/1.3 var(--font-title); }
.pt-rp-city { margin: 4px 0 0; color: var(--ct-primary); font-size: 14px; font-weight: 600; }
.pt-rp-lines { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--ct-text); font-size: 14px; line-height: 1.4; }
.pt-rp-lines:empty { display: none; }
.pt-rp-lines li { display: flex; gap: 8px; min-width: 0; }
.pt-rp-lines .pt-ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--ct-primary); }
.pt-rp-lines a { color: inherit; overflow-wrap: anywhere; }
.pt-rp-lines a:hover { color: var(--ct-primary); text-decoration: underline; }
@media (max-width: 999px) { .pt-rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pt-rp-grid { grid-template-columns: 1fr; } }

/* ——— Documentation sécurisée (/documentation-securisee) ——— */
.pt-sd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pt-sd-card { padding: 22px; border: 1px solid var(--ct-border); border-radius: 14px; background: #fff; box-shadow: var(--ct-shadow); }
.pt-sd-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ct-soft); color: var(--ct-primary); }
.pt-sd-ico .pt-ico { width: 24px; height: 24px; }
.pt-sd-card h3 { margin: 14px 0 6px; font: 700 17px/1.3 var(--font-title); }
.pt-sd-card p { margin: 0; color: var(--ct-text); font-size: 15px; line-height: 1.55; }
.pt-sd-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--ct-primary); font-weight: 700; font-size: 14px; }
.pt-sd-card a .pt-ico { width: 16px; height: 16px; }
.pt-sd-card a:hover { text-decoration: underline; }
@media (max-width: 999px) { .pt-sd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pt-sd-grid { grid-template-columns: 1fr; } }

/* Politique de confidentialité */
.pt-pc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.pt-pc-toc { position: sticky; top: 16px; padding: 18px 20px; border: 1px solid var(--ct-border); border-radius: 14px; background: #fff; box-shadow: var(--ct-shadow); }
.pt-pc-toc h2 { margin: 0 0 8px; font: 700 15px/1.3 var(--font-title); }
.pt-pc-toc ol { margin: 0; padding: 0 0 0 20px; color: var(--ct-muted); font-size: 14px; }
.pt-pc-toc li { padding: 4px 0; line-height: 1.35; }
.pt-pc-toc a { color: var(--ct-text); }
.pt-pc-toc a:hover { color: var(--ct-primary); text-decoration: underline; }
.pt-pc-body { display: grid; gap: 30px; min-width: 0; color: var(--ct-text); font-size: 16px; line-height: 1.65; }
.pt-pc-body section { scroll-margin-top: 16px; min-width: 0; }
.pt-pc-body.is-tight { display: block; }
.pt-pc-body h2 { color: var(--ct-heading); }
.pt-pc-body h3 { margin: 18px 0 8px; color: var(--ct-heading); font: 700 17px/1.3 var(--font-title); }
.pt-pc-body p { margin: 0 0 10px; }
.pt-pc-body ul, .pt-pc-body section > ol { margin: 0 0 10px; padding-left: 22px; list-style: revert; }
.pt-pc-body li { padding: 2px 0; }
.pt-pc-body b { color: var(--ct-heading); }
.pt-pc-body a { color: var(--ct-primary); text-decoration: underline; overflow-wrap: anywhere; }
.pt-pc-date { margin: 0; color: var(--ct-muted); font-size: 14px; }
.pt-pc-table { overflow-x: auto; margin: 0 0 10px; border: 1px solid var(--ct-border); border-radius: 12px; background: #fff; }
.pt-pc-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.pt-pc-table th { padding: 10px 14px; background: var(--ct-soft); color: var(--ct-heading); font-weight: 700; text-align: left; }
.pt-pc-table td { padding: 10px 14px; border-top: 1px solid var(--ct-border); vertical-align: top; }
.pt-pc-todo { padding: 1px 5px; border-radius: 4px; background: #FFF1B8; color: #5C4600; }
@media (max-width: 999px) { .pt-pc { grid-template-columns: 1fr; } .pt-pc-toc { position: static; } }

/* Foire aux questions */
.pt-fq-group { scroll-margin-top: 16px; min-width: 0; }
.pt-fq-group + .pt-fq-group { margin-top: 28px; }
.pt-fq-item { margin-bottom: 10px; border: 1px solid var(--ct-border); border-radius: 12px; background: #fff; }
.pt-fq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 16px; color: var(--ct-heading); font-weight: 600; font-size: 15px; line-height: 1.4; cursor: pointer; list-style: none; }
.pt-fq-item summary::-webkit-details-marker { display: none; }
.pt-fq-item summary .pt-ico { flex: none; width: 16px; height: 16px; color: var(--ct-primary); transition: transform .15s; }
.pt-fq-item[open] summary .pt-ico { transform: rotate(90deg); }
.pt-fq-item summary:hover { color: var(--ct-primary); }
.pt-fq-item p { margin: 0; padding: 0 16px 14px; color: var(--ct-text); font-size: 15px; line-height: 1.6; white-space: pre-line; }
.pt-fq-help { margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: var(--ct-soft); color: var(--ct-text); }
.pt-fq-help a { color: var(--ct-primary); font-weight: 700; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .pt-fq-item summary .pt-ico { transition: none; } }

/* Recherche */
.pt-sh-group { min-width: 0; }
.pt-sh-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pt-sh-list a { display: grid; gap: 4px; padding: 14px 18px; border: 1px solid var(--ct-border); border-radius: 12px; background: #fff; }
.pt-sh-list b { color: var(--ct-heading); font-weight: 700; font-size: 15px; line-height: 1.35; }
.pt-sh-list span { color: var(--ct-text); font-size: 14px; line-height: 1.5; }
.pt-sh-list a:hover { border-color: var(--ct-primary); }
.pt-sh-list a:hover b { color: var(--ct-primary); }

/* Plan du site */
.pt-sm-grid { columns: 3; column-gap: 16px; }
.pt-sm-card { break-inside: avoid; margin-bottom: 16px; padding: 22px; border: 1px solid var(--ct-border); border-radius: 14px; background: #fff; box-shadow: var(--ct-shadow); }
.pt-sm-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 700 17px/1.3 var(--font-title); }
.pt-sm-card ul { margin: 0; padding: 0; list-style: none; }
.pt-sm-card li + li { border-top: 1px solid var(--ct-border); }
.pt-sm-card li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 0; color: var(--ct-text); font-size: 15px; line-height: 1.35; }
.pt-sm-card li a .pt-ico { flex: none; width: 16px; height: 16px; color: var(--ct-muted); }
.pt-sm-card li a:hover { color: var(--ct-primary); text-decoration: underline; }
.pt-sm-card li a:hover .pt-ico { color: var(--ct-primary); }
@media (max-width: 999px) { .pt-sm-grid { columns: 2; } }
@media (max-width: 767px) { .pt-sm-grid { columns: 1; } }

.pt-ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.pt-ct-card { padding: 24px 26px; border: 1px solid var(--ct-border); border-radius: 16px; background: #fff; box-shadow: var(--ct-shadow); }
.pt-ct-title { margin: 0 0 12px; font: 800 clamp(1.3rem, 1.9vw, 1.6rem)/1.2 var(--font-title); }
.pt-ct-title::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--ct-primary); }
.pt-ct-lead { margin: 0 0 18px; color: var(--ct-text); font-size: 15px; line-height: 1.6; }

.pt-ct-coords { margin: 0; padding: 0; list-style: none; }
.pt-ct-coords li { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.pt-ct-coords li + li { border-top: 1px solid var(--ct-border); }
.pt-ct-coords li > div { flex: 1; min-width: 0; }
.pt-ct-coords h3 { margin: 0 0 4px; font: 700 15.5px/1.3 var(--font-title); }
.pt-ct-coords p { margin: 0; color: var(--ct-text); font-size: 15px; line-height: 1.55; }
.pt-ct-ico { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--ct-soft); color: var(--ct-primary-dark); }
.pt-ct-ico .pt-ico { width: 26px; height: 26px; stroke-width: 1.8; }
.pt-ct-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  min-width: 156px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--ct-primary);
  border-radius: 8px;
  color: var(--ct-primary-dark);
  font: 600 14px/1 var(--font-title);
  white-space: nowrap;
}
.pt-ct-action .pt-ico { width: 16px; height: 16px; }
.pt-ct-action:hover { background: var(--ct-primary); color: #fff; }

.pt-ct-grid > .pt-ct-card:last-child { display: flex; flex-direction: column; }
.pt-ct-map { overflow: hidden; flex: 1; min-height: 330px; border: 1px solid var(--ct-border); border-radius: 12px; background: #EEF3F0; }
.pt-ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.pt-ct-maplink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; color: var(--ct-primary-dark); font: 600 14.5px/1 var(--font-title); }
.pt-ct-maplink .pt-ico { width: 18px; height: 18px; }
.pt-ct-maplink .pt-ico:last-child { width: 15px; height: 15px; }
.pt-ct-maplink:hover { text-decoration: underline; text-underline-offset: 3px; }

.pt-ct-alert { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid; border-radius: 10px; font-size: 14.5px; line-height: 1.5; }
.pt-ct-alert .pt-ico { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.pt-ct-alert.is-success { border-color: #BFE3CF; background: #ECF8F1; color: #155C3D; }
.pt-ct-alert.is-error { border-color: #EFC9C9; background: #FCF1F1; color: #8E2626; }
.pt-ct-form { display: grid; gap: 18px; }
.pt-ct-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pt-ct-field { display: grid; gap: 8px; }
.pt-ct-field label { font: 600 14.5px/1.3 var(--font-title); }
.pt-ct-req { color: var(--ct-danger); }
.pt-ct-field input, .pt-ct-field select, .pt-ct-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #CFDCD5;
  border-radius: 10px;
  background: #fff;
  color: var(--ct-heading);
  font: 15px/1.4 var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pt-ct-field textarea { min-height: 120px; resize: vertical; }
.pt-ct-field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23142B3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; }
.pt-ct-field ::placeholder { color: #9AA6AD; }
.pt-ct-field input:focus, .pt-ct-field select:focus, .pt-ct-field textarea:focus { outline: none; border-color: var(--ct-primary); box-shadow: 0 0 0 3px rgba(8, 122, 85, .15); }
.pt-ct-field [aria-invalid="true"] { border-color: var(--ct-danger); }
.pt-ct-error { margin: 0; color: var(--ct-danger); font-size: 13.5px; }
.pt-ct-error::before { content: "⚠ "; }
.pt-ct-count { justify-self: end; color: var(--ct-muted); font-size: 13px; }
.pt-ct-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pt-ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  justify-self: start;
  min-height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ct-primary-dark), var(--ct-primary));
  color: #fff;
  font: 700 15px/1 var(--font-title);
  cursor: pointer;
}
.pt-ct-submit .pt-ico { width: 18px; height: 18px; }
.pt-ct-submit:hover { background: var(--ct-primary-dark); }
.pt-ct-submit:disabled { opacity: .7; cursor: progress; }

.pt-ct-help { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); padding: 18px 20px; border-radius: 16px; background: var(--ct-soft); }
.pt-ct-help-intro, .pt-ct-help-item { display: flex; align-items: flex-start; gap: 16px; padding: 4px 20px; }
.pt-ct-help-intro { align-items: center; padding-left: 0; }
.pt-ct-help-item { border-left: 1px solid var(--ct-border); }
.pt-ct-help-ico { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: #DDF1E8; color: var(--ct-primary-dark); }
.pt-ct-help-ico .pt-ico { width: 36px; height: 36px; stroke-width: 1.8; }
.pt-ct-help h2 { margin: 0 0 6px; font: 800 19px/1.3 var(--font-title); }
.pt-ct-help h3 { margin: 0 0 4px; font: 700 15px/1.3 var(--font-title); }
.pt-ct-help p { margin: 0 0 8px; color: var(--ct-text); font-size: 13.5px; line-height: 1.5; }
.pt-ct-help-item-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ct-primary-dark); }
.pt-ct-help-item-ico .pt-ico { width: 24px; height: 24px; }
.pt-ct-help-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ct-primary-dark); font: 700 14px/1.3 var(--font-title); text-decoration: underline !important; text-underline-offset: 3px; }
.pt-ct-help-link .pt-ico { width: 16px; height: 16px; }

@media (max-width: 1599px) {
  .pt-ct-coords li { flex-wrap: wrap; row-gap: 10px; }
  .pt-ct-coords li > div { flex: 1 1 calc(100% - 80px); }
  .pt-ct-coords .pt-ct-action { margin-left: 80px; }
}
@media (max-width: 1399px) {
  .pt-ct-help { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .pt-ct-help-intro { grid-column: 1 / -1; }
  .pt-ct-help-item:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 1199px) {
  .pt-ct-hero { margin: -32px -32px 0; padding: 28px 32px; }
  .pt-ct-grid { grid-template-columns: 1fr; }
  .pt-ct-coords li { flex-wrap: nowrap; }
  .pt-ct-coords li > div { flex: 1 1 auto; }
  .pt-ct-coords .pt-ct-action { margin-left: 0; }
}
@media (max-width: 767px) {
  .pt-ct { gap: 20px; }
  .pt-ct-hero { grid-template-columns: 1fr; min-height: 0; margin: -24px -16px 0; padding: 20px 16px 0; background: linear-gradient(180deg, #fff, #F1F8F4); }
  .pt-ct-hero-text { padding: 0 0 18px; }
  .pt-ct-hero p { font-size: 16px; }
  .pt-ct-hero-photo { position: static; width: calc(100% + 32px); height: 200px; margin: 0 -16px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .pt-ct-card { padding: 20px 16px; border-radius: 14px; }
  .pt-ct-coords li { flex-wrap: wrap; gap: 14px; }
  .pt-ct-coords li > div { flex: 1 1 calc(100% - 70px); }
  .pt-ct-ico { width: 52px; height: 52px; }
  .pt-ct-coords .pt-ct-action { width: 100%; margin-left: 0; }
  .pt-ct-map { flex: none; height: 280px; min-height: 0; }
  .pt-ct-row { grid-template-columns: 1fr; }
  .pt-ct-submit { justify-self: stretch; }
  .pt-ct-help { grid-template-columns: 1fr; padding: 18px 16px; }
  .pt-ct-help-item, .pt-ct-help-item:nth-child(2) { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--ct-border); }
}

/* ——— Page « Lois et règlements » ——— */
.pt-lr {
  --lr-primary: #087A55;
  --lr-primary-dark: #075B43;
  --lr-mint: #E3F5EE;
  --lr-heading: #142B3B;
  --lr-text: #52616B;
  --lr-muted: #78858D;
  --lr-border: #DFE8E2;
  --lr-shadow: 0 4px 18px rgba(20, 43, 59, .055);
  --bd-green: var(--lr-primary);
  --bd-green-deep: var(--lr-primary-dark);
  --bd-navy: var(--lr-heading);
  --bd-muted: var(--lr-text);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  color: var(--lr-heading);
}
.pt-lr a { text-decoration: none; }
.pt-lr a:focus-visible, .pt-lr input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

.pt-lr-hero {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  margin: -44px -132px 0 -56px;
  padding: 26px 0 34px 56px;
  background: linear-gradient(90deg, #fff 0%, #F7FAF8 55%, #EEF4F1 100%);
}
.pt-lr-hero-text { position: relative; z-index: 1; max-width: min(62%, 900px); }
.pt-lr-hero h1 { margin: 22px 0 0; font: 800 clamp(2rem, 3.6vw, 3rem)/1.08 var(--font-title); letter-spacing: -.02em; }
.pt-lr-hero h1 span { color: var(--lr-primary-dark); }
.pt-lr-hero h1.pt-lr-ref { margin-top: 14px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.pt-lr-bar { display: block; width: 44px; height: 3px; margin: 16px 0 14px; border-radius: 2px; background: var(--lr-primary); }
.pt-lr-hero p { margin: 0; color: var(--lr-text); font-size: 17.5px; line-height: 1.6; }
.pt-lr-hero .pt-lr-badge { margin-top: 18px; }
.pt-lr-hero-photo { position: absolute; inset: 0 0 0 auto; width: 46%; }
.pt-lr-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 22%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 22%, #000 48%);
}

.pt-lr-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.pt-lr-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-lr-chip {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--lr-border);
  border-radius: 12px;
  background: #fff;
  color: var(--lr-primary-dark);
  font: 700 15px/1 var(--font-title);
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.pt-lr-chip:hover { border-color: var(--lr-primary); }
.pt-lr-chip.is-active { border-color: var(--lr-primary); background: var(--lr-primary); color: #fff; }
.pt-lr-search { position: relative; flex: 0 1 460px; min-width: 260px; }
.pt-lr-search .pt-ico { position: absolute; top: 50%; left: 18px; width: 19px; height: 19px; margin-top: -9.5px; color: var(--lr-heading); pointer-events: none; }
.pt-lr-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px 0 48px;
  border: 1px solid var(--lr-border);
  border-radius: 24px;
  background: #fff;
  color: var(--lr-heading);
  font: 15px var(--font-body);
}
.pt-lr-search input::placeholder { color: var(--lr-muted); }
.pt-lr-search input:focus { outline: none; border-color: var(--lr-primary); box-shadow: 0 0 0 3px rgba(8, 122, 85, .15); }

.pt-lr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.pt-lr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 270px;
  padding: 26px 28px;
  border: 1px solid var(--lr-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--lr-shadow);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pt-lr-card:hover { border-color: #BFD9CC; box-shadow: 0 8px 24px rgba(20, 43, 59, .08); }
.pt-lr-card > *:not(.pt-lr-watermark) { position: relative; z-index: 1; }
.dgdn-portal .pt-lr-watermark { position: absolute; top: 24px; right: 20px; width: 140px; max-width: 38%; height: auto; opacity: .09; filter: grayscale(1); pointer-events: none; }
.pt-lr-card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.pt-lr-icon { display: block; width: 60px; height: 56px; object-fit: contain; }
.pt-lr-badge { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--lr-mint); color: var(--lr-primary-dark); font: 700 14px/1.2 var(--font-title); }
.pt-lr-card h2 { margin: 0 0 10px; font: 700 18px/1.3 var(--font-title); }
.pt-lr-card p { flex: 1; margin: 0 0 18px; max-width: 92%; color: var(--lr-text); font-size: 15.5px; line-height: 1.55; }
.pt-lr-more { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 44px; color: var(--lr-primary-dark); font: 700 15px/1 var(--font-title); }
.pt-lr-more::before { content: ""; width: 22px; height: 2px; background: var(--lr-primary); }
.pt-lr-more .pt-ico { width: 17px; height: 17px; transition: transform .15s ease; }
.pt-lr-more:hover .pt-ico { transform: translateX(3px); }
.pt-lr-more::after { content: ""; position: absolute; inset: 0; }
.pt-lr-card:has(.pt-lr-more:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.pt-lr-card .pt-lr-more { position: static; }

.pt-lr-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 20px; border: 1px dashed var(--lr-border); border-radius: 12px; background: #fff; text-align: center; color: var(--lr-text); }
.pt-lr-empty .pt-ico { width: 34px; height: 34px; color: var(--lr-primary); }
.pt-lr-empty p { margin: 0; }
.pt-lr-empty a { color: var(--lr-primary-dark); text-decoration: underline; }

.pt-lr-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.pt-lr-count { margin: 0; color: var(--lr-text); font-size: 15px; }
.pt-lr-pager { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-lr-pager a, .pt-lr-pager span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 6px;
  border: 1px solid var(--lr-border);
  border-radius: 8px;
  background: #fff;
  color: var(--lr-heading);
  font: 700 15px/1 var(--font-title);
}
.pt-lr-pager .pt-ico { width: 18px; height: 18px; }
.pt-lr-pager a:hover { border-color: var(--lr-primary); }
.pt-lr-pager a.is-active { border-color: var(--lr-primary); background: var(--lr-primary); color: #fff; }
.pt-lr-pager .is-disabled { color: #B8C2C7; }

.pt-lr-viewer { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--lr-border); border-radius: 12px; background: #fff; }
.pt-lr-viewer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pt-lr-viewer-head h2 { margin: 0; font: 700 19px/1.3 var(--font-title); }
.pt-lr-viewer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-lr-frame { display: block; width: 100%; height: min(80vh, 900px); min-height: 480px; border: 1px solid var(--lr-border); border-radius: 8px; background: #F3F7FA; }
.pt-lr-viewer-note { margin: 0; color: var(--lr-text); font-size: 14px; }
.pt-lr-detail { display: flex; align-items: flex-start; gap: 24px; padding: 28px; border: 1px solid var(--lr-border); border-radius: 12px; background: #fff; box-shadow: var(--lr-shadow); }
.pt-lr-detail h2 { margin: 0 0 8px; font: 700 19px/1.3 var(--font-title); }
.pt-lr-detail p { margin: 0 0 16px; color: var(--lr-text); font-size: 15.5px; line-height: 1.6; }
.pt-lr-detail p a { color: var(--lr-primary-dark); text-decoration: underline; }
.pt-lr-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--lr-primary-dark); font: 700 15px/1 var(--font-title); }
.pt-lr-back .pt-ico { width: 18px; height: 18px; }

@media (max-width: 1399px) {
  .pt-lr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  .pt-lr-hero { margin: -32px -32px 0; padding: 24px 32px 30px; }
  .pt-lr-hero-text { max-width: 64%; }
  .pt-lr-search { flex-basis: 100%; }
}
@media (max-width: 767px) {
  .pt-lr { gap: 20px; }
  .pt-lr-hero { min-height: 0; margin: -24px -16px 0; padding: 20px 16px 0; }
  .pt-lr-hero-text { max-width: none; padding-bottom: 16px; }
  .pt-lr-hero p { font-size: 16px; }
  .pt-lr-hero-photo { position: static; display: block; width: calc(100% + 32px); height: 150px; margin: 0 -16px; }
  .pt-lr-hero-photo img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%); }
  .pt-lr-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: thin; }
  .pt-lr-chip { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .pt-lr-search { min-width: 0; }
  .pt-lr-grid { grid-template-columns: 1fr; gap: 14px; }
  .pt-lr-card { min-height: 0; padding: 20px 18px; }
  .pt-lr-card p { max-width: none; }
  .pt-lr-footer { flex-direction: column; align-items: flex-start; }
  .pt-lr-detail { flex-direction: column; padding: 20px 18px; }
}

/* ——— Page générique « Document » (passeport, visa…) ——— */
.pt-dp {
  --dp-primary: #087A55;
  --dp-primary-dark: #006B55;
  --dp-mint: #E8F5F1;
  --dp-heading: #101F63;
  --dp-text: #53647D;
  --dp-muted: #74839A;
  --dp-info-bg: #F0F6FC;
  --dp-info: #1686E8;
  --dp-border: #DFE8F2;
  --dp-success: #075E4F;
  --dp-shadow: 0 3px 14px rgba(16, 31, 99, .045);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  color: var(--dp-heading);
}
.pt-dp a { text-decoration: none; }
.pt-dp a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 8px; }
.pt-dp-h2 { margin: 0 0 10px; font: 800 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--font-title); }
.pt-dp-lead { margin: 0 0 18px; max-width: 760px; color: var(--dp-text); font-size: 15.5px; line-height: 1.6; }

/* Bannière */
.pt-dp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 280px;
  margin-top: -8px;
  padding: 40px clamp(24px, 4vw, 56px) 64px;
  border-radius: 16px;
  background: linear-gradient(100deg, #0D2342 0%, #123A5C 45%, #1C4F72 100%);
  color: #fff;
}
.pt-dp-hero.is-plain { background: linear-gradient(110deg, #003D36 0%, #006B55 60%, #087A55 100%); }
.pt-dp-hero-photo { position: absolute; inset: 0; z-index: -1; }
.pt-dp-hero-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 85% 30%; }
.pt-dp-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 28, 56, .92) 0%, rgba(10, 28, 56, .72) 38%, rgba(10, 28, 56, 0) 68%); }
.pt-dp-hero-mark { position: absolute; right: clamp(16px, 6vw, 96px); top: 50%; z-index: -1; color: rgba(255, 255, 255, .12); transform: translateY(-50%); }
.pt-dp-hero-mark .pt-ico { width: clamp(140px, 18vw, 230px); height: auto; aspect-ratio: 1; stroke-width: 1.1; }
.pt-dp-hero-text { max-width: 560px; }
.pt-dp-category { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--dp-primary-dark); font: 700 13px/1 var(--font-title); letter-spacing: .06em; text-transform: uppercase; }
.pt-dp-hero h1 { margin: 16px 0 12px; font: 800 clamp(2.3rem, 4.6vw, 3.6rem)/1.02 var(--font-title); letter-spacing: -.02em; }
.pt-dp-hero p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 18px; line-height: 1.5; }

/* Onglets de page */
.pt-dp-tabs { position: relative; z-index: 2; display: flex; overflow-x: auto; margin: -56px clamp(12px, 3vw, 40px) 0; padding: 0 8px; border: 1px solid var(--dp-border); border-radius: 12px; background: #fff; box-shadow: var(--dp-shadow); scrollbar-width: none; }
.pt-dp-tabs a { flex: 1 0 auto; padding: 16px 20px; border-bottom: 3px solid transparent; color: var(--dp-heading); font: 600 15px/1 var(--font-title); text-align: center; white-space: nowrap; }
.pt-dp-tabs a:hover { color: var(--dp-primary); }
.pt-dp-tabs a[aria-current] { border-bottom-color: var(--dp-primary); color: var(--dp-primary); }

/* Présentation */
.pt-dp-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.pt-dp-intro p { margin: 0; color: var(--dp-text); font-size: 16px; line-height: 1.65; }
.pt-dp-intro div p + p { margin-top: 12px; }
.pt-dp-types-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 14px 0 0; padding: 0; list-style: none; }
.pt-dp-type { padding: 18px 20px 22px; border: 1px solid #E0EAF2; border-radius: 14px; background: #fff; }
.pt-dp-type-img { display: grid; place-items: center; padding: 18px; border-radius: 10px; background: #F3F7FA; }
.pt-dp-type-img img { display: block; width: auto; height: 190px; border-radius: 6px; box-shadow: 0 8px 18px rgba(16, 31, 103, .22); }
.pt-dp-type h3 { margin: 16px 0 8px; color: var(--dp-heading); font: 700 18px/1.25 var(--font-title); }
.pt-dp-type p { margin: 0; color: var(--dp-text); font-size: 15px; line-height: 1.6; }
.pt-dp-type p + p { margin-top: 10px; }
.pt-dp-type .pt-dp-type-price { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: #DDF5E9; color: #075B43; font: 700 14px/1.4 var(--font-title); }
.pt-dp-type .pt-dp-type-price + p { margin-top: 0; }
@media (max-width: 999px) { .pt-dp-types-grid { grid-template-columns: 1fr; } }
.pt-dp .pt-dp-badge { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 12px; background: #F3F7FA; font-size: 15px; }
.pt-dp-badge-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--dp-primary-dark); color: #fff; }
.pt-dp-badge-ico .pt-ico { width: 26px; height: 26px; }
.pt-dp-badge > span:last-child { display: grid; gap: 4px; color: var(--dp-text); }
.pt-dp-badge b { color: var(--dp-heading); font: 700 15px/1.2 var(--font-title); }
.pt-dp-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pt-dp-highlights li { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--dp-border); border-radius: 10px; background: #fff; box-shadow: var(--dp-shadow); }
.pt-dp-hl-ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--dp-mint); color: var(--dp-primary-dark); }
.pt-dp-hl-ico .pt-ico { width: 26px; height: 26px; }
.pt-dp-highlights li > span:last-child { display: grid; gap: 2px; color: var(--dp-text); font-size: 14.5px; }
.pt-dp-highlights b { color: var(--dp-heading); font: 700 15.5px/1.3 var(--font-title); }

/* Bannière « Demande en ligne » */
.pt-dp-online { display: flex; align-items: center; gap: 26px; padding: 24px 30px; border-radius: 12px; background: var(--dp-primary-dark); color: #fff; }
.pt-dp-online-ico .pt-ico { width: 60px; height: 60px; stroke-width: 1.5; }
.pt-dp-online div { flex: 1; min-width: 0; }
.pt-dp-online-actions { display: grid; flex: none; gap: 10px; margin-left: auto; }
.pt-dp-online-actions .pt-dp-online-btn { justify-content: space-between; margin: 0; }
.pt-dp-online h2 { margin: 0 0 6px; font: 700 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--font-title); }
.pt-dp-online p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 16px; }
.pt-dp-online-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex: none; min-height: 52px; padding: 0 34px; border-radius: 999px; background: #fff; color: var(--dp-primary-dark) !important; font: 700 16px/1 var(--font-title); }
.pt-dp-online-btn .pt-ico { width: 18px; height: 18px; }
.pt-dp-online-btn:hover { background: var(--dp-mint); }

/* Pièces à fournir */
.pt-dp-profiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pt-dp-profile { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--dp-border); border-radius: 10px; background: #fff; color: var(--dp-heading); }
.pt-dp-profile .pt-ico { flex: none; width: 26px; height: 26px; color: var(--dp-primary-dark); }
.pt-dp-profile > span { display: grid; gap: 3px; color: var(--dp-text); font-size: 12.5px; line-height: 1.35; }
.pt-dp-profile b { color: var(--dp-heading); font: 700 14.5px/1.25 var(--font-title); }
.pt-dp-profile:hover { border-color: var(--dp-primary); }
.pt-dp-profile[aria-selected="true"] { border-color: var(--dp-primary-dark); background: var(--dp-primary-dark); }
.pt-dp-profile[aria-selected="true"] .pt-ico, .pt-dp-profile[aria-selected="true"] b, .pt-dp-profile[aria-selected="true"] > span { color: #fff; }
.pt-dp-panel { overflow: hidden; border: 1px solid var(--dp-border); border-radius: 12px; background: #fff; box-shadow: var(--dp-shadow); }
.pt-dp-panel[hidden] { display: none; }
.pt-dp-panel-head { display: flex; align-items: center; gap: 18px; padding: 18px 24px; background: #F6F9FC; border-bottom: 1px solid var(--dp-border); }
.pt-dp-panel-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--dp-mint); color: var(--dp-primary-dark); }
.pt-dp-panel-ico .pt-ico { width: 24px; height: 24px; }
.pt-dp-panel-head h3 { margin: 0 0 4px; font: 700 19px/1.3 var(--font-title); }
.pt-dp-panel-head p { margin: 0; color: var(--dp-text); font-size: 15px; }
.pt-dp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px 24px 24px; }
.pt-dp-layout.has-side { grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr); }
.pt-dp-items { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pt-dp-items li { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid var(--dp-border); border-radius: 8px; background: #fff; }
.pt-dp-check { flex: none; color: var(--dp-success); }
.pt-dp-check .pt-ico { width: 24px; height: 24px; stroke-width: 2.2; }
.pt-dp-item-text { display: grid; flex: 1; gap: 3px; min-width: 0; color: var(--dp-text); font-size: 13.5px; line-height: 1.45; }
.pt-dp-item-text b { color: var(--dp-heading); font: 600 15px/1.35 var(--font-title); }
.pt-dp-tag { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--dp-mint); color: var(--dp-success); font: 600 12.5px/1.2 var(--font-title); }
.pt-dp-tag.is-cond { background: var(--dp-info-bg); color: #1B4F8A; }
.pt-dp-side { display: grid; align-content: start; gap: 16px; }
.pt-dp-notes, .pt-dp-pdf { padding: 18px 20px; border-radius: 10px; background: var(--dp-info-bg); }
.pt-dp-notes h4, .pt-dp-pdf h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 15.5px/1.3 var(--font-title); }
.pt-dp-notes h4 .pt-ico, .pt-dp-pdf h4 .pt-ico { flex: none; width: 22px; height: 22px; color: var(--dp-info); }
.pt-dp-notes ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pt-dp-notes li { display: flex; gap: 10px; color: var(--dp-text); font-size: 14px; line-height: 1.5; }
.pt-dp-notes li .pt-ico { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--dp-success); }
.pt-dp-pdf p { margin: 0 0 14px; color: var(--dp-text); font-size: 14px; line-height: 1.5; }
.pt-dp-pdf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 16px; border: 1px solid var(--dp-border); border-radius: 8px; background: #fff; color: var(--dp-heading); font: 700 14px/1.2 var(--font-title); }
.pt-dp-pdf-btn .pt-ico { width: 17px; height: 17px; }
.pt-dp-pdf-btn:hover { border-color: var(--dp-info); }
.pt-dp-empty { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px dashed var(--dp-border); border-radius: 10px; background: #FBFCFD; color: var(--dp-text); font-size: 15px; line-height: 1.55; }
.pt-dp-empty .pt-ico { flex: none; width: 24px; height: 24px; color: var(--dp-primary); }
.pt-dp-empty p { margin: 0; }
.pt-dp-empty a { color: var(--dp-primary-dark); text-decoration: underline; }
.pt-dp-special { display: flex; align-items: center; gap: 20px; margin-top: 16px; padding: 20px 24px; border: 1px solid var(--dp-border); border-radius: 12px; background: var(--dp-info-bg); }
.pt-dp-special-ico .pt-ico { width: 34px; height: 34px; color: var(--dp-info); }
.pt-dp-special div { flex: 1; min-width: 0; }
.pt-dp-special h3 { margin: 0 0 4px; font: 700 16px/1.3 var(--font-title); }
.pt-dp-special p { margin: 0; color: var(--dp-text); font-size: 14px; }
.pt-dp-special-btn { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 46px; padding: 0 20px; border: 1px solid var(--dp-border); border-radius: 8px; background: #fff; color: var(--dp-heading); font: 700 14.5px/1 var(--font-title); }
.pt-dp-special-btn .pt-ico { width: 17px; height: 17px; }
.pt-dp-special-btn:hover { border-color: var(--dp-primary); }

@media (max-width: 1399px) {
  .pt-dp-highlights, .pt-dp-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .pt-dp-layout.has-side { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .pt-dp { gap: 20px; }
  .pt-dp-hero { min-height: 0; padding: 28px 20px 70px; }
  .pt-dp-hero-photo::after { background: linear-gradient(180deg, rgba(10, 28, 56, .55) 0%, rgba(10, 28, 56, .88) 100%); }
  .pt-dp-hero p { font-size: 16px; }
  .pt-dp-tabs { margin: -48px 8px 0; }
  .pt-dp-tabs a { padding: 14px 14px; font-size: 14px; }
  .pt-dp-intro { grid-template-columns: 1fr; }
  .pt-dp-highlights { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pt-dp-highlights li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .pt-dp-online { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .pt-dp-online-btn { width: 100%; }
  .pt-dp-profiles { display: flex; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px 6px; }
  .pt-dp-profile { flex: 0 0 72%; }
  .pt-dp-panel-head, .pt-dp-layout { padding-left: 16px; padding-right: 16px; }
  .pt-dp-items li { flex-wrap: wrap; gap: 10px 14px; }
  .pt-dp-item-text { flex-basis: calc(100% - 40px); }
  .pt-dp-tag { margin-left: 38px; }
  .pt-dp-special { flex-direction: column; align-items: flex-start; }
  .pt-dp-special-btn { width: 100%; justify-content: center; }
}

/* ——— Actualités : catalogue et détail ——— */
.pt-nw {
  --nw-primary: #087A55;
  --nw-primary-dark: #075B43;
  --nw-mint: #E8F5F1;
  --nw-heading: #10265C;
  --nw-text: #53647D;
  --nw-muted: #74839A;
  --nw-info-bg: #F0F6FC;
  --nw-border: #DFE8F2;
  --nw-shadow: 0 4px 18px rgba(16, 38, 92, .06);
  --lr-primary: var(--nw-primary);
  --lr-primary-dark: var(--nw-primary-dark);
  --lr-heading: var(--nw-heading);
  --lr-text: var(--nw-text);
  --lr-muted: var(--nw-muted);
  --lr-border: var(--nw-border);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  color: var(--nw-heading);
}
.pt-nw a { text-decoration: none; }
.pt-nw a:focus-visible, .pt-nw button:focus-visible, .pt-nw input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.pt-nw-h2 { margin: 0 0 16px; font: 800 clamp(1.4rem, 2.2vw, 1.85rem)/1.2 var(--font-title); }
.pt-nw-h2::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--nw-primary); }

/* Bannière immersive */
.pt-nw-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 290px; margin-top: -8px; padding: 30px clamp(22px, 4vw, 52px) 34px; border-radius: 16px; background: #0B2A3F; color: #fff; }
.pt-nw-hero-photo { position: absolute; inset: 0 0 0 auto; z-index: -1; width: 62%; }
/* Les suggestions de recherche débordent de la bannière et passent au-dessus de la suite de la page. */
.pt-nw-hero:has(.pt-nw-search) { overflow: visible; z-index: 5; }
.pt-nw-hero:has(.pt-nw-search) .pt-nw-hero-photo { overflow: hidden; border-radius: 0 16px 16px 0; }
.pt-nw-hero:has(.pt-nw-search)::before { border-radius: 16px; }
.pt-nw-hero.is-detail .pt-nw-hero-photo { width: 70%; }
.pt-nw-hero-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.pt-nw-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(5, 26, 48, .55) 0%, rgba(5, 26, 48, .35) 45%, rgba(5, 26, 48, 0) 70%); }
.pt-nw-hero-text { position: relative; z-index: 1; max-width: 560px; }
.pt-nw-hero.is-detail .pt-nw-hero-text { max-width: 640px; }
.pt-nw-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13px; }
.pt-nw-crumbs li + li::before { content: "›"; margin-right: 8px; color: rgba(255, 255, 255, .6); }
.pt-nw-crumbs a { color: #fff; }
.pt-nw-crumbs a:hover { text-decoration: underline; }
.pt-nw-crumbs [aria-current] { overflow: hidden; max-width: 340px; color: rgba(255, 255, 255, .78); text-overflow: ellipsis; white-space: nowrap; }
.pt-nw-hero h1 { margin: 0 0 12px; font: 800 clamp(2rem, 4vw, 3.1rem)/1.1 var(--font-title); letter-spacing: -.02em; }
.pt-nw-hero.is-detail h1 { margin-top: 14px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.pt-nw-hero p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 17px; line-height: 1.55; }
.pt-nw-hero .pt-nw-meta time { color: rgba(255, 255, 255, .9); }
.pt-nw-search { position: relative; display: flex; align-items: center; max-width: 470px; margin-top: 22px; padding: 6px 6px 6px 20px; border-radius: 14px; background: #fff; }
.pt-nw-search input { flex: 1; min-width: 0; min-height: 40px; border: 0; background: transparent; color: var(--nw-heading); font: 15px var(--font-body); }
.pt-nw-search input:focus { outline: none; }
.pt-nw-search:focus-within { box-shadow: 0 0 0 3px rgba(25, 168, 121, .45); }
.pt-nw-search button { display: grid; place-items: center; width: 48px; height: 44px; border: 0; border-radius: 10px; background: var(--nw-primary-dark); color: #fff; cursor: pointer; }
.pt-nw-search button .pt-ico { width: 19px; height: 19px; }

/* Mise en page */
.pt-nw-layout, .pt-nw-detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.pt-nw-detail { grid-template-columns: minmax(0, 1fr) 360px; }
.pt-nw-main { display: grid; gap: 28px; min-width: 0; }
.pt-nw-section { min-width: 0; }
.pt-nw-filters { margin-bottom: -4px; }
.pt-nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: var(--nw-muted); font-size: 13px; }
.pt-nw-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--nw-primary-dark); color: #fff; font: 700 11.5px/1.2 var(--font-title); letter-spacing: .04em; text-transform: uppercase; }
.pt-nw-badge.is-media { background: #1F3E7A; }
.pt-nw-more { display: inline-flex; align-items: center; gap: 8px; color: var(--nw-primary-dark); font: 700 14.5px/1 var(--font-title); }
.pt-nw-more .pt-ico { width: 16px; height: 16px; transition: transform .15s ease; }

/* À la une */
.pt-nw-featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.pt-nw-lead { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--nw-border); border-radius: 12px; background: #fff; box-shadow: var(--nw-shadow); }
.pt-nw-lead img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.pt-nw-lead-body { display: grid; gap: 10px; padding: 18px 20px 20px; }
.pt-nw-lead h3 { margin: 0; font: 800 clamp(1.15rem, 1.6vw, 1.4rem)/1.3 var(--font-title); }
.pt-nw-lead h3 a, .pt-nw-card h3 a { color: inherit; }
.pt-nw-lead h3 a::after, .pt-nw-card h3 a::after { content: ""; position: absolute; inset: 0; }
.pt-nw-lead p:not(.pt-nw-meta) { display: -webkit-box; overflow: hidden; margin: 0; color: var(--nw-text); font-size: 15px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.pt-nw-lead:hover, .pt-nw-card:hover { border-color: rgba(8, 122, 85, .35); box-shadow: 0 8px 24px rgba(16, 38, 92, .09); }
.pt-nw-lead:hover .pt-nw-more .pt-ico, .pt-nw-card:hover .pt-nw-more .pt-ico { transform: translateX(3px); }
.pt-nw-lead:focus-within, .pt-nw-card:focus-within { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.pt-nw-side-list { display: grid; align-content: start; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pt-nw-mini { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border: 1px solid var(--nw-border); border-radius: 10px; background: #fff; color: inherit; box-shadow: var(--nw-shadow); }
.pt-nw-mini:hover { border-color: rgba(8, 122, 85, .35); }
.pt-nw-mini img { flex: none; width: 96px; height: 72px; border-radius: 8px; object-fit: cover; }
.pt-nw-mini-body { display: grid; flex: 1; gap: 6px; min-width: 0; }
.pt-nw-mini b { font: 700 14.5px/1.35 var(--font-title); }
.pt-nw-mini > .pt-ico { flex: none; width: 18px; height: 18px; }

/* Grille */
.pt-nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pt-nw-grid li { display: flex; }
.pt-nw-card { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid var(--nw-border); border-radius: 12px; background: #fff; box-shadow: var(--nw-shadow); transition: box-shadow .16s ease, border-color .16s ease; }
.pt-nw-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pt-nw-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.pt-nw-card h3 { margin: 0; font: 700 16px/1.35 var(--font-title); }
.pt-nw-card-body > p:not(.pt-nw-meta) { flex: 1; margin: 0; color: var(--nw-text); font-size: 14px; line-height: 1.55; }

/* Colonne latérale */
.pt-nw-aside { display: grid; gap: 18px; }
.pt-nw-box { padding: 18px 18px 20px; border: 1px solid var(--nw-border); border-radius: 12px; background: #fff; box-shadow: var(--nw-shadow); }
.pt-nw-box > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 800 17px/1.3 var(--font-title); }
.pt-nw-cats, .pt-nw-links { margin: 0; padding: 0; list-style: none; }
.pt-nw-cats a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 8px; border-radius: 8px; color: var(--nw-heading); font-size: 14.5px; }
.pt-nw-cats li + li a { border-top: 1px solid var(--nw-border); border-radius: 0; }
.pt-nw-cats a .pt-ico { width: 18px; height: 18px; color: var(--nw-primary-dark); }
.pt-nw-cats a span { flex: 1; }
.pt-nw-cats a b { min-width: 30px; padding: 3px 8px; border-radius: 999px; background: #EEF3F8; font: 700 12.5px/1.2 var(--font-title); text-align: center; }
.pt-nw-cats a.is-active { background: var(--nw-mint); border-radius: 8px; font-weight: 600; }
.pt-nw-cats a:hover span { color: var(--nw-primary); }
.pt-nw-subscribe { border: 0; background: linear-gradient(160deg, #0A6B55, var(--nw-primary-dark) 55%, #053F33); color: #fff; }
.pt-nw-subscribe > .pt-ico { width: 30px; height: 30px; margin-bottom: 10px; }
.pt-nw-subscribe > h2 { margin-bottom: 8px; }
.pt-nw-subscribe > p { margin: 0 0 14px; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.55; }
.pt-nw-subscribe form { display: grid; gap: 10px; }
.pt-nw-subscribe input[type="email"] { min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; font: 14.5px var(--font-body); }
.pt-nw-subscribe button { min-height: 44px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; font: 700 15px/1 var(--font-title); cursor: pointer; }
.pt-nw-subscribe button:hover { background: #fff; color: var(--nw-primary-dark); }
.pt-nw-sub-msg { margin: 0 0 12px !important; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .15); color: #fff !important; font-weight: 600; }
.pt-nw-sub-msg.is-error { background: #FCF1F1; color: #8E2626 !important; }
.pt-nw-links a { display: flex; align-items: center; gap: 14px; min-height: 48px; color: var(--nw-heading); font: 600 14.5px/1.3 var(--font-title); }
.pt-nw-links li + li a { border-top: 1px solid var(--nw-border); }
.pt-nw-links .pt-ico { display: block; width: 34px; height: 34px; padding: 7px; border-radius: 8px; background: var(--nw-mint); color: var(--nw-primary-dark); }
.pt-nw-links a:hover { color: var(--nw-primary); }

/* Détail */
.pt-nw-infobar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 4px 4px 14px; border-bottom: 1px solid var(--nw-border); }
.pt-nw-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; color: var(--nw-text); font-size: 14.5px; }
.pt-nw-facts li { display: flex; align-items: center; gap: 8px; }
.pt-nw-facts .pt-ico { width: 18px; height: 18px; color: var(--nw-primary-dark); }
.pt-nw-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--nw-text); font-size: 14px; }
.pt-nw-share > .pt-ico { width: 18px; height: 18px; margin-right: 4px; }
.pt-nw-share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: #fff; font: 800 15px/1 var(--font-title); }
.pt-nw-share a .pt-ico { width: 19px; height: 19px; }
.pt-nw-share .is-fb { background: #1877F2; }
.pt-nw-share .is-x { background: #F1F3F6; color: #10265C; }
.pt-nw-share .is-in { background: #0A66C2; }
.pt-nw-share .is-wa { background: #25D366; }
.pt-nw-share .is-mail { background: #E5484D; }
.pt-nw-share a:hover { filter: brightness(.92); }
.pt-nw-article { display: grid; gap: 16px; min-width: 0; }
.pt-nw-article-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.pt-nw-article > p { margin: 0; color: var(--nw-text); font-size: 16px; line-height: 1.75; }
.pt-nw-keys { margin-top: 8px; padding: 18px 22px; border-radius: 12px; background: var(--nw-mint); }
.pt-nw-keys h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 800 18px/1.3 var(--font-title); }
.pt-nw-keys h2 .pt-ico { width: 26px; height: 26px; color: var(--nw-primary-dark); }
.pt-nw-keys ul { display: grid; gap: 10px; margin: 0; padding: 0 0 0 38px; list-style: none; }
.pt-nw-keys li { display: flex; align-items: center; gap: 10px; color: var(--nw-heading); font-size: 15px; }
.pt-nw-keys li .pt-ico { flex: none; width: 19px; height: 19px; color: var(--nw-primary-dark); stroke-width: 2.2; }
.pt-nw-docs { overflow: hidden; margin: 0; padding: 0; list-style: none; border: 1px solid var(--nw-border); border-radius: 10px; }
.pt-nw-docs li + li { border-top: 1px solid var(--nw-border); }
.pt-nw-docs a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 18px; color: var(--nw-heading); font-size: 15px; }
.pt-nw-docs a > .pt-ico:first-child { width: 20px; height: 20px; color: #C9343A; }
.pt-nw-docs span { flex: 1; }
.pt-nw-docs small { color: var(--nw-muted); }
.pt-nw-docs a > .pt-ico:last-child { width: 18px; height: 18px; color: var(--nw-primary-dark); }
.pt-nw-about { background: var(--nw-mint); border-color: #D5EBE2; }
.pt-nw-about-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 50%; background: #fff; color: var(--nw-primary-dark); }
.pt-nw-about-ico .pt-ico { width: 26px; height: 26px; }
.pt-nw-about > h2 { margin-bottom: 8px; }
.pt-nw-about > p, .pt-nw-help > p { margin: 0 0 14px; color: var(--nw-text); font-size: 14px; line-height: 1.6; }
.pt-nw-about-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #BFDCCF; border-radius: 8px; background: #fff; color: var(--nw-primary-dark); font: 700 14px/1.2 var(--font-title); }
.pt-nw-about-btn .pt-ico { width: 16px; height: 16px; }
.pt-nw-help { background: var(--nw-info-bg); }
.pt-nw-help > h2 .pt-ico { width: 26px; height: 26px; color: var(--nw-primary-dark); }
.pt-nw-help > a { display: flex; align-items: center; gap: 12px; min-height: 46px; margin-top: 8px; padding: 0 14px; border: 1px solid var(--nw-border); border-radius: 8px; background: #fff; color: var(--nw-primary-dark); font: 700 14.5px/1.2 var(--font-title); overflow-wrap: anywhere; }
.pt-nw-help > a .pt-ico { flex: none; width: 18px; height: 18px; }

@media (max-width: 1499px) {
  .pt-nw-featured { grid-template-columns: 1fr; }
  .pt-nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  .pt-nw-layout, .pt-nw-detail { grid-template-columns: 1fr; }
  .pt-nw-aside { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}
@media (max-width: 767px) {
  .pt-nw { gap: 20px; }
  .pt-nw-hero { min-height: 0; padding: 24px 18px 26px; }
  .pt-nw-hero-photo, .pt-nw-hero.is-detail .pt-nw-hero-photo { width: 100%; }
  .pt-nw-hero-photo img { -webkit-mask-image: none; mask-image: none; }
  .pt-nw-hero::before { background: linear-gradient(180deg, rgba(5, 26, 48, .72) 0%, rgba(5, 26, 48, .9) 100%); }
  .pt-nw-hero p { font-size: 15.5px; }
  .pt-nw-crumbs [aria-current] { max-width: 180px; }
  .pt-nw-search { max-width: none; }
  .pt-nw-grid { grid-template-columns: 1fr; }
  .pt-nw-mini img { width: 80px; height: 64px; }
  .pt-nw-infobar { flex-direction: column; align-items: flex-start; }
  .pt-nw-keys { padding: 16px; }
  .pt-nw-keys ul { padding-left: 0; }
}

/* ——— Pied de page ——— */
.pt-footer {
  --ft-green: #00634F;
  --ft-green-deep: #00483F;
  --ft-green-dark: #003B35;
  --ft-green-soft: #DFF2E9;
  --ft-mint: #F0F8F4;
  --ft-navy: #10213A;
  --ft-muted: #5C6D83;
  --ft-border: #DDE7E7;
  --ft-gutter: clamp(20px, 4vw, 64px);
  color: var(--ft-navy);
}
.pt-footer a { color: inherit; text-decoration: none; }
.pt-footer a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 8px; }
.pt-ft-main {
  position: relative;
  z-index: 2;
  padding: 64px var(--ft-gutter) 0;
  background: var(--ft-mint);
  border-top: 1px solid var(--ft-border);
}
.pt-ft-palais {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: min(30%, 420px);
  background:
    linear-gradient(90deg, rgba(240, 248, 244, .1) 0%, rgba(240, 248, 244, .5) 55%, var(--ft-mint) 100%),
    url("/public/assets/media/portal/footer/footer-palais.jpg") left bottom / cover no-repeat;
  opacity: .9;
  pointer-events: none;
}
.pt-ft-building {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: min(30%, 520px);
  pointer-events: none;
}
.pt-ft-building img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 55%);
}
.pt-ft-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px clamp(32px, 4vw, 72px);
  max-width: 1440px;
  padding: 0 min(26%, 440px) 56px 0;
}
.pt-ft-title { margin: 0 0 30px; font: 700 19px/1.3 var(--font-title); }
.pt-ft-title::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 14px; background: var(--ft-green); }
.pt-ft-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pt-ft-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  color: var(--ft-muted);
  font-size: 15.5px;
}
.pt-ft-links a > span { flex: 1; }
.pt-ft-links .pt-ico { color: var(--ft-green); width: 22px; height: 22px; }
.pt-ft-links .pt-ico:last-child { width: 16px; height: 16px; color: var(--ft-navy); }
.pt-ft-links a:hover { color: var(--ft-green); }
.pt-ft-news { margin: 0 0 22px; padding: 0; list-style: none; }
.pt-ft-news li + li { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ft-border); }
.pt-ft-news a { display: flex; align-items: center; gap: 16px; }
.pt-ft-news img { flex: none; width: 76px; height: 76px; border-radius: 8px; object-fit: cover; box-shadow: 0 4px 12px rgba(16, 36, 58, .12); }
.pt-ft-news-body { display: grid; gap: 6px; flex: 1; min-width: 0; }
.pt-ft-news-date { display: inline-flex; align-items: center; gap: 8px; color: var(--ft-muted); font-size: 13px; }
.pt-ft-news-date .pt-ico { width: 15px; height: 15px; }
.pt-ft-news-title { font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.pt-ft-news a > .pt-ico { width: 16px; height: 16px; }
.pt-ft-news a:hover .pt-ft-news-title { color: var(--ft-green); }
.pt-ft-more { display: inline-flex; align-items: center; gap: 10px; color: var(--ft-green) !important; font: 700 16px/1.3 var(--font-title); }
.pt-ft-more .pt-ico { width: 18px; height: 18px; transition: transform .15s ease; }
.pt-ft-more:hover .pt-ico { transform: translateX(3px); }
.pt-ft-map { display: block; width: 100%; max-width: 300px; height: auto; }
.pt-ft-abroad p { margin: 18px 0 14px; color: var(--ft-muted); font-size: 15px; line-height: 1.55; }
.pt-ft-contact {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  top: 44px;
  max-width: 1440px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 36, 58, .1);
}
.pt-ft-contact li + li { border-left: 1px solid var(--ft-border); }
.pt-ft-contact a { display: flex; align-items: center; gap: 20px; height: 100%; padding: 16px 28px 16px 22px; }
.pt-ft-contact a > span:nth-child(2) { display: grid; gap: 4px; flex: 1; min-width: 0; }
.pt-ft-contact b { font: 700 16.5px/1.3 var(--font-title); overflow-wrap: anywhere; }
.pt-ft-contact small { color: var(--ft-muted); font-size: 14.5px; }
.pt-ft-contact a > .pt-ico { width: 18px; height: 18px; color: var(--ft-muted); }
.pt-ft-contact-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--ft-green-soft);
  color: var(--ft-green-deep);
}
.pt-ft-contact-ico .pt-ico { width: 28px; height: 28px; stroke-width: 2.1; }
.pt-ft-contact a:hover b { color: var(--ft-green); }
.pt-ft-bottom {
  position: relative;
  padding: 84px var(--ft-gutter) 28px;
  color: #fff;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px),
    linear-gradient(110deg, var(--ft-green-dark), var(--ft-green-deep));
}
.pt-ft-copy { margin: 0; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.8; text-align: center; }

/* Pied de page : écrans intermédiaires (deux colonnes) */
@media (max-width: 1599px) {
  .pt-ft-grid { gap: 44px 32px; padding-right: min(26%, 320px); }
  .pt-ft-building { top: auto; height: min(100%, 560px); width: min(30%, 380px); }
}
@media (max-width: 1299px) {
  .pt-ft-building { display: none; }
  .pt-ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: 0; }
  .pt-ft-abroad { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 1199px) {
  .pt-ft-contact { grid-template-columns: 1fr; }
  .pt-ft-contact li + li { border-left: 0; border-top: 1px solid var(--ft-border); }
}
@media (max-width: 767px) {
  .pt-ft-main { padding-top: 44px; }
  .pt-ft-grid { grid-template-columns: 1fr; gap: 36px; padding: 0 0 36px; }
  .pt-ft-abroad { max-width: none; }
  .pt-ft-palais { width: 70%; opacity: .45; }
  .pt-ft-title { margin-bottom: 20px; }
  .pt-ft-contact a { padding: 14px 16px; gap: 14px; }
  .pt-ft-contact-ico { width: 52px; height: 52px; }
}

/* Navigation hx-boost : barre de progression en haut de page pendant le chargement */
.pt-progress { position: fixed; top: 0; left: 0; z-index: 1000; width: 100%; height: 3px; background: linear-gradient(90deg, var(--flag-green), var(--flag-yellow), var(--flag-red)); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.pt-progress.htmx-request { opacity: 1; animation: pt-progress 1.2s ease-out forwards; }
@keyframes pt-progress { from { transform: scaleX(0); } to { transform: scaleX(.85); } }
#pt-main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .pt-progress.htmx-request { animation: none; transform: scaleX(1); } }

/* ——— Retouche du menu latéral (bloc autonome : supprimer ce bloc pour revenir à l'état précédent) ——— */
.pt-nav { gap: 2px; }
.pt-nav-link {
  position: relative;
  gap: 13px;
  padding: 11px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .82);
  font: 600 14.5px/1.2 var(--font-title);
  letter-spacing: .01em;
  transition: background .18s ease, color .18s ease;
}
/* Icône dans une pastille discrète */
.pt-nav-link > .pt-ico { box-sizing: content-box; width: 18px; height: 18px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .06); stroke-width: 1.8; transition: background .18s ease, color .18s ease; }
.pt-nav-link > span:not(.pt-nav-chevron) { transition: transform .18s ease; }
.pt-nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.pt-nav-link:hover > span:not(.pt-nav-chevron) { transform: translateX(2px); }
.pt-nav-link:hover > .pt-ico { background: rgba(255, 255, 255, .12); }
/* Rubrique active : fond translucide, filet jaune à gauche et pastille jaune */
.pt-nav-link.is-active {
  background: linear-gradient(90deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  color: #fff;
  font-weight: 700;
}
.pt-nav-link.is-active::before { content: ""; position: absolute; left: -18px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--flag-yellow); }
.pt-nav-link.is-active > .pt-ico { background: var(--flag-yellow); color: #053B33; }
/* Sous-menu Documents : fil vertical et puces */
.pt-nav-sub { gap: 0; margin: 2px 0 6px 30px; padding: 2px 0 2px 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.pt-nav-sub a { position: relative; padding: 7px 10px; font: 500 13.5px/1.3 var(--font-body); color: rgba(255, 255, 255, .72); }
.pt-nav-sub a::before { content: ""; position: absolute; left: -19px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.pt-nav-sub a:hover::before { background: var(--flag-yellow); }
.pt-nav-sub a.is-active { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
.pt-nav-sub a.is-active::before { width: 7px; height: 7px; margin-top: -3.5px; left: -20px; background: var(--flag-yellow); box-shadow: 0 0 0 3px rgba(245, 196, 0, .2); }
/* Libellé de section avec filet */
.pt-nav-label { display: flex; align-items: center; gap: 10px; margin: 20px 14px 6px; font: 700 10.5px/1 var(--font-title); letter-spacing: .16em; color: rgba(255, 255, 255, .5); }
.pt-nav-label::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
@media (prefers-reduced-motion: reduce) {
  .pt-nav-link, .pt-nav-link > .pt-ico, .pt-nav-link > span { transition: none; }
}
/* ——— Fin de la retouche du menu latéral ——— */

/* ——— Suivi de document (/tracking) ——— */
.pt-tk {
  --tk-primary: #087A55;
  --tk-primary-dark: #075B43;
  --tk-mint: #E6F5EE;
  --tk-heading: #10265C;
  --tk-text: #244578;
  --tk-muted: #53647D;
  --tk-border: #DCE6EE;
  --tk-shadow: 0 4px 18px rgba(16, 38, 92, .08);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  color: var(--tk-heading);
}
.pt-tk a { text-decoration: none; }
.pt-tk a:focus-visible, .pt-tk button:focus-visible, .pt-tk select:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

/* Bannière */
.pt-tk-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 260px; margin-top: -8px; padding: 30px clamp(22px, 4vw, 44px); border-radius: 14px; background: #052F58; color: #fff; }
.pt-tk-hero-photo { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 60%; }
.pt-tk-hero-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.pt-tk-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 30, 57, .55) 0%, rgba(3, 30, 57, .3) 50%, rgba(3, 30, 57, 0) 75%); }
.pt-tk-hero-text { max-width: 620px; }
.pt-tk-kicker { margin: 0 0 10px; color: rgba(255, 255, 255, .85); font: 600 12px/1 var(--font-title); letter-spacing: .14em; text-transform: uppercase; }
.pt-tk-hero h1 { margin: 0 0 12px; font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1.15 var(--font-title); letter-spacing: -.01em; }
.pt-tk-hero p:not(.pt-tk-kicker) { margin: 0; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.55; }
.pt-tk-pick { display: flex; gap: 10px; max-width: 620px; margin-top: 20px; }
.pt-tk-select { position: relative; display: flex; flex: 1; align-items: center; min-width: 0; }
.pt-tk-select select { width: 100%; min-height: 48px; padding: 0 40px 0 44px; border: 1px solid var(--tk-border); border-radius: 10px; background: #fff; color: var(--tk-text); font: 15px var(--font-body); appearance: none; cursor: pointer; }
.pt-tk-select .pt-ico { position: absolute; width: 19px; height: 19px; color: var(--tk-muted); pointer-events: none; }
.pt-tk-select .pt-ico:first-child { left: 14px; }
.pt-tk-select .pt-ico:last-child { right: 14px; transform: rotate(90deg); }
.pt-tk-pick button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; background: var(--tk-primary-dark); color: #fff; font: 700 15px/1 var(--font-title); white-space: nowrap; cursor: pointer; }
.pt-tk-pick button .pt-ico { width: 17px; height: 17px; }
.pt-tk-pick button:hover:not(:disabled) { background: #054634; }
.pt-tk-pick button:disabled { opacity: .7; cursor: not-allowed; }

/* Cartes */
.pt-tk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pt-tk-grid > li { display: flex; }
.pt-tk-card { --tone: #087A55; --tone-bg: #E1F5EC; position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid color-mix(in srgb, var(--tone) 28%, var(--tk-border)); border-radius: 12px; background: #fff; box-shadow: var(--tk-shadow); color: inherit; transition: transform .16s ease, box-shadow .16s ease; }
.pt-tk-card.is-green { --tone: #087A55; --tone-bg: #E1F5EC; }
.pt-tk-card.is-blue { --tone: #1877E8; --tone-bg: #E6F1FF; }
.pt-tk-card.is-purple { --tone: #7C2CE8; --tone-bg: #F0E7FF; }
.pt-tk-card.is-orange { --tone: #E58A00; --tone-bg: #FFF1D8; }
.pt-tk-card.is-red { --tone: #E52E48; --tone-bg: #FFE8EC; }
.pt-tk-card.is-teal { --tone: #008C83; --tone-bg: #DDF8F4; }
a.pt-tk-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16, 38, 92, .12); }
.pt-tk-card img { display: block; width: 100%; height: 118px; object-fit: cover; }
.pt-tk-card-body { position: relative; display: flex; flex: 1; align-items: center; gap: 12px; margin-top: -16px; padding: 14px 14px 14px 76px; border-radius: 14px 14px 0 0; background: #fff; }
.pt-tk-card-ico { position: absolute; left: 14px; top: -20px; display: grid; place-items: center; width: 50px; height: 50px; border: 4px solid #fff; border-radius: 12px; background: var(--tone); color: #fff; box-shadow: 0 4px 10px rgba(16, 38, 92, .15); }
.pt-tk-card-ico .pt-ico { width: 22px; height: 22px; }
.pt-tk-card-text { display: grid; flex: 1; gap: 4px; min-width: 0; }
.pt-tk-card-text b { font: 700 15.5px/1.25 var(--font-title); }
.pt-tk-card-text span { color: var(--tk-muted); font-size: 13.5px; line-height: 1.4; }
.pt-tk-arrow { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--tone); border-radius: 50%; color: var(--tone); }
.pt-tk-arrow .pt-ico { width: 16px; height: 16px; }
a.pt-tk-card:hover .pt-tk-arrow { background: var(--tone); color: #fff; }
.pt-tk-card.is-off img { filter: grayscale(.55); opacity: .75; }
.pt-tk-card.is-off .pt-tk-card-text span { font-style: italic; }

/* Aide */
.pt-tk-help { display: grid; align-content: center; gap: 14px; padding: 18px; border: 1px solid #D5EBE2; border-radius: 12px; background: var(--tk-mint); }
.pt-tk-grid > li.pt-tk-help { display: grid; grid-template-columns: auto 1fr; align-items: start; }
.pt-tk-help-ico .pt-ico { width: 40px; height: 40px; color: var(--tk-primary-dark); stroke-width: 1.7; }
.pt-tk-help h2 { margin: 0 0 4px; font: 800 16px/1.3 var(--font-title); }
.pt-tk-help p { margin: 0; color: var(--tk-muted); font-size: 13.5px; line-height: 1.5; }
.pt-tk-help > a { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid var(--tk-border); border-radius: 10px; background: #fff; color: var(--tk-heading); font: 700 15px/1 var(--font-title); }
.pt-tk-help > a .pt-ico { width: 17px; height: 17px; }
.pt-tk-help > a:hover { border-color: var(--tk-primary); color: var(--tk-primary-dark); }

/* Bandeau d'informations */
.pt-tk-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px 0 0; padding: 18px 8px; list-style: none; border-radius: 12px; background: #EDF7F8; }
.pt-tk-info li { display: flex; gap: 14px; padding: 0 18px; }
.pt-tk-info li + li { border-left: 1px solid var(--tk-border); }
.pt-tk-info .pt-ico { flex: none; width: 30px; height: 30px; color: var(--tk-primary-dark); stroke-width: 1.7; }
.pt-tk-info span { display: grid; gap: 4px; color: var(--tk-muted); font-size: 13.5px; line-height: 1.45; }
.pt-tk-info b { color: var(--tk-heading); font: 700 14.5px/1.3 var(--font-title); }

@media (max-width: 1199px) {
  .pt-tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pt-tk-hero { min-height: 0; padding: 24px 18px; }
  .pt-tk-hero-photo { width: 100%; }
  .pt-tk-hero-photo img { -webkit-mask-image: none; mask-image: none; }
  .pt-tk-hero::before { background: linear-gradient(180deg, rgba(3, 30, 57, .72), rgba(3, 30, 57, .9)); }
  .pt-tk-pick { flex-direction: column; }
  .pt-tk-pick button { justify-content: center; }
  .pt-tk-grid { grid-template-columns: 1fr; gap: 12px; }
  .pt-tk-card img { height: 104px; }
  .pt-tk-info { grid-template-columns: 1fr; gap: 14px; padding: 16px 4px; }
  .pt-tk-info li + li { padding-top: 14px; border-left: 0; border-top: 1px solid var(--tk-border); }
}
@media (prefers-reduced-motion: reduce) { .pt-tk-card { transition: none; } }

/* ——— Formulaire de suivi (/tracking/passport, /tracking/residence-permit) ——— */
.pt-tf {
  --tf-primary: #087A55;
  --tf-primary-dark: #005B49;
  --tf-deep: #063D3A;
  --tf-mint: #E8F5F1;
  --tf-heading: #102448;
  --tf-text: #314A68;
  --tf-muted: #53677F;
  --tf-placeholder: #7C8CA0;
  --tf-border: #D8E2EC;
  --tf-info-bg: #EAF3FF;
  --tf-info: #1769E0;
  --tf-error: #C53D4B;
  --bd-navy: var(--tf-heading);
  --bd-muted: var(--tf-muted);
  --bd-green: var(--tf-primary);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  color: var(--tf-heading);
}
.pt-tf a { text-decoration: none; }
.pt-tf a:focus-visible, .pt-tf button:focus-visible, .pt-tf input:focus-visible, .pt-tf select:focus-visible { outline: 3px solid rgba(8, 122, 85, .35); outline-offset: 2px; }
.pt-tf-crumbs { margin-top: -16px; }

/* Bannière */
.pt-tf-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 22px; min-height: 160px; padding: 24px clamp(20px, 3vw, 32px); border-radius: 14px; background: var(--tf-deep); color: #fff; }
.pt-tf-hero.is-plain { background: linear-gradient(110deg, #063D3A 0%, #005B49 60%, #0A7A5E 100%); }
.pt-tf-hero-photo { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 52%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 50%; }
.pt-tf-hero:not(.is-plain)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 48, 43, .98) 0%, rgba(0, 65, 57, .9) 46%, rgba(0, 48, 43, .1) 100%); }
.pt-tf-badge { display: grid; justify-items: center; gap: 6px; flex: none; width: 96px; padding: 12px 8px 10px; border-radius: 14px; background: #fff; color: var(--tf-primary-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.pt-tf-badge > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; background: var(--tf-primary); color: #fff; }
.pt-tf-badge .pt-ico { width: 30px; height: 30px; stroke-width: 1.7; }
.pt-tf-badge small { color: var(--tf-heading); font: 800 10.5px/1.1 var(--font-title); letter-spacing: .04em; text-align: center; }
.pt-tf-hero-text { max-width: 560px; }
.pt-tf-hero h1 { margin: 0 0 8px; font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--font-title); }
.pt-tf-hero p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 15.5px; line-height: 1.5; }

/* Panneau : étapes + formulaire */
.pt-tf-panel { display: grid; grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr); gap: 28px; padding: 24px; border: 1px solid rgba(216, 226, 236, .65); border-radius: 14px; background: #fff; box-shadow: 0 8px 26px rgba(16, 36, 72, .08); }
.pt-tf-steps { align-self: start; margin: 0; padding: 20px 18px; list-style: none; border-radius: 12px; background: #F7FAFC; }
.pt-tf-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 22px; color: var(--tf-muted); font-size: 13.5px; line-height: 1.45; }
.pt-tf-steps li:last-child { padding-bottom: 0; }
.pt-tf-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 6px; width: 2px; background: var(--tf-border); }
.pt-tf-steps li.is-done:not(:last-child)::after { background: var(--tf-primary); }
.pt-tf-steps li > span:last-child { display: grid; gap: 3px; }
.pt-tf-steps b { color: var(--tf-heading); font: 700 15px/1.3 var(--font-title); }
.pt-tf-step-num { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 2px solid var(--tf-border); border-radius: 50%; background: #fff; color: var(--tf-heading); font: 700 14px/1 var(--font-title); }
.pt-tf-steps .is-current .pt-tf-step-num, .pt-tf-steps .is-done .pt-tf-step-num { border-color: var(--tf-primary); background: var(--tf-primary); color: #fff; }
.pt-tf-steps .is-error .pt-tf-step-num { border-color: var(--tf-error); background: #fff; color: var(--tf-error); }
.pt-tf-steps .is-error b { color: var(--tf-error); }
.pt-tf-main { min-width: 0; }
.pt-tf-h2 { margin: 0 0 4px; font: 800 20px/1.3 var(--font-title); }
.pt-tf-lead { margin: 0 0 18px; color: var(--tf-muted); font-size: 14.5px; }
.pt-tf-form { display: grid; gap: 16px; }
.pt-tf-field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pt-tf-field > label, .pt-tf-field legend { padding: 0; font: 700 14px/1.3 var(--font-title); }
.pt-tf-field legend { margin-bottom: 7px; }
.pt-tf-req { color: var(--tf-error); }
.pt-tf-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-tf-option { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border: 1px solid var(--tf-border); border-radius: 7px; background: #fff; color: var(--tf-text); font-size: 14px; cursor: pointer; }
.pt-tf-option input { position: absolute; opacity: 0; pointer-events: none; }
.pt-tf-dot { width: 15px; height: 15px; flex: none; border: 1.5px solid #9AA9B8; border-radius: 50%; }
.pt-tf-option:hover { border-color: var(--tf-primary); }
.pt-tf-option.is-on, .pt-tf-option:has(input:checked) { border-color: var(--tf-primary); background: var(--tf-mint); color: var(--tf-heading); font-weight: 600; }
.pt-tf-option.is-on .pt-tf-dot, .pt-tf-option:has(input:checked) .pt-tf-dot { border-color: var(--tf-primary); background: var(--tf-primary) radial-gradient(circle, #fff 0 2px, transparent 2.5px); }
.pt-tf-option:has(input:focus-visible) { outline: 3px solid rgba(8, 122, 85, .35); outline-offset: 2px; }
.pt-tf-input { position: relative; display: flex; align-items: center; }
.pt-tf-input input, .pt-tf-input select { width: 100%; min-height: 44px; padding: 0 42px 0 12px; border: 1px solid var(--tf-border); border-radius: 7px; background: #fff; color: var(--tf-heading); font: 15px var(--font-body); appearance: none; }
.pt-tf-input input::placeholder { color: var(--tf-placeholder); }
.pt-tf-input input:focus, .pt-tf-input select:focus { outline: none; border-color: var(--tf-primary); box-shadow: 0 0 0 3px rgba(8, 122, 85, .12); }
.pt-tf-input input[aria-invalid="true"] { border-color: var(--tf-error); }
.pt-tf-input .pt-ico { position: absolute; right: 12px; width: 19px; height: 19px; color: var(--tf-heading); pointer-events: none; }
.pt-tf-help { margin: 0; color: var(--tf-muted); font-size: 13px; line-height: 1.45; }
.pt-tf-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; margin-top: 4px; border: 0; border-radius: 8px; background: var(--tf-primary); color: #fff; font: 700 15.5px/1 var(--font-title); cursor: pointer; }
.pt-tf-submit .pt-ico { width: 18px; height: 18px; }
.pt-tf-submit:hover { background: var(--tf-primary-dark); }
.pt-tf-submit:disabled { opacity: .75; cursor: progress; }

/* Résultat et erreur */
.pt-tf-result { margin-bottom: 20px; padding: 18px 20px; border: 1px solid #BFE3CF; border-radius: 12px; background: #F2FAF6; }
.pt-tf-result h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 800 17px/1.3 var(--font-title); }
.pt-tf-result h2 .pt-ico { width: 22px; height: 22px; color: var(--tf-primary); }
.pt-tf-result dl { display: grid; gap: 10px; margin: 0; }
.pt-tf-result dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 12px; }
.pt-tf-result dt { color: var(--tf-muted); font-size: 13.5px; }
.pt-tf-result dd { margin: 0; color: var(--tf-heading); font-size: 14.5px; line-height: 1.5; }
.pt-tf-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--pill, #087A55) 14%, #fff); color: color-mix(in srgb, var(--pill, #087A55) 75%, #000); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pill, #087A55) 35%, transparent); font: 700 13.5px/1.2 var(--font-title); }
.pt-tf-progress { display: flex; align-items: center; gap: 12px; }
.pt-tf-bar { overflow: hidden; flex: 1; height: 10px; border-radius: 999px; background: #E3EAF0; }
.pt-tf-bar > span { display: block; height: 100%; border-radius: inherit; }
.pt-tf-alert { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid #EFC9C9; border-radius: 10px; background: #FCF1F1; color: #8E2626; font-size: 14px; line-height: 1.5; }
.pt-tf-alert .pt-ico { flex: none; width: 20px; height: 20px; margin-top: 1px; }

/* Encart d'aide */
.pt-tf-info { display: flex; align-items: flex-start; gap: 18px; padding: 18px 22px; border-radius: 12px; background: var(--tf-info-bg); }
.pt-tf-info-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--tf-info); color: #fff; }
.pt-tf-info-ico .pt-ico { width: 24px; height: 24px; stroke-width: 2.2; }
.pt-tf-info h2 { margin: 0 0 8px; color: #0F4FAE; font: 800 16px/1.3 var(--font-title); }
.pt-tf-info ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; color: var(--tf-text); font-size: 13.5px; line-height: 1.5; }
.pt-tf-info a { color: var(--tf-primary-dark); text-decoration: underline; }

@media (max-width: 1099px) {
  .pt-tf-panel { grid-template-columns: 1fr; gap: 20px; }
  .pt-tf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; }
  .pt-tf-steps li { flex-direction: column; gap: 8px; padding-bottom: 0; }
  .pt-tf-steps li:not(:last-child)::after { left: 40px; right: -12px; top: 14px; bottom: auto; width: auto; height: 2px; }
}
@media (max-width: 767px) {
  .pt-tf-hero { align-items: flex-start; flex-direction: column; gap: 14px; min-height: 0; padding: 20px 16px; }
  .pt-tf-hero-photo { width: 100%; opacity: .45; }
  .pt-tf-hero:not(.is-plain)::before { background: linear-gradient(180deg, rgba(0, 48, 43, .85), rgba(0, 48, 43, .95)); }
  .pt-tf-badge { flex-direction: row; width: auto; padding: 8px 12px 8px 8px; }
  .pt-tf-badge > span { width: 40px; height: 40px; }
  .pt-tf-badge .pt-ico { width: 22px; height: 22px; }
  .pt-tf-panel { padding: 16px; }
  .pt-tf-steps { grid-template-columns: 1fr; }
  .pt-tf-steps li { flex-direction: row; }
  .pt-tf-steps li:not(:last-child)::after { display: none; }
  .pt-tf-options { flex-direction: column; }
  .pt-tf-option { width: 100%; }
  .pt-tf-result dl > div { grid-template-columns: 1fr; gap: 4px; }
  .pt-tf-info { padding: 16px; gap: 12px; }
}

/* ——— Démarches en ligne (/applications) ——— */
.pt-ap {
  --ap-heading: #101F67;
  --ap-text: #30486B;
  --ap-border: #E0EAF2;
  --ap-blue: #0879F9;
  --ap-blue-soft: #E1F3FF;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  color: var(--ap-heading);
}
.pt-ap a { text-decoration: none; }
.pt-ap a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 12px; }
.pt-ap-head { position: relative; isolation: isolate; overflow: hidden; min-height: 180px; margin: -16px 0 0; padding: 18px 0 26px; }
.pt-ap-head-photo { position: absolute; inset: -44px -132px 0 auto; z-index: -1; width: 50%; }
.pt-ap-head-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 55% 35%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 65%), linear-gradient(0deg, transparent 0%, #000 35%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 65%), linear-gradient(0deg, transparent 0%, #000 35%); mask-composite: intersect; }
.pt-ap-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--ap-heading); font-size: 13px; }
.pt-ap-crumbs li + li::before { content: "›"; margin-right: 10px; color: #78879A; }
.pt-ap-crumbs a { display: inline-flex; align-items: center; gap: 10px; color: var(--ap-text); }
.pt-ap-crumbs a .pt-ico { width: 17px; height: 17px; }
.pt-ap-crumbs a:hover span { text-decoration: underline; }
.pt-ap-head h1 { max-width: 62%; margin: 0 0 10px; font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1.2 var(--font-title); }
.pt-ap-head p { max-width: 62%; margin: 0; color: var(--ap-text); font-size: 15.5px; line-height: 1.55; }

.pt-ap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pt-ap-grid li { display: flex; }
.pt-tk-cards { --ap-heading: #101F67; --ap-text: #30486B; --ap-border: #E0EAF2; --ap-blue: #0879F9; --ap-blue-soft: #E1F3FF; }
.pt-tk .pt-tk-grid.pt-tk-grid-help { grid-template-columns: minmax(0, 1fr); }
.pt-tk-cards a { text-decoration: none; }
.pt-ap-card { --tone: #087A55; --tone-bg: #DDF5E9; display: grid; grid-template-columns: 72px minmax(0, 1fr) 32px; align-items: center; gap: 18px; width: 100%; min-height: 112px; padding: 16px 18px; border: 1px solid var(--ap-border); border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(16, 31, 103, .06); color: inherit; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.pt-ap-card:hover { transform: translateY(-2px); border-color: #C7D8E8; box-shadow: 0 7px 18px rgba(16, 31, 103, .1); }
.pt-ap-card.is-green { --tone: #087A55; --tone-bg: #DDF5E9; }
.pt-ap-card.is-blue { --tone: #0879F9; --tone-bg: #DCEBFF; }
.pt-ap-card.is-purple, .pt-ap-card.is-violet { --tone: #6D18E8; --tone-bg: #EBDDFF; }
.pt-ap-card.is-orange { --tone: #E99100; --tone-bg: #FFF0D2; }
.pt-ap-card.is-red, .pt-ap-card.is-rose { --tone: #F01425; --tone-bg: #FFE0E3; }
.pt-ap-card.is-teal { --tone: #008C83; --tone-bg: #D5F7F6; }
.pt-ap-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 12px; background: var(--tone-bg); }
.pt-ap-ico .pt-ico { box-sizing: content-box; width: 26px; height: 26px; padding: 11px; border-radius: 10px; background: var(--tone); color: #fff; stroke-width: 1.9; }
.pt-ap-text { display: grid; gap: 6px; min-width: 0; }
.pt-ap-text b { font: 700 16px/1.25 var(--font-title); }
.pt-ap-text > span:not(.pt-sr) { color: var(--ap-text); font-size: 13.5px; line-height: 1.45; }
.pt-ap-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 600 11px/1.4 var(--font-title); font-style: normal; vertical-align: middle; }
.pt-ap-tag.is-online { background: #DDF5E9; color: #087A55; }
.pt-ap-tag.is-soon { background: #FFF0D2; color: #8A5A00; }
/* Démarche encore servie par l’ancienne plateforme, en attendant le module du portail. */
.pt-ap-tag.is-update {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px;
  background: var(--flag-yellow); color: var(--dgdn-navy-900, #10243A);
  font-weight: 800; letter-spacing: .01em;
  box-shadow: 0 2px 8px rgba(245, 196, 0, .45);
}
.pt-ap-tag.is-update::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--flag-green); box-shadow: 0 0 0 0 rgba(0, 106, 78, .55);
  animation: pt-tag-pulse 1.8s ease-out infinite;
}
@keyframes pt-tag-pulse { 70% { box-shadow: 0 0 0 6px rgba(0, 106, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 106, 78, 0); } }
@media (prefers-reduced-motion: reduce) { .pt-ap-tag.is-update::before { animation: none; } }
.pt-bd-service-text .pt-ap-tag { margin-left: 6px; }
.pt-ap-card.is-soon { opacity: .75; cursor: not-allowed; }
.pt-ap-card.is-soon:hover { transform: none; border-color: var(--ap-border); box-shadow: 0 3px 12px rgba(16, 31, 103, .06); }
.pt-ap-arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ap-blue-soft); color: var(--ap-blue); }
.pt-ap-arrow .pt-ico { width: 17px; height: 17px; stroke-width: 2.4; transition: transform .16s ease; }
.pt-ap-card:hover .pt-ap-arrow .pt-ico { transform: translateX(2px); }

.pt-ap-info { display: flex; align-items: flex-start; gap: 16px; margin-top: 8px; padding: 16px 20px; border-radius: 12px; background: #FFF8E8; color: #4A3510; }
.pt-ap-info-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #4A3510; color: #FFF8E8; }
.pt-ap-info-ico .pt-ico { width: 20px; height: 20px; stroke-width: 2.4; }
.pt-ap-info h2 { margin: 0 0 4px; font: 800 15px/1.3 var(--font-title); }
.pt-ap-info p { margin: 0; font-size: 14px; line-height: 1.5; }

@media (max-width: 1199px) {
  .pt-ap-head-photo { inset: -32px -32px 0 auto; }
}
@media (max-width: 899px) {
  .pt-ap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .pt-ap-head { min-height: 0; padding-bottom: 18px; }
  .pt-ap-head-photo { inset: -24px -16px 0 -16px; width: auto; opacity: .22; }
  .pt-ap-head h1, .pt-ap-head p { max-width: none; }
  .pt-ap-crumbs ol { margin-bottom: 16px; }
  .pt-ap-card { grid-template-columns: 60px minmax(0, 1fr) 28px; gap: 12px; min-height: 96px; padding: 12px; }
  .pt-ap-ico { width: 60px; height: 60px; }
  .pt-ap-ico .pt-ico { width: 22px; height: 22px; padding: 9px; }
  .pt-ap-arrow { width: 28px; height: 28px; }
  .pt-ap-info { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .pt-ap-card, .pt-ap-arrow .pt-ico { transition: none; } }

/* ——— Devise animée de l'accueil (Alpine) ——— */
[x-cloak] { display: none !important; }
.pt-slogan { margin: -8px 0 18px; }
.pt-slogan-items { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.pt-slogan-item {
  position: relative;
  padding-bottom: 5px;
  color: var(--text-secondary);
  font: 600 clamp(15px, 1.35vw, 18px)/1.3 var(--font-title);
  letter-spacing: .01em;
  transition: color .45s ease;
  animation: pt-slogan-in .6s cubic-bezier(.2, .7, .2, 1) both;
}
.pt-slogan-item:nth-child(2) { animation-delay: .35s; }
.pt-slogan-item:nth-child(3) { animation-delay: .7s; }
.pt-slogan-item + .pt-slogan-item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 14px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--flag-yellow);
}
/* soulignement qui se déploie sous le volet mis en avant */
.pt-slogan-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--dgdn-green-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}
.pt-slogan-item + .pt-slogan-item::after { width: calc(100% - 34px); }
.pt-slogan-item.is-on { color: var(--dgdn-green-800); }
.pt-slogan-item.is-on::after { transform: scaleX(1); }
@keyframes pt-slogan-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-slogan-item { animation: none; transition: none; }
  .pt-slogan-item::after { transition: none; }
}
@media (max-width: 640px) {
  .pt-slogan { margin: -10px 0 14px; }
  .pt-slogan-item + .pt-slogan-item::before { margin: 0 9px; }
  .pt-slogan-item + .pt-slogan-item::after { width: calc(100% - 24px); }
}

/* ===== Page introuvable (404) ===== */
.pt-nf-hero {
  position: relative; overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--ct-border); border-radius: 20px;
  background: linear-gradient(135deg, var(--ct-soft) 0%, #FFFFFF 70%);
  box-shadow: var(--ct-shadow);
}
.pt-nf-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--tricolor);
}
.pt-nf-code {
  margin: 0 0 6px; font: 800 clamp(4rem, 12vw, 7.5rem)/1 var(--font-title); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 2px var(--ct-primary); opacity: .9;
}
.pt-nf-hero h1 { margin: 0 0 12px; font: 800 clamp(1.7rem, 3.2vw, 2.5rem)/1.15 var(--font-title); letter-spacing: -.02em; color: var(--ct-heading); }
.pt-nf-hero > p:not(.pt-nf-code) { max-width: 620px; margin: 0; color: var(--ct-text); font-size: 17px; line-height: 1.6; }
.pt-nf-search { max-width: 560px; margin: 24px 0 18px; }
.pt-nf-search .pt-search { width: 100%; }
.pt-nf-home { display: inline-flex; align-items: center; gap: 8px; color: var(--ct-primary); font-weight: 600; }
.pt-nf-home:hover { color: var(--ct-primary-dark); text-decoration: underline; }
.pt-nf-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pt-nf-links a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px;
  border: 1px solid var(--ct-border); border-radius: 14px; background: #FFFFFF; color: var(--ct-heading);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.pt-nf-links a:hover { transform: translateY(-2px); border-color: #B9D8CB; box-shadow: var(--ct-shadow); }
.pt-nf-links a > .pt-ico:last-child { margin-left: auto; color: var(--ct-muted); flex: none; }
.pt-nf-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--ct-soft); color: var(--ct-primary); }
.pt-nf-text { display: grid; gap: 2px; }
.pt-nf-text b { font: 700 15px/1.3 var(--font-title); }
.pt-nf-text span { color: var(--ct-text); font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) { .pt-nf-links a { transition: none; } .pt-nf-links a:hover { transform: none; } }
