/* ===================================================
   KOMPTO — Custom Styles
   =================================================== */

/* ----- Jost Self-Hosted Font ----- */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/jost-300.ttf') format('truetype'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jost-400.ttf') format('truetype'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jost-500.ttf') format('truetype'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jost-600.ttf') format('truetype'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/jost-700.ttf') format('truetype'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/jost-800.ttf') format('truetype'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/jost-900.ttf') format('truetype'); }

/* ----- Variables ----- */
:root {
  --k-dark:     #1a1a1a;
  --k-navy:     #1a1a2e;
  --k-orange:   #c4602c;
  --k-orange2:  #e8833a;
  /* Orange des liens dans le texte courant. L'orange de marque ne donne que
     4,15:1 sur blanc et 3,97:1 sur la bande grise — sous le seuil WCAG AA
     pour du texte de taille normale. Cette nuance, à peine plus sombre,
     donne 4,96:1 sur blanc et 4,74:1 sur gris. À réserver au texte : les
     aplats et les pastilles continuent d'utiliser --k-orange. */
  --k-orange-lien: #b35520;
  --k-muted:    #6b7280;
  --k-border:   #e5e7eb;
  --k-gray-bg:  #f9fafb;
}

/* ----- Liens dans le texte courant -----
   Bootstrap laissait son bleu par défaut (#0d6efd) à tous les liens de
   paragraphe, alors que /GuideFNE et /KomptoApi les passaient déjà en orange :
   le site était incohérent. :where() garde cette règle à une spécificité
   minimale, pour que chaque composant puisse la redéfinir sans lutte.
   a:not([class]) ne vise que les liens de prose : les boutons, les cartes
   .k-next / .k-logiciel / .k-etape et les badges portent tous une classe. */
:where(p, li, dd, figcaption) a:not([class]) {
  color: var(--k-orange-lien);
}

:where(p, li, dd, figcaption) a:not([class]):hover {
  color: var(--k-orange);
}

/* ----- Base ----- */
body {
  font-family: 'Jost', sans-serif !important;
  background: #fff;
  color: var(--k-dark);
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.fw-bold, .fw-bolder {
  font-family: 'Jost', sans-serif !important;
  letter-spacing: -0.02em;
  font-weight: 600 !important;
}

hr {
  display: none !important;
}

/* ----- NAVBAR ----- */
.navbar .container-fluid {
  padding-left: 5% !important;
  padding-right: 5% !important;
}

.navbar {
  background-color: var(--k-navy) !important;
  padding: 1rem 0 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  position: sticky !important;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  filter: brightness(0) invert(1);
  width: 72px !important;
}

.nav-link {
  color: #fff !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover:not(.btn),
.nav-link.active:not(.btn) {
  color: var(--k-orange2) !important;
}

/* Se connecter button — orange gradient (user wants to keep this) */
.navbar .btn-dark,
.nav-link.btn.btn-dark {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 25px !important;
  padding: 0.45rem 1.4rem !important;
  font-weight: 600 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.navbar .btn-dark:hover,
.nav-link.btn.btn-dark:hover {
  background: linear-gradient(135deg, var(--k-orange2) 0%, #f5a462 100%) !important;
  box-shadow: 0 4px 14px rgba(196, 96, 44, 0.4);
  transform: translateY(-1px);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  filter: invert(1);
}

/* ----- DROPDOWNS ----- */
.navbar .dropdown-menu {
  background-color: var(--k-navy) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0 !important;
  margin-top: 0.3rem !important;
  --bs-dropdown-link-active-bg: rgba(255,255,255,0.08);
  --bs-dropdown-link-active-color: var(--k-orange2);
  --bs-dropdown-dark-link-active-bg: rgba(255,255,255,0.08);
  --bs-dropdown-dark-link-active-color: var(--k-orange2);
}

.navbar .dropdown-item {
  color: #fff !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 1.2rem !important;
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background-color: rgba(255,255,255,0.08) !important;
  color: var(--k-orange2) !important;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background-color: rgba(255,255,255,0.08) !important;
  color: var(--k-orange2) !important;
}

.navbar .dropdown-toggle::after {
  margin-left: 0.4em;
}

/* ----- HERO — white bg, dark text, orange accent ----- */
#hero h1 {
  font-weight: 600 !important;
}

#hero {
  background: #fff !important;
  padding: 80px 5% 40px !important;
  min-height: 80vh;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--k-border);
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/background sito.svg') no-repeat right top / auto 100%;
  pointer-events: none;
  z-index: 0;
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero > div:first-child {
  margin-top: -30px;
}

#hero > div:last-child {
  margin-top: 15px;
}

#hero h1 {
  color: var(--k-dark) !important;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  font-weight: 600 !important;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
  font-family: 'Jost', sans-serif !important;
}

/* orange accent on last word of hero title */
#hero h1 em {
  color: var(--k-orange);
  font-style: normal;
}

#hero p.fs-4 {
  color: var(--k-muted) !important;
  font-weight: 400 !important;
  font-size: 1.05rem !important;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-family: 'Jost', sans-serif !important;
}

#hero table {
  background: transparent;
  padding: 0;
  border: none;
}

#hero table h4 {
  color: var(--k-dark) !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0;
  white-space: nowrap;
}

#hero-preview {
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.1) translateY(-60px);
  transform-origin: top center;
}

/* ----- CTA BUTTONS ----- */
.btn-orange {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 0.6rem 1.6rem !important;
  font-weight: 600 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-orange:hover {
  background: linear-gradient(135deg, var(--k-orange2) 0%, #f5a462 100%) !important;
  box-shadow: 0 4px 14px rgba(196, 96, 44, 0.35);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ----- FEATURES SECTION — light gray bg ----- */
/* Le bas était à 0 : sur l'accueil, les cartes portaient leur propre « mb-5 ».
   Ici la grille n'en a pas, et la bande grise s'arrêtait net sous la dernière
   rangée. Padding symétrique, piloté par .k-band. */
#advantages {
  background: var(--k-gray-bg) !important;
  scroll-margin-top: 100px;
}

#advantages .card.border-0.h-100 {
  background: #fff !important;
  border: 1px solid var(--k-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  padding: 1.4rem 1.4rem !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

#advantages .card-body {
  padding: 0.8rem 0.5rem 0.5rem !important;
}

#advantages .card.border-0.h-100:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(20, 25, 80, 0.18) !important;
}

@media (hover: none) {
  #advantages .card.border-0.h-100:hover {
    transform: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  }
}

.feature {
  width: 52px !important;
  height: 52px !important;
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%) !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1.2rem !important;
  margin-top: 0 !important;
  box-shadow: none !important;
}

