/* ============================================
   FINACCESS - NOUVELLE PALETTE DE COULEURS
   Design System Clean Tech
   ============================================ */

:root {
  /* Nouvelle palette de couleurs */
  --finaccess-primary: #0000FF;        /* Bleu Finaccess (logo) */
  --finaccess-primary-hover: #0000C8;
  --finaccess-secondary: #0F1B3D;       /* Bleu nuit */
  --finaccess-accent: #ff9e01;          /* Orange bouton CTA (NOUS CONTACTER) */
  --finaccess-accent-hover: #e68f00;
  --finaccess-bg: #F8FAFC;              /* Gris Neige */
  --finaccess-text: #1A1A1A;           /* Gris très foncé */
  --finaccess-text-light: #666666;
  --finaccess-white: #FFFFFF;
  --finaccess-shadow: rgba(26, 26, 26, 0.1);
}

/* ============================================
   FOND DE PAGE GLOBAL
   ============================================ */

body {
  background-color: var(--finaccess-bg) !important;
  color: var(--finaccess-text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   BOUTONS
   ============================================ */

/* Boutons CTA du Hero - tous avec la couleur accent (orange #ff9e01) */
.Modern-Slider .item .filled-button {
  background-color: var(--finaccess-accent);
  color: #FFFFFF !important;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 12px; /* rounded-xl */
  display: inline-block;
  transition: all 0.3s;
  border: none;
}

.Modern-Slider .item .filled-button:hover {
  background-color: var(--finaccess-accent-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 158, 1, 0.35);
}

/* Boutons filled-button ailleurs (hors Hero) - Garder le style blanc */
a.filled-button:not(.Modern-Slider .item .filled-button) {
  background-color: var(--finaccess-primary);
  color: var(--finaccess-white);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 12px;
  display: inline-block;
  transition: all 0.3s;
  border: none;
}

a.filled-button:not(.Modern-Slider .item .filled-button):hover {
  background-color: var(--finaccess-primary-hover);
  color: var(--finaccess-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 255, 0.3);
}

/* Bouton CTA principal (Hero) - Texte blanc */
.Modern-Slider .item .filled-button.cta-primary {
  background-color: var(--finaccess-accent);
  color: #FFFFFF !important;
  font-weight: 700;
}

.Modern-Slider .item .filled-button.cta-primary:hover {
  background-color: var(--finaccess-accent-hover);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(255, 158, 1, 0.35);
}

/* Boutons bordure (border-button) */
a.border-button {
  background-color: transparent;
  color: var(--finaccess-white);
  border: 2px solid var(--finaccess-white);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 12px;
  display: inline-block;
  transition: all 0.3s;
}

a.border-button:hover {
  background-color: var(--finaccess-primary);
  color: var(--finaccess-white);
  border-color: var(--finaccess-primary);
  transform: translateY(-2px);
}

/* ============================================
   MENU DE NAVIGATION
   ============================================ */

/* Logo officiel - taille et rendu */
.navbar .navbar-brand .vitrine-nav-logo,
.navbar .navbar-brand img.vitrine-nav-logo {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.background-header .navbar-brand .vitrine-nav-logo,
.background-header .navbar-brand img.vitrine-nav-logo {
  height: 56px;
  /* Légère remontée du logo en mode scroll */
  transform: translateY(-10px);
}

/* Variantes logo clair / logo couleur */
.navbar .navbar-brand .vitrine-logo-light {
  display: block !important;
}

.navbar .navbar-brand .vitrine-logo-colored {
  display: none !important;
}

.background-header .navbar-brand .vitrine-logo-light {
  display: none !important;
}

.background-header .navbar-brand .vitrine-logo-colored {
  display: block !important;
}

/* Liens du menu - Blanc pour meilleure lisibilité sur fond sombre (sans ombre) */
.navbar .navbar-nav a.nav-link {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  color: #FFFFFF !important;
  transition: all 0.3s;
  text-shadow: none !important;
}

/* Lien actif du menu (sans ombre) */
.navbar .navbar-nav .nav-link.current,
.navbar .navbar-nav .nav-link:hover {
  color: #FFFFFF !important;
  border-bottom: 3px solid #FFFFFF;
  text-shadow: none !important;
}

/* Menu en mode background-header (après scroll) - Texte sombre sur fond blanc */
.background-header .navbar-nav a.nav-link {
  color: var(--finaccess-text) !important;
  text-shadow: none;
}

.background-header .navbar-nav .nav-link.current,
.background-header .navbar-nav .nav-link:hover {
  color: var(--finaccess-primary) !important;
  border-bottom: 3px solid var(--finaccess-primary);
  text-shadow: none;
}

.background-header .navbar-brand h2 {
  color: var(--finaccess-primary) !important;
}

/* ============================================
   SECTION HERO (Landing Page)
   ============================================ */

/* Voile Hero subtil, du bleu du logo au bleu profond - Réduit pour laisser voir l'image */
.Modern-Slider .item .img-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 255, 0.25) 0%,
    rgba(0, 0, 160, 0.25) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Overlay dégradé existant (amélioré pour meilleure lisibilité) */
.Modern-Slider .item .img-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Correction de l'étirement des images du slider */
.Modern-Slider .item .img-fill {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  position: relative;
  overflow: hidden;
}

/* S'assurer que le contenu texte est au-dessus de l'overlay */
.Modern-Slider .text-content {
  position: relative;
  z-index: 2;
}

/* Texte du Hero - titres h4 plus imposants, plus gras, espacement lettres réduit */
.Modern-Slider .item h4 {
  text-shadow: none !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  font-size: 54px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.15 !important;
}

.Modern-Slider .item p {
  text-shadow: none !important;
  color: #FFFFFF !important;
}

.Modern-Slider .item h6 {
  text-shadow: none !important;
  color: #FFFFFF !important;
  font-weight: 700;
}

/* Preloader */
#preloader {
  background: var(--finaccess-primary);
}

/* Bouton flottant WhatsApp (vitrine). Il était remonté à 85 px pour laisser
   la place au badge reCAPTCHA ; le badge est désormais masqué (mention
   écrite sous les formulaires, ce que Google autorise) et la bulle de RKA
   s'empile au-dessus de ce bouton. */
.whatsapp-float {
  position: fixed;
  right: 24px; /* centré sous la bulle de RKA (64 px, à 20 px du bord) */
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 1039;
}

@media (max-width: 575.98px) {
  .whatsapp-float { right: 17px; }
}

.grecaptcha-badge { visibility: hidden; }

.recaptcha-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--finaccess-text-light);
}

