/* ==========================================================================
   JURIDOC AFRICA : SYSTÈME DE DESIGN
   Palette retenue par MOONA (retour à la première version) : petrol profond,
   teal Juridoc, accent ocre. Typographie Lato, conforme à la charte.
   Note : la charte réseaux sociaux utilise Indigo #3F4079 et Teal #00A3AF.
   Le site retient une autre gamme. Cohérence à arbitrer entre les deux.
   ========================================================================== */
:root {
  --ink: #05323d;
  --ink-2: #0a4353;
  --teal: #096b82;
  --teal-2: #16899f;
  --teal-3: #4aa8bb;
  --gold: #e0a138;
  --gold-deep: #8f6210;
  --sand: #f4efe6;
  --ice: #f1f6f7;
  --txt: #0f242b;
  --muted: #5f7b85;
  --paper: #fff;
  --paper-2: #f8fafb;
  --line: #e4ecee;
  --line-2: #d3e0e3;
  --font: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --r: 14px;
  --r-lg: 24px;
  --r-sm: 9px;
  --pill: 999px;
  --sh: 0 1px 2px rgba(5, 50, 61, .05), 0 8px 24px rgba(5, 50, 61, .07);
  --sh-lg: 0 2px 8px rgba(5, 50, 61, .07), 0 24px 56px rgba(5, 50, 61, .15);
  --wrap: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--txt);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

body.noscroll {
  overflow: hidden
}

/* l'en-tête est collant : les ancres doivent s'arrêter en dessous */
section[id],
div[id] {
  scroll-margin-top: 86px
}

/* aucun média ne doit pouvoir élargir la page sur petit écran */
svg,
video,
iframe {
  max-width: 100%
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

h1,
h2,
h3,
h4 {
  font-weight: 900;
  line-height: 1.16;
  margin: 0;
  letter-spacing: -.015em;
  overflow-wrap: break-word
}

/* rien ne doit pouvoir élargir la page : noms de fichiers, adresses,
   références de textes et libellés longs sont coupables par défaut */
.ui-src a b,
.ui-alert b,
.ui-filters .f,
.map-count,
.map-note,
.f-contact a,
.dash-org,
.offer li,
.juri-meta li {
  overflow-wrap: anywhere
}

.ui-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px
}

.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-deep)
}

.eyebrow.on-dark {
  color: var(--gold)
}

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0)
}

/* ---------------- BOUTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 25px;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 700;
  transition: .22s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent
}

.btn-gold {
  background: var(--gold);
  color: var(--ink)
}

.btn-gold:hover {
  background: #eeb44f;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(224, 161, 56, .4)
}

.btn-teal {
  background: var(--teal);
  color: #fff
}

.btn-teal:hover {
  background: var(--teal-2);
  transform: translateY(-1px)
}

.btn-ink {
  background: var(--ink);
  color: #fff
}

.btn-ink:hover {
  background: var(--ink-2);
  transform: translateY(-1px)
}

.btn-line {
  border-color: var(--line-2);
  color: var(--ink);
  background: #fff
}

.btn-line:hover {
  border-color: var(--teal);
  color: var(--teal)
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .3);
  color: #fff
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px
}

.btn-lg {
  padding: 15px 30px;
  font-size: 15.5px
}

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal)
}

.arrow:hover {
  gap: 11px
}

/* ---------------- BANDEAU ET EN-TÊTE ---------------- */
.topbar {
  background: var(--ink);
  color: #a9c7d0;
  font-size: 12.5px
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px
}

.topbar a:hover {
  color: var(--gold)
}

.tb-l,
.tb-r {
  display: flex;
  align-items: center;
  gap: 20px
}

.pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff
}

.pulse i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: blip 2.4s infinite
}

@keyframes blip {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(224, 161, 56, .55)
  }

  55% {
    box-shadow: 0 0 0 6px rgba(224, 161, 56, 0)
  }
}

.lang b {
  color: #fff
}

header.site {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line)
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0
}

.logo-img {
  display: block;
  width: 203px;
  height: 24px;
  object-fit: contain;
  object-position: left center;
}

nav.main {
  display: flex;
  gap: 2px;
  margin-left: auto
}

nav.main>div {
  position: relative
}

nav.main a.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #2c4650;
  transition: .18s
}

nav.main a.nav:hover {
  background: var(--paper-2);
  color: var(--teal)
}

.caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .5
}

.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(860px, 92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  transition: .2s var(--ease)
}

nav.main>div:hover .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0)
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.mega h5 {
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 10px;
  font-weight: 900
}

.mega ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px
}

.mega ul a {
  display: block;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 13.5px;
  color: #33505b
}

.mega ul a:hover {
  background: var(--paper-2);
  color: var(--teal)
}

.mega-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.mega-foot p {
  margin: 0;
  font-size: 13px;
  color: var(--muted)
}

.hdr-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 2px;
  transition: .22s var(--ease)
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg)
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0
}

body.menu-open .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg)
}

/* ---------------------------------------------------------------
   MENU MOBILE
   La navigation principale est masquée sous 1080px. Sans ce tiroir,
   le site serait sans navigation sur téléphone.
   --------------------------------------------------------------- */
.mnav-back {
  position: fixed;
  inset: 0;
  background: rgba(5, 50, 61, .55);
  z-index: 940;
  opacity: 0;
  visibility: hidden;
  transition: .24s var(--ease)
}

body.menu-open .mnav-back {
  opacity: 1;
  visibility: visible
}

.mnav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  z-index: 950;
  background: #fff;
  box-shadow: -8px 0 40px rgba(5, 50, 61, .24);
  transform: translateX(102%);
  transition: transform .26s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain
}

body.menu-open .mnav {
  transform: translateX(0)
}

.mnav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2
}

.mnav-close {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--ink);
  line-height: 1
}

.mnav-body {
  padding: 14px 20px 22px;
  display: grid;
  gap: 2px
}

.mnav-body a.lvl1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 16.5px;
  font-weight: 900;
  color: var(--ink);
  border-bottom: 1px solid var(--line)
}