.feature img {
  filter: brightness(0) invert(1);
  width: 24px !important;
}

#advantages h2.fs-4.fw-bold {
  color: var(--k-dark) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
  font-family: 'Jost', sans-serif !important;
}

#advantages p.mb-0 {
  color: var(--k-muted) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ----- PARTNER CARD ----- */
.partner-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 1.4rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  text-decoration: none;
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(20, 25, 80, 0.18) !important;
}

/* ----- "RÉPOND AUX BESOINS" ----- */
#ivoiriens {
  background: #fff !important;
  padding: 3rem 5% !important;
}

#ivoiriens h2.display-5 {
  color: var(--k-dark) !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

#ivoiriens p.fs-4 {
  color: var(--k-muted) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.8;
}

#ivoiriens .img-fluid {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* ----- PRICING ----- */
#offers {
  background: linear-gradient(160deg, #1a1a2e 0%, #2d1a10 100%) !important;
  padding: 45px 0 !important;
  scroll-margin-top: 102px;
}

#offers h2.display-5:first-of-type {
  color: var(--k-orange2) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

#offers h2.display-5:last-of-type {
  color: #fff !important;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  font-weight: 600 !important;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

#offers p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0 !important;
}

/* ----- SUB-PAGE HEADERS (agrement, partenaire, blog articles, guide) ----- */
.blog-page h1.display-5 { margin-bottom: 2rem !important; }

header:not(#hero) h1.display-5,
.container-fluid.offset-lg-2 h1.display-5,
.blog-page h1.display-5 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  line-height: 1.1 !important;
  color: var(--k-dark) !important;
}

/* ----- DÉMARREZ section — light gray ----- */
#demarrer {
  background: var(--k-gray-bg) !important;
  padding: 45px 0 !important;
}

/* h1 ET h2 : le markup utilise <h2>, l'ancienne règle ne ciblait que <h1>
   et ne s'appliquait donc plus. Taille alignée sur le titre du hero. */
#demarrer h1.display-5,
#demarrer h2.display-5 {
  color: var(--k-dark) !important;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

#demarrer p {
  color: var(--k-muted) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem;
  line-height: 1.7;
}

#demarrer .form-control {
  border: 1px solid var(--k-border) !important;
  background-color: #fff !important;
  color: var(--k-dark) !important;
  margin-bottom: 0.375rem !important;
}

#demarrer textarea.form-control {
  min-height: calc(3 * 2.4rem) !important;
  resize: vertical;
}

#demarrer .form-control:focus {
  background-color: #fff !important;
  color: var(--k-dark) !important;
  border-color: var(--k-orange2) !important;
  box-shadow: 0 0 0 3px rgba(196, 96, 44, 0.25) !important;
  outline: none;
}

#demarrer .form-control::placeholder {
  color: var(--k-muted) !important;
}

#demarrer .btn-dark {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%) !important;
  border: none !important;
  padding: 0.75rem 2.2rem !important;
  font-size: 0.9rem;
  border-radius: 25px !important;
  margin-top: 0.3rem;
  font-weight: 600 !important;
  color: #fff !important;
  transition: all 0.25s ease;
}

#demarrer .btn-dark:hover {
  background: linear-gradient(135deg, var(--k-orange2) 0%, #f5a462 100%) !important;
  box-shadow: 0 4px 14px rgba(196, 96, 44, 0.4);
  transform: translateY(-1px);
}

/* Champs obligatoires non renseignés — signalement discret */
#demarrer .form-control.is-invalid-k {
  border-color: #d98b8b !important;
  background-color: #fdf6f6 !important;
}

#demarrer .form-control.is-invalid-k::placeholder {
  color: #b3524a !important;
  opacity: 1;
}

#demarrer .form-control.is-invalid-k:focus {
  border-color: #c9706a !important;
  box-shadow: 0 0 0 3px rgba(192, 87, 80, 0.18) !important;
}

/* Message de retour après envoi — sous le bouton */
#demarrer #response_message {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--k-muted);
}

/* ----- CONTACT — light ----- */
#contacts {
  background: #fff !important;
  padding: 45px 0 !important;
  scroll-margin-top: 112px;
  border-top: 1px solid var(--k-border);
  border-bottom: 1px solid var(--k-border);
}

/* Idem : le markup utilise <h2>. Taille alignée sur le titre du hero. */
#contacts h1.display-5,
#contacts h2.display-5 {
  color: var(--k-dark) !important;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

#contacts h4 {
  color: var(--k-dark) !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 600;
  font-size: 1.3rem !important;
  margin-bottom: 1rem !important;
}

#contacts p {
  color: var(--k-muted) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem;
  line-height: 1.7;
}

#contacts p b {
  color: var(--k-dark);
  font-weight: 600;
  font-size: 1.3rem;
}

#contacts .form-control {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  margin-bottom: 0.85rem;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contacts .form-control:focus {
  border-color: var(--k-orange2) !important;
  box-shadow: 0 0 0 3px rgba(232, 131, 58, 0.2) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  outline: none;
  color: #fff !important;
}

#contacts .form-control::placeholder {
  /* 0.35 ne donnait que 3,2:1 sur le navy — illisible. 0.52 = 4,6:1. */
  color: rgba(255, 255, 255, 0.52) !important;
}

#contacts .btn-dark {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%) !important;
  border: none !important;
  padding: 0.75rem 2.2rem !important;
  font-size: 0.9rem;
  border-radius: 25px !important;
  margin-top: 0.3rem;
  font-weight: 600 !important;
  color: #fff !important;
  transition: all 0.25s ease;
}

#contacts .btn-dark:hover {
  background: linear-gradient(135deg, var(--k-orange2) 0%, #f5a462 100%) !important;
  box-shadow: 0 4px 14px rgba(196, 96, 44, 0.4);
  transform: translateY(-1px);
}

