/********** Template CSS **********/
:root {
    /* --primary: #3e5ce0; */ /*Bleu de la charte graphique*/
    --primary: #073980; 
    --secondary: #3157a5; /* rien que du bleu pour le reste de l'appli */
    --accent: #D75803; /* orange bouton */
    /* --accent: #E84A2B; orange bouton */ /*Orange de la charte graphique*/
    --light: #FFFFFF;
    --light-2: #FFFCE6;
    --dark-2 : #000000;
    --dark: #262B47;

    /* Override Bootstrap primary/secondary to match the brand palette */
    --bs-primary: #073980;
    --bs-primary-rgb: 7, 57, 128;

    /* Override Bootstrap secondary (bleu) */
    --bs-secondary: #3157a5;
    --bs-secondary-rgb: 49, 87, 165;

    --bs-light: #FFFFFF;
    --bs-light-rgb: 255, 255, 255;
}

/* Typographie globale */
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.probleme-title,
.produit-title,
.apropos-title,
.partenaires-title,
.pqm-title,
.ccm-title,
.ck-title,
.em-title,
.hero-header h1,
#apercu .apercu-col-text h1,
#apercu .apercu-col-text h2 {
    font-family: 'Roboto', sans-serif !important;
}

p,
.probleme-desc,
.produit-desc,
.apropos-desc,
.partenaires-desc,
.pqm-stat-label,
.ccm-subtitle,
.ck-sub,
.em-subtitle,
.hero-header p,
#contact p,
#produit p,
#apercu p,
#etude-marche p,
#pourquoi-maintenant p {
    font-family: 'Inter', sans-serif;
    text-align: justify !important;
    text-align-last: left !important;
    -ms-text-align-last: left !important;
    -moz-text-align-last: left !important;
    hyphens: auto !important;
    word-spacing: 0.03em !important;
}

.text-justify {
    text-align: justify !important;
    text-align-last: left !important;
    -ms-text-align-last: left !important;
    -moz-text-align-last: left !important;
    hyphens: auto !important;
    word-spacing: 0.04em !important;
}

.hero-header p {
    text-align: justify !important;
    text-align-last: left !important;
    -ms-text-align-last: left !important;
    -moz-text-align-last: left !important;
}

/* ── Fix : body/main pleine largeur sans réduction ── */





/* =======================================
   SECTION PROBLÈME — à coller dans style.css
   ======================================= */

/* --- Reset de l'override générique bg-light --- */
#probleme {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    margin-top: 0 !important;

    /* Remplacez l'URL par votre propre image de fond */
    background-image: url('../img/p1.avif') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-color: transparent !important; /* annule le override FFFCE6 */
}

/* Overlay bleu foncé pour lisibilité */
#probleme::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(7, 57, 128, 0.70) 0%,
        rgba(4, 22, 55, 0.74) 55%,
        rgba(7, 57, 128, 0.65) 100%
    );
    z-index: 0;
}

/* Grain texture subtil par-dessus */
#probleme::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px;
    z-index: 0;
    pointer-events: none;
}

/* Wrapper interne au-dessus des pseudo-éléments */
.probleme-inner {
    position: relative;
    z-index: 1;
    max-width: 1150px; /* Largeur des blocs de la section problème */
    margin: 0 auto;
    padding: 0 20px;
}

/* --- En-tête centré --- */
.probleme-header {
    text-align: center;
    margin-bottom: 56px;
}

.probleme-eyebrow {
    display: inline-block;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-2);
    background: rgba(215, 88, 3, 0.22);
    border: 1px solid rgba(215, 88, 3, 0.5);
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.probleme-title {
    font-weight: 800;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--light-2);
    line-height: 1.18;
    max-width: 680px;
    margin: 0 auto 18px;
}

.probleme-desc {
    font-size: 1rem;
    color: rgba(255, 252, 230, 0.70);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.78;
}

/* --- Grille accordion (remplace l'ancienne .probleme-grid) --- */

/* ── Utilitaires scoped accordion (préfixe wk- pour éviter les conflits Bootstrap) ── */
.wk-flex           { display: flex; }
.wk-items-center   { align-items: center; }
.wk-items-start    { align-items: flex-start; }
.wk-justify-between{ justify-content: space-between; }
.wk-justify-end    { justify-content: flex-end; }
.wk-gap-2          { gap: .5rem; }
.wk-gap-3          { gap: .75rem; }
.wk-space-y-4 > * + * { margin-top: 1rem; }
.wk-space-y-6 > * + * { margin-top: 1.5rem; }
.wk-rounded-full   { border-radius: 9999px; }
.wk-uppercase      { text-transform: uppercase; }
.wk-tracking-wider { letter-spacing: 0.05em; }
.wk-opacity-20     { opacity: .2; }
.wk-opacity-40     { opacity: .4; }
.wk-px4            { padding-left: 1rem;   padding-right: 1rem; }
.wk-py1            { padding-top: .25rem;  padding-bottom: .25rem; }

/* Tailles de texte accordion */
.wk-text-xs  { font-size: .75rem;   line-height: 1rem; }
.wk-text-sm  { font-size: .875rem;  line-height: 1.25rem; }
.wk-text-lg  { font-size: 1.125rem; line-height: 1.75rem; }
.wk-text-2xl { font-size: 1.5rem;   line-height: 2rem; }
.wk-text-4xl { font-size: 2.25rem;  line-height: 2.5rem; }
.wk-text-5xl { font-size: 3rem;     line-height: 1; }

/* Poids de police accordion */
.wk-font-medium { font-weight: 500; }
.wk-font-bold   { font-weight: 700; }
.wk-font-black  { font-weight: 900; }

/* Couleurs accordion — palette index.html */
.wk-accent      { color: var(--accent) !important; }    /* orange #D75803 */
.wk-blue        { color: var(--primary) !important; }   /* bleu #073980   */
.wk-dark-text   { color: var(--dark); }                 /* #262B47        */
.wk-muted-text  { color: rgba(38, 43, 71, 0.65); }
.wk-outline-text{ color: rgba(255, 255, 255, 0.55); }   /* visible sur fond sombre */

