@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ============================================================
   OPTION WAY — HELP SCOUT
   Refonte basée sur les sélecteurs réellement utilisés en prod
   Brand primary 700 : hsl(220 100% 46%)
   ============================================================ */

:root {
  --brand-primary-700: hsl(220 100% 46%);
  --brand-primary-100: color-mix(in srgb, var(--brand-primary-700) 10%, white);
  --brand-primary-50: color-mix(in srgb, var(--brand-primary-700) 5%, white);
  --brand-primary-25: color-mix(in srgb, var(--brand-primary-700) 2.5%, white);

  --ow-text: #0f172a;
  --ow-text-muted: #64748b;
  --ow-surface: #ffffff;
  --ow-page: #f8fafc;
  --ow-border: rgba(15, 23, 42, 0.08);

  --ow-radius-sm: 12px;
  --ow-radius-md: 16px;
  --ow-radius-lg: 28px;

  --ow-shadow-sm: 0 4px 18px rgba(15, 23, 42, 0.04);
  --ow-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --ow-shadow-hero: 0 18px 55px rgba(15, 23, 42, 0.07);

  --ow-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================================
   TYPOGRAPHIE + PAGE
   ============================================================ */

* {
  box-sizing: border-box;
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--ow-font) !important;
}

body {
  background: var(--ow-page);
  color: var(--ow-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================================
   HERO RECHERCHE
   Remplace l'ancienne image background.jpg
   ============================================================ */

#docsSearch {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: min(1180px, calc(100% - 48px));
  min-height: 255px;
  height: auto;

  margin: 28px auto 58px;
  padding: 56px 32px 60px;

  border: 1px solid color-mix(in srgb, var(--brand-primary-700) 8%, white);
  border-radius: var(--ow-radius-lg);

  background:
    radial-gradient(
      circle at 4% 0%,
      var(--brand-primary-100) 0,
      transparent 38%
    ),
    radial-gradient(
      circle at 96% 100%,
      var(--brand-primary-100) 0,
      transparent 40%
    ),
    linear-gradient(
      135deg,
      var(--brand-primary-50) 0%,
      #fff 52%,
      var(--brand-primary-50) 100%
    );

  box-shadow: var(--ow-shadow-hero);
}

#docsSearch::before {
  content: "";
  position: absolute;
  z-index: -1;

  width: 360px;
  height: 360px;
  left: -215px;
  top: -190px;

  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand-primary-700) 10%, transparent);
  background: color-mix(in srgb, var(--brand-primary-700) 3%, transparent);
}

#docsSearch::after {
  content: "";
  position: absolute;
  z-index: -1;

  width: 420px;
  height: 420px;
  right: -250px;
  bottom: -275px;

  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand-primary-700) 10%, transparent);
  background: color-mix(in srgb, var(--brand-primary-700) 4%, transparent);
}

#docsSearch > h1 {
  max-width: 760px;
  margin: 0 auto 28px;

  color: var(--ow-text);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-align: center;
  text-shadow: none;
}

/* ============================================================
   BARRE DE RECHERCHE
   ============================================================ */











/* On neutralise les styles de formulaire globaux de l'ancien thème */
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  background-color: #fff;
  border-color: var(--ow-border);
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* ============================================================
   TITRES DE SECTIONS
   ============================================================ */