.mnav-body a.lvl1:active {
  color: var(--teal)
}

.mnav-sub {
  display: grid;
  gap: 1px;
  padding: 6px 0 12px
}

.mnav-sub a {
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: #33505b
}

.mnav-sub a:active {
  background: var(--paper-2);
  color: var(--teal)
}

.mnav-sub h6 {
  margin: 12px 0 4px;
  padding: 0 12px;
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 900
}

.mnav-cta {
  padding: 16px 20px 22px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  background: var(--paper-2)
}

.mnav-cta .btn {
  width: 100%
}

.mnav-lang {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 20px 0
}

.mnav-lang a {
  padding: 11px 17px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: #33505b
}

.mnav-lang a.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.mnav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2)
}

.mnav-user b {
  display: block;
  font-size: 14.5px;
  color: var(--ink)
}

.mnav-user span {
  display: block;
  font-size: 12px;
  color: var(--muted)
}

/* menu utilisateur connecté : nom, puis société et nombre de collaborateurs */
.usermenu {
  align-items: center;
  gap: 11px;
  padding: 6px 8px 6px 15px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink)
}

.usermenu:hover {
  border-color: var(--teal)
}

.um-txt {
  line-height: 1.15;
  text-align: right
}

.um-txt b {
  display: block;
  font-size: 13.5px;
  font-weight: 900
}

.um-txt span {
  display: block;
  font-size: 11px;
  color: var(--muted)
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 900;
  flex-shrink: 0
}

/* ---------------- HÉROS ET CARTE ---------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 62px 0 72px
}

.hero::before {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  right: -280px;
  top: -400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 137, 159, .5), transparent 68%)
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -240px;
  bottom: -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 161, 56, .2), transparent 68%)
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 50px;
  align-items: center
}

.hero h1 {
  font-size: clamp(31px, 3.9vw, 49px);
  color: #fff;
  margin: 16px 0 0
}

.hero h1 em {
  font-style: normal;
  color: var(--gold)
}

.hero .lede {
  color: #bcd6dd;
  font-size: 17px;
  margin-top: 19px
}

.hero-sign {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 9px 18px;
  border-radius: var(--pill);
  background: rgba(224, 161, 56, .14);
  border: 1px solid rgba(224, 161, 56, .38);
  font-size: 15px;
  font-weight: 900;
  color: var(--gold)
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14)
}

.hero-proof b {
  display: block;
  font-size: 23px;
  color: #fff;
  line-height: 1;
  font-weight: 900
}

.hero-proof span {
  font-size: 12.5px;
  color: var(--teal-3)
}

.mapcard {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 16px
}

.mapcard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px
}

.mapcard-top h2 {
  font-size: 15.5px;
  color: #fff;
  font-weight: 900;
  margin: 0
}

.mapcard-top p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #8fb4bf
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0
}

.icon-btn:hover {
  background: rgba(255, 255, 255, .18);
  border-color: var(--gold)
}

/* barre de recherche de la carte */
.map-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px
}

.map-search input {
  width: 100%;
  padding: 11px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-family: inherit;
  font-size: 14px
}

.map-search input::placeholder {
  color: #7ba3b0
}

.map-search input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px
}

.map-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 9px
}

.map-filters select {
  appearance: none;
  width: 100%;
  background: rgba(255, 255, 255, .09) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' stroke='%23a9c7d0' stroke-width='1.8' fill='none' stroke-linecap='round'/></svg>") no-repeat right 12px center;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 32px 10px 13px;
  border-radius: 10px;
  cursor: pointer
}

.map-filters select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px
}

.map-filters select option {
  background: var(--ink);
  color: #fff
}

#map {
  height: 400px;
  border-radius: 13px;
  background: #062730;
  overflow: hidden;
  z-index: 1;
  margin-top: 9px
}

.leaflet-container {
  background: #062730;
  font-family: var(--font)
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 700;
  color: #cfe3e8;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  transition: .18s
}

.chip:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff
}

.chip[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  border-color: #fff
}

.chip i {
  width: 9px;
  height: 9px;
  border-radius: 2.5px;
  flex-shrink: 0
}

.chip.live i {
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 161, 56, .25)
}

.chip i.dash {
  background: transparent;
  border: 2px dashed var(--teal-3);
  border-radius: 2px
}

.map-note {
  margin: 10px 2px 0;
  font-size: 11.5px;
  color: #76a0ad
}

.map-count {
  font-size: 11.5px;
  color: var(--gold);
  font-weight: 700;
  margin: 9px 2px 0
}

/* plein écran : colonne flexible, la carte prend toute la place restante.
   Évite un calcul de hauteur en vh qui devient faux sur téléphone. */
.mapcard.full {
  position: fixed;
  inset: 12px;
  z-index: 1500;
  background: var(--ink);
  border-color: rgba(255, 255, 255, .2);
  padding: 18px;
  overflow: auto;
  display: flex;
  flex-direction: column
}

/* Le topbar et l'en-tête sont sticky (leur propre contexte d'empilement) —
   plutôt que de compter uniquement sur le z-index pour passer au-dessus,
   on les masque complètement pendant le plein écran de la carte. */
body.map-fullscreen .topbar,
body.map-fullscreen header.site {
  display: none
}

.mapcard.full #map {
  flex: 1 1 auto;
  height: auto;
  min-height: 240px
}

.mapcard.full .map-legend {
  flex-shrink: 0
}

.leaflet-popup-content-wrapper {
  border-radius: 13px;
  box-shadow: var(--sh-lg);
  padding: 0;
  overflow: hidden
}

.leaflet-popup-content {
  margin: 0;
  width: 252px !important;
  font-family: var(--font)
}

.leaflet-popup-tip {
  background: #fff
}

.pop {
  padding: 15px 17px 16px
}

.pop-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px
}

.pop-h b {
  font-size: 17px;
  color: var(--ink);
  font-weight: 900
}

.pop-badge {
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--pill)
}

.pop-badge.live {
  background: #e9f5ee;
  color: #1d6b40
}