/* Familles de polices accordion (index) */
.font-headline  { font-family: 'Jost', sans-serif; }
.font-body      { font-family: 'Heebo', sans-serif; }

/* Effets visuels */
.editorial-shadow { box-shadow: 0 24px 48px rgba(39, 24, 21, .06); }
.glass-primary    { background: rgba(215, 88, 3, .10); backdrop-filter: blur(12px); }
.wk-hover-surface:hover { background-color: rgba(255, 255, 255, 0.06); }

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

/* ── Accordion container ── */
#accordion {
    display: flex;
    gap: 1.5rem;
    min-height: 350px; /* Hauteur de base des blocs de la section problème */
    height: auto;
    align-items: stretch;
}

/* ── Cartes sectorielles ── */
.sector-card {
    position: relative;
    flex: 1;
    min-width: 120px;
    border-radius: .75rem;
    overflow: hidden;
    cursor: pointer;
    transition: flex .55s cubic-bezier(.76,0,.24,1), height .45s ease, box-shadow .3s ease, border-color .3s ease;
    background: #ffffff;
    height: 350px;
}

.sector-card.is-active {
    flex: 3.2;
    cursor: default;
    border-left: 4px solid var(--primary);
    height: 460px;
}

/* Image de fond de carte */
.card-img {
    position: absolute;
    inset: 0;
    transition: opacity .4s ease, filter .4s ease;
    opacity: .20;
    filter: grayscale(1); /*FILTRE GRIS pour les images des blocs de la section problème par défaut*/
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.sector-card:hover:not(.is-active) .card-img,
.sector-card.is-active .card-img { filter: grayscale(0); }
.sector-card:hover:not(.is-active) .card-img { opacity: .75; } /*Couleur des images au survol des blocs de la section problème*/
.sector-card.is-active .card-img             { opacity: .05; }

/* ── Vue réduite ── */
.view-collapsed {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    transition: opacity .25s ease;
}
.sector-card.is-active .view-collapsed { opacity: 0; pointer-events: none; }

/* ── Vue étendue ── */
.view-expanded {
    position: absolute;
    inset: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    overflow-y: auto;
}
.sector-card.is-active .view-expanded {
    opacity: 1;
    pointer-events: auto;
    transition-delay: .25s;
}

/* Icône VOIR PLUS */
.voir-plus-icon { transition: transform .3s ease; }
.sector-card:hover:not(.is-active) .voir-plus-icon { transform: rotate(90deg); }

/* ── Bouton fermer (wk- pour éviter le conflit avec Bootstrap .btn-close) ── */
.wk-close-btn {
    background: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(38, 43, 71, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
    flex-shrink: 0;
    padding: 0;
}
.wk-close-btn:hover { background: rgba(38, 43, 71, 0.08); }

/* ── Grille interne des cartes ── */
.card-grid {
    display: grid;
    gap: 3rem;
    margin-top: auto;
}

/* ── Stat box ── */
.stat-box {
    background-color: var(--primary);
    border-radius: .75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.stat-box .stat-icon {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1;
}
.stat-box .stat-title {
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
.stat-box .stat-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: .875rem;
}

/* ── Responsive accordion ─BLOC SECTEURS:Section problème─ */
@media (max-width: 1023px) {
    #accordion {
        flex-direction: column;
        height: auto;
    }
    .sector-card {
        flex: none !important;
        height: 150px;
        min-width: unset;
        transition: height .55s cubic-bezier(.76,0,.24,1);
    }
    .sector-card.is-active { height: 460px; } /* hauteur étendue en mobile : Blocs de la section problème*/
    .view-collapsed { padding: 1.5rem; }
    .view-expanded  { padding: 1.75rem; }
}

@media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}




/* =======================================
   SECTION PRODUIT — à intégrer dans style.css
   ======================================= */

#produit {
  background-color: var(--light-2);
  padding: 80px 0;
}

.produit-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- En-tête centré --- */
.produit-header {
  text-align: center;
  margin-bottom: 56px;
}

.produit-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(215, 88, 3, 0.10);
  border: 1px solid rgba(215, 88, 3, 0.30);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.produit-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  max-width: 680px;
  margin: 0 auto 16px;
}

.produit-title span {
  color: var(--accent);
}

.produit-desc {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(7, 57, 128, 0.65);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.78;
}

/* --- Grille 3 colonnes égales --- */
.produit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.produit-col-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.produit-col-center {
  display: flex;
}

.produit-col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- Cartes feature --- */
.produit-card {
  background: #ffffff;
  border: 1.5px solid rgba(7, 57, 128, 0.10);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 6px 24px rgba(7, 57, 128, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.produit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(7, 57, 128, 0.13);
}

.produit-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.produit-card-icon.icon-orange {
  background: rgba(215, 88, 3, 0.12);
  color: var(--accent);
}

.produit-card-icon.icon-blue {
  background: rgba(7, 57, 128, 0.10);
  color: var(--primary);
}

.produit-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.produit-card p {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(38, 43, 71, 0.65);
  line-height: 1.72;
  margin: 0;
}

.produit-card-divider {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-top: 18px;
}

/* --- Grande carte (colonne droite) --- */
.produit-card--large {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(7, 57, 128, 0.28);
}

.produit-card--large:hover {
  box-shadow: 0 20px 56px rgba(7, 57, 128, 0.38);
}

.produit-card--large .produit-card-icon {
  background: rgba(215, 88, 3, 0.20);
  color: var(--accent);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 1.4rem;
}

.produit-card--large h5 {
  font-size: 1.2rem;
  color: var(--light-2);
}

.produit-card--large p {
  color: rgba(255, 252, 230, 0.72);
  font-size: 0.95rem;
}

.produit-card--large p + p {
  margin-top: 14px;
}

.produit-card--large .produit-card-divider {
  background: rgba(215, 88, 3, 0.55);
}

.produit-api-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(215, 88, 3, 0.18);
  border: 1px solid rgba(215, 88, 3, 0.35);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-top: 22px;
  align-self: flex-start;
}

