/* ==========================================================================
   apps.css — pages Applications (v0.37) et puces « Designed for » des fiches produit
   Composants indépendants (préfixe ap-), une seule couche, sans !important.
   Unités en px (le thème parent fixe html à 10 px). Jetons : --ateq-* de light.css.
   ========================================================================== */

.ap{
  --ap-ink: var(--ateq-ink, #0C0C0E);
  --ap-red: var(--ateq-red, #CE003D);
  --ap-line: var(--ateq-line, #E2E2E6);
  --ap-surface: var(--ateq-surface, #F3F3F5);
  --ap-steel: var(--ateq-steel, #5E6068);
  background: #fff;
  color: var(--ap-ink);
  font-family: "Lato Regular", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.ap *, .ap *::before, .ap *::after{ box-sizing: border-box; }
.ap-wrap{ width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.ap-section{ padding: 104px 0; }
.ap-section--surface{ background: var(--ap-surface); }
.ap-how + .ap-section--surface{ background: #fff; }   /* deux blocs gris ne se suivent jamais */
.ap-next-section{ border-top: 1px solid var(--ap-line); }

/* --- Titres : trait rouge au-dessus, point rouge après la dernière lettre ------- */
.ap .ap-title{
  margin: 0; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; text-transform: none; color: var(--ap-ink);
}
.ap .ap-title::before{ content: ""; display: block; width: 48px; height: 4px; margin: 0 0 22px; background: var(--ap-red); }
.ap .ap-title::after{ content: "."; color: var(--ap-red); }
.ap .ap-title.pg-title--punct::after{ content: none; }
.ap .ap-title--hero{ color: #fff; font-size: clamp(38px, 5.2vw, 66px); }
.ap .ap-title--hero::before{ margin-bottom: 20px; }
.ap .ap-eyebrow{ margin: 0 0 14px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ap-red); }
.ap .ap-eyebrow--light{ color: #fff; }
.ap-lead{ max-width: 640px; margin: 16px 0 0; font-size: 18px; color: var(--ap-steel); }
.ap-link{ display: inline-flex; align-items: center; gap: 8px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; color: var(--ap-ink); text-decoration: none; }
.ap-link .pg-icon{ color: var(--ap-red); }
.ap-link:hover{ color: var(--ap-red); }
.ap-actions{ display: flex; flex-wrap: wrap; gap: 12px; }
.ap-head{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 48px; }

/* --- Bandeau ------------------------------------------------------------------------ */
.ap-hero{ position: relative; display: flex; align-items: center; min-height: clamp(520px, 66vh, 660px); padding: 176px 0 96px; background: var(--ap-ink); color: #fff; overflow: hidden; }
.ap-hero__bg{ position: absolute; inset: 0; background-size: cover; background-position: center; }
.ap-hero__bg--plain{
  background:
    radial-gradient(900px 420px at 88% 12%, rgba(206,0,61,.28), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 26px),
    var(--ap-ink);
}
.ap-hero__veil{ position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,14,.92) 0%, rgba(12,12,14,.7) 54%, rgba(12,12,14,.25) 100%); }
.ap-hero__shape{ position: absolute; right: 0; bottom: 0; width: 34%; height: 62%; background: linear-gradient(135deg, var(--ap-red), #8E0029); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.ap-hero__inner{ position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.ap-hero__art{ display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.92); }
.ap-art{ display: block; width: 100%; max-width: 560px; height: auto; }
.ap-hero__text{ max-width: 600px; margin: 24px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.88); }
.ap-hero .ap-actions{ margin-top: 34px; }


/* --- Photos des cartes de l'accueil dans le bandeau ------------------------------------------------- */
.ap-hero__photo{
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.06) brightness(.82);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
          mask-image: linear-gradient(90deg, transparent 0, #000 42%);
}
/* Photo plus petite qu'un fond plein écran (≈ 600 px) : posée à SA taille en bas à droite, fondue à gauche et en haut. Jamais étirée = nette. */
.ap-hero__photo--native{
  top: auto; bottom: 0; left: auto; right: 0;
  width: min(var(--ph-w, 598px), 100%); height: auto; aspect-ratio: var(--ph-ratio, 598 / 428);
  background-size: 100% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 28%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 28%);
          mask-composite: intersect;
  filter: grayscale(1) contrast(1.06) brightness(1);
}
.ap-hero__mosaic{ position: absolute; left: 0; right: 0; bottom: 0; height: min(100%, 420px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); filter: grayscale(1) contrast(1.05) brightness(.78); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 55%); mask-image: linear-gradient(180deg, transparent 0, #000 55%); }   /* hauteur ≈ celle des photos (≤ 428 px) : jamais étirées */
.ap-hero__mosaic span{ display: block; background-size: cover; background-position: center; }
.ap-hero--photo .ap-hero__veil{ background: linear-gradient(90deg, rgba(12,12,14,.92) 0%, rgba(12,12,14,.6) 46%, rgba(12,12,14,.18) 100%); }
.ap-hero--mosaic .ap-hero__veil{ background: linear-gradient(90deg, rgba(12,12,14,.9) 0%, rgba(12,12,14,.68) 50%, rgba(12,12,14,.55) 100%); }
.ap-hero--photo .ap-art{ filter: drop-shadow(0 6px 18px rgba(12,12,14,.55)); }

/* --- Présentation et situations ------------------------------------------------------------------- */
.ap-intro{ padding-bottom: 96px; }
.ap-intro__lead{ max-width: 920px; margin: 0 0 72px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -.02em; color: var(--ap-ink); }
.ap .ap-title--sm{ font-size: clamp(24px, 2.4vw, 32px); }
.ap-situations{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 44px 0 0; padding: 0; list-style: none; }
.ap-situation{ padding: 34px 32px 38px; background: #fff; border: 1px solid var(--ap-line); border-top: 3px solid var(--ap-red); transition: transform .25s ease, box-shadow .25s ease; }
.ap-situation:hover{ transform: translate(calc(var(--hv-shift, 3px) * -1), calc(var(--hv-shift, 3px) * -1)); box-shadow: var(--hv-offset, 4px) var(--hv-offset, 4px) 0 0 var(--ap-red); }
.ap-situation__icon{ display: block; margin-bottom: 22px; color: var(--ap-red); }
.ap-situation h3{ margin: 0 0 10px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; color: var(--ap-ink); }
.ap-situation p{ margin: 0; font-size: 16px; color: var(--ap-steel); }

/* --- Comment ça marche ----------------------------------------------------------------------------------- */
.ap-steps{ position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: none; }
.ap-steps::before{ content: ""; position: absolute; left: 0; right: 0; top: 29px; height: 2px; background: linear-gradient(90deg, var(--ap-red) 0 34%, var(--ap-line) 34% 100%); }
.ap-step{ position: relative; padding-top: 0; }
.ap-step__num{ position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--ap-ink); color: #fff; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 20px; letter-spacing: .04em; }
.ap-step:first-child .ap-step__num{ background: var(--ap-red); }
.ap-step__icon{ display: block; margin: 26px 0 14px; color: var(--ap-red); }
.ap-step h3{ margin: 0 0 8px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; color: var(--ap-ink); }
.ap-step p{ margin: 0; max-width: 340px; font-size: 16px; color: var(--ap-steel); }

/* --- Produit vedette --------------------------------------------------------------------- */
.ap-feature{ display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.ap-feature__media{ position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 44px; background: #fff; }
.ap-feature__img{ display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 28px 26px rgba(12,12,14,.22)); }
.ap-feature__title{ margin: 0; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.03em; color: var(--ap-ink); }
.ap-feature__lead{ margin: 18px 0 0; font-size: 18px; color: var(--ap-steel); }
.ap-feature__list{ margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ap-line); }
.ap-feature__list li{ position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--ap-line); font-size: 16px; }
.ap-feature__list li::before{ content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; background: var(--ap-red); }
.ap-feature .ap-actions{ margin-top: 32px; }

/* --- Produits du public ------------------------------------------------------------------- */
.ap-products{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.ap-card{ display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ap-line); color: var(--ap-ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.ap-card:hover{ color: var(--ap-ink); transform: translate(calc(var(--hv-shift, 3px) * -1), calc(var(--hv-shift, 3px) * -1)); box-shadow: var(--hv-offset, 4px) var(--hv-offset, 4px) 0 0 var(--ap-red); }
.ap-card__media{ position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 28px; background: var(--ap-surface); overflow: hidden; }
.ap-card__img{ display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .35s ease; }
.ap-card:hover .ap-card__img{ transform: scale(1.04); }
.ap-card__badge{ position: absolute; left: 0; top: 0; padding: 6px 12px; background: var(--ap-red); color: #fff; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ap-card__body{ display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.ap-card__title{ margin: 0; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; color: var(--ap-ink); }
.ap-card__text{ margin: 0; font-size: 14px; line-height: 1.5; color: var(--ap-steel); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ap-card__more{ margin-top: auto; padding-top: 12px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 14px; color: var(--ap-red); }
.ap-card__more::after{ content: " →"; }

/* --- Et ensuite ---------------------------------------------------------------------------- */
.ap-next{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 48px 0 0; padding: 0; list-style: none; }
.ap-next__card{ display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 30px 30px 28px; background: #fff; border: 1px solid var(--ap-line); border-top: 3px solid var(--ap-red); color: var(--ap-ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.ap-next__card:hover{ color: var(--ap-ink); transform: translate(calc(var(--hv-shift, 3px) * -1), calc(var(--hv-shift, 3px) * -1)); box-shadow: var(--hv-offset, 4px) var(--hv-offset, 4px) 0 0 var(--ap-red); }
.ap-next__icon{ color: var(--ap-red); }
.ap-next__card h3{ margin: 6px 0 0; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 21px; line-height: 1.2; color: var(--ap-ink); }
.ap-next__card p{ margin: 0; font-size: 15px; color: var(--ap-steel); }
.ap-next__cta{ display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 14px; color: var(--ap-red); }

/* --- Bandeau d'appel à l'action ---------------------------------------------------------------- */
.ap-cta{ padding: 84px 0; background: var(--ap-ink); color: #fff; }
.ap-cta__inner{ display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.ap .ap-cta__title{ margin: 0; max-width: 640px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; color: #fff; }
.ap-cta__text{ max-width: 560px; margin: 14px 0 0; font-size: 18px; color: rgba(255,255,255,.76); }
.ap-cta .ap-actions{ flex: 0 0 auto; }

/* --- Autres applications ------------------------------------------------------------------------ */
.ap-others{ padding-top: 88px; padding-bottom: 96px; }
.ap-others__list{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.ap-others__list a{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 4px; border-bottom: 1px solid var(--ap-line); font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 17px; color: var(--ap-ink); text-decoration: none; transition: color .15s ease, padding .15s ease; }
.ap-others__list a .pg-icon{ flex: 0 0 18px; color: var(--ap-red); }
.ap-others__list a:hover{ color: var(--ap-red); padding-left: 12px; }

/* --- Page d'ensemble : cartes de l'accueil sans chevauchement ----------------------------------- */
.ap--hub .ap-hub-cards{ padding-top: 96px; padding-bottom: 104px; }

/* --- Puces « Designed for » des fiches produit ---------------------------------------------------- */
.ateq-designed-for{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.ateq-designed-for__label{ margin-right: 6px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ateq-steel, #5E6068); }
.ateq-designed-for__badge{ display: inline-block; padding: 7px 14px; border: 1px solid var(--ateq-line, #E2E2E6); background: #fff; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 13px; color: var(--ateq-ink, #0C0C0E); text-decoration: none; transition: color .15s ease, border-color .15s ease; }
a.ateq-designed-for__badge:hover{ color: var(--ateq-red, #CE003D); border-color: var(--ateq-red, #CE003D); }

/* --- Tablette et mobile ------------------------------------------------------------------------------ */
@media (max-width: 1100px){
  .ap-products{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-others__list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px){
  .ap-wrap{ padding: 0 24px; }
  .ap-hero__inner{ grid-template-columns: minmax(0, 1fr); }
  .ap-hero__art{ display: none; }
  .ap-hero__photo{ width: 100%; -webkit-mask-image: none; mask-image: none; opacity: .5; }
  .ap-hero__photo--native{ width: min(var(--ph-w, 598px), 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 55%); mask-image: linear-gradient(180deg, transparent 0, #000 55%); -webkit-mask-composite: source-over; mask-composite: add; opacity: .6; }
  .ap-hero--photo .ap-hero__veil{ background: linear-gradient(180deg, rgba(12,12,14,.85), rgba(12,12,14,.7)); }
  .ap-situations{ grid-template-columns: minmax(0, 1fr); }
  .ap-steps{ grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ap-steps::before{ display: none; }
  .ap-section{ padding: 72px 0; }
  .ap-feature{ grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ap-next{ grid-template-columns: minmax(0, 1fr); }
  .ap-cta__inner{ flex-direction: column; align-items: flex-start; gap: 28px; }
  .ap-hero__shape{ width: 46%; height: 40%; }
}
@media (max-width: 700px){
  .ap-wrap{ padding: 0 16px; }
  .ap-hero{ min-height: 440px; padding: 132px 0 64px; }
  .ap-hero__text{ font-size: 17px; }
  .ap-products{ grid-template-columns: minmax(0, 1fr); }
  .ap-others__list{ grid-template-columns: minmax(0, 1fr); }
  .ap-cta{ padding: 60px 0; }
  .ap-feature__media{ padding: 24px; }
}
@media (prefers-reduced-motion: reduce){
  .ap *, .ap *::before, .ap *::after{ transition: none; }
}

/* ==========================================================================
   v0.52 — contenu des pages Applications : fonctions, événements, actualités, blocs par public (page d'ensemble)
   ========================================================================== */

/* ---- Ce que les outils proposent ---- */
.ap-feat-list{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.ap-feat{ display: flex; align-items: flex-start; gap: 16px; margin: 0; padding: 22px 24px; background: #fff; border: 1px solid var(--ap-line); border-left: 3px solid var(--ap-red); }
.ap-feat__icon{ flex: 0 0 22px; color: var(--ap-red); margin-top: 1px; }
.ap-feat__text{ display: block; min-width: 0; }
.ap-feat__text b{ display: block; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 17px; line-height: 1.3; }
.ap-feat__text small{ display: block; margin-top: 6px; font-size: 13px; color: var(--ap-steel); }

/* ---- Événements et actualités : cartes verticales, image en haut ---- */
.ap-evs, .ap-news{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.ap-evs > li, .ap-news > li{ margin: 0; padding: 0; min-width: 0; }
.ap-evcard, .ap-newscard{ display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ap-line); color: var(--ap-ink); text-decoration: none; transition: transform var(--t-slow, .3s) var(--ease, ease), box-shadow var(--t-slow, .3s) var(--ease, ease); }
a.ap-evcard:hover, a.ap-newscard:hover, a.ap-evcard:focus-visible, a.ap-newscard:focus-visible{ color: var(--ap-ink); text-decoration: none; transform: translate(calc(var(--hv-shift, 3px) * -1), calc(var(--hv-shift, 3px) * -1)); box-shadow: var(--hv-offset, 4px) var(--hv-offset, 4px) 0 0 var(--ap-red); }
.ap-evcard__media, .ap-newscard__media{ position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ap-ink); isolation: isolate; }
.ap-evcard__media .ap-evcard__img, .ap-newscard__media .ap-newscard__img{ position: absolute; inset: -1px; display: block; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; transform: translateZ(0) scale(1); transition: transform .8s var(--ease, ease); }
a.ap-evcard:hover .ap-evcard__media .ap-evcard__img, a.ap-newscard:hover .ap-newscard__media .ap-newscard__img{ transform: translateZ(0) scale(1.05); }
.ap-evcard__ph{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 22px 26px; background: linear-gradient(135deg, #17171C 0%, #0C0C0E 60%); font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 22px; line-height: 1.15; text-align: center; color: #fff; }
.ap-evcard__date{ position: absolute; z-index: 1; left: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; padding: 10px 14px; background: var(--ap-red); color: #fff; line-height: 1; text-align: center; }
.ap-evcard__date b{ display: block; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 26px; }
.ap-evcard__date i{ display: block; margin-top: 4px; font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ap-evcard__body, .ap-newscard__body{ display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; }
.ap-evcard__body b, .ap-newscard__body b{ font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 19px; line-height: 1.22; letter-spacing: -.01em; }
.ap-evcard__body small, .ap-newscard__body small{ display: block; font-size: 14px; line-height: 1.4; color: var(--ap-steel); }
.ap-newscard__body small{ order: -1; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* ---- Page d'ensemble : un bloc par public ---- */
.ap-aud__grid{ display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.ap-aud--alt .ap-aud__text{ order: 2; }
.ap-aud__lead{ max-width: 56ch; margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--ap-steel); }
.ap-aud__chips{ display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; padding: 0; list-style: none; }
.ap-aud__chips li{ display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; background: #fff; border: 1px solid var(--ap-line); font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 14px; }
.ap-aud__chips li span{ display: inline-flex; color: var(--ap-red); }
.ap-aud__toolslabel{ margin: 0 0 14px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-steel); }
.ap-aud__toollist{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ap-aud__toollist li{ margin: 0; padding: 0; min-width: 0; }
.ap-mini{ display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ap-line); color: var(--ap-ink); text-decoration: none; transition: transform var(--t-slow, .3s) var(--ease, ease), box-shadow var(--t-slow, .3s) var(--ease, ease); }
a.ap-mini:hover, a.ap-mini:focus-visible{ color: var(--ap-ink); text-decoration: none; transform: translate(calc(var(--hv-shift, 3px) * -1), calc(var(--hv-shift, 3px) * -1)); box-shadow: var(--hv-offset, 4px) var(--hv-offset, 4px) 0 0 var(--ap-red); }
.ap-mini__media{ display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 14px; background: var(--ap-surface); }
.ap-aud--alt .ap-mini__media{ background: #fff; }
.ap-mini__img{ display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ap-mini__name{ display: block; padding: 12px 14px 14px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.25; }

@media (max-width: 1024px){
  .ap-feat-list, .ap-evs, .ap-news{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-aud__grid{ grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ap-aud--alt .ap-aud__text{ order: 0; }
}
@media (max-width: 640px){
  .ap-feat-list, .ap-evs, .ap-news{ grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ap-aud__toollist{ gap: 10px; }
}
@media (prefers-reduced-motion: reduce){ .ap-evcard, .ap-newscard, .ap-mini, .ap-evcard__img, .ap-newscard__img{ transition: none; } a.ap-evcard:hover, a.ap-newscard:hover, a.ap-mini:hover{ transform: none; } }

/* ==========================================================================
   v0.53 — espacement des boutons et des listes
   La page d'ensemble est un « .hp » : la règle du thème « .hp ul, .hp ol { margin: 0; padding: 0 } » (plus spécifique qu'une simple classe)
   annulait les marges des listes de la v0.52, d'où des pastilles collées au paragraphe et un bouton « Explore » collé aux pastilles.
   Ici : sélecteurs en « .ap … » (plus forts) + un filet de sécurité pour tout bouton qui suit directement un texte.
   ========================================================================== */
.ap .ap-aud__chips{ margin: 28px 0 36px; padding: 0; }
.ap .ap-feat-list, .ap .ap-evs, .ap .ap-news{ margin: 36px 0 0; padding: 0; }
.ap .ap-aud__toollist{ margin: 0; padding: 0; }
.ap .ap-aud__lead{ margin: 18px 0 0; }
.ap :is(p, ul, ol, h1, h2, h3) + a.button{ margin-top: 28px; }       /* un bouton qui suit directement un texte ne le touche jamais */
.ap .ap-aud__text a.button{ margin-top: 0; }                          /* …ici la marge est déjà donnée par la liste de situations */


/* ==========================================================================
   v0.55 — sujets à aborder avec l'équipe ATEQ
   ========================================================================== */
.ap .ap-topic-list{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.ap-topic{ position: relative; margin: 0; padding: 26px 26px 28px; background: #fff; border: 1px solid var(--ap-line); border-top: 3px solid var(--ap-red); }
.ap-topic__icon{ display: inline-flex; color: var(--ap-red); margin-bottom: 14px; }
.ap-topic__tag{ position: absolute; top: 24px; right: 24px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-steel); }
.ap-topic h3{ margin: 0 0 8px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 18px; line-height: 1.25; }
.ap-topic p{ margin: 0; font-size: 15px; line-height: 1.55; color: var(--ap-steel); }
@media (max-width: 1024px){ .ap .ap-topic-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .ap .ap-topic-list{ grid-template-columns: minmax(0, 1fr); } }


/* ==========================================================================
   v0.55 — tableau comparatif des pages Applications
   ========================================================================== */
.ap-compare .cmpt .screen-reader-text{ position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmpt__toggle{ display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 14px; font-size: 15px; cursor: pointer; }
.cmpt__toggle input{ width: 18px; height: 18px; accent-color: var(--ap-red); }
.cmpt__scroll{ position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--ap-line); }   /* position: relative = bloc conteneur des textes « screen-reader-text » (position absolue), sinon ils échappent au défilement et élargissent la page */
.cmpt__table{ width: 100%; min-width: calc(210px + var(--cmpt-cols, 3) * 190px); border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.cmpt__table thead td, .cmpt__table thead th{ padding: 22px 16px 18px; vertical-align: bottom; text-align: center; border-bottom: 2px solid var(--ap-ink); background: #fff; }
.cmpt__corner{ width: 210px; position: sticky; left: 0; z-index: 2; }
.cmpt__prod a{ display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ap-ink); text-decoration: none; }
.cmpt__prod a:hover .cmpt__name{ color: var(--ap-red); }
.cmpt__img{ display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; background: var(--ap-surface); }
.cmpt__img img{ max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cmpt__name{ font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 17px; transition: color .2s ease; }
.cmpt__grouprow th{ padding: 14px 16px; text-align: left; background: var(--ap-surface); font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-red); }
.cmpt__row th[scope="row"]{ position: sticky; left: 0; z-index: 1; padding: 14px 16px; text-align: left; font-weight: normal; color: var(--ap-steel); background: #fff; border-top: 1px solid var(--ap-line); }
.cmpt__row td{ padding: 14px 16px; text-align: center; border-top: 1px solid var(--ap-line); line-height: 1.4; }
.cmpt__yes{ color: var(--ap-red); vertical-align: middle; }
.cmpt__no{ color: #B7B7BC; }
.cmpt.is-diff-only .cmpt__row th[scope="row"]{ color: var(--ap-ink); }
@media (max-width: 640px){ .cmpt__corner, .cmpt__row th[scope="row"]{ width: 150px; } .cmpt__table{ min-width: calc(150px + var(--cmpt-cols, 3) * 150px); font-size: 14px; } }


/* ==========================================================================
   v0.55 — calculateur (page garages)
   ========================================================================== */
.roi{ display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; margin-top: 36px; align-items: start; }
.roi__inputs{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.roi__field label{ display: block; margin: 0 0 8px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 14px; line-height: 1.3; }
.roi__field input{ width: 100%; height: 52px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--ap-ink); background: #fff; border: 1px solid #C9C9CF; border-radius: 0; }
.roi__field input:focus{ border-color: var(--ap-ink); }
.roi__hint{ margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--ap-steel); }
.roi__results{ position: sticky; top: 152px; padding: 30px 32px 28px; background: #0C0C0E; color: #fff; border-top: 3px solid var(--ap-red); }
.roi__results-title{ margin: 0 0 18px; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.roi__list{ margin: 0; }
.roi__list > div{ display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.roi__list dt{ margin: 0; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.78); }
.roi__list dd{ margin: 0; text-align: right; font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-size: 22px; white-space: nowrap; }
.roi__list dd span{ font-family: Lato, -apple-system, "Segoe UI", sans-serif; font-size: 13px; color: rgba(255,255,255,.7); }
.roi__list .roi__total{ border-top: 2px solid #fff; }
.roi__list .roi__total dd{ font-size: 30px; color: #fff; }
.roi__list [hidden]{ display: none; }
.roi__note{ margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.62); }
@media (max-width: 1024px){ .roi{ grid-template-columns: minmax(0, 1fr); } .roi__results{ position: static; } }
@media (max-width: 560px){ .roi__inputs{ grid-template-columns: minmax(0, 1fr); } }


/* ==========================================================================
   v0.55 — distributeurs près de chez vous
   ========================================================================== */
.ap .ap-near__list{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0 28px; padding: 0; list-style: none; }
.ap-near__item{ display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 22px 24px; background: #fff; border: 1px solid var(--ap-line); border-left: 3px solid var(--ap-red); }
.ap-near__item b{ font-family: "Lato Bold", -apple-system, "Segoe UI", sans-serif; font-weight: normal; font-size: 18px; line-height: 1.25; }
.ap-near__item b a{ color: var(--ap-ink); text-decoration: none; }
.ap-near__item b a:hover{ color: var(--ap-red); }
.ap-near__addr, .ap-near__phone{ font-size: 14px; line-height: 1.45; color: var(--ap-steel); }
.ap-near[hidden]{ display: none; }
@media (max-width: 760px){ .ap .ap-near__list{ grid-template-columns: minmax(0, 1fr); } }

/* Profil sans outils (Manufacturers) : le bloc n'a qu'une colonne, il n'en laisse pas une moitié vide */
.ap-aud__grid--solo{ grid-template-columns: minmax(0, 1fr); }
.ap-aud__grid--solo .ap-aud__text{ max-width: 760px; }