/* ----- FOOTER ----- */
footer.py-5 {
  background: var(--k-navy) !important;
  padding: 2rem 0 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Opacité 0.35 = 3,2:1 sur le navy, sous le seuil WCAG AA. 0.58 = 6,5:1,
   et le texte reste visuellement secondaire. Ne pas rebaisser. */
footer p {
  color: rgba(255, 255, 255, 0.58) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.footer_ul a {
  color: rgba(255,255,255,0.58) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.82rem;
}

.footer_ul a:hover {
  color: var(--k-orange2) !important;
}

/* ----- BLOG ----- */
.blog-page {
  padding: 60px 0 80px;
}

@media (max-width: 767.98px) {
  .blog-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .blog-page .post-preview {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.post-preview {
  padding: 0.5rem 0;
}

.post-preview > a {
  text-decoration: none;
  color: var(--k-dark) !important;
  font-family: 'Jost', sans-serif !important;
}

.post-preview > a:hover,
.post-preview > a:focus {
  color: var(--k-orange) !important;
  text-decoration: none;
}

.post-preview > a > .post-title {
  font-family: 'Jost', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.2rem !important;
  margin-top: 0 !important;
  margin-bottom: 0.4rem;
  color: var(--k-dark) !important;
  letter-spacing: -0.01em;
}

.post-preview > .post-meta {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--k-muted) !important;
  line-height: 1.6;
  margin-top: 0.3rem;
}

.blog-page hr.my-4 {
  display: block !important;
  border-color: var(--k-border) !important;
  opacity: 1;
  margin: 1.5rem 0 !important;
}

.blog-page .row {
  align-items: flex-start !important;
}

.blog-img-wrap {
  overflow: hidden;
}

.blog-page .row > .col-md-3 img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ----- GUIDE FNE & SUB-PAGE ARTICLE HEADERS ----- */
.guide-page {
  padding: 0 0 80px;
}

.guide-page .img-fluid {
  border-radius: 12px;
  margin-bottom: 0.6rem;
}

.guide-page h1.display-5 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  line-height: 1.1 !important;
  color: var(--k-dark) !important;
}

.guide-page p {
  color: var(--k-dark);
  font-family: 'Jost', sans-serif !important;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.guide-page p:has(> b) {
  margin-top: 2rem;
  margin-bottom: 0.4rem;
}

.guide-page p b,
.guide-page li,
.guide-page ol,
.guide-page ul {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.95rem;
  line-height: 1.8;
}

.guide-page a:not(.btn) {
  color: var(--k-orange-lien) !important;
}

.guide-page a:not(.btn):hover {
  color: var(--k-orange2) !important;
}

.guide-page .btn-orange,
.guide-page a.btn-orange {
  color: #fff !important;
}

/* Accordion styling */
.accordion-button {
  font-family: 'Jost', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: var(--k-dark) !important;
  background: #fff !important;
}

.accordion-button:not(.collapsed) {
  color: var(--k-orange) !important;
  background: var(--k-gray-bg) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(232,131,58,0.15) !important;
}

.accordion-body {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--k-dark);
}

.accordion-item {
  border-color: var(--k-border) !important;
}

/* ----- LEGAL PAGES (CGU, Accessibilité, etc.) ----- */
.legal-page,
.container-fluid.offset-lg-2.col-lg-7.col-sm-12 {
  padding-top: 60px;
  padding-bottom: 80px;
}

.legal-page h1,
.container-fluid.offset-lg-2.col-lg-7.col-sm-12 h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
  color: var(--k-dark) !important;
  margin-bottom: 1.5rem;
  font-family: 'Jost', sans-serif !important;
  font-weight: 600 !important;
}

.legal-page h2, .legal-page h3,
.container-fluid.offset-lg-2.col-lg-7.col-sm-12 h2,
.container-fluid.offset-lg-2.col-lg-7.col-sm-12 h3 {
  color: var(--k-dark) !important;
  font-weight: 600 !important;
  font-family: 'Jost', sans-serif !important;
}

.legal-page p, .legal-page li,
.container-fluid.offset-lg-2.col-lg-7.col-sm-12 p,
.container-fluid.offset-lg-2.col-lg-7.col-sm-12 li {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.95rem;
  color: var(--k-dark);
  line-height: 1.8;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 991px) {
  /* Hide desktop wavy SVG, use mobile one behind image only */
  #hero::after {
    display: none;
  }

  .hero-img-col {
    position: relative;
  }

  .hero-img-col::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: url('../assets/background_2.svg') no-repeat center center / 100% 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero-img-col > * {
    position: relative;
    z-index: 1;
  }

  #hero {
    padding: 60px 1.5rem 50px !important;
    min-height: auto;
  }

  #ivoiriens {
    padding: 3rem 1.5rem !important;
  }

  .navbar-collapse {
    background: var(--k-navy);
    padding: 1rem 1.5rem;
    border-radius: 0 0 12px 12px;
    margin-top: 0.5rem;
  }

  /* Fix agrement/partenaire sub-pages: remove offset on non-desktop */
  header:not(#hero) .offset-2 {
    margin-left: 0 !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 1.5rem !important;
  }
}

@media (max-width: 576px) {
  /* Hero: show app screenshot above title */
  #hero > div:first-child { order: 2; margin-top: 2.5rem; }
  #hero > div:last-child  { order: 1; }

  #hero {
    padding: 30px 1.2rem 30px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #hero h1 {
    font-size: 1.75rem !important;
    text-align: center;
  }

  #hero p.fs-4 {
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  /* Reset hero image transform on mobile */
  #hero-preview {
    transform: none !important;
    margin-top: 0;
  }

  /* Badge row: centered, button fit-content */
  #hero table { display: block; }

  #hero table tbody,
  #hero table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  #hero table td:first-child img {
    width: 52px !important;
  }

  #hero table td:last-child {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
  }

  #hero table td:last-child a {
    display: inline-block;
    width: auto !important;
  }

  /* Advantages: reduce gap between cards */
  #advantages .col-lg-4 {
    margin-bottom: 1.2rem !important;
  }

  /* Section padding */
  #advantages {
    padding: 50px 0 20px !important;
  }

  /* #ivoiriens: show text first, image after */
  #ivoiriens > div:first-child { order: 2; }
  #ivoiriens > div:last-child  { order: 1; }

  #ivoiriens {
    padding: 3rem 1.2rem !important;
  }

  /* Last 3 sections: add horizontal breathing room */
  #offers {
    padding: 50px 1.2rem !important;
  }

  #contacts {
    padding: 40px 1.2rem !important;
  }

  #demarrer {
    padding: 40px 1.2rem !important;
  }

  /* Form fields: add horizontal padding */
  #demarrer .offset-lg-4 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Section headings */
  #ivoiriens h2.display-5,
  #offers h2.display-5:last-of-type {
    font-size: 1.6rem !important;
  }

  /* Ivoiriens: add space between image and text below */
  #ivoiriens .row > div:last-child {
    margin-top: 1.5rem;
  }

  /* Anchor scroll offset — mobile collapsed navbar height ~111px */
  #advantages { scroll-margin-top: 115px; }
  #offers     { scroll-margin-top: 115px; }
  #contacts   { scroll-margin-top: 115px; }
}

/* ----- Accents orange sur les listes (pages Services entreprise) ----- */
.k-list-orange > li::marker {
  color: var(--k-orange);
}

.k-orange-label {
  color: var(--k-orange);
}

