/* ======================================================================
   ANNOTATED  -  TABLE OF CONTENTS of faq.css
   Each block below starts with a banner like "[S03] TITLE". Search the tag (Ctrl/Cmd+F)
   to jump to it. The same tag is written in the .html page, in front of the section.
   Rules are NEVER moved: the order in this file matters (a later rule wins).

     [S01]     UNE QUESTION ? ON A LA RÉPONSE.
     [S02]     Toutes les questions
   Phone and tablet adaptations: look for the "RESPONSIVE" notes after the rules.
   ====================================================================== */

/* ==========================================================================
   faq.css  -  "FAQ" PAGE
   Search, categories, questions.
   ========================================================================== */

.oxp button { font: inherit; }

/* ======================================================================
   [S01]  UNE QUESTION ? ON A LA RÉPONSE.
   (same tag in the page: search [S01] in the .html file)
   ====================================================================== */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.f-hero {
  position: relative;
  margin-top: -76px;
  padding-top: 76px;
  background: radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%), linear-gradient(180deg, var(--navy), var(--navy));
  overflow: hidden;
}
.f-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.f-hero .wrap {
  padding-top: 72px;
  padding-bottom: 72px;
}
.f-sur {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  margin-bottom: 20px;
  animation: rise .7s both;
}
.f-sur::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}
.f-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 120px;
  line-height: .86;
  letter-spacing: -.01em;
  max-width: 14ch;
  margin-bottom: 22px;
  animation: rise .9s .1s cubic-bezier(.2,.8,.2,1) both;
}
.f-h1 em {
  color: transparent;
  -webkit-text-stroke: 3px var(--accent);
}
.f-hero .lead {
  color: rgba(255,255,255,.92);
  max-width: 56ch;
  margin-bottom: 36px;
  animation: rise .9s .2s both;
}
.sb {
  --cut: 18px;
  position: relative;
  padding: 2px;
  max-width: 880px;
  background: rgba(255,255,255,.3);
  transition: background .3s, box-shadow .3s;
  animation: rise .9s .3s both;
}
.sb:focus-within { background: linear-gradient(110deg, var(--accent), #fff, var(--accent)); }
.sb-in {
  --cut: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px 0 22px;
  height: 76px;
  background: var(--navy);
}
.sb-in svg {
  flex: none;
  color: var(--accent);
}
.sb input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ice);
  font-family: 'Barlow', sans-serif;
  font-size: 22px;
}
.sb input::placeholder { color: rgba(255,255,255,.62); }
.sb input::-webkit-search-cancel-button { display: none; }
.sb .clr {
  flex: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--ice);
  cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
  transition: background .2s, color .2s;
}
.sb .clr:hover {
  background: var(--accent);
  color: var(--navy);
}
.sb-meta {
  margin-top: 16px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12px;
}
.sb-meta span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  margin-right: 8px;
}

/* ======================================================================
   [S02]  Toutes les questions
   (same tag in the page: search [S02] in the .html file)
   ====================================================================== */