.category-list + h2,
.most-pop-articles h2,
h2 {
  color: var(--ow-text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ============================================================
   GRILLE DES CATÉGORIES
   On remplace les inline-block/width:29% de la prod
   ============================================================ */

.category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 56px;
  padding: 0;
}

/* ============================================================
   CARTE CATÉGORIE
   ============================================================ */

.category-list .category {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/circle-help.svg");

  position: relative;

  display: flex;
  align-items: center;

  width: auto;
  min-height: 122px;

  margin: 0;
  padding: 22px 48px 22px 96px;

  color: var(--ow-text);
  text-align: left;
  vertical-align: initial;
  cursor: pointer;

  background: var(--ow-surface);
  border: 1px solid var(--ow-border);
  border-radius: var(--ow-radius-md);

  box-shadow: var(--ow-shadow-sm);

  overflow: hidden;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

/* cercle pastel */
.category-list .category::before {
  content: "";

  position: absolute;
  left: 20px;
  top: 50%;

  width: 58px;
  height: 58px;

  transform: translateY(-50%);

  border-radius: 999px;

  background: var(--brand-primary-50);
}

/* flèche */
.category-list .category::after {
  content: "→";

  position: absolute;
  top: 50%;
  right: 20px;

  transform: translateY(-50%);

  color: color-mix(in srgb, var(--brand-primary-700) 58%, white);
  font-size: 19px;
  line-height: 1;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.category-list .category:hover {
  color: var(--ow-text);
  text-decoration: none;

  background: #fff;
  border-color: color-mix(in srgb, var(--brand-primary-700) 13%, white);

  transform: translateY(-2px);
  box-shadow: var(--ow-shadow-md);
}

.category-list .category:hover::after {
  color: var(--brand-primary-700);
  transform: translate(4px, -50%);
}

/* ============================================================
   ICÔNE LUCIDE
   L'icône est séparée du cercle pastel grâce au h3::before.
   ============================================================ */

.category-list .category h3 {
  position: static;

  margin: 0 0 6px;
  padding: 0;

  color: var(--ow-text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.category-list .category h3::before {
  content: "";

  position: absolute;
  z-index: 2;

  left: 36px;
  top: 50%;

  width: 26px;
  height: 26px;

  transform: translateY(-50%);

  background: var(--brand-primary-700);

  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  pointer-events: none;
}

.category-list .category h3 a {
  color: inherit;
  text-decoration: none;
}

/* Valeurs / meta sous le titre */
.category-list .category p,
.category-list .category .article-count,
.category-list .category span {
  color: var(--ow-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ============================================================
   LUCIDE — UNE ICÔNE PAR CATÉGORIE
   Version épinglée pour éviter les changements de CDN.
   ============================================================ */

.category-list .category:nth-child(1)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/leaf.svg"); }
.category-list .category:nth-child(2)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/plane.svg"); }
.category-list .category:nth-child(3)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/headset.svg"); }
.category-list .category:nth-child(4)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/calendar-check.svg"); }
.category-list .category:nth-child(5)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/plane-takeoff.svg"); }
.category-list .category:nth-child(6)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/book-open-check.svg"); }
.category-list .category:nth-child(7)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/ticket-check.svg"); }
.category-list .category:nth-child(8)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/luggage.svg"); }
.category-list .category:nth-child(9)  { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/accessibility.svg"); }
.category-list .category:nth-child(10) { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/ticket.svg"); }
.category-list .category:nth-child(11) { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/building-2.svg"); }
.category-list .category:nth-child(12) { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/credit-card.svg"); }
.category-list .category:nth-child(13) { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/shield-check.svg"); }
.category-list .category:nth-child(14) { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/circle-help.svg"); }
.category-list .category:nth-child(15) { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/message-square-warning.svg"); }
.category-list .category:nth-child(16) { --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/circle-user-round.svg"); }

/* ============================================================
   ARTICLES POPULAIRES
   ============================================================ */

.twoCol .popArticles,
.threeCol .popArticles,
.most-pop-articles .popArticles {
  font-size: 14px;
}

.most-pop-articles {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.most-pop-articles .popArticles {
  background: #fff;
  border: 1px solid var(--ow-border);
  border-radius: var(--ow-radius-md);
  box-shadow: var(--ow-shadow-sm);
  overflow: hidden;
}

.most-pop-articles .popArticles li {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.most-pop-articles .popArticles li:last-child {
  border-bottom: 0;
}

.most-pop-articles .popArticles a {
  color: var(--ow-text);
  text-decoration: none;
}

.most-pop-articles .popArticles a:hover {
  color: var(--brand-primary-700);
}

/* ============================================================
   PAGES CATÉGORIE / ARTICLE
   ============================================================ */

#categoryHead h1 {
  color: var(--ow-text);
  font-weight: 700;
  letter-spacing: -0.025em;
}

#fullArticle .title {
  margin: 0 30px 30px 0 !important;

  color: var(--ow-text);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.articleList {
  color: var(--ow-text);
  font-size: 15px;
  line-height: 1.65;
}

.articleList a,
#fullArticle a {
  color: var(--brand-primary-700);
}

.articleFoot time.lu {
  display: none;
}

/* ============================================================
   TABLETTE
   ============================================================ */

@media (max-width: 980px) {
  #docsSearch,
  .category-list,
  .most-pop-articles {
    width: min(100% - 32px, 1180px);
  }

  .category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 640px) {
  #docsSearch {
    width: calc(100% - 24px);
    min-height: 0;

    margin: 12px auto 36px;
    padding: 40px 18px;

    border-radius: 22px;
  }

  #docsSearch > h1 {
    margin-bottom: 22px;

    font-size: 30px;
    line-height: 1.12;
  }

  

  

  .category-list,
  .most-pop-articles {
    width: calc(100% - 24px);
  }

  .category-list {
    grid-template-columns: 1fr;
    gap: 12px;

    margin-bottom: 40px;
  }

  .category-list .category {
    min-height: 104px;
    padding: 18px 44px 18px 84px;

    border-radius: 14px;
  }

  .category-list .category::before {
    left: 16px;

    width: 52px;
    height: 52px;
  }

  .category-list .category h3::before {
    left: 29px;

    width: 25px;
    height: 25px;
  }

  .category-list .category::after {
    right: 16px;
  }
}

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   QUESTIONS FRÉQUENTES — REDESIGN
   ============================================================ */

.most-pop-articles {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 56px;
}

.most-pop-articles h2 {
  margin: 0 0 20px;

  color: var(--ow-text);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: left;
}

/* Grille 2 colonnes */
.most-pop-articles .popArticles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

/* Chaque question */
.most-pop-articles .popArticles li {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 72px;

  margin: 0;
  padding: 16px 52px 16px 58px;

  list-style: none;

  background: #fff;
  border: 1px solid var(--ow-border);
  border-radius: var(--ow-radius-md);

  box-shadow: var(--ow-shadow-sm);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

/* On masque l'ancienne icône "document" Help Scout */
.most-pop-articles .popArticles li > i,
.most-pop-articles .popArticles li .icon,
.most-pop-articles .popArticles li [class*="icon-"] {
  display: none !important;
}

/* Cercle pastel */
.most-pop-articles .popArticles li::before {
  content: "";

  position: absolute;
  left: 16px;
  top: 50%;

  width: 30px;
  height: 30px;

  transform: translateY(-50%);

  border-radius: 999px;

  background:
    var(--brand-primary-50);
}

/* Petite icône Lucide "circle-help" */
.most-pop-articles .popArticles li::after {
  content: "";

  position: absolute;
  left: 23px;
  top: 50%;

  width: 16px;
  height: 16px;

  transform: translateY(-50%);

  background:
    var(--brand-primary-700);

  -webkit-mask:
    url("https://unpkg.com/lucide-static@0.542.0/icons/circle-help.svg")
    center / contain no-repeat;

  mask:
    url("https://unpkg.com/lucide-static@0.542.0/icons/circle-help.svg")
    center / contain no-repeat;

  pointer-events: none;
}

/* Lien */
.most-pop-articles .popArticles a {
  display: block;

  width: 100%;

  color: var(--ow-text);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;

  text-decoration: none;

  transition: color .2s ease;
}

/* Flèche discrète à droite */
.most-pop-articles .popArticles a::after {
  content: "→";

  position: absolute;
  right: 18px;
  top: 50%;

  transform: translateY(-50%);

  color:
    color-mix(
      in srgb,
      var(--brand-primary-700) 55%,
      white
    );

  font-size: 18px;
  line-height: 1;

  transition:
    transform .2s ease,
    color .2s ease;
}

/* Hover */
.most-pop-articles .popArticles li:hover {
  transform: translateY(-2px);

  border-color:
    color-mix(
      in srgb,
      var(--brand-primary-700) 13%,
      white
    );

  box-shadow:
    var(--ow-shadow-md);
}

.most-pop-articles .popArticles li:hover a {
  color:
    var(--brand-primary-700);
}

.most-pop-articles .popArticles li:hover a::after {
  transform:
    translate(4px, -50%);

  color:
    var(--brand-primary-700);
}

/* Mobile */
@media (max-width: 760px) {
  .most-pop-articles {
    width: calc(100% - 24px);
    margin-bottom: 40px;
  }

  .most-pop-articles h2 {
    font-size: 23px;
  }

  .most-pop-articles .popArticles {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .most-pop-articles .popArticles li {
    min-height: 64px;

    padding:
      14px 46px 14px 54px;

    border-radius:
      14px;
  }

  .most-pop-articles .popArticles li::before {
    left: 14px;

    width: 28px;
    height: 28px;
  }

  .most-pop-articles .popArticles li::after {
    left: 20px;

    width: 16px;
    height: 16px;
  }

  .most-pop-articles .popArticles a::after {
    right: 14px;
  }
}


/* ============================================================
   FIX CATÉGORIES — TITRE + COMPTEUR SUR 2 LIGNES
   Compatible avec le markup Help Scout actuel.
   ============================================================ */

/* La carte n'utilise plus flex : le contenu texte peut s'empiler */
.category-list .category {
  display: block !important;

  min-height: 122px;

  padding:
    31px 50px 24px 96px !important;
}

/* Titre */
.category-list .category h3 {
  display: block !important;

  width: auto !important;

  margin:
    0 0 6px !important;

  padding:
    0 !important;

  color:
    var(--ow-text);

  font-size:
    16px;

  line-height:
    1.3;

  font-weight:
    650;
}

/*
   Help Scout place la description et le compteur dans le même bloc.
   On ne masque donc PAS le <p>.
   On rend seulement son texte descriptif transparent / sans taille.
*/
.category-list .category p {
  display: block !important;

  width: auto !important;

  margin:
    0 !important;

  padding:
    0 !important;

  font-size:
    0 !important;

  line-height:
    1 !important;

  color:
    transparent !important;
}

/* Le compteur enfant reste visible */
.category-list .category p span,
.category-list .category .article-count,
.category-list .category span.article-count {
  display:
    inline-block !important;

  margin:
    0 !important;

  padding:
    0 !important;

  color:
    var(--ow-text-muted) !important;

  font-size:
    13px !important;

  line-height:
    1.4 !important;

  font-weight:
    400 !important;

  white-space:
    nowrap;
}

/*
   Si le compteur est un span directement enfant de la carte,
   on le positionne aussi naturellement sous le titre.
*/
.category-list .category > span:not([class*="icon"]) {
  display:
    block !important;

  margin:
    0 !important;

  padding:
    0 !important;

  color:
    var(--ow-text-muted) !important;

  font-size:
    13px !important;

  line-height:
    1.4 !important;

  font-weight:
    400 !important;
}

/* Cercle icône : toujours centré verticalement */
.category-list .category::before {
  top:
    50% !important;

  transform:
    translateY(-50%) !important;
}

/* SVG : toujours centré dans son cercle */
.category-list .category h3::before {
  top:
    50% !important;

  transform:
    translateY(-50%) !important;
}

/* Flèche centrée verticalement sur l'ensemble titre + compteur */
.category-list .category::after {
  top:
    50% !important;

  right:
    20px !important;

  transform:
    translateY(-50%) !important;
}

.category-list .category:hover::after {
  transform:
    translate(4px, -50%) !important;
}

/* Mobile */
@media (max-width: 640px) {

  .category-list .category {
    min-height:
      104px;

    padding:
      25px 44px 20px 84px !important;
  }

  .category-list .category::after {
    right:
      16px !important;
  }
}


/* ============================================================
   QUESTIONS FRÉQUENTES — VERSION LÉGÈRE SANS ICÔNES
   Texte + flèche uniquement, 2 colonnes.
   ============================================================ */

.most-pop-articles {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 56px;
}

.most-pop-articles h2 {
  margin: 0 0 18px;
  color: var(--ow-text);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: left;
}

.most-pop-articles .popArticles {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 44px !important;
  row-gap: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.most-pop-articles .popArticles li {
  position: relative !important;

  display: flex !important;
  align-items: center !important;

  min-height: 48px !important;

  margin: 0 !important;
  padding: 11px 34px 11px 0 !important;

  list-style: none !important;

  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07) !important;
  border-radius: 0 !important;

  box-shadow: none !important;
  transform: none !important;
}

/* Supprime TOUTES les anciennes icônes Help Scout */
.most-pop-articles .popArticles li > i,
.most-pop-articles .popArticles li > img,
.most-pop-articles .popArticles li > svg,
.most-pop-articles .popArticles li .icon,
.most-pop-articles .popArticles li [class*="icon-"],
.most-pop-articles .popArticles li [class^="icon-"] {
  display: none !important;
}

/* Annule aussi les pseudo-éléments icône ajoutés dans la v2 */
.most-pop-articles .popArticles li::before,
.most-pop-articles .popArticles li::after {
  content: none !important;
  display: none !important;
}

/* Lien */
.most-pop-articles .popArticles a {
  position: relative !important;

  display: block !important;
  width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--ow-text) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;

  text-decoration: none !important;

  transition: color .2s ease !important;
}

/* Flèche uniquement */
.most-pop-articles .popArticles a::after {
  content: "→" !important;

  position: absolute !important;
  top: 50% !important;
  right: -30px !important;

  transform: translateY(-50%) !important;

  color: color-mix(in srgb, var(--brand-primary-700) 58%, white) !important;
  font-size: 18px !important;
  line-height: 1 !important;

  transition:
    transform .2s ease,
    color .2s ease !important;
}

/* Hover très discret */
.most-pop-articles .popArticles li:hover {
  background: transparent !important;
  border-color: color-mix(in srgb, var(--brand-primary-700) 14%, white) !important;
  box-shadow: none !important;
  transform: none !important;
}

.most-pop-articles .popArticles li:hover a {
  color: var(--brand-primary-700) !important;
}

.most-pop-articles .popArticles li:hover a::after {
  color: var(--brand-primary-700) !important;
  transform: translate(4px, -50%) !important;
}

/* Mobile : une seule colonne */
@media (max-width: 760px) {
  .most-pop-articles {
    width: calc(100% - 24px);
    margin-bottom: 40px;
  }

  .most-pop-articles h2 {
    font-size: 23px;
  }

  .most-pop-articles .popArticles {
    grid-template-columns: 1fr !important;
  }

  .most-pop-articles .popArticles li {
    min-height: 46px !important;
  }
}


/* ============================================================
   ALIGNEMENT — QUESTIONS FRÉQUENTES = LARGEUR CATÉGORIES
   ============================================================ */

.most-pop-articles {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 980px) {
  .most-pop-articles {
    width: min(1180px, calc(100% - 32px)) !important;
  }
}

@media (max-width: 640px) {
  .most-pop-articles {
    width: calc(100% - 24px) !important;
  }
}


/* ============================================================
   ICÔNES CATÉGORIES — AJUSTEMENTS V7
   ============================================================ */

/* Option Way : ancienne icône de Compagnies Aériennes */
.category-list .category:nth-child(2) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/building-2.svg");
}

/* Formalités */
.category-list .category:nth-child(6) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/id-card.svg");
}

/* Enregistrement */
.category-list .category:nth-child(7) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/tickets-plane.svg");
}

/* Demandes et services spéciaux
   Je retiens ta dernière indication : circle-plus. */
.category-list .category:nth-child(9) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/circle-plus.svg");
}

/* Compagnies Aériennes : ancienne icône Option Way */
.category-list .category:nth-child(11) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/plane.svg");
}

/* Réclamations */
.category-list .category:nth-child(15) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/message-circle-warning.svg");
}


/* ============================================================
   ESPACEMENT — QUESTIONS FRÉQUENTES → CATÉGORIES
   Réduit l'espace vertical avant la grille des catégories.
   ============================================================ */

.most-pop-articles {
  margin-bottom: 28px !important;
}

@media (max-width: 640px) {
  .most-pop-articles {
    margin-bottom: 24px !important;
  }
}


/* ============================================================
   HERO V9 — GRADIENT SIMPLE + BOUTON RECHERCHE CORRIGÉ
   ============================================================ */

/* Suppression des cercles décoratifs : gradient uniquement */
#docsSearch {
  background:
    linear-gradient(
      115deg,
      color-mix(in srgb, var(--brand-primary-700) 10%, white) 0%,
      color-mix(in srgb, var(--brand-primary-700) 3%, white) 48%,
      color-mix(in srgb, var(--brand-primary-700) 8%, white) 100%
    ) !important;
}

/* Supprime les pseudo-éléments décoratifs du hero */
#docsSearch::before,
#docsSearch::after {
  content: none !important;
  display: none !important;
}

/*
   Le bouton était trop haut par rapport au champ :
   on le centre désormais réellement dans la barre.
*/






/* Aucun déplacement vertical au hover */


/* Mobile : bouton toujours proprement intégré au champ */
@media (max-width: 640px) {
  

  
}


/* ============================================================
   QUESTIONS FRÉQUENTES — TITRE CENTRÉ
   ============================================================ */

.most-pop-articles h2 {
  text-align: center !important;
}


/* ============================================================
   HEADER V11 — FIN, BLANC, SANS BORDURE NI OMBRE
   Le logo reste celui configuré dans Help Scout.
   ============================================================ */

/* Header Help Scout */
#mainNav,
header,
.navbar {
  min-height: 64px !important;
  height: 64px !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Conteneur interne : aligné avec le reste de la FAQ */
#mainNav .container,
header .container,
.navbar .container {
  min-height: 64px !important;
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Logo Help Scout : plus compact */
#mainNav .brand img,
#mainNav .navbar-brand img,
header .brand img,
header .navbar-brand img,
.navbar .brand img,
.navbar .navbar-brand img {
  display: block !important;
  width: auto !important;
  max-width: 145px !important;
  max-height: 34px !important;
  height: auto !important;
}

/* Évite qu'un lien/logo impose une hauteur excessive */
#mainNav .brand,
#mainNav .navbar-brand,
header .brand,
header .navbar-brand {
  display: flex !important;
  align-items: center !important;
  height: 64px !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Liens éventuels du header */
#mainNav a,
header nav a,
.navbar a {
  font-family: Inter, Arial, sans-serif !important;
}

/* Le hero se rapproche naturellement du header fin */
#docsSearch {
  margin-top: 18px !important;
}

/* Mobile */
@media (max-width: 640px) {
  #mainNav,
  header,
  .navbar,
  #mainNav .container,
  header .container,
  .navbar .container {
    min-height: 58px !important;
    height: 58px !important;
  }

  #mainNav .brand,
  #mainNav .navbar-brand,
  header .brand,
  header .navbar-brand {
    height: 58px !important;
  }

  #mainNav .brand img,
  #mainNav .navbar-brand img,
  header .brand img,
  header .navbar-brand img,
  .navbar .brand img,
  .navbar .navbar-brand img {
    max-width: 125px !important;
    max-height: 30px !important;
  }

  #docsSearch {
    margin-top: 12px !important;
  }
}


/* ============================================================
   RECHERCHE V12 — DROPDOWN HELP SCOUT + BOUTON EN MODE SAISIE
   Le menu natif Help Scout est #serp-dd.
   ============================================================ */

/*
   Le hero avait overflow:hidden pour les anciens ronds décoratifs.
   Comme ils ont été supprimés, on laisse désormais le dropdown
   sortir du hero sans être coupé.
*/
#docsSearch {
  overflow: visible !important;
  z-index: 10 !important;
}

/* La barre et les résultats passent devant le contenu suivant */




/* On garde les résultats au-dessus de tout */


/*
   Quand des résultats sont ouverts, le champ devient la partie haute
   d'un seul composant avec le dropdown.
*/


/*
   Bouton un peu plus compact et parfaitement centré.
   En mode dropdown, on retire seulement ses coins du bas
   pour éviter l'effet "bouton flottant arrondi" visible sur la capture.
*/




/* Résultats plus propres et compacts */










/* Mobile */
@media (max-width: 640px) {
  

  
}


/* ============================================================
   HERO V13 — TITRE LÉGÈREMENT PLUS PETIT
   ============================================================ */

#docsSearch > h1 {
  font-size: 30px !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
}

@media (max-width: 640px) {
  #docsSearch > h1 {
    font-size: 26px !important;
  }
}


/* ============================================================
   RECHERCHE V14 — DROPDOWN, ÉLÉMENT VIDE, "AUCUN RÉSULTAT"
   + ARRONDIS COHÉRENTS
   ============================================================ */

/* Barre de recherche : forme propre au repos */


/* Le menu doit commencer immédiatement sous le champ */


/* Quand la liste est ouverte, le champ ne garde que les coins du haut */


/* Supprime les lignes / placeholders réellement vides de Help Scout */


/* La liste elle-même ne doit générer aucun espace au-dessus */


/* Items normaux */




/* Le dernier résultat suit les coins du conteneur */


/*
   "Aucun résultat trouvé" :
   Help Scout peut le rendre directement dans #serp-dd
   ou dans un élément dédié suivant la version du thème.
*/


/* Cas où Help Scout affiche le texte directement dans un <p> */


/*
   Lorsque le dropdown est visible, le bouton garde uniquement
   les arrondis cohérents avec la partie haute du composant.
*/


/* On évite les doubles contours bleus trop présents au focus */


/* Le dropdown reste collé visuellement au champ */



/* ============================================================
   V15 — HERO PLUS SUBTIL + ARTICLES OUVERTS PLUS ARRONDIS
   ============================================================ */

/* Hero : gradient plus léger / plus lumineux */
#docsSearch {
  background:
    linear-gradient(
      115deg,
      color-mix(in srgb, var(--brand-primary-700) 8%, white) 0%,
      color-mix(in srgb, var(--brand-primary-700) 2%, white) 48%,
      color-mix(in srgb, var(--brand-primary-700) 6%, white) 100%
    ) !important;
}

/* ------------------------------------------------------------
   ARTICLE OUVERT
   ------------------------------------------------------------ */

/*
   Le conteneur principal de l'article devient une vraie "surface"
   cohérente avec les cartes de la page d'accueil.
*/
#fullArticle {
  background: #fff !important;

  border: 1px solid var(--ow-border) !important;
  border-radius: 20px !important;

  box-shadow: var(--ow-shadow-sm) !important;

  overflow: hidden !important;
}

/*
   Conserve de l'air à l'intérieur sans modifier la largeur
   générale du contenu Help Scout.
*/
#fullArticle .articleBody,
#fullArticle .article-body,
#fullArticle .content {
  border-radius: inherit !important;
}

/* Titre d'article : légèrement resserré pour mieux fonctionner
   dans le panneau arrondi */
#fullArticle .title {
  margin-top: 0 !important;

  color: var(--ow-text) !important;

  font-size: 34px !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
}