.pop-badge.soon {
  background: var(--sand);
  color: var(--gold-deep)
}

.pop-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px
}

.pop-zones span {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--ice);
  color: var(--teal)
}

.pop .btn {
  width: 100%;
  padding: 9px
}

.pop small {
  display: block;
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45
}

/* ---------------- SECTIONS ---------------- */
section {
  padding: 90px 0
}

section.tight {
  padding: 62px 0
}

.sec-head {
  max-width: 700px;
  margin-bottom: 44px
}

.sec-head h2 {
  font-size: clamp(27px, 3.2vw, 40px);
  color: var(--ink);
  margin: 13px 0 0
}

.sec-head .lede {
  margin-top: 16px
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.sec-head.center .lede {
  margin-left: auto;
  margin-right: auto
}

.sec-paper2 {
  background: var(--paper-2)
}

.sec-sand {
  background: var(--sand)
}

.sec-ink {
  background: var(--ink);
  color: #fff
}

.sec-ink h2 {
  color: #fff
}

.sec-ink .lede {
  color: #a9c7d0
}

/* appel final : grille en CSS et non en style en ligne, sinon elle reste
   sur deux colonnes en mobile */
.cta-final {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 44px;
  align-items: center
}

.cta-final h2 {
  font-size: clamp(26px, 3vw, 37px);
  margin-top: 13px
}

.cta-final .lede {
  margin-top: 17px
}

.cta-final-btns {
  display: grid;
  gap: 12px
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.stat {
  background: #fff;
  padding: 32px 22px;
  text-align: center
}

.stat b {
  display: block;
  font-size: 34px;
  color: var(--teal);
  line-height: 1;
  font-weight: 900
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted)
}

.stat em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--gold-deep);
  font-weight: 700;
  margin-top: 3px
}

/* ---------------- PANNEAUX PRODUIT ---------------- */
.panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--sh)
}

.panel:last-child {
  margin-bottom: 0
}

.panel.flip .panel-vis {
  order: 2
}

.panel-vis {
  position: relative;
  padding: 42px 38px;
  display: grid;
  place-items: center;
  min-height: 380px
}

.panel-vis.t-1 {
  background: linear-gradient(150deg, var(--ice), #dbe9ec)
}

.panel-vis.t-2 {
  background: linear-gradient(150deg, var(--sand), #efe1cb)
}

.panel-vis.t-3 {
  background: linear-gradient(150deg, #eef2f2, #dfe8e6)
}

.panel-vis.t-4 {
  background: linear-gradient(150deg, #f0f4f6, #dde6ea)
}

.panel-txt {
  background: var(--ink);
  color: #fff;
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.panel-txt h3 {
  font-size: clamp(21px, 2.2vw, 29px);
  color: #fff;
  margin: 12px 0 0
}

.panel-txt p {
  margin: 15px 0 0;
  font-size: 15px;
  color: #a9c7d0;
  line-height: 1.66
}

.panel-txt .arrow {
  color: var(--gold);
  margin-top: 22px
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px
}

.panel-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: #c6dde3
}

.panel-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0
}

.ui {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--sh-lg);
  width: 100%;
  max-width: 420px;
  font-size: 12.5px;
  line-height: 1.55;
  position: relative
}

.ui-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line)
}

.ui-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2)
}

.ui-bar span {
  margin-left: 8px;
  font-size: 10.5px;
  color: var(--muted)
}

.ui-body {
  padding: 15px 16px 17px
}

.ui-q {
  display: flex;
  gap: 9px;
  margin-bottom: 13px
}

.ui-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0
}

.ui-q p {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 12.5px
}

.ui-a {
  background: var(--paper-2);
  border-radius: 10px;
  padding: 12px 13px;
  color: #33505b
}

.ui-a p {
  margin: 0 0 9px
}

.ui-a p:last-child {
  margin: 0
}

.ui-src {
  display: grid;
  gap: 6px;
  margin-top: 12px
}

.ui-src a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 11px;
  color: var(--teal);
  font-weight: 700
}

.ui-src a b {
  color: var(--ink);
  font-weight: 900
}

.ui-src a em {
  font-style: normal;
  margin-left: auto;
  color: var(--muted);
  font-weight: 400;
  font-size: 10px
}

.ui-src a::before {
  content: "\00A7";
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: var(--ice);
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0
}

.ui-float {
  position: absolute;
  background: #fff;
  border-radius: 11px;
  box-shadow: var(--sh-lg);
  padding: 11px 13px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900
}

.ui-float.a {
  right: -24px;
  top: 56px;
  color: var(--gold-deep)
}

.ui-float.b {
  left: -28px;
  bottom: 48px;
  color: var(--teal)
}

.ui-float .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0
}

/* maquette de recherche classique */
.ui-filters {
  display: grid;
  gap: 7px;
  padding: 14px 16px
}

.ui-filters .f {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11.5px;
  color: #33505b
}

.ui-filters .f b {
  color: var(--ink);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  min-width: 96px
}

.ui-filters .f span {
  margin-left: auto;
  color: var(--teal);
  font-weight: 700
}

.ui-res {
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  display: grid;
  gap: 8px
}

.ui-res div {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 11.5px;
  color: #33505b
}

.ui-res div b {
  color: var(--ink);
  font-weight: 900;
  font-size: 11px
}

.ui-res div em {
  font-style: normal;
  margin-left: auto;
  color: var(--muted);
  font-size: 10px
}

/* maquette IA multifonctions */
.ui-tabs {
  display: flex;
  gap: 5px;
  padding: 12px 14px 0;
  flex-wrap: wrap
}

.ui-tab {
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--pill);
  background: var(--ice);
  color: var(--teal)
}

.ui-tab.on {
  background: var(--teal);
  color: #fff
}

/* maquette conformité */
.ui-doc {
  padding: 15px 16px
}

.ui-line {
  height: 7px;
  border-radius: 4px;
  background: #eef3f4;
  margin-bottom: 8px
}

.ui-line.s {
  width: 62%
}

.ui-line.m {
  width: 84%
}