.produit-api-badge i {
  font-size: 0.7rem;
}

/* --- Image centrale --- */
.produit-image-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(7, 57, 128, 0.12);
  box-shadow: 0 8px 32px rgba(7, 57, 128, 0.10);
  position: relative;
}

.produit-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.produit-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  /* background: transparent; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
}

.produit-img-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 5px;
}

.produit-img-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 252, 230, 0.3);
}

.produit-img-dots span:first-child {
  background: var(--accent);
}

.produit-img-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(215, 88, 3, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
}

.produit-img-placeholder h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--light-2);
}

.produit-img-placeholder p {
  font-size: 0.88rem;
  color: rgba(255, 252, 230, 0.65);
  line-height: 1.6;
}

/* --- CTA --- */
.produit-cta {
  text-align: center;
  margin-top: 52px;
}

.produit-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 22px rgba(215, 88, 3, 0.35);
  transition: background-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.produit-btn-cta:hover {
  background-color: #b84800;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(215, 88, 3, 0.45);
  color: #ffffff;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .produit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .produit-col-center {
    grid-column: 1 / -1;
    order: -1;
  }

  .produit-img-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .produit-grid {
    grid-template-columns: 1fr;
  }

  .produit-col-center {
    grid-column: auto;
    order: 0;
  }
}
























/*** Bootstrap Primary Overrides (blue) ***/
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.link-primary,
.link-primary:hover,
.link-primary:focus {
    color: var(--primary) !important;
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-primary:hover {
    color: #FFFFFF;
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(215, 88, 3, 0.5);
}

.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-primary:hover {
    color: #FFFFFF;
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-check:focus + .btn-outline-primary,
.btn-outline-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(215, 88, 3, 0.5);
}

/*** Bootstrap Secondary Overrides (orange) ***/
.text-secondary {
    color: var(--secondary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

.link-secondary,
.link-secondary:hover,
.link-secondary:focus {
    color: var(--secondary) !important;
}

.btn-secondary {
    color: #FFFFFF;
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    color: #FFFFFF;
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-check:focus + .btn-secondary,
.btn-secondary:focus {
    box-shadow: 0 0 0 .25rem rgba(215, 88, 3, 0.5);
}

.btn-outline-secondary {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-secondary:hover {
    color: #FFFFFF;
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-check:focus + .btn-outline-secondary,
.btn-outline-secondary:focus {
    box-shadow: 0 0 0 .25rem rgba(215, 88, 3, 0.5);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Gradient Text & BG ***/
.text-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.bg-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient {
    position: relative;
    overflow: hidden;
    border: none;
    color: #FFFFFF;
    z-index: 1;
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.btn.btn-primary-gradient::after,
.btn.btn-secondary-gradient::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
    opacity: 0;
    background-color: var(--accent);
}

.btn.btn-primary-gradient:hover,
.btn.btn-secondary-gradient:hover {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.btn.btn-primary-gradient:hover::after,
.btn.btn-secondary-gradient:hover::after {
    opacity: 1;
}


.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    border: none;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Navbar ***/
.navbar-logo {
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 50%;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 45px 0;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--accent) !important;
    background-color: transparent !important;
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: var(--accent) transparent transparent transparent;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    top: 0;
}

.navbar-light .navbar-brand h1 {
    color: #D75803;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .navbar-light {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
        background: #FFFCE6;
        box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
    }

    .navbar-logo {
        height: 40px;
        width: 40px;
    }

    .navbar-light .navbar-toggler {
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 50px;
        border: 1px solid #DDDDDD;
        background: #FFFFFF;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .08);
    }

    .navbar-light .navbar-toggler:focus {
        box-shadow: 0 0 0 .25rem rgba(7, 57, 128, 0.25);
    }

    .navbar-light .navbar-toggler .fa-bars {
        color: var(--accent);
        font-size: 18px;
    }

    /* icônes partout */
    .fa,
    .fas,
    .far,
    .fab,
    .feather,
    .material-icons,
    .icon {
        color: var(--accent) !important;
    }

    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 12px;
        border-top: 1px solid #DDDDDD;
        background: #FFFFFF;
        border-radius: 12px;
        padding: 10px 16px;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        color: #E84A2B !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: #E84A2B !important;
        background-color: transparent !important;
    }

    .navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFCE6;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link {
        color: #E84A2B !important;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link::before {
        border-top-color: #E84A2B;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /*** Navbar mega dropdown (desktop hover) ***/
    .navbar-light .navbar-nav .mega-dropdown {
        position: static;
    }

    .navbar-light .navbar-nav .mega-dropdown .dropdown-menu {
        display: block;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        pointer-events: none;
        margin-top: 0;
        border: 0;
        border-radius: 0;
        background: rgba(7, 57, 128, 0.96);
        box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .18);
        transition: opacity .15s ease-in-out, transform .15s ease-in-out, visibility 0s linear .15s;
    }

    .navbar-light .navbar-nav .mega-dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity .15s ease-in-out, transform .15s ease-in-out;
    }

    .navbar-light .navbar-nav .mega-dropdown .mega-title {
        color: rgba(255, 255, 255, .85);
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        font-size: 12px;
        margin-bottom: 12px;
    }

    .navbar-light .navbar-nav .mega-dropdown .dropdown-item {
        display: block;
        width: 100%;
        white-space: normal;
        color: #FFFFFF;
        padding: 10px 0;
        background: transparent;
        font-weight: 500;
    }

    .navbar-light .navbar-nav .mega-dropdown .dropdown-item:hover,
    .navbar-light .navbar-nav .mega-dropdown .dropdown-item:focus {
        background: transparent;
        color: rgba(255, 255, 255, .92);
        text-decoration: underline;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 2.5rem !important;
    padding: 12rem 0 0 0;
    background:
        url(../img/bg-circle.png),
        url(../img/bg-triangle.png),
        url(../img/bg-bottom.png),
        linear-gradient(to bottom right, var(--primary), var(--dark));
    background-position:
        left 0px top 0px,
        right 0px top 50%,
        center bottom;
    background-repeat: no-repeat;
}

/* (padding for #probleme handled by the main #probleme block above) */

/* ===== SECTION À PROPOS — pleine largeur ===== */
#a-propos {
    margin-top: 0 !important;
    padding: 0 !important;
    width: 100%;
}

.apropos-inner {
    width: 100%;
    padding: 0;
    background-color: #FFFCE6;
}

.apropos-row {
    width: 100%;
    min-height: 520px;
}

/* Colonne gauche */
.apropos-col-left {
    padding: 4rem 4rem 4rem 6vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Colonne centrale (téléphone) */
.apropos-col-center {
    overflow: hidden;
}

/* Colonne droite */
.apropos-col-right {
    padding: 4rem 6vw 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #FFFCE6;
}

.badge-pill-apropos {
    display: inline-block;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #262B47;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.apropos-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.08;
    color: #262B47;
}

.apropos-accent {
    color: #D75803;
    font-style: italic;
}

.apropos-line {
    width: 42px;
    height: 3px;
    background-color: #D75803;
    border-radius: 2px;
}

.apropos-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.45;
    max-width: 520px;
}

/* Bouton Découvrir WAYKOD */
.btn-decouvrir {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #D75803;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    box-shadow: 0 4px 18px rgba(215, 88, 3, 0.35);
    align-self: flex-start;
}

.btn-decouvrir:hover {
    background-color: #b84800;
    transform: translateY(-2px);
}

.btn-decouvrir-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Image téléphone */
.apropos-phone-img {
    width: 100%;
    max-height: 540px;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* Right column – cas d'usage */
.apropos-cas-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #262B47;
}

.apropos-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D75803;
    flex-shrink: 0;
}

.apropos-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.apropos-card-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.apropos-icon-orange {
    background: rgba(215, 88, 3, 0.12);
    color: #D75803;
}

.apropos-icon-blue {
    background: rgba(7, 57, 128, 0.1);
    color: #073980;
}

.apropos-icon-purple {
    background: rgba(99, 60, 180, 0.1);
    color: #633cb4;
}

.apropos-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #262B47;
    margin-bottom: 4px;
}

.apropos-card-desc {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
}

/* ===== MODAL VIDÉO ===== */
#videoModal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

#videoModal .modal-header {
    padding: 1rem 1.2rem 0.5rem;
}

#videoModal .ratio {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}


/*** Hero mockup alignment ***/
.hero-mockup {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 991.98px) {
    .hero-header {
        margin-bottom: 2rem;
        padding: 7.5rem 0 5rem 0;
    }

    /* Texte hero sur mobile : garder visibilité desktop-like */
    .hero-header h1 {
        font-size: clamp(2.1rem, 8vw, 2.8rem);
        line-height: 1.18;
    }
    .hero-header p {
        font-size: clamp(1rem, 4.6vw, 1.25rem);
        line-height: 1.75;
        text-align: justify !important;
        text-align-last: left !important;
        -ms-text-align-last: left !important;
        -moz-text-align-last: left !important;
        hyphens: auto !important;
        word-spacing: 0.03em !important;
    }

    .hero-header .btn {
        display: inline-flex !important;
        width: auto !important;
        min-width: auto !important;
        max-width: none !important;
        margin: 0.6rem 0.4rem !important;
        text-align: center !important;
        font-size: 1rem !important;
        padding: 0.85rem 1.4rem !important;
        border-radius: 99px !important;
    }

    .hero-header .btn + .btn {
        margin-top: 0 !important;
    }

    .hero-header .btn-group,
    .hero-header .btn-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0.8rem !important;
        width: auto !important;
        max-width: 880px !important;
        margin: 0 auto !important;
    }

    .screenshot-carousel {
        margin: 0 auto;
        margin-right: 0;
    }

    .screenshot-carousel .owl-dots {
        right: -18px;
    }
}

