/* ═══════════════════════════════════════════════════════════════
   FranceConcours — vitrine publique (index.html)
   Composants « fc-home » : nav capsule, hero, cartes, carrousels,
   bento de chiffres, étapes, cartes photo.
   Chargé après fc-landing.css. Chaque règle est scopée par la classe
   .fc-home posée sur le <body> de la vitrine : aucune incidence sur
   app.html ni sur les autres pages.
   ═══════════════════════════════════════════════════════════════ */

.fc-home {
  --fc-home-gutter-min: 24px;
  --fc-home-gutter: max(var(--fc-home-gutter-min), calc((100% - var(--max)) / 2));
  --fc-home-muted-ink: #a2a8ba;
  --fc-home-body: #5b6480;
  --fc-home-card-line: #e6e8ef;
  --fc-home-ease: cubic-bezier(.2, .7, .2, 1);
}

/* `.btn{display:inline-flex}` écrasait l'attribut hidden (Se connecter / Mon espace). */
.fc-home [hidden] { display: none; }

.fc-home :is(a, button):focus-visible {
  outline: 3px solid var(--fc-focus-ring, #9294ff);
  outline-offset: 3px;
}

/* ── Bandeau d'annonce compact ─────────────────────────────── */
.fc-home .announce--oral-focus { padding: 9px 16px; }
.fc-home .announce-inner {
  max-width: var(--max);
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
}
.fc-home .announce-kicker { font-size: .7rem; }
.fc-home .announce-text { max-width: none; font-size: .78rem; }
.fc-home .announce .announce-cta {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin: 0;
  padding: 6px 8px 6px 14px;
  gap: 8px;
  border-radius: 999px;
  font-size: .76rem;
  text-decoration: none;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: none;
}
.fc-home .announce .announce-cta .arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: .72rem;
}
.fc-home .announce .announce-cta:hover { background: rgba(255, 255, 255, .18); }

/* ── Navigation capsule ────────────────────────────────────── */
.fc-home .nav-wrap {
  background: transparent;
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 12px 0 0;
  pointer-events: none;
}
.fc-home .nav-wrap .nav {
  pointer-events: auto;
  width: min(1240px, calc(100% - 32px));
  height: 62px;
  padding: 0 8px 0 20px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(219, 223, 236, .9);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(17, 24, 49, .04);
  transition: box-shadow .3s ease, background .3s ease;
}
.fc-home .nav-wrap.is-scrolled .nav {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 36px rgba(17, 24, 49, .1);
}
.fc-home .nav-wrap .brand { flex: 0 0 auto; max-width: none; }
.fc-home .nav-wrap .brand-logo-img { width: auto; height: 28px; max-width: none; }
.fc-home .nav-links { gap: 2px; font-size: .84rem; }
.fc-home .nav-links a {
  padding: 8px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.fc-home .nav-links a:hover { background: #f1f2f8; color: var(--ink); }
.fc-home .nav-actions { gap: 6px; }
.fc-home .nav-actions .btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: .82rem;
}
.fc-home .nav-actions .btn-light { background: transparent; border-color: transparent; }
.fc-home .nav-actions .btn-light:hover { background: #f1f2f8; }
.fc-home .nav-actions .btn-primary {
  padding: 0 6px 0 18px;
  background: var(--ink);
  box-shadow: none;
}
.fc-home .nav-actions .btn-primary .arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: .8rem;
}
.fc-home .nav-actions .btn-primary:hover { background: #252e55; }

/* L'essai reste accessible depuis le hero, la section « Comprendre avant d'acheter » et l'appel final. */
@media (max-width: 1480px) {
  .fc-home .nav-actions .fc-home-nav-trial { display: none; }
}

/* Sous 1240 px, les sept liens ne tiennent plus dans la capsule : menu déroulant. */
@media (max-width: 1240px) {
  .fc-home .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 48px rgba(17, 24, 49, .14);
  }
  .fc-home .nav-links.open { display: flex; }
  .fc-home .nav-links a { padding: 13px 8px; border-radius: 12px; }
  .fc-home .mobile-toggle { display: flex; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; }
}

@media (max-width: 960px) {
  .fc-home .nav-wrap { padding: 10px 0 0; }
  .fc-home .nav-wrap .nav { height: 58px; padding: 0 6px 0 16px; }
  .fc-home .nav-actions #fc-nav-connect:not([hidden]) {
    display: inline-flex;
    min-height: 44px;
    padding: 0 12px;
    font-size: .8rem;
  }
}