.ui-line.mark {
  background: var(--sand);
  box-shadow: 0 0 0 2px #e5d5b6
}

.ui-fix {
  margin-top: 13px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 9px;
  padding: 11px 12px;
  background: #fffdf8
}

.ui-fix b {
  display: block;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 5px
}

.ui-fix p {
  margin: 0;
  font-size: 11.5px;
  color: #3c5a64
}

/* maquette veille */
.ui-alert {
  display: flex;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line)
}

.ui-alert:last-child {
  border-bottom: 0
}

.ui-alert .flag {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ice);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0
}

.ui-alert b {
  display: block;
  font-size: 11.5px;
  color: var(--ink)
}

.ui-alert span {
  font-size: 10.5px;
  color: var(--muted)
}

.ui-alert em {
  font-style: normal;
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 900;
  color: var(--gold-deep);
  background: var(--sand);
  padding: 2px 7px;
  border-radius: 5px;
  height: fit-content
}

/* ---------------- ABONNEMENTS ---------------- */
.offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 940px;
  margin: 0 auto
}

.offer {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: .24s var(--ease)
}

.offer:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg)
}

.offer.feat {
  border: 2px solid var(--gold);
  box-shadow: 0 20px 48px rgba(224, 161, 56, .16)
}

.offer-flag {
  position: absolute;
  top: -13px;
  left: 34px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--pill)
}

.offer h3 {
  font-size: 23px;
  color: var(--ink)
}

.offer .sub {
  margin: 9px 0 0;
  font-size: 14px;
  color: var(--muted)
}

.offer ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 10px;
  font-size: 14px
}

.offer li {
  display: flex;
  gap: 10px;
  color: #33505b
}

.offer li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ice);
  border: 2px solid var(--teal);
  flex-shrink: 0;
  margin-top: 4px
}

.offer.feat li::before {
  border-color: var(--gold);
  background: var(--sand)
}

.offer li.off {
  color: var(--muted)
}

.offer li.off::before {
  border-color: var(--line-2);
  background: #fff
}

.offer .price {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px
}

.offer .btn {
  width: 100%
}

.offer .second {
  margin-top: 10px
}

/* ---------------- JURIDICTIONS ---------------- */
.juri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.juri-card {
  position: relative;
  border-radius: var(--r);
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: .24s var(--ease)
}

.juri-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: transparent
}

.juri-card.soon {
  background: var(--paper-2);
  border-style: dashed
}

.juri-flag {
  width: 46px;
  height: 34px;
  border-radius: 6px;
  background: var(--ice);
  color: var(--teal);
  margin-bottom: 17px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900
}

.juri-card h3 {
  font-size: 21px;
  color: var(--ink)
}

.juri-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 11px 0 15px
}

.juri-tags span {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--ice);
  color: var(--teal)
}

.juri-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 13.5px;
  color: var(--muted);
  display: grid;
  gap: 8px
}

.juri-meta li {
  display: flex;
  gap: 9px
}

.juri-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0
}

.juri-card .btn {
  margin-top: auto
}

.badge-abs {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--pill)
}

.badge-abs.live {
  background: #e9f5ee;
  color: #1d6b40
}

.badge-abs.soon {
  background: var(--sand);
  color: var(--gold-deep)
}

/* ---------------- PREUVE ---------------- */
.vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch
}

.vs-col {
  border-radius: var(--r);
  padding: 30px
}

.vs-bad {
  background: var(--paper-2);
  border: 1px solid var(--line-2)
}

.vs-good {
  background: #fff;
  border: 2px solid var(--teal);
  box-shadow: 0 20px 48px rgba(9, 107, 130, .15)
}

.vs-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 15px
}

.vs-bad .vs-tag {
  color: var(--muted)
}

.vs-good .vs-tag {
  color: var(--teal)
}

.vs-q {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  padding-bottom: 13px;
  margin: 0 0 13px;
  border-bottom: 1px solid var(--line)
}

.vs-a {
  font-size: 14px;
  color: #3d5964;
  line-height: 1.68;
  margin: 0
}

.vs-src {
  margin-top: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.55
}

.vs-bad .vs-src {
  background: var(--sand);
  color: var(--gold-deep)
}

.vs-good .vs-src {
  background: var(--ice);
  color: var(--teal)
}

.vs-mid {
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--muted);
  font-weight: 700
}

/* ---------------- LOGOS, VIDÉOS, ARTICLES ---------------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center
}

.logos div,
.logos a {
  height: 140px;
  min-width: 240px;
  padding: 0 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #8ba1a9;
  transition: .2s
}

.logos div:hover,
.logos a:hover {
  color: var(--teal);
  border-color: var(--line-2)
}

.logos img {
  max-height: 88px;
  max-width: 100%
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.vid {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: .24s var(--ease);
  display: block
}

.vid:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh)
}

.vid-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, var(--teal), var(--ink));
  display: grid;
  place-items: center;
  position: relative
}

.vid-thumb::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px
}

.vid-play {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 2px solid rgba(255, 255, 255, .55)
}

.vid-body {
  padding: 20px 22px 22px
}

.vid-body b {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 900
}

.vid-body span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px
}

.vid-body .arrow {
  margin-top: 13px;
  font-size: 13px
}

.tagline {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--sand);
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 14px
}

.art {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  transition: .24s var(--ease)
}

.art:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh)
}

.art-media {
  margin: -26px -26px 18px;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ice);
  border-radius: var(--r) var(--r) 0 0
}

.art-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.art h4 {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.32;
  margin-bottom: 12px
}

.art .tagline {
  margin-bottom: 14px
}

.news-article-hero {
  margin: 24px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  background: var(--ice)
}

.news-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted)
}

.doc-meta b {
  color: var(--ink);
  font-weight: 700
}

.doc-paywall {
  margin-top: 32px;
  padding: 40px 32px;
  text-align: center;
  background: var(--paper-2);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg)
}

.doc-paywall__icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px
}

.doc-paywall h3 {
  font-size: 19px;
  color: var(--ink)
}

.doc-paywall .lede {
  margin: 10px auto 20px;
  text-align: center
}

.doc-paywall .btn {
  display: inline-flex
}

.art-excerpt {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6
}

.art .by {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line)
}

.art .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 900;
  flex-shrink: 0
}

.art .by b {
  display: block;
  font-size: 13px;
  color: var(--ink)
}

.art .by span {
  font-size: 11.5px;
  color: var(--muted)
}

/* ---------------- ACTUALITÉS : LISTE ET DÉTAIL ---------------- */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  font-size: 13.5px;
  color: var(--muted)
}