/* Les images intégrées dans les articles suivent le langage visuel */
#fullArticle img {
  max-width: 100% !important;
  height: auto !important;

  border-radius: 12px;
}

/* Tableaux éventuels */
#fullArticle table {
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Blocs de code / citations / encarts */
#fullArticle pre,
#fullArticle blockquote {
  border-radius: 12px !important;
}

/* Boutons/liens rendus comme boutons par Help Scout */
#fullArticle .btn,
#fullArticle button {
  border-radius: 10px !important;
}

/* Pied d'article : garde la continuité du panneau */
#fullArticle .articleFoot,
#fullArticle .article-footer {
  border-radius: 0 0 20px 20px !important;
}

/* Mobile : arrondis légèrement plus petits */
@media (max-width: 640px) {
  #fullArticle {
    border-radius: 16px !important;
  }

  #fullArticle .articleFoot,
  #fullArticle .article-footer {
    border-radius: 0 0 16px 16px !important;
  }

  #fullArticle .title {
    font-size: 28px !important;
  }
}


/* ============================================================
   V16 — ARTICLE : ARRONDI SUR LE CONTENEUR PRINCIPAL
   Correction : l'arrondi ne doit PAS être sur #fullArticle.
   ============================================================ */

/* Annule la "carte dans la carte" introduite en V15 */
#fullArticle {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/*
   .contentWrapper est le panneau principal Help Scout qui contient
   réellement l'article. On applique donc la surface arrondie ici.