/* ================================================================
   PARCOURS DE CONFORMITÉ — pages Services entreprise
   ================================================================ */

/* ----- (b) Bandes de fond alternées ----- */
.k-band {
  padding: 2.75rem 0;
}

.k-band-gray {
  background: var(--k-gray-bg) !important;
}

.k-band-hero {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.k-band h2.fs-4 {
  margin-bottom: 1rem;
}

/* ----- (a) Icône de service : SVG blanc dans la tuile orange ----- */
.feature svg {
  width: 26px !important;
  height: 26px !important;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.k-svc-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

/* La tuile générique fait 52px, mais le tracé du SVG ne remplit que 18 des
   24 unités de son viewBox : l'encre ne couvrait donc que 38 % de la tuile,
   contre 50 % pour les icônes des cartes de /DecouvrirKompto, et le carré
   orange paraissait trop grand autour du dessin. On reprend la géométrie de
   ces cartes — 40px, rayon 10px — sans toucher à la taille du tracé. */
.k-svc-head .feature {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  margin-bottom: 0 !important;
  flex: 0 0 auto;
}

.k-svc-head h1 {
  margin-bottom: 0;
}

/* ----- (d) Barre de parcours — étape N sur 4 ----- */
.k-parcours {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 1.6rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.76rem;
}

.k-parcours a,
.k-parcours span.k-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--k-border);
  color: var(--k-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.k-parcours a:hover {
  border-color: var(--k-orange2);
  color: var(--k-orange);
}

/* Specificité volontairement portée à trois classes : la règle générique
   « .k-parcours span.k-step » vaut (0,2,1) et écraserait sinon le fond. */
.k-parcours .k-step.k-step-current {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%);
  border-color: transparent;
  color: #fff !important;
  font-weight: 600;
}

.k-parcours .k-step-num {
  font-weight: 700;
  opacity: 0.75;
}

.k-parcours .k-step.k-step-current .k-step-num {
  opacity: 1;
}

/* ----- (c) Badge délai mis en avant ----- */
.k-delai {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--k-border);
  border-left: 4px solid var(--k-orange);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.k-band-gray .k-delai {
  background: #fff;
}

.k-delai-chiffre {
  font-family: 'Jost', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--k-orange);
  line-height: 1.1;
  white-space: nowrap;
}

.k-delai-texte {
  font-size: 0.9rem;
  color: var(--k-muted);
  line-height: 1.5;
}

.k-delai-texte b {
  color: var(--k-dark);
  font-weight: 600;
}

/* ----- (e) Cartes formules ----- */
.k-formule {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.25s ease;
  position: relative;
}

.k-formule:hover {
  border-color: var(--k-orange2);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.07);
  transform: translateY(-2px);
}

.k-formule-nom {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--k-orange);
  margin-bottom: 0.6rem;
}

.k-formule p {
  font-size: 0.92rem;
  color: var(--k-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.k-formule-accent {
  border-color: var(--k-orange2);
  background: linear-gradient(180deg, #fffaf6 0%, #fff 60%);
}

/* ----- (f) Blocs documents avec puces cochées ----- */
.k-doc {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}

.k-doc-titre {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--k-orange);
  margin-bottom: 0.8rem;
}

.k-doc ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.k-doc li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--k-dark);
}

.k-doc li:last-child {
  margin-bottom: 0;
}

.k-doc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--k-orange);
  border-bottom: 2px solid var(--k-orange);
  transform: rotate(-45deg);
}

.k-doc li b {
  color: var(--k-dark);
  font-weight: 600;
}

/* ----- (d) Étape suivante ----- */
.k-next {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--k-border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  max-width: 100%;
}

.k-next:hover {
  border-color: var(--k-orange2);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.07);
  transform: translateY(-2px);
}

.k-next-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--k-muted);
  margin-bottom: 0.15rem;
}

.k-next-titre {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  color: var(--k-dark);
}

.k-next-fleche {
  color: var(--k-orange);
  font-size: 1.3rem;
  line-height: 1;
  margin-left: auto;
  padding-left: 0.8rem;
}

/* ================================================================
   PARCOURS — section d'accueil et page hub
   ================================================================ */

/* Rythme vertical de la section, sur une échelle unique :
   bord de section 4rem · intro ↔ cartes 2.75rem · cartes ↔ bouton 2.75rem
   titre ↔ sous-titre 1rem. Les marges par défaut sont neutralisées pour que
   ces quatre valeurs soient les seules qui agissent. */
#parcours {
  background: var(--k-gray-bg) !important;
  padding: 4rem 0;
}

#parcours .k-parcours-intro {
  margin-bottom: 2.75rem;
}

#parcours .k-parcours-cta {
  margin-top: 2.75rem;
}

/* Titre et sous-titre calés sur ceux du hero */
#parcours h2.display-5 {
  color: var(--k-dark) !important;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

#parcours p.fs-4 {
  color: var(--k-muted) !important;
  font-weight: 400 !important;
  font-size: 1.05rem !important;
  line-height: 1.75;
  font-family: 'Jost', sans-serif !important;
  max-width: 54rem;
  margin: 0 auto;
}

.k-etape {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  height: 100%;
  text-decoration: none;
  display: block;
  transition: all 0.25s ease;
}

.k-etape:hover {
  border-color: var(--k-orange2);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.08);
  transform: translateY(-3px);
}

.k-etape-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--k-gray-bg);
  border: 1px solid var(--k-border);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--k-orange);
  margin-bottom: 0.9rem;
}

.k-etape-titre {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--k-dark);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.k-etape-res {
  font-size: 0.84rem;
  color: var(--k-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* L'étape finale : le produit */
.k-etape-produit {
  background: linear-gradient(135deg, var(--k-navy) 0%, #2b2b4a 100%);
  border-color: transparent;
}

.k-etape-produit .k-etape-num {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--k-orange2);
}

.k-etape-produit .k-etape-titre {
  color: #fff;
}

.k-etape-produit .k-etape-res {
  color: rgba(255, 255, 255, 0.72);
}

.k-etape-produit:hover {
  box-shadow: 0 10px 28px rgba(26, 26, 46, 0.25);
}

@media (max-width: 991.98px) {
  .k-band { padding: 2rem 0; }
  .k-svc-head { gap: 0.8rem; }
  .k-delai { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  /* Même rythme, resserré d'un cran sur mobile */
  #parcours { padding: 2.75rem 0; }
  #parcours .k-parcours-intro { margin-bottom: 2rem; }
  #parcours .k-parcours-cta { margin-top: 2rem; }
}

/* ================================================================
   BLOC CONTACT — panneau sombre + formulaire, côte à côte
   Composition volontairement différente des cartes du parcours :
   une seule surface sombre face au formulaire clair, pas une grille
   de cartes blanches.
   ================================================================ */

.k-contact-intro {
  margin-bottom: 2.5rem;
}

/* Colonne contacts plus large que le formulaire : le bloc sombre reste
   compact et les champs blancs le découpent, au lieu d'un gros pavé foncé. */
.k-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: start;
  max-width: 68rem;
  margin: 0 auto;
}

/* ----- Panneau contacts : base claire ----- */
.k-contact-info {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  height: 100%;
}

.k-contact-societe {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--k-dark);
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--k-border);
}