.recaptcha-note a { color: inherit; text-decoration: underline; }
footer .recaptcha-note { color: rgba(255, 255, 255, .65); }

/* « Demander à RKA » dans l'encart d'aide de la FAQ */
.fa-faq-btn--rka { background: #0000FF; color: #FFFFFF !important; border: 0; width: 100%; cursor: pointer; font: inherit; }
.fa-faq-btn--rka:hover { background: #1F48E6; }

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SECTIONS HEADING
   ============================================ */

.section-heading h2 {
  color: var(--finaccess-text);
}

.section-heading em {
  color: var(--finaccess-primary);
  font-style: normal;
}

.section-heading span {
  color: var(--finaccess-text-light);
}

/* ============================================
   SECTION NOS SERVICES
   ============================================ */

/* Titre "Nos Services" */
.services .section-heading h2 em {
  color: var(--finaccess-primary);
}

/* Cartes de service - Hauteur uniforme */
.service-item {
  background-color: var(--finaccess-white);
  border-radius: 16px; /* rounded-xl */
  overflow: hidden;
  box-shadow: 0 2px 8px var(--finaccess-shadow);
  transition: all 0.3s;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.15);
}

.service-item .down-content {
  background-color: var(--finaccess-white);
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-item .down-content h4 {
  color: var(--finaccess-text);
  font-weight: 700;
}

.service-item .down-content p {
  color: var(--finaccess-text-light);
  flex: 1;
  margin-bottom: 20px;
}

/* Boutons "DÉCOUVRIR" dans les services */
.service-item .down-content .filled-button {
  background-color: var(--finaccess-primary);
  color: var(--finaccess-white);
  margin-top: auto;
  align-self: flex-start;
}

.service-item .down-content .filled-button:hover {
  background-color: var(--finaccess-primary-hover);
}

/* Amélioration pour les images de service - Hauteur fixe uniforme */
.service-item img {
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

/* Assurer que les colonnes de services ont la même hauteur */
.services .row {
  display: flex;
  flex-wrap: wrap;
}

.services .col-md-4 {
  display: flex;
}

/* ============================================
   SUB-HEADER
   ============================================ */

.sub-header {
  background-color: var(--finaccess-primary) !important;
}

/* Icône TikTok (SVG inline - Font Awesome 4 n'inclut pas TikTok) */
.icon-tiktok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.icon-tiktok svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.sub-header .icon-tiktok svg,
.sub-header .right-icons .icon-tiktok svg {
  width: 18px;
  height: 18px;
}

footer .social-icons .icon-tiktok svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   REQUEST FORM
   ============================================ */

.request-form {
  background-color: var(--finaccess-primary);
  color: var(--finaccess-white);
}

.request-form .border-button:hover {
  background-color: var(--finaccess-white);
  color: var(--finaccess-primary);
  border-color: var(--finaccess-white);
}

/* ============================================
   FUN FACTS
   ============================================ */

.fun-facts {
  position: relative;
}

.fun-facts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.fun-facts .container {
  position: relative;
  z-index: 1;
}

.fun-facts em {
  color: var(--finaccess-primary);
}

.count-digit {
  color: var(--finaccess-primary);
}

/* Uniformiser la hauteur des carrés de statistiques - garder la taille du premier carré */
.fun-facts .col-md-6 .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.fun-facts .col-md-6 .col-md-6 {
  display: flex;
  flex-direction: column;
}

.count-area-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ============================================
   MORE INFO
   ============================================ */

.more-info .left-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}

.more-info .left-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* ============================================
   TESTIMONIALS / FONCTIONNALITÉS
   ============================================ */

.testimonial-item {
  background-color: var(--finaccess-white);
  border-radius: 12px;
  padding: 20px;
  margin: 15px;
  box-shadow: 0 2px 8px var(--finaccess-shadow);
  transition: all 0.3s;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 26, 26, 0.08);
  min-height: 280px;
  overflow: hidden;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.15);
}