.hero-header .btn-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 880px !important;
    margin: 0 auto !important;
}

.hero-header .btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0.95rem 2rem !important;
}

@media (max-width: 991.98px) {
    .hero-header .btn-wrapper {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: min(100%, 880px) !important;
        max-width: 880px !important;
        gap: 0.8rem !important;
    }
    .hero-header .btn {
        display:inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0.95rem 2rem !important;
    }
}


@media (max-width: 991.98px) {
    .apropos-col-left {
        padding: 3rem 1.5rem 2rem;
    }

    .apropos-col-right {
        padding: 2rem 1.5rem 3rem;
    }

    .apropos-col-center {
        padding: 1rem 1.5rem 0;
    }

    .apropos-title {
        font-size: 2.2rem;
    }

    .apropos-phone-img {
        max-height: 300px;
    }

    .apropos-desc {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .hero-mockup {
        align-items: flex-end;
    }
}


/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}


/*** Pricing ***/
.pricing .nav {
    padding: 2px;
}

.pricing .nav-link {
    padding: 12px 30px;
    font-weight: 500;
    color: var(--dark);
    background: #FFFFFF;
}

.pricing .nav-item:first-child .nav-link {
    border-radius: 30px 0 0 30px;
}

.pricing .nav-item:last-child .nav-link {
    border-radius: 0 30px 30px 0;
}

.pricing .nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Screenshot (ancien owl-carousel — conservé pour le hero) ***/
.screenshot-carousel {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 15px;
    margin-right: 30px;
}

.screenshot-carousel::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/screenshot-frame.png) center center no-repeat;
    background-size: 253px 500px;
    z-index: 1;
}

.screenshot-carousel .owl-item img {
    position: relative;
    width: 223px;
    height: 470px;
}

.screenshot-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 15px;
    transition: .5s;
}

.screenshot-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 5px;
    left: 5px;
    background: #FFFFFF;
    border-radius: 5px;
}

.screenshot-carousel .owl-dot.active {
    box-shadow: 0 0 10px var(--dark);
}