*/
.contentWrapper:has(#fullArticle) {
  background: #fff !important;

  border: 1px solid var(--ow-border) !important;
  border-radius: 20px !important;

  box-shadow: var(--ow-shadow-sm) !important;

  overflow: hidden !important;
}

/* Pas de second arrondi artificiel à l'intérieur */
.contentWrapper:has(#fullArticle) #fullArticle .articleBody,
.contentWrapper:has(#fullArticle) #fullArticle .article-body,
.contentWrapper:has(#fullArticle) #fullArticle .content {
  border-radius: 0 !important;
}

/* Le footer appartient lui aussi au panneau principal */
#fullArticle .articleFoot,
#fullArticle .article-footer {
  border-radius: 0 !important;
}

/* Mobile */
@media (max-width: 640px) {
  .contentWrapper:has(#fullArticle) {
    border-radius: 16px !important;
  }

  #fullArticle {
    border-radius: 0 !important;
  }
}


/* ============================================================
   V17 — HERO PLUS LISIBLE + RECHERCHE HELP SCOUT ROBUSTE
   ============================================================ */

/* Gradient volontairement plus perceptible :
   bleu pâle à gauche -> quasi blanc -> léger bleu à droite */
#docsSearch {
  background:
    linear-gradient(
      115deg,
      color-mix(in srgb, var(--brand-primary-700) 12%, white) 0%,
      color-mix(in srgb, var(--brand-primary-700) 1%, white) 52%,
      color-mix(in srgb, var(--brand-primary-700) 5%, white) 100%
    ) !important;
}