.testimonial-item .inner-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-item .inner-content i {
  color: var(--finaccess-primary) !important;
  margin-bottom: 15px;
  font-size: 40px !important;
}

.testimonial-item .inner-content h4 {
  color: var(--finaccess-text);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.3;
}

.testimonial-item .inner-content p {
  color: var(--finaccess-text-light);
  flex: 1;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

/* Assurer que les colonnes de fonctionnalités ont la même hauteur et espacement uniforme */
.testimonials .row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.testimonials .col-md-4 {
  display: flex;
  padding: 0;
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--finaccess-text);
  color: var(--finaccess-white);
}

footer h4 {
  color: var(--finaccess-primary);
}

.sub-footer {
  background-color: #0F0F0F;
}

footer ul.social-icons li a:hover {
  background-color: var(--finaccess-primary);
}

footer ul.menu-list li a:hover {
  color: var(--finaccess-primary);
}

/* ============================================
   PARTNERS
   ============================================ */

.partners .partner-item {
  text-align: center;
  padding: 20px;
}

.partners .partner-item img:hover {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
  transform: scale(1.1);
}

/* ============================================
   STYLE GLOBAL CLEAN TECH
   ============================================ */

/* Bordures arrondies */
.card,
.service-item,
.filled-button,
.border-button {
  border-radius: 12px; /* rounded-xl */
}

/* Espacements aérés */
.section-heading {
  margin-bottom: 80px;
  padding: 0 20px;
}