.help {
  background: var(--navy);
  padding: 72px 0 112px;
  position: relative;
}
.help-g {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.cats {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cats-t {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.cat {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px 10px 12px;
  background: transparent;
  border: 0;
  color: var(--ice);
  cursor: pointer;
  border-left: 3px solid rgba(255,255,255,.14);
  transition: background .2s, border-color .2s, color .2s;
}
.cat:hover {
  background: rgba(255,255,255,.05);
  border-color: var(--accent);
}
.cat.on {
  background: var(--panel);
  border-color: var(--accent);
}
.cat .n {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--accent);
}
.cat .l {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1.05;
}
.cat .c {
  min-width: 30px;
  text-align: center;
  padding: 3px 8px;
  background: rgba(255,255,255,.1);
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
}
.cat.on .c {
  background: var(--accent);
  color: var(--navy);
}
.cat.zero { opacity: .45; }
.panel-h {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 4px;
}
.panel-h h2 {
  font-size: 46px;
  line-height: .95;
}
.panel-h .res {
  color: var(--muted);
  font-size: 13px;
}
.fl-list {
  display: flex;
  flex-direction: column;
}
.fi { border-bottom: 1px solid rgba(255,255,255,.16); }
.fq {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  gap: 14px;
  align-items: center;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--ice);
  padding: 20px 4px;
  min-height: 68px;
  cursor: pointer;
}
.fq .qn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--accent);
}
.fq .qt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.fq .qc {
  color: var(--accent);
  font-size: 11px;
  font-weight: 400;
}
.fq mark {
  background: var(--cta);
  color: var(--navy);
  padding: 0 2px;
}
.fq mark:empty { display: none; }
.fq:hover .qt { color: var(--accent); }
.pm {
  width: 36px;
  height: 36px;
  position: relative;
  box-shadow: inset 0 0 0 2px var(--accent);
  transition: background .25s;
}
.pm::before, .pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  background: var(--ice);
  transition: transform .3s;
}
.pm::after { transform: rotate(90deg); }
.fi.open .pm { background: var(--accent); }
.fi.open .pm::before, .fi.open .pm::after { background: var(--navy); }
.fi.open .pm::after { transform: rotate(0); }
.ab {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.fi.open .ab { grid-template-rows: 1fr; }
.ab > div {
  overflow: hidden;
  min-height: 0;
  padding: 0 4px 0 62px;
}
.ab p {
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 64ch;
}
.ab p.li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.ab p.li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.ab p strong { color: var(--ice); }
.ab strong:empty { display: none; }
.ab a.alk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 22px 8px 0;
  color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 20px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.ab a.alk:hover {
  color: #fff;
  border-color: #fff;
}
.ab a.alk.li {
  display: flex;
  width: fit-content;
  text-transform: none;
  font-style: normal;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 18px;
  border-bottom: 1px solid var(--accent);
}
.ab > div > :last-child { margin-bottom: 26px; }
.empty {
  padding: 56px 8px;
  max-width: 56ch;
}
.empty h3 {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
}
.empty p {
  color: rgba(255,255,255,.88);
  margin-bottom: 20px;
}
.empty .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.f-fin {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
  background: radial-gradient(ellipse at 85% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), radial-gradient(ellipse at 10% 0%, rgba(0,164,255,.35), transparent 55%), linear-gradient(180deg, var(--navy), var(--navy));
}
.f-fin .wrap {
  padding-top: 100px;
  padding-bottom: 100px;
}
.f-fin .eyebrow { color: var(--cta); }
.f-fin .fin-t {
  font-size: 130px;
  line-height: .86;
  letter-spacing: -.01em;
  margin: 6px 0 24px;
  max-width: 12ch;
}
.f-fin .fin-t em { color: var(--accent); }
.f-fin p.lead {
  color: rgba(255,255,255,.92);
  margin-bottom: 12px;
}
.f-fin .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.f-fin .ring {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 640px;
  height: 640px;
  margin-top: -320px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 70px, rgba(255,255,255,.1) 70px 71px);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
}

/* --- RESPONSIVE: on tablets and small screens (screen width up to 1100px). Same selectors as above, adapted. --- */
@media (max-width: 1100px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .f-h1 { font-size: 92px; }
  .help-g {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cats {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .cats-t { display: none; }
  .cat {
    flex: none;
    width: auto;
    min-height: 48px;
    grid-template-columns: auto auto auto;
    border-left: 0;
    border-bottom: 3px solid rgba(255,255,255,.14);
    padding: 8px 12px;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .cat .l { font-size: 17px; }
  .f-fin .fin-t { font-size: 96px; }
}

/* --- RESPONSIVE: on phones (screen width up to 760px). Same selectors as above, adapted. --- */
@media (max-width: 760px) {
  .oxp { font-size: 17px; }
  .lead { font-size: 18px; }
  .f-hero .wrap {
    padding-top: 40px;
    padding-bottom: 44px;
  }
  .f-h1 { font-size: 54px; }
  .f-h1 em { -webkit-text-stroke-width: 2px; }
  .sb-in {
    height: 64px;
    padding-left: 16px;
    gap: 10px;
  }
  .sb input { font-size: 18px; }
  .help { padding: 40px 0 80px; }
  .panel-h h2 { font-size: 34px; }
  .fq {
    grid-template-columns: 34px minmax(0, 1fr) 36px;
    gap: 8px;
    padding: 16px 0;
  }
  .fq .qt { font-size: 18px; }
  .ab > div { padding-left: 0; }
  .ab p { font-size: 17px; }
  .f-fin { min-height: 0; }
  .f-fin .fin-t { font-size: 54px; }
  .f-fin .acts .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- RESPONSIVE: on tablets and small screens (screen width up to 1100px). Same selectors as above, adapted. --- */
@media (max-width: 1100px) {
  .final-t { font-size: 112px; }
}

/* --- RESPONSIVE: on phones (screen width up to 760px). Same selectors as above, adapted. --- */
@media (max-width: 760px) {
  .final { min-height: 720px; }
  .final-t { font-size: 70px; }
  .valid { display: none; }
}