.k-contact-item {
  margin-bottom: 1.5rem;
}

.k-contact-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--k-orange);
  margin-bottom: 0.35rem;
}

.k-contact-value {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--k-dark);
  margin-bottom: 0;
}

/* Soulignement assez contrasté pour signaler que c'est cliquable :
   var(--k-border) sur blanc ne donnait que 1.24:1, invisible. */
.k-contact-value a {
  color: var(--k-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 96, 44, 0.45);
  transition: all 0.2s ease;
}

.k-contact-value a:hover {
  color: var(--k-orange);
  border-bottom-color: var(--k-orange);
}

/* ----- Boutons d'action ----- */
.k-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.9rem;
}

.k-contact-btn {
  flex: 1 1 auto;
  text-align: center;
  padding: 0.65rem 1.4rem;
  border-radius: 25px;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%);
  color: #fff;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.k-contact-btn:hover {
  background: linear-gradient(135deg, var(--k-orange2) 0%, #f5a462 100%);
  color: #fff;
  transform: translateY(-1px);
}

/* Variante claire du bouton secondaire, sur fond blanc */
.k-contact-btn-ghost {
  background: transparent;
  border-color: var(--k-border);
  color: var(--k-dark);
}

.k-contact-btn-ghost:hover {
  background: var(--k-gray-bg);
  border-color: var(--k-orange);
  color: var(--k-orange);
}

/* ----- Colonne formulaire : base sombre, champs blancs par-dessus ----- */
#demarrer {
  background: linear-gradient(160deg, var(--k-navy) 0%, #2d1a10 100%) !important;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 2.25rem 2rem !important;
  scroll-margin-top: 112px;
  height: 100%;
}

#contacts #demarrer h2.fs-4 {
  color: #fff !important;
  margin-bottom: 0.4rem;
}

#contacts #demarrer > p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.92rem;
}

#demarrer form {
  margin-top: 1.25rem;
}

#demarrer textarea.form-control {
  min-height: 7rem;
}

@media (max-width: 991.98px) {
  .k-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .k-contact-intro { margin-bottom: 1.75rem; }

  .k-contact-info,
  #demarrer {
    padding: 1.75rem 1.4rem !important;
  }

  .k-contact-societe { margin-bottom: 1.4rem; }
  .k-contact-item { margin-bottom: 1.25rem; }

  /* Les deux actions passent pleine largeur, côte à côte */
  .k-contact-btn { flex: 1 1 calc(50% - 0.3rem); }
}

/* ----------------------------------------------------------------
   Le formulaire vit désormais DANS #contacts. Les règles héritées
   « #contacts .form-control / .btn-dark », écrites pour un formulaire
   sur fond sombre qui n'existe plus, ont la même spécificité (0,1,1)
   que celles de #demarrer et l'emportaient par ordre d'écriture.
   On repasse devant avec (0,2,1).
   ---------------------------------------------------------------- */
#contacts #demarrer .form-control {
  border: 1px solid var(--k-border) !important;
  background-color: #fff !important;
  color: var(--k-dark) !important;
  margin-bottom: 0.5rem !important;
}

#contacts #demarrer .form-control::placeholder {
  color: var(--k-muted) !important;
  opacity: 1;
}

#contacts #demarrer .form-control:focus {
  background-color: #fff !important;
  color: var(--k-dark) !important;
  border-color: var(--k-orange2) !important;
  box-shadow: 0 0 0 3px rgba(232, 131, 58, 0.15) !important;
}

#contacts #demarrer .btn-dark {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%) !important;
  border: none !important;
  padding: 0.75rem 2.2rem !important;
  font-size: 0.9rem;
  border-radius: 25px !important;
  margin-top: 0.6rem;
  font-weight: 600 !important;
  color: #fff !important;
}

#contacts #demarrer .btn-dark:hover {
  background: linear-gradient(135deg, var(--k-orange2) 0%, #f5a462 100%) !important;
  color: #fff !important;
}

/* État d'erreur du formulaire : doit rester visible sur fond clair */
#contacts #demarrer .form-control.is-invalid-k {
  border-color: #dc3545 !important;
  background-color: #fff !important;
}

#contacts #demarrer .form-control.is-invalid-k::placeholder {
  color: #dc3545 !important;
  opacity: 1;
}

#contacts #demarrer #response_message {
  color: #fff !important;
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

/* ----------------------------------------------------------------
   Les éléments du panneau contacts sont des <p> : la règle héritée
   « #contacts p { color: var(--k-muted) !important } » (0,1,1) écrasait
   les classes (0,1,0) et grisait étiquettes et valeurs. On repasse
   devant à spécificité égale, plus bas dans la feuille.
   ---------------------------------------------------------------- */
#contacts p.k-contact-label {
  color: var(--k-orange) !important;
  font-size: 0.7rem;
  line-height: 1.4;
}

#contacts p.k-contact-value {
  color: var(--k-dark) !important;
  font-size: 1rem;
  line-height: 1.6;
}

#contacts p.k-contact-societe {
  color: var(--k-dark) !important;
  font-size: 1.15rem;
  line-height: 1.3;
}

/* ----- Panneau contacts : deux colonnes pour occuper la largeur ----- */
.k-contact-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.k-contact-cols .k-contact-item {
  margin-bottom: 0;
}

/* Une seule colonne : les blocs se suivent de haut en bas.
   align-items:flex-start empêche le bouton de s'étirer en hauteur quand
   la répartition verticale donne de la place au conteneur. */
/* Marge négative : la pastille WhatsApp dépasse de 26px sous la ligne de
   texte du dernier numéro, ce qui faisait paraître le bouton bien plus
   éloigné que les 20px de gap réels. */
.k-contact-cols .k-contact-actions {
  margin-top: -0.75rem;
  align-items: flex-start;
}

.k-tel-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.45rem !important;
}

.k-tel-row:last-child {
  margin-bottom: 0 !important;
}