/* ------------------------------------------------------------
   DROPDOWN DE RECHERCHE
   ------------------------------------------------------------ */

/* Le menu est un seul bloc collé au champ */


/* On enlève tout espace structurel ajouté par Help Scout */


/*
   Quand il existe de vrais résultats (<a>), tout enfant parasite
   ne contenant aucun lien est supprimé. Cela vise notamment la
   ligne / zone vide visible avant le premier résultat.
*/


/* Items de résultats */










/*
   Aucun résultat :
   lorsqu'il n'y a aucun lien, on compacte le contenu natif
   sans chercher à deviner le nom de sa classe.
*/


/* Tous les wrappers internes du message héritent de ce rendu compact */


/* Champ + dropdown = un composant continu */


/* Le bouton reste simplement arrondi, même pendant la recherche */


/* Pas de gros halo / double contour */



/* ============================================================
   V18 — ARRONDI DU VRAI CONTENEUR HELP SCOUT
   Correction : pas de :has(), on cible directement .contentWrapper.
   ============================================================ */

/* Le panneau blanc extérieur utilisé par Help Scout */
.contentWrapper {
  background: #fff !important;

  border: 1px solid var(--ow-border) !important;
  border-radius: 20px !important;

  box-shadow: var(--ow-shadow-sm) !important;

  overflow: hidden !important;
}

/* #fullArticle reste simplement le contenu intérieur */
#fullArticle {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Supprime tout éventuel arrondi hérité sur les wrappers internes */
#fullArticle .articleBody,
#fullArticle .article-body,
#fullArticle .content,
#fullArticle .articleFoot,
#fullArticle .article-footer {
  border-radius: 0 !important;
}

/* Mobile */
@media (max-width: 640px) {
  .contentWrapper {
    border-radius: 16px !important;
  }
}


/* ============================================================
   V19 — CORRECTION DU COIN CARRÉ DERRIÈRE L'ARTICLE
   Le carré blanc visible derrière l'arrondi vient du wrapper
   extérieur Help Scout, pas de .contentWrapper lui-même.
   ============================================================ */

/* Rend les wrappers de page transparents : seul .contentWrapper
   doit dessiner la carte blanche de l'article. */