.services {
  padding: 40px 0;
}

.fun-facts,
.more-info {
  padding: 80px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .Modern-Slider .item h4 {
    font-size: 32px !important;
    letter-spacing: 0.3px !important;
  }

  .navbar .navbar-nav a.nav-link {
    font-size: 16px !important;
    font-weight: 700 !important;
  }
  
  /* ============================================
     MENU MOBILE - Correction couleur des liens
     ============================================ */
  
  /* Menu mobile ouvert - fond blanc, texte sombre */
  .navbar-collapse .navbar-nav a.nav-link {
    color: #1A1A1A !important;
    text-shadow: none !important;
  }
  
  /* Lien actif ou hover en mobile */
  .navbar-collapse .navbar-nav .nav-link:hover,
  .navbar-collapse .navbar-nav .nav-link.current {
    color: #0000FF !important;
    border-bottom: none !important;
    background-color: rgba(0, 0, 255, 0.05);
  }
  
  /* Logo FINACCESS en mobile - toujours visible */
  .navbar .navbar-brand h2 {
    color: #0000FF !important;
    text-shadow: none !important;
  }
}


/* ==========================================================================
   PARTENAIRES — carrousel (CUBE, KPI BANK, FedaPay)
   Gris au repos, couleur au survol : un ensemble homogène malgré des logos
   de styles différents. Hauteur commune, largeur libre (owl.css force sinon
   les images à 100 % de largeur, ce qui déformerait les logos).
   ========================================================================== */