.news-article-body {
  margin-top: 26px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #33505b
}

.news-article-body p {
  margin: 0 0 16px
}

.news-article-body h2,
.news-article-body h3 {
  color: var(--ink);
  margin: 26px 0 12px
}

.news-article-body a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline
}

.news-article-body ul,
.news-article-body ol {
  margin: 0 0 16px;
  padding-left: 22px
}

.news-article-body img {
  border-radius: var(--r-sm);
  margin: 16px 0
}

.art .by span {
  font-size: 11.5px;
  color: var(--muted)
}

/* ---------------- VEILLE ---------------- */
.veille {
  background: linear-gradient(122deg, var(--ink), #0b4c5e);
  border-radius: var(--r-lg);
  padding: 52px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden
}

.veille::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -160px;
  bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 161, 56, .26), transparent 70%)
}

.veille>* {
  position: relative;
  z-index: 2
}

.veille h2 {
  font-size: clamp(26px, 3vw, 34px);
  color: #fff;
  margin-top: 13px
}

.veille p {
  color: #bcd6dd;
  font-size: 15.5px;
  margin: 15px 0 0
}

.vform {
  display: grid;
  gap: 11px
}

.vrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.vform input,
.vform select {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px
}

.vform input::placeholder {
  color: #89aeb9
}

.vform input:focus,
.vform select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px
}

.vform select option {
  background: var(--ink)
}

.vform small {
  font-size: 12px;
  color: #8fb4bf;
  line-height: 1.5
}

/* ---------------------------------------------------------------
   BASCULE VISITEUR ET CONNECTÉ
   Tout est piloté par la classe is-auth posée sur body. Aucun style
   d'affichage en ligne sur ces blocs : un style en ligne l'emporterait
   sur la règle de masquage et laisserait « Se connecter » visible.
   --------------------------------------------------------------- */
.authonly {
  display: none
}

.hdr-guest {
  display: flex;
  gap: 10px;
  align-items: center
}

body.is-auth .guestonly {
  display: none
}

body.is-auth .authonly {
  display: block
}

body.is-auth .btn.authonly {
  display: inline-flex
}

body.is-auth .usermenu.authonly {
  display: flex
}

/* menu mobile : mêmes règles, pilotées par la même classe */
.mnav-guest,
.mnav-auth {
  display: grid;
  gap: 10px
}

.mnav-guest .btn,
.mnav-auth .btn {
  width: 100%
}

body.is-auth .mnav-user.authonly {
  display: flex
}

body.is-auth .mnav-auth.authonly {
  display: grid
}

/* ---------------- ESPACE CLIENT ---------------- */
.dash {
  padding: 44px 0 20px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line)
}

.dash-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px
}

.dash-top h2 {
  font-size: 29px;
  color: var(--ink)
}

.dash-org {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  flex-wrap: wrap
}

.dash-org b {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 900
}

.dash-org span {
  font-size: 13px;
  color: var(--muted)
}

.dash-org .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-2)
}

.dash-org a {
  font-size: 13px;
  color: var(--teal);
  font-weight: 700
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.dtile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  transition: .22s var(--ease);
  display: block
}

.dtile:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh);
  border-color: var(--line-2)
}

.dtile .k {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.dtile b {
  display: block;
  font-size: 25px;
  color: var(--ink);
  margin: 9px 0 3px;
  font-weight: 900
}

.dtile span {
  font-size: 12.5px;
  color: var(--muted)
}

.dtile.ok {
  border-left: 4px solid #2f8f57
}

.dtile.warn {
  border-left: 4px solid var(--gold)
}

.notif {
  display: grid;
  gap: 6px;
  margin-top: 8px
}

.notif i {
  font-style: normal;
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  color: var(--muted)
}

.notif i b {
  font-size: 12px;
  color: var(--ink);
  font-weight: 900;
  margin: 0
}

.quick {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px
}

.demobar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--pill);
  padding: 9px 9px 9px 17px;
  box-shadow: 0 14px 38px rgba(5, 50, 61, .42);
  font-size: 12.5px
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .22);
  transition: .22s;
  flex-shrink: 0
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: .22s var(--ease)
}

body.is-auth .switch {
  background: var(--gold)
}

body.is-auth .switch::after {
  transform: translateX(20px)
}

/* ---------------- PIED DE PAGE ---------------- */
footer.site {
  background: var(--ink);
  color: #a9c7d0;
  padding: 64px 0 0;
  font-size: 14px
}

.f-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px
}

footer.site h5 {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 900
}

footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px
}

footer.site a:hover {
  color: var(--gold)
}

.f-brand p {
  margin: 17px 0 0;
  max-width: 38ch;
  line-height: 1.65;
  font-size: 13.5px
}

.f-sign {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 900;
  color: var(--gold)
}

.f-contact {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  font-size: 13.5px
}

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, .11);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px
}

.f-bottom nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

/* ---------------- TARIFS (/offres, /commander/{id}) ---------------- */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto
}

.pricing-card .sub p {
  margin: 0
}

.pricing-amount {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap
}

.pricing-amount__value {
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1
}

.pricing-amount__currency {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink)
}

.pricing-amount__period {
  font-size: 12px;
  color: var(--muted)
}

.pricing-amount__ht {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted)
}

.pricing-amount__range {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700
}

.pricing-select {
  width: 100%;
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer
}

/* ---------------- DERNIÈRES PARUTIONS ---------------- */
.site-logo-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px
}

.site-logo-picker__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 10px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  transition: .18s var(--ease)
}

.site-logo-picker__item:hover {
  border-color: var(--teal)
}