#content,
#mainContent,
#main-content,
.main-content,
.mainContent {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Évite aussi qu'un pseudo-élément du wrapper recrée un fond carré */
#content::before,
#content::after,
#mainContent::before,
#mainContent::after,
#main-content::before,
#main-content::after,
.main-content::before,
.main-content::after,
.mainContent::before,
.mainContent::after {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* La carte article reste la seule surface blanche visible */
.contentWrapper {
  position: relative !important;
  background: #fff !important;
  border: 1px solid var(--ow-border) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background-clip: padding-box !important;
}

/* Renforce le clipping des quatre coins */
.contentWrapper::before,
.contentWrapper::after {
  border-radius: inherit !important;
}

@media (max-width: 640px) {
  .contentWrapper {
    border-radius: 16px !important;
  }
}


/* ============================================================
   V20 — LISTES D'ARTICLES : ICÔNE LUCIDE FILE-TEXT
   Remplace l'ancienne icône document Help Scout.
   ============================================================ */

/* On masque l'icône native Help Scout dans les listes d'articles */
.articleList li > i,
.articleList li > .icon,
.articleList li > [class^="icon-"],
.articleList li > [class*=" icon-"] {
  display: none !important;
}

/* Chaque ligne devient le point d'ancrage de notre icône */
.articleList li {
  position: relative !important;
  padding-left: 30px !important;
}

/* Lucide file-text, sans cercle de fond */
.articleList li::before {
  content: "" !important;

  position: absolute !important;
  left: 0 !important;
  top: 50% !important;

  width: 20px !important;
  height: 20px !important;

  transform: translateY(-50%) !important;

  background-color: var(--brand-primary-700) !important;

  -webkit-mask-image:
    url("https://unpkg.com/lucide-static@0.542.0/icons/file-text.svg") !important;
  mask-image:
    url("https://unpkg.com/lucide-static@0.542.0/icons/file-text.svg") !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;

  -webkit-mask-position: center !important;
  mask-position: center !important;

  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

/* Liens de la liste */
.articleList li a {
  color: var(--ow-text) !important;
  text-decoration: none !important;

  transition: color .18s ease !important;
}

.articleList li:hover a {
  color: var(--brand-primary-700) !important;
}

/* Si Help Scout place l'icône à l'intérieur du lien */
.articleList li a > i,
.articleList li a > .icon,
.articleList li a > [class^="icon-"],
.articleList li a > [class*=" icon-"] {
  display: none !important;
}

/* Mobile */
@media (max-width: 640px) {
  .articleList li {
    padding-left: 28px !important;
  }

  .articleList li::before {
    width: 18px !important;
    height: 18px !important;
  }
}


/* ============================================================
   V21 — FIX ICÔNES LISTE D'ARTICLES
   L'icône ne doit jamais chevaucher le texte.
   ============================================================ */

/* On annule le positionnement précédent */
.articleList li {
  position: relative !important;
  padding-left: 0 !important;
}

/*
   Help Scout place le lien comme élément principal de la ligne :
   on réserve donc l'espace directement DANS le lien.
*/
.articleList li > a,
.articleList li a {
  position: relative !important;
  display: block !important;

  padding-left: 32px !important;

  color: var(--ow-text) !important;
  text-decoration: none !important;
}

/* On supprime l'icône créée sur le <li> en V20 */
.articleList li::before {
  content: none !important;
  display: none !important;
}

/* Et on dessine file-text dans l'espace réservé du lien */
.articleList li > a::before,
.articleList li a::before {
  content: "" !important;

  position: absolute !important;
  left: 0 !important;
  top: 0.15em !important;

  width: 20px !important;
  height: 20px !important;

  background-color: var(--brand-primary-700) !important;

  -webkit-mask-image:
    url("https://unpkg.com/lucide-static@0.542.0/icons/file-text.svg") !important;
  mask-image:
    url("https://unpkg.com/lucide-static@0.542.0/icons/file-text.svg") !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;

  -webkit-mask-position: center !important;
  mask-position: center !important;

  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

/* Masque toujours l'ancienne icône Help Scout */
.articleList li i,
.articleList li .icon,
.articleList li [class^="icon-"],
.articleList li [class*=" icon-"] {
  display: none !important;
}

/* Hover */
.articleList li:hover > a,
.articleList li:hover a {
  color: var(--brand-primary-700) !important;
}

/* Mobile */
@media (max-width: 640px) {
  .articleList li > a,
  .articleList li a {
    padding-left: 29px !important;
  }

  .articleList li > a::before,
  .articleList li a::before {
    width: 18px !important;
    height: 18px !important;
  }
}


/* ============================================================
   V22 — ICÔNES D'ARTICLES PLUS DISCRÈTES
   Lucide file-text, gris bleuté, 16px.
   ============================================================ */

.articleList li > a,
.articleList li a {
  padding-left: 27px !important;
}

/* Icône secondaire : le titre doit rester l'élément principal */
.articleList li > a::before,
.articleList li a::before {
  width: 16px !important;
  height: 16px !important;

  top: 0.22em !important;

  background-color: #94a3b8 !important;
}

/* Le lien conserve le bleu naturel de la FAQ */
.articleList li > a,
.articleList li a {
  color: var(--brand-primary-700) !important;
}

/* Hover très léger */
.articleList li:hover > a,
.articleList li:hover a {
  color: color-mix(in srgb, var(--brand-primary-700) 82%, black) !important;
}

.articleList li:hover > a::before,
.articleList li:hover a::before {
  background-color: #64748b !important;
}

@media (max-width: 640px) {
  .articleList li > a,
  .articleList li a {
    padding-left: 25px !important;
  }

  .articleList li > a::before,
  .articleList li a::before {
    width: 15px !important;
    height: 15px !important;
  }
}


/* ============================================================
   V23 — RECHERCHE SECONDAIRE (CATÉGORIES / ARTICLES)
   Retour à une barre compacte proche du comportement Help Scout.
   Le gros hero reste réservé à la page d'accueil.
   ============================================================ */

/*
   Sur la home, #docsSearch contient le H1 du hero.
   Sur les pages internes, on neutralise le grand habillage.
*/
#docsSearch:not(:has(> h1)) {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;

  min-height: 0 !important;
  height: auto !important;

  margin: 24px auto 34px !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  overflow: visible !important;
}

/* Barre compacte */


/* Champ */


/* Focus discret, comme un vrai champ secondaire */


/*
   Bouton : on revient à l'usage "icône loupe" de Help Scout,
   sans gros pavé bleu.
*/


/* Conserve / recolore l'icône native Help Scout si elle existe */


/* Fallback loupe si le thème n'affiche pas son icône native */






/*
   Dropdown interne : largeur de la petite barre et coins cohérents.
*/


/* Quand le dropdown est ouvert */


/* Responsive */
@media (max-width: 640px) {
  #docsSearch:not(:has(> h1)) {
    width: calc(100% - 24px) !important;
    margin: 18px auto 26px !important;
  }

  
}


/* ============================================================
   V24 — RECHERCHE SECONDAIRE : LOUPE BLEUE
   ============================================================ */








/* ============================================================
   V25 — BACKGROUND GLOBAL ALIGNÉ SUR VOL.OPTIONWAY.COM
   hsl(210 20% 98%) = #F9FAFB
   ============================================================ */

:root {
  --ow-page: #F9FAFB !important;
}

html,
body {
  background: var(--ow-page) !important;
}


/* ============================================================
   V26 — RECHERCHE INTERNE HELP SCOUT
   Les pages catégorie/article utilisent #sidebar #docsSearch.
   On ne dépend plus de la présence d'un H1 dans #docsSearch.
   ============================================================ */

/* Barre secondaire uniquement dans la sidebar des pages internes */
#sidebar #docsSearch {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;

  margin: 0 0 28px !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}





/* Bouton compact : uniquement la loupe */


/* On masque l'ancienne icône native pour éviter une double loupe */


/* Loupe Lucide bleue */




/* Focus du champ */


/* Dropdown de recherche interne */


/* Champ + résultats = un seul composant */


/* Mobile */
@media (max-width: 640px) {
  #sidebar #docsSearch {
    margin-bottom: 22px !important;
  }
}


/* ============================================================
   V27 — PETITE RECHERCHE : BOUTON = LOUPE BLEUE UNIQUEMENT
   On cible le bouton Help Scout qui contient l'icône de recherche,
   sans toucher au bouton "Rechercher" du hero de la home.
   ============================================================ */



/* Icône native Help Scout */


/* Si notre fallback Lucide existe déjà, on le garde aussi en bleu */


/* Hover très léger, sans recréer un pavé bleu */


/* Réserve juste la place nécessaire à la loupe */



/* ============================================================
   V28 — PETITE BARRE DE RECHERCHE : 4 COINS ARRONDIS
   Le champ reste une seule capsule, même avec le bouton loupe.
   ============================================================ */

/* Conteneur : clippe correctement les quatre angles */


/* Champ : quatre coins, sans exception */


/* Le bouton transparent ne doit jamais modifier les coins du champ */


/* Annule les anciennes règles qui retiraient les coins du bas
   lorsqu'un dropdown Help Scout était détecté. */


/* Dropdown : lui aussi a ses quatre coins propres */


/* Premier et dernier résultat suivent le rayon du menu */





/* ============================================================
   V28 — AJUSTEMENT UNIQUE : LOUPE À 18PX
   ============================================================ */



/* Si l'icône native Help Scout est utilisée */



/* ============================================================
   V36 — V28 + LOUPE 18PX + DROPDOWN COLLÉ
   Important : aucune modification du bouton/loupe.
   ============================================================ */

/*
   On colle uniquement le dropdown sous la barre.
   On ne touche PAS au z-index du champ ni du bouton afin de
   conserver la loupe qui fonctionnait correctement en V28.
*/




/*
   Le dropdown remonte de 10px sous le champ.
   Le padding-top compense ce chevauchement :
   visuellement il est collé, mais les 4 coins du champ restent visibles.
*/


/* Aucun espace parasite dans la liste */


/* "Aucun résultat" compact */


/* Dernier élément : arrondis du bas */



/* ============================================================
   V37 — SÉPARATION QUESTIONS FRÉQUENTES / CATÉGORIES
   Suppression de la ligne + ajout du titre "Toutes les catégories"
   ============================================================ */

/* Supprime la ligne / bordure de séparation éventuelle */
.category-list,
.category-list::before,
.category-list::after {
  border-top: 0 !important;
}

/* Titre au-dessus de la grille des catégories */
.category-list {
  position: relative !important;
  padding-top: 54px !important;
}