@media (max-width: 991.98px) {
    .screenshot-carousel {
        margin-left: auto;
        margin-right: auto !important;
    }

    .screenshot-carousel .owl-dots {
        right: -18px;
    }
}


/* ============================================================
   SECTION APERÇU — Slider adaptatif (desktop + mobile)
   ============================================================ */
#apercu .apercu-wrapper {
    background: transparent;
    padding: 80px 0;
}

#apercu .apercu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

#apercu .apercu-row {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* ---- Colonne texte ---- */
#apercu .apercu-col-text {
    flex: 0 0 38%;
    max-width: 38%;
}

#apercu .apercu-col-text h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a2e;
}

#apercu .apercu-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#apercu .apercu-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    color: #444;
}

#apercu .apercu-check-item i {
    margin-top: 3px;
    flex-shrink: 0;
}

/* ── Bulles de filtre ── */
/* ── Conteneur pill unique ── */
.apercu-filter-tabs {
    display: inline-flex;
    gap: 0;
    margin-bottom: 24px;
    justify-content: flex-start;
    background: rgba(7, 57, 128, 0.07);
    border-radius: 100px;
    padding: 4px;
    border: 1.5px solid rgba(7, 57, 128, 0.12);
}

.apercu-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 22px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    font-family: 'Jost', sans-serif;
    opacity: 0.55;
}

.apercu-filter-tab i {
    font-size: 0.95rem;
}

.apercu-filter-tab:hover:not(.active) {
    opacity: 0.8;
    background: rgba(7, 57, 128, 0.06);
}

.apercu-filter-tab.active {
    background: var(--accent);
    color: #fff;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(7, 57, 128, 0.22);
}

/* Slider masqué */
.apercu-slider--hidden {
    display: none !important;
}

/* ---- Colonne slider ---- */
#apercu .apercu-col-slider {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
}

/* Conteneur principal — taille téléphone par défaut */
#apercu .apercu-slider {
    position: relative;
    width: 210px;               /* taille originale téléphone - Captures/Interfaces/APERÇU/(Screenshots)Section5 */
    min-height: 530px;
    background: transparent;
    box-shadow: none;
    transition: width .35s ease, min-height .35s ease;
}

/* Quand le slide actif est de type "desktop", élargir le conteneur */
#apercu .apercu-slider.is-desktop {
    width: 520px;
    min-height: 340px;
}

/* Slider desktop large — prend toute la largeur de la colonne */
#apercu .apercu-slider--desktop-wide {
    width: 100% !important;
    min-height: auto !important;
    flex-shrink: 0;
}

#apercu .apercu-slider--desktop-wide .apercu-slide--desktop {
    width: 100%;
    align-items: center;
}

#apercu .apercu-slider--desktop-wide .apercu-slide--desktop .apercu-laptop-frame {
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    border: none;
    background: transparent;
    overflow: hidden;
}

#apercu .apercu-slider--desktop-wide .apercu-raw-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

#apercu .apercu-slider--desktop-wide .apercu-caption {
    margin-top: 20px;
    justify-content: center;
}

/* Les slides : seule la .active est visible */
#apercu .apercu-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: apercuFadeIn .45s ease;
}

#apercu .apercu-slide.active {
    display: flex;
}

@keyframes apercuFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Slide DESKTOP ─────────────────────────────────── */
#apercu .apercu-slide--desktop .apercu-raw-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0 0 10px 10px;
    box-shadow: none;
}

/* ── Slide PHONE ───────────────────────────────────── */
#apercu .apercu-slide--phone .apercu-raw-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

/* Légende commune */
#apercu .apercu-caption {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #555;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 7px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    white-space: nowrap;
}

#apercu .apercu-caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    flex-shrink: 0;
}

/* Barre de contrôle — masquée (toggle filtre suffit) */
/* ── Barre de contrôle unifiée sous la caption ── */
#apercu .apercu-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    background: #fff;
    border-radius: 100px;
    padding: 8px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Boutons précédent / suivant */
#apercu .apercu-nav {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(7, 57, 128, 0.15);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 0.8rem;
    color: var(--primary);
    flex-shrink: 0;
    padding: 0;
}

#apercu .apercu-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

/* Indicateurs dots */
#apercu .apercu-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#apercu .apercu-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(7, 57, 128, 0.18);
    cursor: pointer;
    padding: 0;
    transition: background .3s, width .3s, border-radius .3s;
}

#apercu .apercu-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    #apercu .apercu-row {
        flex-direction: column;
        gap: 40px;
    }
    #apercu .apercu-col-text {
        flex: none;
        max-width: 100%;
        text-align: center;
    }
    #apercu .apercu-col-slider {
        width: 100%;
        align-items: center;
    }
    #apercu .apercu-check-item {
        justify-content: flex-start;
        text-align: left;
    }
    /* Téléphone: taille réduite en tablette */
    #apercu .apercu-slider {
        width: 260px;
        min-height: 480px;
    }
    /* Desktop: taille réduite en tablette */
    #apercu .apercu-slider.is-desktop {
        width: 90vw;
        max-width: 480px;
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    #apercu .apercu-slider {
        width: 240px;
        min-height: 440px;
    }
    #apercu .apercu-slider.is-desktop {
        width: 90vw;
        max-width: 360px;
        min-height: 220px;
    }
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 60px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background:
        url(../img/bg-circle.png),
        url(../img/bg-triangle.png),
        url(../img/bg-top.png),
        linear-gradient(to bottom right, var(--primary), black);
    background-position:
        left 0px bottom 0px,
        right 0px top 50%,
        center top;
    background-repeat: no-repeat;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

body {
    background-color: #FFFCE6;
}

section:not(.bg-primary):not(.bg-secondary):not(.bg-info):not(.bg-dark):not(.bg-success),
.section:not(.bg-primary):not(.bg-secondary):not(.bg-info):not(.bg-dark):not(.bg-success),
.bg-white,
.bg-light,
.bg-body {
    background-color: #FFFCE6 !important;
}