.site-logo-picker__item.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal) inset
}

.site-logo-picker__item img {
  height: 100%;
  max-width: 150px;
  object-fit: contain
}

.site-logo-picker__item span {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink)
}

.recent-docs-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 34px;
  box-shadow: var(--sh);
  margin-bottom: 44px
}

.recent-docs-hero .sec-head {
  margin-bottom: 0
}

.recent-docs-hero__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--teal);
  display: grid;
  place-items: center
}

.recent-docs-hero__icon svg {
  width: 34px;
  height: 34px
}

@media(max-width:640px) {
  .recent-docs-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px
  }

  .recent-docs-hero__icon {
    width: 56px;
    height: 56px
  }

  .recent-docs-hero__icon svg {
    width: 26px;
    height: 26px
  }
}

.recent-docs-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start
}

.recent-docs-filter {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh);
  width: 296px;
  position: sticky;
  top: 95px;
}

.recent-docs-filter h3 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 16px
}

.recent-docs-filter .authform {
  gap: 14px
}

.recent-docs-filter select {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--txt);
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer
}

.recent-docs-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--sh);
  position: sticky;
  top: 84px;
  z-index: 5;
}

.search-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 10px 18px;
  box-shadow: var(--sh);
  width: max-content;
  max-width: 100%
}

.search-pagination__status {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--ink)
}

.search-pagination__controls {
  display: flex;
  align-items: center;
  gap: 6px
}

.search-pagination__btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  flex-shrink: 0;
  transition: .18s var(--ease)
}

.search-pagination__btn:hover {
  background: var(--ink-2)
}

.search-pagination__btn svg {
  width: 15px;
  height: 15px
}

[dir="rtl"] .search-pagination__btn svg {
  transform: scaleX(-1)
}

.recent-docs-count {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink)
}

.recent-docs-results__head select {
  padding: 9px 32px 9px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--txt);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer
}

.recent-docs-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh);
  margin-bottom: 24px
}

.recent-docs-group h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 16px
}

.recent-docs-group h4 img {
  flex-shrink: 0;
  width: 50px;
  height: 50px
}

.recent-doc-item {
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: .18s var(--ease)
}

.recent-doc-item:last-child {
  margin-bottom: 0
}

.recent-doc-item:hover {
  border-color: var(--teal);
  box-shadow: var(--sh)
}

.recent-doc-item b {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.4
}

.recent-doc-item__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted)
}

@media(max-width:480px) {
  .recent-doc-item__meta {
    flex-direction: column;
    gap: 2px
  }
}

@media(max-width:880px) {
  .recent-docs-grid {
    grid-template-columns: 1fr
  }
}

/* ---------------- PAGE RECHERCHE ---------------- */
.search-filter-section {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 6px 0 -4px
}

.search-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer
}

.authform .search-checkbox input {
  width: 16px;
  flex-shrink: 0;
  accent-color: var(--teal)
}

.search-result__preview {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted)
}

.recent-doc-item mark {
  background: rgba(224, 161, 56, .3);
  color: var(--ink);
  border-radius: 3px;
  padding: 0 2px
}

/* ---------------- PAGE CONTACT ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start
}

.contact-info__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 4px 0
}

.contact-info__list dt {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 16px
}

.contact-info__list dt:first-child {
  margin-top: 0
}

.contact-info__list dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--txt)
}

.contact-info__list dd a {
  color: var(--teal);
  font-weight: 700
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--sh)
}

.contact-card .authform {
  margin-top: 0
}

@media(max-width:880px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

/* ---------------- MODALE « DEMANDER UNE DÉMO » ---------------- */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: .22s var(--ease)
}

.demo-modal.is-open {
  opacity: 1;
  visibility: visible
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 50, 61, .6)
}

.demo-modal__card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 38px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(10px);
  transition: transform .22s var(--ease)
}

.demo-modal.is-open .demo-modal__card {
  transform: translateY(0)
}

.demo-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center
}

.demo-modal__close:hover {
  border-color: var(--teal);
  color: var(--teal)
}

.demo-modal__topic {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 12px
}

.demo-modal__topic span {
  color: var(--muted);
  font-weight: 700
}

.demo-modal__topic b {
  color: var(--gold-deep);
  font-weight: 900;
  background: var(--sand);
  padding: 3px 10px;
  border-radius: var(--pill)
}

.demo-modal h2 {
  font-size: 22px;
  color: var(--ink)
}

.demo-modal .lede {
  margin-top: 8px;
  font-size: 14px
}

.demo-modal .authform {
  margin-top: 20px
}

/* ---------------- CONNEXION / CODE OTP ---------------- */
.authpage {
  padding: 90px 0;
  background: var(--paper-2);
  min-height: 60vh
}

.authwrap {
  max-width: 440px
}

.authwrap.wide {
  max-width: 680px
}

.authcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px;
  box-shadow: var(--sh)
}

.authcard-success {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  background: #e9f5ee;
  color: #1d6b40;
  border: 1px solid #bfe3cd
}

.authcard h1 {
  font-size: clamp(23px, 3vw, 28px);
  color: var(--ink);
  margin: 13px 0 0
}

.authcard .lede {
  margin-top: 12px;
  font-size: 14.5px
}

.authcard-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  background: #fdeceb;
  color: #a3312a;
  border: 1px solid #f4c9c5
}

.authform {
  display: grid;
  gap: 16px;
  margin-top: 22px
}

.authform>div {
  display: grid;
  gap: 7px;
  align-content: start
}

.authform label {
  font-size: 12.5px;
  font-weight: 900;
  color: var(--ink)
}

.authform input,
.authform select,
.authform textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--txt);
  font-family: inherit;
  font-size: 14.5px
}

.authform select {
  cursor: pointer
}

.authform input:focus,
.authform select:focus,
.authform textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px
}

.authform .form-error-message,
.authform .invalid-feedback {
  margin-top: 2px;
  font-size: 12px;
  color: #a3312a
}

.authform .btn {
  width: 100%;
  margin-top: 6px
}