/* ----- Badge WhatsApp ----- */
/* Pastille ronde, icône seule : avec le libellé « WhatsApp » le badge
   passait à la ligne sous le numéro dans une colonne de ~250px. */
.k-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  padding: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.14);
  color: #0e7a38 !important;
  text-decoration: none;
  border-bottom: none !important;
  transition: all 0.2s ease;
}

.k-wa:hover {
  background: rgba(37, 211, 102, 0.24);
  color: #0e7a38 !important;
  border-bottom: none !important;
}

.k-wa svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: 0 0 auto;
}

/* ----- Bouton « copier l'adresse » ----- */
.k-copy {
  margin-left: 0.5rem;
  padding: 0.14rem 0.55rem;
  border-radius: 20px;
  border: 1px solid var(--k-border);
  background: #fff;
  color: var(--k-muted);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.k-copy:hover {
  border-color: var(--k-orange);
  color: var(--k-orange);
}

.k-copy.k-copied {
  border-color: #0e7a38;
  color: #0e7a38;
}

/* Un seul bouton d'action : il ne doit plus s'étirer sur toute la largeur */
.k-contact-actions .k-contact-btn {
  flex: 0 0 auto;
  min-width: 11rem;
}

/* ----- Bouton d'envoi du formulaire, centré ----- */
#contacts #demarrer .btn-dark {
  display: block;
  margin: 0.8rem auto 0 !important;
}

#contacts #demarrer #response_message {
  text-align: center;
}

@media (max-width: 767.98px) {
  .k-contact-cols { gap: 1.25rem; }
  .k-contact-actions .k-contact-btn { flex: 1 1 auto; }
}

/* ----- Adresse + pastille Google Maps ----- */
/* La pastille suit le texte : elle se place après « CI », en fin d'adresse. */
.k-addr-row {
  display: block;
}

.k-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin-left: 0.5rem;
  vertical-align: -0.45rem;
  border-radius: 50%;
  background: rgba(196, 96, 44, 0.12);
  color: var(--k-orange) !important;
  text-decoration: none;
  border-bottom: none !important;
  transition: all 0.2s ease;
}

.k-map:hover {
  background: rgba(196, 96, 44, 0.22);
  color: var(--k-orange) !important;
  border-bottom: none !important;
}

.k-map svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Adresse : la pastille Maps sur sa propre ligne -----
   En fin de dernière ligne, la pastille rognait la largeur disponible au
   texte et son décalage vertical de -0.45rem la faisait paraître tombée
   hors de l'adresse. On la renvoie donc à la ligne, à toutes les largeurs.
   Le bouton Copier et les badges WhatsApp ne bougent pas : ils restent
   accolés à la valeur qu'ils accompagnent. */
.k-contact-info .k-addr-texte {
  display: block;
}

.k-contact-info .k-addr-row .k-map {
  margin-left: 0;
  margin-top: 0.45rem;
  vertical-align: baseline;
}

@media (max-width: 575.98px) {
  /* Le bouton « Appeler » ne respirait que 10px sous le dernier numéro,
     contre 37px sur grand écran — là, la colonne s'étire pour s'aligner sur
     le formulaire et l'écart vient tout seul. Sur téléphone il ne reste que
     la marge négative qui compense la pastille WhatsApp : on la relâche. */
  .k-contact-info .k-contact-actions {
    margin-top: 0.25rem;
  }
}

/* ----- Bandeau cookies -----
   Barre basse, discrète : elle n'occulte pas la page et ne bloque rien.
   z-index au-dessus de la navbar fixe, et padding-bottom de sécurité pour
   les iPhone à encoche. */
.k-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  padding: 0.85rem 1.25rem;
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: var(--k-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -4px 18px rgba(26, 26, 46, 0.18);
}

.k-cookies[hidden] {
  display: none;
}

.k-cookies-texte {
  margin: 0;
  max-width: 62ch;
  font-family: 'Jost', sans-serif;
  font-size: 0.84rem;
  line-height: 1.5;
  /* 0.78 sur le navy = 9,4:1 : lisible sans crier. */
  color: rgba(255, 255, 255, 0.78);
}

.k-cookies-texte a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.k-cookies-actions {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.k-cookies-btn {
  flex: 0 0 auto;
  padding: 0.45rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.k-cookies-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.k-cookies-oui {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%);
  border-color: transparent;
}

.k-cookies-oui:hover {
  background: linear-gradient(135deg, var(--k-orange2) 0%, #f5a462 100%);
  border-color: transparent;
}

@media (max-width: 575.98px) {
  .k-cookies {
    justify-content: flex-start;
    gap: 0.7rem;
  }

  .k-cookies-texte {
    font-size: 0.8rem;
  }

  /* Bouton pleine largeur : cible de appui confortable au pouce. */
  .k-cookies-actions {
    width: 100%;
  }

  .k-cookies-btn {
    flex: 1 1 auto;
  }
}

/* ----- Les blocs se répartissent sur toute la hauteur de la carte ----- */
.k-contact-grid {
  align-items: stretch;
}

.k-contact-info {
  display: flex;
  flex-direction: column;
}

.k-contact-cols {
  flex: 1 1 auto;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (max-width: 991.98px) {
  /* Hauteurs libres une fois empilés : pas de répartition forcée */
  .k-contact-cols {
    justify-content: flex-start;
    gap: 1.35rem;
  }
}

/* ================================================================
   DÉCOUVRIR KOMPTO
   ================================================================ */

/* ----- Trois points clés sous l'accroche ----- */








/* ----- Fonction principale, mise en avant ----- */








/* ----- Les cinq fonctions secondaires ----- */
.k-fonctions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.k-fonction {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 12px;
  padding: 1.15rem 1.1rem;
}

.k-fonction .feature {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  margin-bottom: 0.75rem !important;
}

.k-fonction .feature img {
  width: 19px !important;
}

.k-fonction-nom {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--k-dark);
  margin-bottom: 0.25rem;
}

.k-fonction-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--k-muted);
  margin-bottom: 0;
}

/* ----- Illustrations : arrondies et bornées ----- */
.k-illustration img {
  border-radius: 14px;
  max-height: 260px;
  width: 100%;
  object-fit: cover;
}

/* ----- Les deux formules ----- */


.k-formules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.k-plan {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.k-plan-tete {
  padding: 1.35rem 1.5rem;
  color: #fff;
}

.k-plan-tete-fne {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%);
}

.k-plan-tete-plus {
  background: linear-gradient(135deg, var(--k-navy) 0%, #2d1a10 100%);
}

.k-plan-nom {
  font-family: 'Jost', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.3rem;
}



.k-plan-liste {
  list-style: none;
  padding: 1.35rem 1.5rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}

.k-plan-liste li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--k-dark);
}