/* Réduction des espacements verticaux */
.container-xxl.py-5,
.container.py-5,
.container-xxl.py-4,
.container.py-4,
.row.g-4,
.row.g-5 {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.hero-header {
    margin-bottom: 1rem !important;
    padding-top: 8.5rem !important;
}

#about,
#produit,
#solutions{
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    color: var(--accent) !important;
    background-color: transparent !important;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:hover,
.footer .footer-menu a:focus {
    color: #D75803 !important;
    background-color: transparent !important;
    text-decoration: underline;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* =======================================
   SECTION PARTENAIRES
   ======================================= */

/* =======================================
   SECTION PARTENAIRES — carte illustrée
   ======================================= */
#partenaires {
    background-color: var(--light) !important;
    padding: 20px 0 60px;
}

.partenaires-card {
    background-color: var(--primary);
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 52px 60px;
    overflow: hidden;
    position: relative;
    gap: 48px;
}

/* Accent dot pattern subtil en fond */
.partenaires-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.partenaires-content {
    flex: 1;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.partenaires-eyebrow {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 1.1rem;
}

.partenaires-title {
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.partenaires-desc {
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.partenaires-card .btn-partenariat {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent);
    border: 2px solid var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 99px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.partenaires-card .btn-partenariat:hover,
.partenaires-card .btn-partenariat:focus {
    background-color: transparent;
    color: #fff;
}

.partenaires-illustration {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.partenaires-img {
    width: 100%;
    max-width: 320px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}

@media (max-width: 991px) {
    .partenaires-card {
        flex-direction: column-reverse;
        padding: 40px 32px 48px;
        text-align: center;
        gap: 28px;
    }
    .partenaires-content {
        max-width: 100%;
    }
    .partenaires-eyebrow {
        margin-bottom: 0.8rem;
    }
    .partenaires-illustration {
        width: 200px;
    }
}

/* =======================================
   SECTION POURQUOI MAINTENANT — redesign
   ======================================= */
#pourquoi-maintenant {
    background-color: var(--primary) !important;
    padding: 0;
}

.pqm-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 48px;
}

.pqm-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 64px;
}

/* --- Colonne carte --- */
.pqm-map-col {
    flex: 0 0 auto;
    width: 42%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pqm-map-img {
    width: 100%;
    max-width: 480px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.20);
}

/* --- Colonne contenu --- */
.pqm-content-col {
    flex: 1;
}

.pqm-eyebrow {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 1.2rem;
}

.pqm-title {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 2.2rem;
    max-width: 520px;
}

/* --- Grille stats 2×2 --- */
.pqm-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 36px;
}

.pqm-stat {
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--accent);
}

.pqm-stat-num {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
    font-family: 'Jost', sans-serif;
}

.pqm-stat-label {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .pqm-layout {
        flex-direction: column;
        gap: 40px;
    }
    .pqm-map-col {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .pqm-inner {
        padding: 60px 24px;
    }
    .pqm-title {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .pqm-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================================
   SECTION RESSOURCES — redesign
   ======================================= */
#ressources {
    background-color: var(--light-2) !important;
    padding: 0;
}

.ressources-outer {
    background-color: var(--light-2) !important;
    padding: 60px 0;
}

.ressources-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 48px;
}

/* ── Colonne stats (gauche ~40%) ── */
.res-stats-col {
    flex: 0 0 38%;
    max-width: 38%;
}

.res-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    column-gap: 24px;
}