/* ── Typographie de section ────────────────────────────────── */
.fc-home-section { position: relative; padding: 104px 0; }
.fc-home .fc-home-section--flush-top { padding-top: 0; }
.fc-home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 56px;
  margin-bottom: 40px;
}
.fc-home-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.fc-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--indigo);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.fc-home-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.fc-home .fc-home-h2 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.95rem, 3.6vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 760;
  text-wrap: balance;
}
.fc-home-muted { color: var(--fc-home-muted-ink); }
.fc-home-head-aside {
  max-width: 400px;
  margin: 0;
  color: var(--fc-home-body);
  font-size: 1rem;
  line-height: 1.65;
}
.fc-home-head-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── Hero centré ───────────────────────────────────────────── */
.fc-home .hero.fc-home-hero {
  padding: 76px 0 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(85, 86, 217, .09), transparent 72%),
    linear-gradient(180deg, #fbfbf9 0%, var(--paper) 100%);
}
.fc-home .fc-home-hero .fc-wave-grid-veil {
  background: radial-gradient(ellipse 62% 58% at 50% 34%, rgba(251, 251, 249, .97) 0%, rgba(251, 251, 249, .9) 48%, rgba(251, 251, 249, .25) 82%);
}
.fc-home-hero-head {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.fc-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e5ef;
  box-shadow: 0 1px 2px rgba(17, 24, 49, .04);
  color: #48516e;
  font-size: .84rem;
  font-weight: 650;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fc-home-badge:hover { border-color: #cdd1e8; box-shadow: 0 8px 22px rgba(17, 24, 49, .08); }
.fc-home-badge-tag {
  flex: 0 0 auto;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: #f1e3c2;
  font-size: .74rem;
  font-weight: 750;
}
.fc-home-badge-arrow { color: var(--indigo); transition: transform .2s ease; }
.fc-home-badge:hover .fc-home-badge-arrow { transform: translateX(3px); }

.fc-home .fc-home-hero-title {
  max-width: 1040px;
  margin: 26px auto 22px;
  color: var(--ink);
  font-size: clamp(2.3rem, 5.2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.048em;
  font-weight: 780;
  text-wrap: balance;
}
.fc-home-accent { color: var(--indigo); white-space: nowrap; }
.fc-home-hero-lead {
  max-width: 700px;
  margin: 0 auto;
  color: #48516e;
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
  line-height: 1.62;
}
.fc-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 22px;
}
.fc-home .fc-home-btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: .95rem;
}
.fc-home .fc-home-btn.btn-primary { padding: 0 8px 0 24px; gap: 14px; }
.fc-home-btn-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  transition: transform .25s var(--fc-home-ease);
}
.fc-home .fc-home-btn:hover .fc-home-btn-icon { transform: translateX(3px); }
.fc-home .fc-home-btn.btn-light { background: #fff; }

.fc-home-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-home-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid #e4e7f0;
  color: #48516e;
  font-size: .8rem;
  font-weight: 650;
}
.fc-home-chips li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e7f5ed;
  color: #16815e;
  font-size: .7rem;
  font-weight: 900;
}
.fc-home-hero-note {
  max-width: 660px;
  margin: 26px auto 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid #ebe3d1;
  color: #5b6480;
  font-size: .88rem;
  line-height: 1.6;
}
.fc-home-hero-note strong { color: var(--ink); }