.partners .fa-partner {
  margin: 0;
  /* box-sizing: border-box inclut le padding de .partner-item : 190 px laissent
     la place au plus haut logo, et toutes les légendes s'alignent en bas. */
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.partners .fa-partner img {
  height: var(--logo-h, 64px);
  width: auto !important;
  max-width: 240px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .75;
  transition: filter .3s ease-in-out, opacity .3s ease-in-out, transform .3s ease-in-out;
}
.partners .fa-partner:hover img {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}
.partners .fa-partner figcaption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a93a6;
}
@media (max-width: 575.98px) {
  .partners .section-heading h2 { font-size: 28px; }
  .partners .fa-partner img { height: calc(var(--logo-h, 64px) * .85); max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .partners .fa-partner img { transition: none; }
}


/* ==========================================================================
   FAQ — questions fréquentes (maquette validée le 2026-10-13)
   Onglets par thème, une seule réponse ouverte, ouverture animée en 0,3 s.
   ========================================================================== */
.fa-faq { background: #F5F7FB; padding: 100px 0 110px; }
.fa-faq-heading { margin-bottom: 52px; }
.fa-faq-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
/* L'aide à gauche sur ordinateur (maquette) ; dans le code, les questions passent
   d'abord : au téléphone et pour un lecteur d'écran, elles viennent en premier. */
.fa-faq-aside { order: -1; }
.fa-faq-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.fa-faq-tab {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; color: #0F1B3D; border: 1.5px solid #E6EAF2;
  transition: background-color .2s ease-in-out, border-color .2s ease-in-out, color .2s ease-in-out;
}
.fa-faq-tab:hover { border-color: #0000FF; }
.fa-faq-tab[aria-pressed="true"] { background: #0000FF; border-color: #0000FF; color: #FFFFFF; }
.fa-faq-count {
  min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
  background: #EEF0FF; color: #0000FF;
}
.fa-faq-tab[aria-pressed="true"] .fa-faq-count { background: rgba(255, 255, 255, .22); color: #FFFFFF; }
.fa-faq-tab:focus-visible, .fa-faq-q:focus-visible { outline: 3px solid #0000FF; outline-offset: 2px; }

.fa-faq-group { display: flex; flex-direction: column; gap: 12px; }
.fa-faq-group[hidden] { display: none; }
.fa-faq-item {
  background: #FFFFFF; border-radius: 16px; border: 1.5px solid #E6EAF2;
  transition: border-color .25s ease-in-out, box-shadow .25s ease-in-out;
}
.fa-faq-item.is-open { border-color: #0000FF; box-shadow: 0 16px 36px -20px rgba(0, 0, 255, .45); }
.fa-faq-h { margin: 0; font-size: inherit; line-height: inherit; }
.fa-faq-q {
  width: 100%; min-height: 72px; padding: 20px 24px; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 18px; text-align: left;
  font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; line-height: 1.45; color: #0F1B3D;
}
.fa-faq-q > span:first-child { flex: 1 1 auto; transition: color .2s ease-in-out; }
.fa-faq-q:hover > span:first-child { color: #0000FF; }
.fa-faq-icon {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #EEF0FF; color: #0000FF;
  transition: transform .3s ease-in-out, background-color .3s ease-in-out, color .3s ease-in-out;
}
.fa-faq-item.is-open .fa-faq-icon { background: #0000FF; color: #FFFFFF; transform: rotate(45deg); }
/* Ouverture animée : la hauteur passe de 0 à son contenu. */
.fa-faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-in-out; }
.fa-faq-item.is-open .fa-faq-panel { grid-template-rows: 1fr; }
.fa-faq-panel-inner { overflow: hidden; }
.fa-faq-a { margin: 0; padding: 0 76px 24px 24px; font-size: 15.5px; line-height: 1.7; color: #4B5565; }
.fa-faq-a a { color: #0000FF; text-decoration: underline; }

.fa-faq-help { background: #FFFFFF; border: 1px solid #E6EAF2; border-radius: 20px; padding: 30px; }
.fa-faq-help-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(145deg, #0000FF, #0000C8); color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px -10px rgba(0, 0, 255, .7); }
.fa-faq-help h3 { margin: 20px 0 8px; font-size: 20px; font-weight: 600; line-height: 1.35; color: #0F1B3D; }
.fa-faq-help p { margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: #5B6478; }
.fa-faq-btn {
  min-height: 50px; border-radius: 12px; margin-top: 10px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none !important; transition: filter .2s ease-in-out;
}
.fa-faq-btn:hover { filter: brightness(.95); }
.fa-faq-btn--wa { background: #0F7A3D; color: #FFFFFF !important; }
.fa-faq-btn--mail { background: #FFFFFF; border: 1.5px solid #D5DCEA; color: #0F1B3D !important; }
.fa-faq-trust { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.fa-faq-trust li { display: flex; gap: 14px; align-items: center; }
.fa-faq-trust li > span:last-child { font-size: 13px; line-height: 1.45; color: #5B6478; }
.fa-faq-trust strong { display: block; font-size: 14.5px; font-weight: 600; color: #0F1B3D; }
.fa-faq-trust-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.fa-faq-trust-icon--blue { background: #EEF0FF; color: #0000FF; }
.fa-faq-trust-icon--green { background: #E7F7F0; color: #0E7A55; }
.fa-faq-trust-icon--orange { background: #FFF4E0; color: #B45309; }

/* Téléphone et tablette : les questions d'abord, l'aide ensuite ; onglets qui défilent. */
@media (max-width: 991.98px) {
  .fa-faq { padding: 64px 0 72px; }
  .fa-faq-heading { margin-bottom: 30px; }
  /* minmax(0, 1fr) et min-width: 0 : sans eux, la colonne s'élargissait à la
     largeur de toute la rangée d'onglets (622 px sur un écran de 390), et la
     page entière débordait — encadré coupé, logos partenaires superposés. */
  .fa-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fa-faq-main, .fa-faq-aside { min-width: 0; }
  .fa-faq-aside { order: 0; }
  .fa-faq-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -15px 18px; padding: 2px 15px 6px; scrollbar-width: none; }
  .fa-faq-tabs::-webkit-scrollbar { display: none; }
  .fa-faq-tab { flex: 0 0 auto; white-space: nowrap; }
  .fa-faq-q { min-height: 64px; padding: 16px 16px 16px 18px; font-size: 15.5px; gap: 14px; }
  .fa-faq-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .fa-faq-a { padding: 0 18px 18px; font-size: 15px; }
  .fa-faq-help { background: #0F1B3D; border-color: #0F1B3D; padding: 26px 22px; }
  .fa-faq-help-icon { display: none; }
  .fa-faq-help h3 { margin-top: 0; color: #FFFFFF; }
  .fa-faq-help p { color: #C9D1E3; }
  .fa-faq-btn--wa { background: #25D366; color: #0B2E19 !important; }
  .fa-faq-btn--mail { background: transparent; border-color: rgba(255, 255, 255, .35); color: #FFFFFF !important; }
}
@media (prefers-reduced-motion: reduce) {
  .fa-faq-tab, .fa-faq-item, .fa-faq-icon, .fa-faq-panel, .fa-faq-btn { transition: none; }
}


/* ==========================================================================
   RYTHME DES SECTIONS (2026-10-13)
   Les sections étaient séparées par des marges blanches de 140 px héritées du
   modèle : à partir d'« À propos », cinq fonds quasi blancs se suivaient et on
   ne voyait plus le passage d'une section à l'autre. Chaque section porte
   désormais son propre fond, en alternance, et UNE seule section porte une
   couleur forte (Fonctionnalités, bleu nuit).
     À propos blanc → Fonctionnalités bleu nuit → FAQ blanc
     → Contact gris-bleu → Partenaires blanc → pied de page noir
   ========================================================================== */
.more-info,
.testimonials,
.callback-form,
.partners {
  margin-top: 0;
}

/* À propos : blanc, sans le bloc gris qui flottait au milieu. */
.more-info { background: #FFFFFF; padding: 110px 0; }
.more-info .more-info-content { background-color: transparent; }
.more-info .right-content { padding: 20px 20px 20px 40px; }

/* Fonctionnalités : la rupture forte. Bleu nuit, halo bleu discret en haut,
   cartes blanches par-dessus. */
.testimonials {
  padding: 110px 0 120px;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(0, 0, 255, .38), rgba(0, 0, 255, 0) 70%),
    radial-gradient(600px 300px at 100% 100%, rgba(0, 0, 255, .18), rgba(0, 0, 255, 0) 70%),
    #0F1B3D;
}
.testimonials .section-heading h2 { color: #FFFFFF; }
/* Le bleu du logo manque de contraste sur le bleu nuit : un bleu plus clair. */
.testimonials .section-heading em { color: #A3A3FF; }
.testimonials .section-heading span { color: #B8C2DB; }
.testimonials .testimonial-item { border-color: transparent; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }
.testimonials .testimonial-item:hover { box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7); }

/* FAQ : blanc. L'encadré d'aide passe en gris-bleu sur ordinateur seulement :
   au téléphone il reste bleu nuit, texte blanc (voir la section FAQ). */
.fa-faq { background: #FFFFFF; }
@media (min-width: 992px) {
  .fa-faq-help { background: #F5F7FB; border-color: #E6EAF2; }
}

/* Contact : gris-bleu, le bloc bleu se détache. */
.callback-form { background: #F5F7FB; padding: 100px 0; }
.callback-form .contact-form { border-radius: 20px; box-shadow: 0 24px 48px -28px rgba(0, 0, 255, .7); }

/* Partenaires : blanc, un filet discret le sépare du contact. */
.partners { background: #FFFFFF; padding: 90px 0 80px; border-top: 1px solid #E6EAF2; }

/* Pied de page : les titres bleu vif étaient presque illisibles sur le noir. */
footer h4 { color: #FFFFFF; }
footer ul.menu-list li a:hover { color: #A3A3FF; }

@media (max-width: 991.98px) {
  .more-info { padding: 64px 0; }
  .more-info .right-content { padding: 28px 0 0; }
  .testimonials { padding: 64px 0 72px; }
  .callback-form { padding: 64px 0; }
  /* Au téléphone, 60 px de marge intérieure rétrécissaient les champs. */
  .callback-form .contact-form { padding: 32px 20px; }
  .partners { padding: 56px 0; }
}