.res-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.res-stat-num {
    font-family: 'Jost', sans-serif;
    font-size: clamp(2.4rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.res-stat-label {
    font-family: 'Heebo', sans-serif;
    font-size: 0.82rem;
    color: rgba(7, 57, 128, 0.55);
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Séparateur vertical entre les 2 colonnes de stats */
.res-stats-grid .res-stat-item:nth-child(odd) {
    padding-right: 16px;
    border-right: 1.5px solid rgba(7, 57, 128, 0.12);
}

/* ── Colonne map (droite ~60%) ── */
.res-map-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.res-map-img {
    width: 88%;
    max-width: 560px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .ressources-inner {
        flex-direction: column;
        gap: 40px;
    }

    .res-stats-col {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .res-stats-grid {
        max-width: 480px;
        margin: 0 auto;
    }

    .res-map-col {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .res-stats-grid {
        column-gap: 12px;
        row-gap: 28px;
    }

    .res-stat-num {
        font-size: 2rem;
    }
}

/* =======================================
   SECTION COMMENT ÇA MARCHE — Stepper horizontal
   ======================================= */

#comment-ca-marche {
    background-color: #ffffff !important;
    padding: 60px 0; /* espacement réduit au-dessus/en-dessous */
}

.ccm-wrapper {
    background-color: #ffffff !important;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Titre section */
.ccm-title {
    font-family: 'Jost', sans-serif;
    font-size: 2.6rem;
    font-weight: 400;
    /* color: var(--accent); */
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.ccm-title strong {
    font-weight: 700;
    /* color:var(--primary); */
    color:var(--accent);
}

.ccm-subtitle {
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    color: #888;
    max-width: 520px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Stepper row */
.ccm-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

/* Chaque étape */
.ccm-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
}

/* Cercle numéroté */
.ccm-circle1 {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 28px;
    /* box-shadow: 0 4px 18px rgba(7, 57, 128, 0.25); */
}
.ccm-circle2 {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #FFFCE6;
    color: #073980;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 28px;
    /* box-shadow: 0 4px 18px rgba(7, 57, 128, 0.25); */
}
.ccm-circle3 {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 28px;
    /* box-shadow: 0 4px 18px rgba(7, 57, 128, 0.25); */
}

/* Ligne pointillée entre les étapes */
.ccm-dashed-line {
    flex: 1;
    border-top: 2.5px dashed #c5c5c5;
    margin-top: 32px; /* aligne au centre du cercle */
    min-width: 60px;
    max-width: 160px;
    align-self: flex-start;
}

/* Titre de l'étape */
.ccm-step-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* Description de l'étape */
.ccm-step-desc {
    font-family: 'Heebo', sans-serif;
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
    padding: 0 8px;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .ccm-stepper {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .ccm-step {
        max-width: 100%;
        width: 100%;
    }

    .ccm-dashed-line {
        width: 2.5px;
        height: 40px;
        border-top: none;
        border-left: 2.5px dashed #c5c5c5;
        margin: 0 auto;
        min-width: unset;
        max-width: unset;
        align-self: center;
    }

    .ccm-title {
        font-size: 2rem;
    }
       
}
/* =======================================
   SECTION CONTACT — épuré, inputs underline
   ======================================= */

#contact{
    background-color: var(--light) !important;
} 
.contact-outer {
    background: transparent;
    padding: 80px 0 0;
}

.contact-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 32px 100px;
}

/* En-tête */
.ck-label {
    display: block;
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.ck-title {
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.ck-sub {
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    color: #6b7a99;
    line-height: 1.65;
    max-width: 420px;
    margin: 0 0 40px;
}

.ck-divider {
    height: 1px;
    background: #e4e8f0;
    margin: 0 0 48px;
}

/* Grille formulaire */
.ck-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ck-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
}

.ck-field {
    position: relative;
    margin-bottom: 36px;
}

.ck-field--full {
    grid-column: 1 / -1;
}

.ck-field label {
    display: block;
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #9aa3b8;
    margin-bottom: 12px;
}

/* ── L'essentiel : ligne du bas uniquement ── */
.ck-field input,
.ck-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #d0d6e4;
    border-radius: 0;
    padding: 6px 0 12px;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    outline: none;
    resize: none;
    transition: border-color 0.25s;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.ck-field textarea {
    height: 72px;
    line-height: 1.6;
}

.ck-field input::placeholder,
.ck-field textarea::placeholder {
    color: #c2c9d8;
}

/* Ligne animée au focus */
.ck-field::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.ck-field:focus-within::after {
    width: 100%;
}

.ck-field:focus-within input,
.ck-field:focus-within textarea {
    border-bottom-color: transparent;
}

/* Pied : meta + bouton */
.ck-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 20px;
}

.ck-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.ck-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Heebo', sans-serif;
    font-size: 0.85rem;
    color: #6b7a99;
}

.ck-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.ck-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.25s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(7, 57, 128, 0.22);
}

.ck-btn:hover {
    background: #0a4aaa;
    transform: translateY(-2px);
}

.ck-btn-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ck-title { font-size: 2rem; }
    .ck-grid { grid-template-columns: 1fr; gap: 0; }
    .ck-field--full { grid-column: 1; }
    .ck-bottom { flex-direction: column; align-items: flex-start; }
    .ck-btn { width: 100%; justify-content: center; }
    .contact-wrapper { padding: 0 20px 80px; }
}









    /* Mobile global text scaling pour toutes les sections */
@media (max-width: 991.98px) {
    h1, h2, h3, p, .btn, .text-center, .text-left {
        font-size: inherit;
    }
    .hero-header h1,
    .hero-header p,
    .apropos-title,
    .apropos-desc,
    .probleme-title,
    .probleme-desc,
    .produit-title,
    .produit-desc,
    .partenaires-title,
    .partenaires-desc,
    .pqm-title,
    .pqm-stat-label,
    .ccm-title,
    .ccm-subtitle,
    .ck-title,
    .ck-sub,
    .em-title,
    .em-subtitle {
        font-size: 1.3rem !important;
        line-height: 1.35 !important;
    }
    .hero-header h1,
    .apropos-title,
    .produit-title,
    .partenaires-title,
    .pqm-title,
    .ccm-title,
    .ck-title,
    .em-title,
    .probleme-title {
        font-size: 1.7rem !important;
    }
    .hero-header p,
    .apropos-desc,
    .produit-desc,
    .partenaires-desc,
    .pqm-stat-label,
    .ccm-subtitle,
    .ck-sub,
    .em-subtitle,
    .probleme-desc {
        font-size: 1.4rem !important;
    }
    .apropos-phone-img {
        max-height: 320px !important;
    }
}










/* =============================================
   SECTION
============================================= */
#etude-marche {
  background: var(--primary);
  /* padding: 96px 0 104px; */
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

/* grain subtil */
#etude-marche::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 256px; pointer-events: none; z-index: 0;
}

/* cercle accent top-right */
#etude-marche::after {
  content: '';
  position: absolute; top: -240px; right: -240px;
  width: 640px; height: 640px; border-radius: 50%;
  border: 100px solid rgba(215,88,3,0.07);
  pointer-events: none; z-index: 0;
}

.em-inner {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 44px;
}

/* ─── HEADER ─── */
.em-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.em-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent);
  border: 1px solid rgba(215,88,3,0.38);
  color: var(--light);
  font-size: 0.70rem; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 99px;
  margin-bottom: 18px;
}
.em-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.35; transform:scale(0.75); }
}

.em-title {
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 900; 
  color: var(--primary);
  line-height: 1.07; letter-spacing: -1px;
}
.em-title em { color: var(--accent); font-style: italic; font-weight: 800; }

.em-subtitle {
  font-family: 'Heebo', sans-serif;
  font-size: 0.94rem; line-height: 1.80;
  color: var(--primary);
  max-width: 340px;
}
.em-subtitle strong { color: var(--primary); font-weight: 600; }

/* ─── COMPTEURS ─── */
.em-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--primary);
  border-radius: 18px; overflow: hidden;
  margin-bottom: 28px;
}
.em-counter {
  background: var(--glass);
  padding: 36px 20px 30px;
  text-align: center;
  cursor: default;
  position: relative;
  transition: background 0.35s;
}
.em-counter::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px;
  background: var(--accent); border-radius: 2px;
  transition: width 0.4s ease;
}
.em-counter:hover { background: rgba(215,88,3,0.11); }
.em-counter:hover::after { width: 55%; }