.category-list::before {
  content: "Toutes les catégories" !important;

  display: block !important;
  position: absolute !important;

  top: 0 !important;
  left: 0 !important;
  right: 0 !important;

  height: auto !important;

  background: transparent !important;

  color: var(--ow-text) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;

  text-align: center !important;

  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Mobile */
@media (max-width: 640px) {
  .category-list {
    padding-top: 48px !important;
  }

  .category-list::before {
    font-size: 23px !important;
  }
}


/* ============================================================
   V38 — SUPPRESSION DE LA LIGNE POINTILLÉE
   Elle vient du séparateur Help Scout autour des catégories.
   ============================================================ */

.category-list,
.category-list *,
#categories,
#categories::before,
#categories::after,
.category-list + hr,
.most-pop-articles + hr,
hr {
  border-top-style: none !important;
}

/* Si Help Scout utilise directement un <hr> comme séparateur */
.most-pop-articles ~ hr,
#content hr,
.contentWrapper hr {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Neutralise aussi les pseudo-éléments de séparation sans toucher
   au ::before utilisé pour le titre "Toutes les catégories". */
.category-list::after,
#categories::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
}


/* ============================================================
   V39 — ESPACE VISUEL SANS LIGNE DE SÉPARATION
   ============================================================ */

/* On conserve un vrai espace entre Questions fréquentes
   et le titre "Toutes les catégories", mais sans séparateur. */
.most-pop-articles {
  margin-bottom: 44px !important;
}

/* Le titre reste bien séparé de la première rangée de cartes */
.category-list {
  padding-top: 54px !important;
}

/* Mobile : espace légèrement plus compact */
@media (max-width: 640px) {
  .most-pop-articles {
    margin-bottom: 34px !important;
  }

  .category-list {
    padding-top: 48px !important;
  }
}


/* ============================================================
   V40 — HERO GRADIENT PLUS COLORÉ / MOINS BLANC
   ============================================================ */

#docsSearch {
  background:
    linear-gradient(
      115deg,
      color-mix(in srgb, var(--brand-primary-700) 22%, white) 0%,
      color-mix(in srgb, var(--brand-primary-700) 8%, white) 52%,
      color-mix(in srgb, var(--brand-primary-700) 14%, white) 100%
    ) !important;
}


/* ============================================================
   V42 — RETOUR AU GRADIENT V40, ENCORE PLUS BLEU
   Même mouvement : soutenu -> clair au centre -> retour du bleu
   ============================================================ */

#docsSearch {
  background:
    linear-gradient(
      115deg,
      color-mix(in srgb, var(--brand-primary-700) 30%, white) 0%,
      color-mix(in srgb, var(--brand-primary-700) 13%, white) 52%,
      color-mix(in srgb, var(--brand-primary-700) 21%, white) 100%
    ) !important;
}

/* ============================================================
   V46 — ICÔNES REMISES DANS LE NOUVEL ORDRE DES CATÉGORIES
   Retour au système nth-child qui affichait correctement les SVG.
   ============================================================ */

.category-list .category:nth-child(1) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/plane-takeoff.svg") !important;
}

.category-list .category:nth-child(2) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/luggage.svg") !important;
}

.category-list .category:nth-child(3) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/ticket.svg") !important;
}

.category-list .category:nth-child(4) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/plane.svg") !important;
}

.category-list .category:nth-child(5) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/headset.svg") !important;
}

.category-list .category:nth-child(6) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/circle-plus.svg") !important;
}

.category-list .category:nth-child(7) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/tickets-plane.svg") !important;
}

.category-list .category:nth-child(8) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/leaf.svg") !important;
}

.category-list .category:nth-child(9) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/id-card.svg") !important;
}

.category-list .category:nth-child(10) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/circle-help.svg") !important;
}

.category-list .category:nth-child(11) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/shield-check.svg") !important;
}

.category-list .category:nth-child(12) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/calendar-check.svg") !important;
}

.category-list .category:nth-child(13) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/circle-user-round.svg") !important;
}

.category-list .category:nth-child(14) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/credit-card.svg") !important;
}

.category-list .category:nth-child(15) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/building-2.svg") !important;
}

.category-list .category:nth-child(16) {
  --icon: url("https://unpkg.com/lucide-static@0.542.0/icons/message-circle-warning.svg") !important;
}


/* ============================================================
   V47 — TITRES DES ARTICLES OUVERTS PLUS COMPACTS
   ============================================================ */

#fullArticle .title,
#fullArticle h1 {
  font-size: 28px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
}

/* Titres internes de l'article */
#fullArticle h2 {
  font-size: 22px !important;
  line-height: 1.3 !important;
}

#fullArticle h3 {
  font-size: 18px !important;
  line-height: 1.35 !important;
}

@media (max-width: 640px) {
  #fullArticle .title,
  #fullArticle h1 {
    font-size: 25px !important;
  }

  #fullArticle h2 {
    font-size: 20px !important;
  }

  #fullArticle h3 {
    font-size: 17px !important;
  }
}


/* ============================================================
   V48 — HERO BRAND PRIMARY PUR + EFFET LÉGER
   Base #004EEB, avec une lumière bleutée très subtile.
   ============================================================ */

#docsSearch {
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.05) 24%,
      rgba(255, 255, 255, 0) 52%
    ),
    linear-gradient(
      115deg,
      var(--brand-primary-700) 0%,
      var(--brand-primary-700) 62%,
      color-mix(in srgb, var(--brand-primary-700) 92%, white) 100%
    ) !important;
}

/* Sur fond bleu soutenu, le titre repasse en blanc */
#docsSearch > h1 {
  color: #fff !important;
}


/* ============================================================
   V49 — HERO BLEU MAIS PLUS "FLOTTANT"
   On conserve le brand-primary fort, mais on lui redonne du relief.
   ============================================================ */

#docsSearch {
  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.07) 24%,
      rgba(255, 255, 255, 0) 50%
    ),
    linear-gradient(
      115deg,
      var(--brand-primary-700) 0%,
      color-mix(in srgb, var(--brand-primary-700) 96%, white) 58%,
      color-mix(in srgb, var(--brand-primary-700) 90%, white) 100%
    ) !important;

  box-shadow:
    0 18px 40px rgba(0, 78, 235, 0.14),
    0 6px 18px rgba(15, 23, 42, 0.08) !important;

  border: 1px solid rgba(255, 255, 255, 0.18) !important;

  transform: translateY(-2px) !important;
}


/* ============================================================
   V50 — EFFET FLOTTANT NETTEMENT PLUS VISIBLE
   ============================================================ */

#docsSearch {
  box-shadow:
    0 26px 60px rgba(0, 78, 235, 0.22),
    0 10px 26px rgba(15, 23, 42, 0.13) !important;

  border: 1px solid rgba(255, 255, 255, 0.26) !important;

  transform: translateY(-4px) !important;
}

/* Un peu plus d'air sous le bloc pour renforcer l'impression qu'il flotte */
#docsSearch {
  margin-bottom: 34px !important;
}

/* ============================================================
   V54 — SEARCH REPARTIE DE ZÉRO
   Toutes les anciennes règles #searchBar / #serp-dd ont été supprimées.
   Base simple, proche du CSS Help Scout qui fonctionne sur Bordeaux.
   ============================================================ */

