/* Site vitrine Mon SYNAFIG — compléments au modèle (charte SYNAFIG). */
:root {
  --bleu-fonce: #0A2463;
  --bleu-vif: #1E5BC6;
  --bleu-pale: #EBF3FF;
  --orange: #E8650A;
  --orange-vif: #F57C00;
  --orange-pale: #FFF0E0;
  --or: #F0A500;
  --gris: #333333;
  --gris-clair: #777777;
  --fond: #F5F7FA;
}

h1, h2, h3, h4 { color: var(--bleu-fonce); }
.section-title span { color: var(--orange); }

/* Navigation */
.main-navbar .navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--bleu-fonce); font-size: 20px; }
.main-navbar .navbar-brand img { height: 44px; width: 44px; border-radius: 50%; background: #fff; }
.main-navbar .nav-btn .default-btn.bg-main { background-color: var(--orange); }
.main-navbar .nav-btn .default-btn.bg-main:hover { background-color: var(--bleu-fonce); }

/* Bannière */
.app-banner-area { background: linear-gradient(160deg, #F5F9FF 0%, #EBF3FF 60%, #FFF7EE 100%); }
.app-banner-area .app-bennr-text span.accroche { color: var(--orange); font-weight: 700; letter-spacing: .5px; }
.app-banner-area .app-bennr-text h1 { color: var(--bleu-fonce); }
.app-text h3 { color: var(--bleu-vif); }

/* Boutons de téléchargement */
.boutons-store { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bouton-store {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px;
  background: var(--bleu-fonce); color: #fff !important; text-decoration: none; min-width: 190px;
  box-shadow: 0 8px 20px rgba(10, 36, 99, .18); transition: transform .2s, box-shadow .2s; position: relative;
}
.bouton-store i { font-size: 30px; }
.bouton-store small { display: block; font-size: 11px; opacity: .8; line-height: 1.2; }
.bouton-store strong { display: block; font-size: 16px; line-height: 1.2; }
.bouton-store:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 36, 99, .25); }
.bouton-store.direct { background: var(--orange); box-shadow: 0 8px 20px rgba(232, 101, 10, .28); }
.bouton-store.inactif { background: #9AA6BF; box-shadow: none; cursor: not-allowed; }
.bouton-store.inactif:hover { transform: none; }
.bouton-store .etat {
  position: absolute; top: -9px; right: -6px; background: var(--or); color: var(--bleu-fonce);
  font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-transform: uppercase;
}
.infos-apk { margin-top: 12px; font-size: 13px; color: var(--gris-clair); }
.infos-apk a { color: var(--bleu-vif); font-weight: 600; }

/* Téléphone (captures réelles de l'application) */
.telephone {
  width: 270px; max-width: 80%; margin: 0 auto; border-radius: 38px; padding: 12px; background: #0B1330;
  box-shadow: 0 30px 60px rgba(10, 36, 99, .28); position: relative; z-index: 2;
}
.telephone::before {
  content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 7px; border-radius: 10px; background: #1b2550; z-index: 3;
}
.telephone .ecran { border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 19.5; background: linear-gradient(160deg, var(--bleu-fonce), var(--bleu-vif)); display: flex; align-items: center; justify-content: center; }
.telephone .ecran img { width: 100%; height: 100%; object-fit: cover; display: block; }
.telephone .ecran .logo-seul { width: 55%; height: auto; border-radius: 50%; background: #fff; padding: 8px; object-fit: contain; }
.telephone.incline { transform: rotate(-4deg); }

/* Étapes et cartes */
.step-signle-card i, .our-service-card i, .powerful-card i { color: #fff; }
.step-signle-card .bg-1, .our-service-card .bg-1, .powerful-card .bg-1 { background-color: var(--bleu-vif) !important; }
.step-signle-card .bg-2, .our-service-card .bg-2, .powerful-card .bg-2 { background-color: var(--orange) !important; }
.step-signle-card .bg-3, .our-service-card .bg-3, .powerful-card .bg-3 { background-color: var(--or) !important; }
.our-service-card .bg-4, .powerful-card .bg-4 { background-color: var(--bleu-fonce) !important; }
.our-service-card .bg-5 { background-color: var(--orange-vif) !important; }
.our-service-card .bg-6 { background-color: #2E7D32 !important; }

/* Mot du Secrétaire Général */
.mot-sg { background: var(--fond); }
.mot-sg .photo-sg { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 25px 50px rgba(10, 36, 99, .2); border: 6px solid #fff; }
.mot-sg .sans-photo { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; border-radius: 24px; background: linear-gradient(160deg, var(--bleu-fonce), var(--bleu-vif)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 90px; }
.mot-sg .citation { font-size: 17px; line-height: 1.8; color: var(--gris); white-space: pre-line; position: relative; padding-left: 26px; border-left: 4px solid var(--orange); }
.mot-sg .signature { margin-top: 22px; }
.mot-sg .signature strong { display: block; font-size: 20px; color: var(--bleu-fonce); }
.mot-sg .signature span { color: var(--orange); font-weight: 600; }

/* Téléchargement */
.app-features-area .section-title h2, .app-features-area .section-title p { color: #fff; }
.app-features-area .boutons-store { justify-content: center; }
.installation { max-width: 720px; margin: 26px auto 0; background: rgba(255, 255, 255, .12); border-radius: 16px; padding: 18px 22px; color: #fff; text-align: left; }
.installation h3 { color: #fff; font-size: 17px; }
.installation ol { margin: 0; padding-left: 20px; }
.installation li { margin-bottom: 4px; }
.installation .empreinte { font-size: 11.5px; opacity: .75; word-break: break-all; margin-top: 8px; }

/* Témoignages */
.slider-two-item .avatar-initiales { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 15px; background: var(--bleu-pale); color: var(--bleu-vif); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.slider-two-item .rating i { color: var(--or); }

/* FAQ */
.faq-area .accordion-item { border: none; margin-bottom: 12px; border-radius: 14px !important; overflow: hidden; box-shadow: 0 6px 18px rgba(10, 36, 99, .06); }
.faq-area .accordion-button { font-weight: 700; color: var(--bleu-fonce); font-size: 16px; padding: 18px 20px; }
.faq-area .accordion-button:not(.collapsed) { background: var(--bleu-pale); color: var(--bleu-fonce); box-shadow: none; }
.faq-area .accordion-button:focus { box-shadow: none; }
.faq-area .accordion-body { color: var(--gris); line-height: 1.8; white-space: pre-line; }

/* Aide */
.aide-contacts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.aide-contacts a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--bleu-fonce); font-weight: 700; text-decoration: none; }
.aide-contacts a.whatsapp { background: #25D366; color: #fff; }
.aide-contacts a i { font-size: 22px; }
.subscribe-area .subscribe-contant { background: linear-gradient(120deg, var(--bleu-fonce), var(--bleu-vif)); }
.subscribe-area .subscrive-text h3, .subscribe-area .subscrive-text p { color: #fff; }

/* Pied de page */
.footer-area { background-color: var(--bleu-fonce); }
.footer-area .footer-widget .logo { display: flex; align-items: center; gap: 12px; }
.footer-area .footer-widget .logo img { height: 54px; width: 54px; border-radius: 50%; background: #fff; }
.footer-area .footer-widget .logo strong { color: #fff; font-size: 20px; }
.footer-area .footer-widget p, .footer-area .footer-text a, .footer-area .copyright-text p { color: #C7D3EA; }
.footer-area .footer-text a:hover { color: var(--or); }
.footer-area .boutons-store { margin-top: 10px; }
.footer-area .bouton-store { min-width: 0; width: 100%; }

@media (max-width: 991px) {
  .telephone { width: 230px; margin-top: 40px; }
  .aide-contacts { justify-content: flex-start; margin-top: 16px; }
  .mot-sg .photo-sg, .mot-sg .sans-photo { margin: 0 auto 30px; display: block; }
}

/* Section Télécharger : fond aux couleurs du SYNAFIG (l'image du modèle était un exemple). */
.app-features-area { background-image: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu-vif) 100%) !important; padding: 100px 0; }
.app-features-area .section-title span { color: var(--or); }
.app-features-area .section-title { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

/* Mobile : aucune forme décorative ne doit élargir la page. */
html, body { overflow-x: hidden; max-width: 100%; }
.navbar-toggler .icon-bar { background: var(--bleu-fonce); }

/* Chiffres clés de la bannière */
.chiffres-cles { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.chiffres-cles .chiffre { background: #fff; border-radius: 16px; padding: 14px 20px; min-width: 140px; box-shadow: 0 8px 22px rgba(10, 36, 99, .08); }
.chiffres-cles .chiffre strong { display: block; font-size: 30px; font-weight: 800; color: var(--bleu-vif); line-height: 1.1; }
.chiffres-cles .chiffre span { font-size: 13.5px; color: var(--gris-clair); }

@media (max-width: 575px) {
  .app-banner-area .app-bennr-text h1 { font-size: 34px; }
  .bouton-store { min-width: 0; flex: 1 1 100%; }
  .chiffres-cles .chiffre { flex: 1 1 40%; min-width: 0; }
  .app-shapes, .bg-shape, .easy-step-shape, .our-service-shape, .client-shape { display: none; }
}

/* Le modèle colore tous les span de la bannière : pas dans les boutons. */
.bouton-store span, .bouton-store small, .bouton-store strong { color: #fff !important; font-size: inherit; margin: 0; letter-spacing: 0; font-weight: inherit; }
.bouton-store small { font-size: 11px !important; font-weight: 400 !important; opacity: .85; }
.bouton-store strong { font-size: 16px !important; font-weight: 700 !important; }
.bouton-store .etat { color: var(--bleu-fonce) !important; font-size: 10.5px !important; font-weight: 800 !important; }
.main-navbar .nav-btn .default-btn.bg-main { color: #fff !important; }

/* Badges officiels App Store / Google Play */
.badge-store { position: relative; display: inline-flex; align-items: center; border-radius: 10px; transition: transform .2s; }
.badge-store img { height: 52px; width: auto; display: block; border-radius: 8px; }
.badge-store:hover { transform: translateY(-2px); }
.badge-store.inactif { cursor: not-allowed; }
.badge-store.inactif img { filter: grayscale(100%); opacity: .55; }
.badge-store.inactif:hover { transform: none; }
.badge-store .etat {
  position: absolute; top: -10px; right: -8px; background: var(--or); color: var(--bleu-fonce) !important;
  font-size: 10.5px !important; font-weight: 800 !important; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; white-space: nowrap;
}
.boutons-store { align-items: center; }
.bouton-store.direct { min-height: 52px; }
.footer-area .badge-store img { height: 46px; }
@media (max-width: 575px) {
  .badge-store img { height: 46px; }
}
.bouton-store.direct { padding: 6px 16px; min-height: 52px; min-width: 0; border-radius: 10px; }
.bouton-store.direct i { font-size: 26px; }
.footer-area .boutons-store { flex-direction: column; align-items: flex-start; }
.footer-area .bouton-store.direct { width: auto; }

/* Logo carré (pas de découpe en cercle). */
.main-navbar .navbar-brand img, .footer-area .footer-widget .logo img, .telephone .ecran .logo-seul {
  border-radius: 6px; background: transparent; padding: 0; object-fit: contain;
}
.telephone .ecran .logo-seul { width: 60%; }

/* Bouton de téléchargement direct : le modèle ajoute une marge de 30px aux span de la bannière. */
.boutons-store .bouton-store.direct {
  height: 52px; min-height: 0; padding: 0 18px; gap: 10px; align-items: center; box-sizing: border-box;
}
.boutons-store .bouton-store.direct span { display: flex !important; flex-direction: column; justify-content: center; margin: 0 !important; line-height: 1.15; }
.boutons-store .bouton-store.direct small, .boutons-store .bouton-store.direct strong { margin: 0 !important; line-height: 1.15 !important; }
.boutons-store .bouton-store.direct i { font-size: 24px; line-height: 1; }
.boutons-store .badge-store .etat { margin: 0 !important; display: inline-block; line-height: 1.4; }
.footer-area .boutons-store .bouton-store.direct { height: 46px; }
@media (max-width: 575px) {
  .boutons-store .bouton-store.direct { height: 46px; flex: 0 0 auto; }
}

/* Pied de page compact. */
.footer-area { padding-top: 50px; }
.footer-area.sous-aide { padding-top: 140px; } /* le bloc « Besoin d'aide ? » chevauche de 100px */
.footer-area .footer-widget { margin-bottom: 20px; }
.footer-area .footer-widget .logo { max-width: none; margin-bottom: 12px; }
.footer-area .footer-widget .logo img { height: 44px; width: 44px; }
.footer-area .footer-widget .title { margin-bottom: 16px; font-size: 18px; }
.footer-area .footer-widget .footer-text li { margin-bottom: 4px; }
.footer-area .footer-widget p { margin-bottom: 0; }
.footer-area .boutons-store { gap: 10px; margin-top: 0; }
.footer-area .badge-store img { height: 40px; }
.footer-area .boutons-store .bouton-store.direct { height: 40px; padding: 0 14px; }
.footer-area .bouton-store.direct small { font-size: 10px !important; }
.footer-area .bouton-store.direct strong { font-size: 14px !important; }
.footer-area .copyright-text { margin-top: 20px; padding: 14px 0; }
.footer-area .copyright-text p { margin: 0; font-size: 14px; }

/* Chiffres clés : suffixe (« 48 h ») et présentation en objectif. */
.chiffres-cles .chiffre strong b { font-weight: inherit; color: inherit; }
.chiffres-cles .chiffre.objectif { flex: 1 1 260px; max-width: 420px; }
.chiffres-cles .chiffre.objectif em { display: block; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--orange); margin-bottom: 2px; }
.chiffres-cles .chiffre.objectif strong { font-size: 20px; color: var(--bleu-fonce); }
.chiffres-cles .chiffre.objectif strong b { color: var(--bleu-vif); font-size: 26px; }
.chiffres-cles .chiffre .barre { height: 8px; border-radius: 99px; background: var(--bleu-pale, #EBF3FF); margin: 8px 0 4px; overflow: hidden; }
.chiffres-cles .chiffre .barre i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--or)); }
.chiffres-cles { align-items: flex-start; }