.em-counter-num {
  font-size: clamp(2.4rem, 3.8vw, 3.5rem);
  font-weight: 900; color: #fff;
  line-height: 1; margin-bottom: 9px;
  font-variant-numeric: tabular-nums;
}
.em-counter-num sup { font-size: 0.55em; color: var(--accent); vertical-align: super; }

.em-counter-title {
  font-size: 0.86rem; font-weight: 700;
  color: rgb(255, 255, 255);
  margin-bottom: 4px;
}
.em-counter-desc {
  font-family: 'Heebo', sans-serif;
  font-size: 0.76rem; line-height: 1.45;
  color: rgb(255, 255, 255);
}

/* ─── BENTO GRID ─── */
.em-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

/* carte de base */
.em-card {
  background: var(--primary);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 34px 32px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.em-card:hover {
  background: var(--primary);
  border-color: rgba(215,88,3,0.28);
  transform: translateY(-3px);
}

.em-card-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--light);
  margin-bottom: 22px;
}
.em-card-tag i { font-size: 0.65rem; }

/* ── CARD 1 : Barres horizontales ── */
.em-bars { display: flex; flex-direction: column; gap: 13px; }

.em-bar-row { display: flex; align-items: center; gap: 12px; }

.em-bar-name {
  font-family: 'Heebo', sans-serif;
  font-size: 0.79rem; color: rgb(255, 255, 255);
  min-width: 90px; flex-shrink: 0; text-align: right;
}

.em-bar-track {
  flex: 1; height: 9px;
  background: rgba(255,255,255,0.07);
  border-radius: 6px; overflow: hidden;
}
.em-bar-fill {
  height: 100%; border-radius: 6px;
  background: var(--accent); width: 0;
  transition: width 1.3s cubic-bezier(0.4,0,0.2,1);
}
.em-bar-fill.muted { background: rgb(255, 255, 255); }

.em-bar-val {
  font-family: 'Heebo', sans-serif;
  font-size: 0.78rem; color: rgb(255, 255, 255);
  min-width: 46px; flex-shrink: 0;
}
.em-bar-val.hot { color: var(--light); font-weight: 600; }

/* séparateur interne */
.em-separator {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 26px 0;
}

/* ── CARD 2 : Insights ── */
.em-insights { display: flex; flex-direction: column; gap: 14px; }

.em-insight {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 14px; padding: 16px 18px;
  border-left: 3px solid rgba(215,88,3,0.55);
  transition: background 0.25s, border-color 0.25s;
}
.em-insight:hover {
  background: rgba(215,88,3,0.10);
  border-left-color: var(--accent);
}

.em-insight-pct {
  font-size: 1.55rem; font-weight: 900;
  color: var(--accent); line-height: 1;
  flex-shrink: 0; min-width: 58px;
}
.em-insight-pct sup { font-size: 0.5em; color: var(--accent-light); }

.em-insight-body {
  font-family: 'Heebo', sans-serif;
  font-size: 0.84rem; line-height: 1.55;
  color: rgb(255, 255, 255);
}
.em-insight-body strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* ── CARD 3 : Fréquence — pleine largeur ── */
.em-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.em-freq-left {}
.em-freq-lead {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 900; color: #fff;
  line-height: 1; margin-bottom: 10px;
}
.em-freq-lead span { color: var(--accent); }
.em-freq-tagline {
  font-family: 'Heebo', sans-serif;
  font-size: 0.94rem; line-height: 1.65;
  color: rgb(255, 255, 255);
  max-width: 280px;
}
.em-freq-tagline strong { color: rgb(255, 255, 255); font-weight: 600; }

/* colonnes verticales */
.em-freq-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.em-vbar-row {
  display: flex; align-items: center; gap: 14px;
}
.em-vbar-label {
  font-family: 'Heebo', sans-serif;
  font-size: 0.80rem; color: rgb(255, 255, 255);
  min-width: 80px; flex-shrink: 0; text-align: right;
}
.em-vbar-track {
  flex: 1; height: 11px;
  background: rgba(255,255,255,0.07);
  border-radius: 6px; overflow: hidden;
  position: relative;
}
.em-vbar-fill {
  height: 100%; border-radius: 6px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.em-vbar-fill.v1 { background: var(--accent); }
.em-vbar-fill.v2 { background: #ffffff; }
.em-vbar-fill.v3 { background: #ffffff; }
.em-vbar-fill.v4 { background: #ffffff; }

.em-vbar-pct {
  font-family: 'Jost', sans-serif;
  font-size: 0.84rem; font-weight: 700;
  min-width: 44px; flex-shrink: 0;
}
.em-vbar-pct.hot { color: var(--light); }
.em-vbar-pct.mid { color: rgb(255, 255, 255); }
.em-vbar-pct.low { color: rgb(255, 255, 255); }

/* pill conclusion */
.em-freq-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(215,88,3,0.14);
  border: 1px solid rgba(215,88,3,0.32);
  border-radius: 99px;
  padding: 8px 18px;
  margin-top: 10px;
}
.em-freq-pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  animation: pulse 2.2s ease infinite;
}
.em-freq-pill span {
  font-family: 'Heebo', sans-serif;
  font-size: 0.82rem; color: rgb(255, 255, 255);
}
.em-freq-pill span strong { color: var(--accent-light); font-weight: 600; }

/* source */
.em-source {
  margin-top: 36px; text-align: center;
  font-family: 'Heebo', sans-serif;
  font-size: 0.72rem; color: rgba(255,255,255,0.24);
  letter-spacing: 0.05em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .em-bento { grid-template-columns: 1fr; }
  .em-card--wide {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .em-freq-lead { font-size: 3rem; }
  .em-counters { grid-template-columns: repeat(2,1fr); }
  .em-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .em-inner { padding: 0 22px; }
  #etude-marche { padding: 64px 0 72px; }
}
@media (max-width: 500px) {
  .em-counters { grid-template-columns: 1fr 1fr; }
  .em-counter-num { font-size: 2rem; }
  .em-freq-lead { font-size: 2.4rem; }
  .em-vbar-label { min-width: 64px; font-size: 0.73rem; }
}
/*NEW*/