.authform > .otp-real-field {
  display: none
}

.authform > .otp-boxes {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(5px, 1.6vw, 10px)
}

.authform .otp-box {
  flex: 1 1 0;
  min-width: 0;
  max-width: 46px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(14px, 4vw, 19px);
  font-weight: 900;
  text-align: center;
  padding: 0
}

.authform .otp-box:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-color: var(--teal)
}

.btn-spinner {
  display: none;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  vertical-align: -3px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: otp-spin .7s linear infinite
}

.btn.is-loading {
  pointer-events: none;
  opacity: .82
}

.btn.is-loading .btn-spinner {
  display: inline-block
}

@keyframes otp-spin {
  to {
    transform: rotate(360deg)
  }
}

/* inscription : deux colonnes sur desktop, une seule sur mobile */
.authform.grid-2 {
  grid-template-columns: 1fr 1fr
}

.authform.grid-2 .full {
  grid-column: 1 / -1
}

/* civilité : bascule à deux pilules plutôt que des boutons radio bruts —
   plus simple à lire, et garantie sur une seule ligne quelle que soit la
   largeur du champ (contrairement à des radios+libellés qui s'enroulent) */
.form-choices--inline {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2px
}

.form-choices--inline input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px
}

.form-choices--inline label {
  margin: 0;
  padding: 10px 22px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: .18s var(--ease)
}

.form-choices--inline label:hover {
  border-color: var(--teal);
  color: var(--teal)
}

.form-choices--inline input[type="radio"]:checked+label {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff
}

.form-choices--inline input[type="radio"]:focus-visible+label {
  outline: 2px solid var(--teal);
  outline-offset: 2px
}

@media(max-width:680px) {
  .authform.grid-2 {
    grid-template-columns: 1fr
  }
}

.authcard-foot {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  text-align: center
}

.authcard-foot a {
  color: var(--teal);
  font-weight: 700;
  margin-left: 6px
}

/* ---------------- PAGE MON ESPACE ---------------- */
.account-page { background: var(--paper-2) }
.account-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px }
.account-heading h1 { margin-top: 10px }
.account-orders { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 26px }
.account-orders h2 { font-size: 18px; margin: 0 0 18px }
.account-orders__scroll { overflow-x: auto }
.account-orders__table { width: 100%; border-collapse: collapse; font-size: 13.5px }
.account-orders__table th, .account-orders__table td { padding: 14px 12px; border-top: 1px solid var(--line); text-align: left; white-space: nowrap }
.account-orders__table th { color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase }
.account-status { display: inline-block; padding: 5px 9px; border-radius: var(--pill); background: var(--paper-2); color: var(--muted); font-size: 12px; font-weight: 800 }
.account-status--paid, .account-status--completed, .account-status--success { background: #e9f5ee; color: #1d6b40 }
.account-status--failed, .account-status--cancelled { background: #fdeceb; color: #a3312a }
.account-empty { padding: 52px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center }
.account-empty h2 { margin: 0; font-size: 20px }
.account-empty p { margin: 10px 0 20px; color: var(--muted) }
.account-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; font-size: 13px; color: var(--muted) }

.site-docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px }
.site-doc-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh) }
.site-doc-card__head { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line) }
.site-doc-card h3 { margin: 8px 0 0; font-size: 20px }
.site-doc-card__count { flex-shrink: 0; color: var(--teal); font-size: 12px; font-weight: 800 }
.site-doc-card__link { align-self: start; margin-top: auto }
@media(max-width:800px) { .site-docs-grid { grid-template-columns: 1fr } }
@media(max-width:680px) { .account-heading { align-items: start; flex-direction: column } .account-orders { padding: 18px 14px } .account-orders__table th, .account-orders__table td { padding: 12px 8px } }

/* ---------------- PAGE COMMANDER (CHECKOUT) ---------------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: start;
  gap: 22px
}

.checkout-ranges {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px
}

.checkout-ranges li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: var(--txt)
}

.checkout-ranges li.is-current {
  border-color: var(--teal);
  background: rgba(15, 122, 111, .06);
  font-weight: 900;
  color: var(--ink)
}

.checkout-breakdown {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px
}

.checkout-breakdown hr {
  border: none;
  border-top: 1px solid var(--line-2);
  margin: 2px 0
}

.checkout-breakdown__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: var(--txt)
}

.checkout-breakdown__row--strong strong {
  color: var(--ink)
}

.checkout-breakdown__row--strong s {
  color: var(--muted);
  margin-right: 6px
}

.checkout-breakdown__row--savings {
  color: #1d6b40;
  font-weight: 700
}

.checkout-breakdown__row--total {
  font-size: 15.5px;
  padding-top: 4px
}

.checkout-voucher {
  margin-top: 20px
}

.checkout-voucher__form label {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 6px
}

.checkout-voucher__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.checkout-voucher__row input[type="text"] {
  flex: 1 1 140px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--txt);
  font-family: inherit;
  font-size: 13.5px
}

.checkout-voucher__row button {
  flex-shrink: 0
}

.checkout-voucher__row button:disabled {
  opacity: .5;
  cursor: not-allowed
}

.checkout-voucher__hint {
  margin-top: 6px;
  font-size: 12px;
  color: #a3312a
}

.checkout-voucher__applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: #e9f5ee;
  border: 1px solid #bfe3cd
}

.checkout-voucher__applied strong {
  display: block;
  color: #1d6b40;
  font-size: 13.5px
}

.checkout-voucher__applied span {
  font-size: 12px;
  color: #1d6b40
}

.checkout-voucher__remove {
  border: none;
  background: none;
  padding: 0;
  color: #a3312a;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline
}

.checkout-live-price {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted)
}

.checkout-live-price strong {
  color: var(--ink)
}

.checkout-collaborators .checkout-collaborators__head {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.checkout-collaborators__head span:last-child {
  font-weight: 900;
  color: var(--ink);
  font-size: 12.5px
}

.checkout-collaborators__empty {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0
}

.checkout-collaborators__choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 16px;
  margin-top: 4px
}

.checkout-collaborators__choice {
  display: flex;
  align-items: center;
  gap: 8px
}

.checkout-collaborators__choice input {
  width: 16px;
  height: 16px;
  flex-shrink: 0
}

.checkout-collaborators__choice label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer
}

.checkout-collaborators__choice input:disabled + label {
  opacity: .45;
  cursor: not-allowed
}

.checkout-new-collaborator-trigger {
  justify-self: start;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline
}

.checkout-payment-note {
  margin: -2px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  background: #f7f5f0;
  padding: 10px 12px;
  border-radius: var(--r-sm)
}

.checkout-cgu summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal)
}

.checkout-cgu__text {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--txt);
  max-height: 220px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm)
}

/* Overrides .authform>div's default grid stacking (label above widget) so
   the checkbox sits inline with its label instead of on its own line. */