#searchBar {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

#searchBar .search-query,
#searchBar input[type="search"],
#searchBar input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding: 0 58px 0 20px;

  background: #fff;
  border: 0;
  border-radius: 14px;

  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);

  color: var(--ow-text);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 52px;

  outline: none;
}

#searchBar .search-query:focus,
#searchBar input[type="search"]:focus,
#searchBar input[type="text"]:focus {
  border-radius: 14px;
  outline: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* Bouton invisible, mais zone de clic conservée */
#searchBar button {
  position: absolute;
  top: 50%;
  right: 8px;

  width: 40px;
  min-width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;

  transform: translateY(-50%);

  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;

  color: transparent;
  font-size: 0;
  text-shadow: none;
}

/* Masque l'icône native Help Scout */
#searchBar button i,
#searchBar button svg,
#searchBar button [class*="icon-"] {
  display: none;
}

/* Loupe bleue */
#searchBar button::after {
  content: "";
  display: block;

  width: 18px;
  height: 18px;
  margin: auto;

  background-color: var(--brand-primary-700);

  -webkit-mask: url("https://unpkg.com/lucide-static@0.542.0/icons/search.svg") center / contain no-repeat;
  mask: url("https://unpkg.com/lucide-static@0.542.0/icons/search.svg") center / contain no-repeat;
}

/* Dropdown simple, indépendant du champ :
   les 4 coins du champ restent donc toujours arrondis */
#serp-dd {
  position: absolute;
  z-index: 20;

  left: 0;
  right: 0;

  width: 100%;
  margin: 0;
  padding: 0;

  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

#serp-dd .result,
#serp-dd ul,
#serp-dd ol {
  margin: 0;
  padding: 0;
}

#serp-dd li {
  margin: 0;
  list-style: none;
}

#serp-dd li a {
  display: block;
  padding: 12px 16px;
  border-radius: 0;
}

#serp-dd li:hover,
#serp-dd li.active {
  background: #f8fafc;
}

/* Recherche compacte dans la sidebar des pages internes */
#sidebar #searchBar {
  max-width: none;
}

#sidebar #searchBar .search-query,
#sidebar #searchBar input[type="search"],
#sidebar #searchBar input[type="text"] {
  height: 42px;
  padding-left: 14px;
  padding-right: 48px;
  border: 1px solid var(--ow-border);
  border-radius: 10px;
  box-shadow: none;
  line-height: 42px;
}

#sidebar #searchBar button {
  right: 4px;
  width: 36px;
  min-width: 36px;
  height: 36px;
}

@media (max-width: 640px) {
  #searchBar .search-query,
  #searchBar input[type="search"],
  #searchBar input[type="text"] {
    height: 48px;
    line-height: 48px;
    border-radius: 12px;
  }

  #serp-dd {
    border-radius: 12px;
  }
}


/* V58 — Résultats de recherche toujours en brand-primary-700 */
#serp-dd a,
#serp-dd li a,
#serp-dd .result a,
#serp-dd a:hover,
#serp-dd li:hover a,
#serp-dd li.active a,
#serp-dd a:focus {
  color: #004EEB !important;
}

/* Le hover est indiqué uniquement par le fond gris */
#serp-dd li:hover,
#serp-dd li.active,
#serp-dd li:focus-within {
  background: #f1f3f5 !important;
}


/* ============================================================
   V59 — RECHERCHE INTERNE : UNE SEULE LOUPE
   Suppression de la loupe native Help Scout grise.
   ============================================================ */

/* Neutralise les éventuelles icônes/pseudo-éléments natifs
   uniquement dans la recherche compacte de la sidebar. */
#sidebar #searchBar::before,
#sidebar #searchBar::after,
#sidebar #searchBar form::before,
#sidebar #searchBar form::after,
#sidebar #searchBar button::before {
  content: none !important;
  display: none !important;
}

#sidebar #searchBar button > * {
  display: none !important;
}

/* Le bouton reste invisible mais cliquable */
#sidebar #searchBar button {
  position: absolute !important;
  top: 50% !important;
  right: 4px !important;

  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: translateY(-50%) !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

/* Une seule loupe Lucide bleue */
#sidebar #searchBar button::after {
  content: "" !important;
  display: block !important;

  position: absolute !important;
  top: 50% !important;
  left: 50% !important;

  width: 18px !important;
  height: 18px !important;

  transform: translate(-50%, -50%) !important;

  background-color: var(--brand-primary-700) !important;

  -webkit-mask: url("https://unpkg.com/lucide-static@0.542.0/icons/search.svg") center / contain no-repeat !important;
  mask: url("https://unpkg.com/lucide-static@0.542.0/icons/search.svg") center / contain no-repeat !important;

  pointer-events: none !important;
}


/* ============================================================
   V60 — GRANDE RECHERCHE : LOUPE RECENTRÉE + HOVER ALLÉGÉ
   ============================================================ */

/* Bouton principal : plus compact et bien centré dans le champ */
#docsSearch #searchBar button {
  top: 50% !important;
  right: 10px !important;

  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;

  padding: 0 !important;
  margin: 0 !important;

  transform: translateY(-50%) !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* Loupe bleue centrée */
#docsSearch #searchBar button::after {
  width: 18px !important;
  height: 18px !important;

  margin: 0 !important;

  position: absolute !important;
  top: 50% !important;
  left: 50% !important;

  transform: translate(-50%, -50%) !important;

  background-color: var(--brand-primary-700) !important;
}

/* Hover très léger : pas de gros pavé bleu */
#docsSearch #searchBar button:hover,
#docsSearch #searchBar button:focus,
#docsSearch #searchBar button:active {
  background: rgba(0, 78, 235, 0.06) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* La loupe reste de la même couleur au hover */
#docsSearch #searchBar button:hover::after,
#docsSearch #searchBar button:focus::after,
#docsSearch #searchBar button:active::after {
  background-color: var(--brand-primary-700) !important;
}


/* ============================================================
   V61 — HERO / BLOC FLOTTANT PLUS COMPACT
   Plus haut que le header, mais moins massif.
   ============================================================ */

#docsSearch {
  height: auto !important;
  min-height: 0 !important;

  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

/* Titre légèrement resserré pour accompagner le nouveau volume */
#docsSearch > h1 {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

/* Mobile */
@media (max-width: 640px) {
  #docsSearch {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  #docsSearch > h1 {
    margin-bottom: 16px !important;
  }
}


/* ============================================================
   V65 — MOBILE : RETOUR À V61 + SUPPRESSION DU BLOC VISUEL
   Aucun reset de layout mobile ajouté.
   ============================================================ */

@media (max-width: 640px) {
  .contentWrapper {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
}


/* ============================================================
   V66 — MOBILE : MASQUER LES ICÔNES DES ARTICLES
   ============================================================ */

@media (max-width: 640px) {
  .articleList li > a::before,
  .articleList li a::before {
    display: none !important;
    content: none !important;
  }

  /* Retire l'espace réservé à l'icône */
  .articleList li > a,
  .articleList li a {
    padding-left: 0 !important;
  }
}