.k-plan-liste li:last-child {
  margin-bottom: 0;
}

.k-plan-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--k-orange);
  border-bottom: 2px solid var(--k-orange);
  transform: rotate(-45deg);
}

.k-plan-plus .k-plan-liste li::before {
  border-color: var(--k-navy);
}

/* ----- Prix ----- */
.k-prix {
  text-align: center;
  margin-top: 1.75rem;
}

.k-prix-montant {
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--k-dark);
  margin-bottom: 0.4rem;
}

.k-prix-note {
  font-size: 0.9rem;
  color: var(--k-muted);
  margin-bottom: 1.1rem;
}

@media (max-width: 991.98px) {

  /* Deux colonnes sur mobile : six fonctions tiennent en trois rangées
     au lieu de six écrans empilés. */
  .k-fonctions { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .k-fonction { padding: 0.95rem 0.9rem; }

  .k-formules { grid-template-columns: 1fr; gap: 1rem; }
  .k-illustration { margin-top: 1.25rem; }
  .k-illustration img { max-height: 200px; }
}

/* Seuil bas : à 390px (iPhone courant) on veut encore deux colonnes.
   Le repli à une colonne ne vaut que pour les très petits écrans. */
@media (max-width: 339.98px) {
  .k-fonctions { grid-template-columns: 1fr; }
}

/* Le fond de #offers est sombre : les anciennes règles ne coloraient que
   « h2.display-5 » et les <p>. Le titre en .fs-4 restait en texte foncé. */
#offers h2.fs-4 {
  color: #fff !important;
}

#offers .k-prix-montant {
  color: #fff !important;
}

/* ----- Découvrir KOMPTO : passages de texte ----- */
.k-texte {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.k-texte h2 {
  margin-bottom: 0.9rem;
}

.k-texte p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--k-muted);
  margin-bottom: 0.9rem;
}

.k-texte p:last-child {
  margin-bottom: 0;
}

/* Bande finale, hors du bloc sombre */
.k-band-fin {
  padding-top: 2.25rem;
  padding-bottom: 2.75rem;
}

.k-apres {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--k-muted);
  margin-bottom: 0;
}

.k-apres a {
  color: var(--k-orange-lien);
  font-weight: 600;
}

/* La tête de formule n'a plus de sous-titre : on resserre */
.k-plan-tete {
  padding: 1.1rem 1.5rem;
}

.k-plan-nom {
  margin-bottom: 0;
}

/* La règle « #advantages h2.fs-4.fw-bold » (1.05rem) visait les titres des
   cartes de l'accueil. Elle rapetissait aussi le titre de section : on le
   ramène à la taille des autres h2 de la page. */
#advantages .k-texte h2.fs-4 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: var(--k-dark) !important;
}

/* ----- Cartes de fonctions : contenu centré, icône non déformée ----- */
/* L'attribut height="30" du <img> restait actif alors que seule la largeur
   était forcée : les icônes sortaient en 19x30, écrasées horizontalement. */
.k-fonction {
  text-align: center;
}

.k-fonction .feature {
  display: inline-flex !important;
  margin-left: auto;
  margin-right: auto;
}

.k-fonction .feature img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
}

/* Padding explicite sur #advantages : la bande grise s'arrêtait net sous la
   dernière rangée de cartes (48px en haut, 0 en bas). Les anciennes règles de
   cette section viennent de l'accueil, où les cartes portaient leur propre
   marge basse ; on fixe ici les deux côtés sans ambiguïté. */
section#advantages.k-band {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
}

@media (max-width: 991.98px) {
  section#advantages.k-band {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Padding symétrique : l'ancienne règle héritée de l'accueil donnait de
   l'espace en haut et zéro en bas, la bande grise s'arrêtait net sous la
   dernière rangée de cartes. */
section#advantages.k-band {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
}

@media (max-width: 991.98px) {
  section#advantages.k-band {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ================================================================
   Découvrir KOMPTO — section formules sur fond clair
   ================================================================ */

/* Les deux textes « réglementation » et « comptable » partagent une seule
   bande blanche, en deux colonnes sur grand écran. */
.k-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.k-duo .k-texte {
  margin-bottom: 0;
  max-width: none;
}

/* La bande des formules passe du bleu nuit au gris : tout le texte qui était
   blanc doit redevenir foncé. */
section#offers.k-band {
  background: var(--k-gray-bg) !important;
  padding: 2.75rem 0 !important;
}

#offers h2.fs-4 {
  color: var(--k-dark) !important;
}

#offers p {
  color: var(--k-muted) !important;
}

#offers .k-prix-montant {
  color: var(--k-dark) !important;
}

/* ----- Les deux cartes ----- */
.k-formules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1.75rem;
}

.k-plan {
  border-radius: 18px;
  padding: 1.9rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

/* FNE : blanc, ombré, accents orange */
.k-plan {
  background: #fff;
  border: 1px solid var(--k-border);
  box-shadow: 0 6px 22px rgba(26, 26, 46, 0.06);
}

.k-plan:hover {
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.10);
  transform: translateY(-2px);
}

/* Le format de carte « formule » sert aussi hors de #offers (page Création
   d'entreprise). Chaque règle existe donc en deux versions : celle préfixée
   par #offers garde la spécificité nécessaire pour battre les règles
   héritées de l'ancienne page d'accueil, la version sans préfixe sert
   partout ailleurs. Ne pas fusionner les deux : #offers p porte des
   !important qu'un sélecteur de classes ne peut pas dépasser. */
#offers .k-plan .k-plan-nom,
.k-plan .k-plan-nom {
  font-family: 'Jost', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--k-orange) !important;
  margin-bottom: 0.2rem;
}

/* Le filet appartient au sous-titre qui le précède, pas à la liste qui le
   suit : on serre au-dessus et on respire en dessous, pour que l'œil le
   rattache au texte du haut. Le !important est indispensable — la règle
   héritée « #offers p { margin-bottom: 0 !important } » (section tarifs de
   l'ancienne page d'accueil) écrasait sinon la marge, et le filet se
   retrouvait collé à la liste. */
#offers .k-plan .k-plan-sous,
.k-plan .k-plan-sous {
  font-size: 0.88rem;
  color: var(--k-muted) !important;
  padding-bottom: 0.55rem;
  margin-bottom: 1.15rem !important;
  border-bottom: 1px solid var(--k-border);
}

.k-plan-liste {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  flex: 1 1 auto;
}

.k-plan-liste li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--k-dark);
}

.k-plan-liste li:last-child {
  margin-bottom: 0;
}