/* Scène produit sous le hero : la démo QCM existante, à plat. */
.fc-home .fc-home-hero-stage {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 56px auto 0;
  padding: 0 0 72px;
  text-align: left;
  perspective: none;
}
.fc-home .fc-home-hero-stage::before {
  content: "";
  position: absolute;
  inset: 34px -72px 40px;
  z-index: -1;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .25));
  border: 1px solid rgba(225, 228, 238, .9);
}
.fc-home .fc-home-hero-stage .demo-window {
  transform: none;
  animation: fcHomeRise .9s var(--fc-home-ease) both;
  border-radius: 22px;
}
/* Cartes flottantes posées sur les bords de la fenêtre, jamais sur la question. */
.fc-home .fc-home-hero-stage .float-note { left: -48px; top: -26px; }
.fc-home .fc-home-hero-stage .float-progress { right: -48px; bottom: 38px; }
@keyframes fcHomeRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ── Carrousel ─────────────────────────────────────────────── */
.fc-home-carousel { position: relative; }
.fc-home-carousel-track {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 6px var(--fc-home-gutter) 22px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--fc-home-gutter);
  -webkit-overflow-scrolling: touch;
}
.fc-home-carousel[data-ready] .fc-home-carousel-track { scrollbar-width: none; }
.fc-home-carousel[data-ready] .fc-home-carousel-track::-webkit-scrollbar { display: none; }
.fc-home-carousel-item {
  display: flex;
  flex: 0 0 clamp(262px, 24vw, 312px);
  scroll-snap-align: start;
}
.fc-home-carousel-item--wide { flex-basis: clamp(290px, 34vw, 440px); }
.fc-home-carousel-controls { display: flex; align-items: center; gap: 10px; }
.fc-home-carousel-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #dcdfea;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.fc-home-carousel-btn svg { width: 18px; height: 18px; }
.fc-home-carousel-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.fc-home-carousel-btn:disabled { opacity: .35; cursor: default; }
.fc-home-carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fc-home-carousel-progress {
  position: relative;
  width: min(240px, 46%);
  height: 3px;
  border-radius: 3px;
  background: #e2e5ee;
  overflow: hidden;
}
.fc-home-carousel-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  border-radius: inherit;
  background: var(--ink);
}
.fc-home-carousel-hint { margin: 0; color: #8a92a8; font-size: .78rem; font-weight: 650; }
a.fc-home-carousel-hint { color: var(--indigo); font-weight: 750; }
a.fc-home-carousel-hint:hover { text-decoration: underline; text-underline-offset: 3px; }
.fc-home-carousel:not([data-overflow]) .fc-home-carousel-foot { display: none; }

/* ── Cartes ────────────────────────────────────────────────── */
.fc-home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--fc-home-card-line);
  color: var(--ink);
  transition: transform .35s var(--fc-home-ease), box-shadow .35s ease, border-color .35s ease;
}
a.fc-home-card:hover {
  transform: translateY(-4px);
  border-color: #d3d6e8;
  box-shadow: 0 22px 46px rgba(17, 24, 49, .1);
}
.fc-home-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 20px 18px; }
.fc-home-card-cat {
  margin: 0;
  color: var(--indigo);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.fc-home .fc-home-card-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: -.015em;
  font-weight: 760;
}
.fc-home-card-text { margin: 0; color: #646d87; font-size: .86rem; line-height: 1.6; }
.fc-home-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  color: #6d7590;
  font-size: .8rem;
  font-weight: 700;
}
.fc-home-card-go {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f1f7;
  color: var(--ink);
  transition: background .25s ease, color .25s ease, transform .25s var(--fc-home-ease);
}
.fc-home-card-go svg { width: 15px; height: 15px; }
a.fc-home-card:hover .fc-home-card-go { background: var(--ink); color: #fff; transform: translateX(2px); }

.fc-home-card--navy { background: var(--ink); border-color: var(--ink); color: #fff; }
.fc-home-card--navy .fc-home-card-cat { color: var(--gold); }
.fc-home-card--navy .fc-home-card-text,
.fc-home-card--navy .fc-home-card-foot { color: #b9c0d6; }
.fc-home-card--navy .fc-home-card-go { background: rgba(255, 255, 255, .12); color: #fff; }
a.fc-home-card--navy:hover .fc-home-card-go { background: var(--gold); color: var(--ink); }
.fc-home-card--ivory { background: #f3f1ea; border-color: #e7e2d4; }

/* Visuels de carte (décoratifs, aria-hidden) */
.fc-home-viz {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 16 / 10;
  padding: 22px;
  overflow: hidden;
  background: #f1f2f8;
  border-bottom: 1px solid var(--fc-home-card-line);
}
.fc-home-viz::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 24, 49, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 49, .045) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 75%);
  mask-image: linear-gradient(200deg, #000 10%, transparent 75%);
  pointer-events: none;
}
.fc-home-viz > * { position: relative; }
.fc-home-card--navy .fc-home-viz { background: transparent; border-bottom-color: rgba(255, 255, 255, .1); }
.fc-home-card--navy .fc-home-viz::before {
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
}
.fc-home-viz-big {
  color: var(--gold);
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  font-weight: 790;
  letter-spacing: -.06em;
  line-height: .9;
}
.fc-home-viz-sub { color: #c7cde0; font-size: .82rem; font-weight: 700; }
.fc-home-viz-q { height: 9px; width: 78%; border-radius: 6px; background: #c9cde0; }
.fc-home-viz-q.short { width: 52%; margin-bottom: 6px; }
.fc-home-viz-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e1e4ef;
  color: #59627e;
  font-size: .7rem;
  font-weight: 800;
}
.fc-home-viz-opt::after { content: ""; flex: 1; height: 6px; border-radius: 6px; background: #e6e8f1; }
.fc-home-viz-opt.ok { border-color: #a9dcc6; background: #eefaf4; color: #16815e; }
.fc-home-viz-opt.ok::after { background: #cbeedd; }
.fc-home-viz-years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fc-home-viz-years span {
  padding: 9px 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e1e4ef;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 780;
  text-align: center;
}
.fc-home-viz-years span:last-child { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.fc-home-viz-doc {
  width: 82%;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e1e4ef;
  box-shadow: 0 10px 24px rgba(17, 24, 49, .06);
}
.fc-home-viz-doc b { display: block; margin: 7px 0 5px; color: var(--indigo); font-size: .66rem; letter-spacing: .08em; }
.fc-home-viz-doc i { display: block; height: 6px; margin-top: 5px; border-radius: 6px; background: #e6e8f1; }
.fc-home-viz-doc i.w60 { width: 60%; }
.fc-home-viz-doc i.w80 { width: 80%; }
.fc-home-viz-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 64px; }
.fc-home-viz-wave i { width: 6px; height: 18px; border-radius: 6px; background: var(--indigo); opacity: .85; }
.fc-home-viz-wave i:nth-child(3n + 2) { height: 38px; }
.fc-home-viz-wave i:nth-child(4n + 3) { height: 54px; }
.fc-home-viz-wave i:nth-child(5n + 1) { height: 28px; }
.fc-home-viz-wave i:nth-child(n + 9) { background: var(--gold); }
.fc-home-viz-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fc-home-viz-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e1e4ef;
  color: #4b5472;
  font-size: .7rem;
  font-weight: 750;
}
.fc-home-card--ivory .fc-home-viz { background: #ebe7da; border-bottom-color: #e2dccb; }
.fc-home-viz-dash { display: grid; grid-template-columns: 28px 1fr; gap: 10px; height: 100%; }
.fc-home-viz-dash > i { border-radius: 9px; background: rgba(255, 255, 255, .1); }
.fc-home-viz-dash div { display: grid; gap: 8px; align-content: center; }
.fc-home-viz-dash div i { display: block; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .14); }
.fc-home-viz-dash div i.on { width: 70%; background: var(--gold); }
.fc-home-viz-dash div i.mid { width: 52%; background: #8f90ec; }

/* ── Couvertures éditoriales (culture générale) ────────────── */
.fc-home-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 16 / 10;
  padding: 18px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.fc-home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(200deg, #000 0%, transparent 70%);
}
.fc-home-cover > * { position: relative; }
.fc-home-cover-label {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fc-home-cover-mark {
  align-self: flex-end;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 790;
  letter-spacing: -.055em;
  line-height: .9;
}
.fc-home-cover--indigo { background: #3d3fb0; }
.fc-home-cover--gold { background: #e8dcc0; color: #3b301c; }
.fc-home-cover--gold .fc-home-cover-label { background: rgba(59, 48, 28, .1); }
.fc-home-cover--gold::before,
.fc-home-cover--ivory::before {
  background-image: linear-gradient(rgba(17, 24, 49, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 49, .06) 1px, transparent 1px);
}
.fc-home-cover--ivory { background: #efede6; color: var(--ink); }
.fc-home-cover--ivory .fc-home-cover-label { background: rgba(17, 24, 49, .07); }
.fc-home-cover--sketch { background: #f4f2ec url("/images/fc/home/bercy-sketch.jpg") center / cover no-repeat; color: var(--ink); }
.fc-home-cover--sketch::before { background: linear-gradient(180deg, rgba(244, 242, 236, .1) 30%, rgba(244, 242, 236, .92) 100%); -webkit-mask-image: none; mask-image: none; }
.fc-home-cover--sketch .fc-home-cover-label { background: var(--ink); color: #fff; }

/* ── Bento de chiffres ─────────────────────────────────────── */
.fc-home-figures { background: #fff; border-block: 1px solid var(--line); }
.fc-home-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fc-home-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 230px;
  padding: 28px 28px 26px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--fc-home-card-line);
  color: var(--ink);
}
.fc-home-tile--wide { grid-column: span 2; }
.fc-home-tile--navy { background: var(--ink); border-color: var(--ink); color: #fff; }
.fc-home-tile--indigo { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.fc-home-tile--gold { background: #f4ecdb; border-color: #eadbb9; }
.fc-home-tile-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; }
.fc-home-tile-num strong {
  font-size: clamp(2.7rem, 5vw, 4.1rem);
  font-weight: 770;
  letter-spacing: -.055em;
  line-height: 1;
}
.fc-home-tile-num span { font-size: .74rem; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.fc-home-tile-text { margin: auto 0 0; padding-top: 22px; font-size: .9rem; line-height: 1.55; opacity: .82; }
.fc-home-tile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
  font-size: .88rem;
  line-height: 1.5;
}
.fc-home-tile-list li { position: relative; padding-left: 16px; }
.fc-home-tile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.fc-home-tile--navy .fc-home-tile-list { color: #ccd2e4; }
.fc-home-tile--gold .fc-home-tile-list { grid-template-columns: repeat(3, minmax(0, 1fr)); color: #4e4630; }
.fc-home-tile--gold .fc-home-tile-list li::before { background: var(--ink); }
.fc-home-tile-list strong { color: var(--ink); }

/* ── Cartes institutionnelles (administrations) ─────────────── */
.fc-home-inst-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-home-inst-grid > li { display: flex; min-width: 0; }
.fc-home-inst-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  min-height: 100%;
  padding: 22px 22px 24px;
  border-radius: 20px;
  border: 1px solid #e3e7ef;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 31, 75, 0.06);
  transition: transform .25s var(--fc-home-ease), border-color .25s ease, box-shadow .25s ease;
}
.fc-home-inst-card:hover {
  transform: translateY(-3px);
  border-color: #cfd6e4;
  box-shadow: 0 16px 36px rgba(15, 31, 75, 0.09);
}
.fc-home-inst-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f3f5fa;
  border: 1px solid #e3e7ef;
  color: var(--indigo);
}
.fc-home-inst-mark svg { width: 26px; height: 26px; }
.fc-home-inst-mark--ccc { color: #0f1f4b; background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%); }
.fc-home-inst-mark--dgfip { color: #1d4ed8; }
.fc-home-inst-mark--douanes { color: #0f766e; }
.fc-home-inst-mark--dgccrf { color: #6b4e16; background: #fbf7ef; border-color: rgba(201, 169, 97, 0.35); }
.fc-home-inst-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fc-home-inst-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f5fa;
  border: 1px solid #e3e7ef;
  color: #5c6b86;
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.fc-home-inst-card--lead .fc-home-inst-tag {
  color: #8b6914;
  background: #fbf7ef;
  border-color: rgba(201, 169, 97, 0.4);
}
.fc-home .fc-home-inst-title {
  margin: 0;
  color: #0f1f4b;
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: -.02em;
  font-weight: 760;
}
.fc-home-inst-card--lead .fc-home-inst-title { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.fc-home-inst-text { margin: 0; color: #5c6578; font-size: .86rem; line-height: 1.58; }
.fc-home-inst-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  color: #0f1f4b;
  font-size: .82rem;
  font-weight: 780;
}
.fc-home-inst-more span { color: #8b6914; transition: transform .25s var(--fc-home-ease); }
.fc-home-inst-card:hover .fc-home-inst-more span { transform: translateX(3px); }

/* ── Étapes numérotées (enjeux) ────────────────────────────── */
.fc-home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.fc-home-step { padding-top: 26px; border-top: 1px solid #d9dce7; }
.fc-home-step-no {
  display: block;
  margin-bottom: 22px;
  color: var(--indigo);
  font-size: 2.5rem;
  font-weight: 770;
  letter-spacing: -.045em;
  line-height: 1;
}
.fc-home .fc-home-step h3 { margin: 0 0 8px; font-size: 1.14rem; letter-spacing: -.015em; }
.fc-home-step p { margin: 0; color: #646d87; font-size: .93rem; line-height: 1.65; }

/* ── Préparation : bento + carte oral lumineuse ─────────────── */
.fc-home #preparation .feature-card {
  border-radius: 22px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e6e8ef;
  box-shadow: 0 10px 28px rgba(15, 31, 75, 0.05);
}
.fc-home #preparation .feature-card--oral {
  display: flex;
  flex-direction: column;
  border-color: color-mix(in srgb, var(--indigo) 22%, #e6e8ef);
  box-shadow: 0 12px 32px rgba(15, 31, 75, 0.07);
}
.fc-home #preparation .feature-card--oral::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--indigo), #c9a961);
}
.fc-home #preparation .feature-card--oral h3 { color: #0f1f4b; }
.fc-home #preparation .feature-card--oral p { color: #5c6578; }
.fc-home #preparation .feature-card--oral p strong { color: #0f1f4b; }
.fc-home #preparation .feature-card--oral p a { color: #1d4ed8; font-weight: 700; }
.fc-home #preparation .feature-card--oral .feature-icon.navy {
  background: #eef2ff;
  color: var(--indigo);
  border: 1px solid #d8dcf5;
}
.fc-home #preparation .feature-card--oral .feature-oral-tags span {
  background: #f3f5fa;
  border: 1px solid #e3e7ef;
  color: #4547b8;
}
.fc-home #preparation .feature-card--oral .feature-link { color: #0f1f4b; }
.fc-home #preparation .feature-card--oral .feature-link--secondary { color: #5c6578; }
@media (min-width: 961px) {
  .fc-home #preparation .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .fc-home #preparation .feature-card--oral { grid-column: 3; grid-row: 1 / span 2; }
  .fc-home #preparation .feature-card:nth-child(3) { grid-column: 1 / span 2; min-height: 0; }
}

/* ── Culture générale : tête de section + carrousel ────────── */
.fc-home .kiosk-section .fc-home-head .section-head { margin: 0; max-width: 690px; }

/* ── Appel final + wordmark ────────────────────────────────── */
.fc-home .final-cta.fc-home-final { padding: 104px 0 0; }
.fc-home .fc-home-final h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.04em; text-wrap: balance; }
.fc-home-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fc-home .fc-home-hero-actions .fc-cta-price {
  display: inline;
  margin-left: 0.35em;
  font-size: 0.88em;
  font-weight: 650;
  opacity: 0.92;
}
.fc-home .fc-home-btn .fc-cta-price {
  display: block;
  margin-top: 3px;
  margin-left: 0;
  font-size: 0.78em;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.fc-cta-secondary--nav {
  font-size: 0.78rem;
  padding-inline: 12px;
  white-space: nowrap;
}
.nav-links .fc-cta-secondary {
  display: none;
}
@media (max-width: 980px) {
  .nav-links .fc-cta-secondary {
    display: flex;
    margin-top: 8px;
  }
}
.fc-home .fc-home-final .fc-cta-primary.btn-primary {
  background: #e0b65a;
  color: #1c1408;
  border: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}
.fc-home .fc-home-final .fc-cta-primary.btn-primary:hover {
  background: #efc56e;
}
.fc-home .fc-home-final .btn { min-height: 54px; padding: 0 24px; border-radius: 999px; }
.fc-home .fc-home-final .fc-home-final-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}
.fc-home .fc-home-final .fc-home-final-ghost:hover { background: rgba(255, 255, 255, .08); }
.fc-home .final-cta .fc-home-wordmark {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 72px 0 0;
  color: rgba(255, 255, 255, .06);
  font-size: clamp(3.4rem, 12.6vw, 12.5rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .78;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .fc-home-inst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-home .fc-home-hero-stage::before { inset: 34px -24px 40px; }
  .fc-home .fc-home-hero-stage .float-note { left: -12px; }
  .fc-home .fc-home-hero-stage .float-progress { right: -12px; }
}

@media (max-width: 960px) {
  .fc-home-section { padding: 84px 0; }
  .fc-home-head { flex-direction: column; align-items: flex-start; }
  .fc-home-head--center { align-items: center; }
  .fc-home-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-home-tile--wide { grid-column: 1 / -1; }
  .fc-home-steps { gap: 24px; }
  .fc-home .final-cta.fc-home-final { padding-top: 84px; }
}

@media (max-width: 800px) {
  .fc-home { --fc-home-gutter-min: 17px; }
  .fc-home .hero.fc-home-hero { padding-top: 52px; }
  .fc-home .fc-home-hero-stage { margin-top: 40px; padding-bottom: 52px; }
  .fc-home .fc-home-hero-stage::before { display: none; }
  .fc-home .fc-home-hero-stage .float-card { display: none; }
  .fc-home-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fc-home-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 22px 0; }
  .fc-home-step-no { margin: 0; font-size: 1.9rem; }
  /* Cartes institutionnelles : défilement horizontal natif sur petit écran. */
  .fc-home-inst-grid {
    display: flex;
    gap: 14px;
    margin-inline: calc(-1 * var(--fc-home-gutter-min));
    padding: 4px var(--fc-home-gutter-min) 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--fc-home-gutter-min);
    overscroll-behavior-x: contain;
  }
  .fc-home-inst-grid > li { flex: 0 0 min(82%, 300px); scroll-snap-align: start; }
}

@media (max-width: 640px) {
  .fc-home-bento { grid-template-columns: minmax(0, 1fr); }
  .fc-home-tile { min-height: 0; padding: 24px 22px; }
  .fc-home-tile-list,
  .fc-home-tile--gold .fc-home-tile-list { grid-template-columns: minmax(0, 1fr); }
  .fc-home-carousel-item { flex-basis: min(80%, 300px); }
  .fc-home-carousel-item--wide { flex-basis: min(86%, 340px); }
  .fc-home-carousel-btn { width: 44px; height: 44px; }
}

@media (max-width: 520px) {
  .fc-home { --fc-home-gutter-min: 15px; }
  .fc-home-section { padding: 68px 0; }
  .fc-home .announce-text { font-size: .74rem; }
  .fc-home .announce .announce-cta { width: auto; }
  .fc-home .fc-home-hero-title { margin: 22px auto 18px; }
  .fc-home-badge { padding: 9px 16px; font-size: .8rem; }
  .fc-home-badge-tag { display: none; }
  .fc-home-hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .fc-home .fc-home-btn { width: 100%; justify-content: center; }
  .fc-home .fc-home-btn.btn-primary { justify-content: space-between; }
  .fc-home-hero-note { text-align: left; }
  .fc-home .fc-home-final .btn { width: 100%; }
  .fc-home .final-cta .fc-home-wordmark { margin-top: 56px; }
}

@media (max-width: 380px) {
  .fc-home .nav-wrap .nav { width: calc(100% - 20px); padding: 0 4px 0 12px; }
  .fc-home .nav-wrap .brand-logo-img { height: 20px; }
  .fc-home .nav-actions { gap: 6px; }
  .fc-home .nav-actions #fc-nav-connect:not([hidden]) { padding: 8px 10px; font-size: .74rem; }
  .fc-home .mobile-toggle { width: 40px; height: 40px; }
  .fc-home-badge { padding: 8px 12px; font-size: .74rem; }
}

.fc-home-figures-in-prep { margin-top: clamp(32px, 4vw, 48px); }
.fc-try-before--compact {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-sub, #4b5563);
}
.fc-try-before--compact li { margin-bottom: 8px; padding-left: 1em; position: relative; }
.fc-try-before--compact li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold, #c9a961);
  font-weight: 700;
}
.engagement-pillars--compact { margin: 0 0 28px; }

@media (prefers-reduced-motion: reduce) {
  .fc-home .fc-home-hero-stage .demo-window { animation: none; }
  .fc-home-card,
  .fc-home-card-go,
  .fc-home-inst-card,
  .fc-home-badge-arrow,
  .fc-home-btn-icon { transition: none; }
  a.fc-home-card:hover,
  .fc-home-inst-card:hover { transform: none; }
}