.authform .checkout-cgu-check {
  display: flex;
  align-items: flex-start;
  gap: 8px
}

.checkout-cgu-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0
}

.checkout-cgu-check label {
  font-size: 13px;
  font-weight: 400;
  color: var(--txt)
}

@media(max-width:880px) {
  .checkout-grid {
    grid-template-columns: 1fr
  }
}

/* ==========================================================================
   RESPONSIVE
   Points de rupture : 1080 (tablette paysage), 880 (tablette portrait),
   680 (grand telephone), 480 (telephone standard).
   ========================================================================== */
@media(max-width:1080px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 38px
  }

  nav.main {
    display: none
  }

  .burger {
    display: block
  }

  .panel {
    grid-template-columns: 1fr
  }

  .panel.flip .panel-vis {
    order: 0
  }

  .panel-vis {
    min-height: 330px;
    padding: 38px 28px
  }

  .f-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }

  .dash-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .ui-float {
    display: none
  }

  .cta-final {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

@media(max-width:880px) {
  section {
    padding: 58px 0
  }

  section.tight {
    padding: 46px 0
  }

  .juri,
  .trio,
  .offers {
    grid-template-columns: 1fr
  }

  .stats .wrap {
    grid-template-columns: repeat(2, 1fr)
  }

  .vs {
    grid-template-columns: 1fr
  }

  .vs-mid {
    display: none
  }

  .veille {
    grid-template-columns: 1fr;
    padding: 30px
  }

  .topbar .tb-l {
    display: none
  }

  .topbar .wrap {
    justify-content: flex-end
  }

  #map {
    height: 340px
  }

  .um-txt {
    display: none
  }

  .usermenu {
    padding: 5px
  }

  .hdr-guest .btn-line {
    display: none
  }

  .sec-head {
    margin-bottom: 34px
  }
}

@media(max-width:680px) {
  section {
    padding: 48px 0
  }

  .hero {
    padding: 40px 0 52px
  }

  .hero h1 {
    font-size: clamp(28px, 7.4vw, 36px)
  }

  .hero .lede {
    font-size: 15.5px
  }

  .hero-proof {
    gap: 18px;
    margin-top: 26px;
    padding-top: 20px
  }

  .hero-proof b {
    font-size: 20px
  }

  .hero-cta {
    gap: 9px
  }

  .hero-cta .btn {
    flex: 1 1 100%
  }

  .f-grid,
  .dash-grid,
  .map-filters {
    grid-template-columns: 1fr
  }

  .map-search {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .mapcard {
    padding: 13px;
    border-radius: 16px
  }

  #map {
    height: 300px
  }

  .mapcard.full {
    inset: 6px;
    padding: 13px
  }

  .panel-txt,
  .panel-vis {
    padding: 28px 18px
  }

  .panel-vis {
    min-height: 0
  }

  .panel {
    border-radius: 18px;
    margin-bottom: 16px
  }

  .offer {
    padding: 26px 22px;
    border-radius: 18px
  }

  .offer h3 {
    font-size: 21px
  }

  .vs-col,
  .juri-card,
  .art {
    padding: 24px 20px
  }

  .veille {
    padding: 24px 20px;
    border-radius: 18px
  }

  .veille h2 {
    font-size: 24px
  }

  .stat {
    padding: 22px 14px
  }

  .stat b {
    font-size: 25px
  }

  .stat span {
    font-size: 12px
  }

  .stat em {
    font-size: 10.5px
  }

  .dash {
    padding: 32px 0 16px
  }

  .dash-top h2 {
    font-size: 24px
  }

  .quick .btn,
  .dash-top .btn {
    flex: 1 1 100%
  }

  .demobar {
    left: 12px;
    right: 12px;
    justify-content: space-between
  }

  .ui-filters .f {
    flex-wrap: wrap;
    gap: 4px 9px
  }

  .ui-filters .f b {
    min-width: 0
  }

  .ui-filters .f span {
    margin-left: 0
  }

  .ui-src a {
    flex-wrap: wrap;
    gap: 4px 8px
  }

  .ui-src a em {
    margin-left: 0;
    width: 100%
  }

  .logos div,
  .logos a {
    height: 110px;
    min-width: calc(50% - 9px);
    padding: 0 18px;
    font-size: 12.5px
  }

  .logos img {
    max-height: 68px
  }
}

@media(max-width:480px) {
  .wrap {
    padding: 0 16px
  }

  header.site .wrap {
    min-height: 66px;
    gap: 12px
  }

  .logo-img {
    width: 152px;
    height: 18px
  }

  .hdr-guest {
    display: none
  }

  .topbar {
    font-size: 11.5px
  }

  .stats .wrap {
    grid-template-columns: 1fr
  }

  .sec-head h2 {
    font-size: 26px
  }

  .chip {
    font-size: 11.5px
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 15px
  }

  .juri-card .btn,
  .offer .btn {
    width: 100%
  }
}

@media(hover:none) {
  .chip {
    padding: 9px 14px
  }

  .mnav-sub a {
    padding: 13px 12px
  }

  .card:hover,
  .juri-card:hover,
  .offer:hover,
  .art:hover,
  .vid:hover,
  .dtile:hover {
    transform: none
  }

  .btn:hover {
    transform: none
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}