.k-plan-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--k-orange);
  border-bottom: 2px solid var(--k-orange);
  transform: rotate(-45deg);
}

/* PLUS : fond bleu nuit, texte blanc */
.k-plan-plus {
  background: linear-gradient(160deg, var(--k-navy) 0%, #2d1a10 100%);
  border-color: transparent;
  box-shadow: 0 8px 26px rgba(26, 26, 46, 0.18);
}

.k-plan-plus:hover {
  box-shadow: 0 12px 34px rgba(26, 26, 46, 0.26);
}

#offers .k-plan-plus .k-plan-nom,
.k-plan-plus .k-plan-nom {
  color: #fff !important;
}

#offers .k-plan-plus .k-plan-sous,
.k-plan-plus .k-plan-sous {
  color: rgba(255, 255, 255, 0.72) !important;
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.k-plan-plus .k-plan-liste li {
  color: rgba(255, 255, 255, 0.92);
}

.k-plan-plus .k-plan-liste li b {
  color: #fff;
}

.k-plan-plus .k-plan-liste li::before {
  border-color: var(--k-orange2);
}

@media (max-width: 991.98px) {
  .k-duo { grid-template-columns: 1fr; gap: 1.75rem; }
  .k-formules { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
  .k-plan { padding: 1.6rem 1.4rem; }
  section#offers.k-band { padding: 2rem 0 !important; }
}

/* #ivoiriens gardait « padding: 3rem 5% » hérité de l'accueil : les 5%
   horizontaux rentraient le texte de ~42px par rapport aux cartes des autres
   bandes. On aligne sur .k-band. */
section#ivoiriens.k-band {
  padding: 2.75rem 0 !important;
}

/* Le bouton était collé au texte au-dessus */
.k-prix-note {
  margin-bottom: 1.8rem;
}

/* Phrase de fin centrée, comme le bloc tarif au-dessus */
.k-apres {
  text-align: center;
}

@media (max-width: 991.98px) {
  section#ivoiriens.k-band { padding: 2rem 0 !important; }
}

/* « #offers p » impose margin-bottom: 0 !important : le bouton restait collé
   à la note de tarification. */
#offers .k-prix-note {
  margin-bottom: 1.8rem !important;
}

/* Cartes d'étape : contenu centré, sur l'accueil comme sur la page hub. */
.k-etape {
  text-align: center;
}

/* Quand un paragraphe courant suit directement le titre, sans sous-titre
   intermédiaire, 8px ne suffisent pas : on porte l'écart à 24px, la même
   respiration que titre + sous-titre + paragraphe sur les autres pages. */
.k-band-hero h1 + p:not(.fs-4) {
  margin-top: 1rem;
}

/* Les bandes .k-band n'ont pas de padding horizontal propre : la marge négative
   que Bootstrap applique à .row (-12px de chaque côté, pour absorber les
   gouttières) débordait donc du document et provoquait un défilement
   horizontal. On la neutralise ici plutôt que page par page ; toutes les
   bandes se décalent de la même quantité, l'alignement entre sections reste
   identique. */
.k-band > .row {
  margin-left: 0;
  margin-right: 0;
}

/* Même cause, autre endroit : les pages antérieures au parcours posent leur
   <header class="px-lg-5 px-4 row"> directement dans <main>, sans .container
   pour absorber la gouttière. Débordement de 12px sur /, /KomptoApi,
   /GuideFNE et /Agrement. */
main > .row,
main > header.row,
main > section.row {
  margin-left: 0;
  margin-right: 0;
}

/* /KomptoApi et /GuideFNE enveloppent le leur dans .guide-page, qui n'a pas
   non plus de padding horizontal. Seul le .row enfant direct débordait ; le
   .row imbriqué dans une colonne garde sa gouttière, il est déjà compensé. */
.guide-page > .row {
  margin-left: 0;
  margin-right: 0;
}

/* /Blog : le .row porte gx-lg-5, donc une gouttière de 48px et une marge de
   -24px, alors que son .container-fluid n'apporte que 12px de padding. On
   aligne le padding du conteneur sur la gouttière plutôt que d'annuler la
   marge : la colonne étant centrée, la mise en page ne bouge pas. */
@media (min-width: 992px) {
  .blog-page > .container-fluid {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* La hauteur égale ne vaut que pour la grille de trois fiches de Création
   d'entreprise. Ailleurs, .k-doc est seul dans sa colonne : « height: 100% »
   le gonflait à la hauteur de toute la colonne et il débordait de la bande. */
.k-docs > [class*="col-"] > .k-doc {
  height: 100%;
}

/* ================================================================
   PARTENAIRES — onglets, filtres par secteur, cartes
   ================================================================ */

.k-onglets {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid var(--k-border);
  margin-bottom: 1.75rem;
  padding-left: 0;
  list-style: none;
}

.k-onglet {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.7rem 1.1rem;
  margin-bottom: -1px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--k-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.k-onglet:hover {
  color: var(--k-dark);
}

.k-onglet.active {
  color: var(--k-orange);
  border-bottom-color: var(--k-orange);
}

/* ----- Filtres par secteur ----- */
.k-filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.k-filtre {
  appearance: none;
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 20px;
  padding: 0.35rem 0.95rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--k-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.k-filtre:hover {
  border-color: var(--k-orange2);
  color: var(--k-orange);
}

.k-filtre.active {
  background: linear-gradient(135deg, var(--k-orange) 0%, var(--k-orange2) 100%);
  border-color: transparent;
  color: #fff;
}

/* ----- Cartes de partenaires ----- */
.k-logiciels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.k-logiciel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.k-logiciel:hover {
  border-color: var(--k-orange2);
  box-shadow: 0 8px 26px rgba(26, 26, 46, 0.08);
  transform: translateY(-2px);
}

.k-logiciel-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin-bottom: 1.1rem;
}

.k-logiciel-img img {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.k-logiciel-secteur {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--k-orange);
  margin-bottom: 0.3rem;
}

.k-logiciel-nom {
  font-family: 'Jost', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--k-dark);
  margin-bottom: 0.35rem;
}

.k-logiciel-desc {
  font-size: 0.89rem;
  line-height: 1.6;
  color: var(--k-muted);
}

/* Secteur sans partenaire : on invite à nous écrire plutôt que montrer du vide */
.k-vide {
  background: #fff;
  border: 1px dashed var(--k-border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  font-size: 0.92rem;
  color: var(--k-muted);
  margin-bottom: 0;
}

.k-vide a {
  color: var(--k-orange-lien);
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .k-onglet { padding: 0.6rem 0.75rem; font-size: 0.88rem; }
  .k-logiciels { grid-template-columns: 1fr; }
}
