/* <style> (ligne 512 d'origine) */

/* Chargeur public : aucun logo/image/réseau. Tout est inline et affichable
   immédiatement, afin de ne pas ajouter de délai au chargement réel. */
@keyframes tgLoaderSpin{to{transform:rotate(360deg)}}
@keyframes tgLoaderPulse{0%,100%{opacity:.35;transform:scale(.82)}50%{opacity:1;transform:scale(1)}}
@keyframes tgLoaderBar{0%{transform:translateX(-110%)}100%{transform:translateX(310%)}}
#restoSplash{
  position:fixed;inset:0;z-index:99999;background:#FBF3E4;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:24px;text-align:center;
}
#restoSplash.hidden{display:none}
#tgFastLoaderIcon{
  width:42px;height:42px;border:3px solid rgba(43,24,16,.10);
  border-top-color:#c96a12;border-radius:50%;
  animation:tgLoaderSpin .62s linear infinite;
}
#tgFastLoaderPlate{
  position:absolute;width:12px;height:12px;border:2px solid #c96a12;
  border-radius:50%;opacity:.9;
}
#tgFastLoaderText{
  margin-top:17px;font-family:'Manrope',sans-serif;font-size:12.5px;
  color:#8a7466;letter-spacing:.01em;
}
#tgFastLoaderTrack{
  width:150px;height:3px;margin-top:14px;border-radius:999px;
  background:rgba(43,24,16,.08);overflow:hidden;
}
#tgFastLoaderBar{
  width:42%;height:100%;border-radius:999px;background:#c96a12;
  animation:tgLoaderBar .72s ease-in-out infinite;
  will-change:transform;
}
#tgFastLoaderDots{display:flex;gap:4px;margin-top:11px}
#tgFastLoaderDots span{
  width:4px;height:4px;border-radius:50%;background:#c96a12;
  animation:tgLoaderPulse .72s ease-in-out infinite;
}
#tgFastLoaderDots span:nth-child(2){animation-delay:.12s}
#tgFastLoaderDots span:nth-child(3){animation-delay:.24s}
@media(prefers-reduced-motion:reduce){
  #tgFastLoaderIcon,#tgFastLoaderBar,#tgFastLoaderDots span{animation:none}
}

/* <style id="tr-public-navigation-during-session-check"> (ligne 622 d'origine) */

/* Keep only the public navigation above the neutral session-check cover. */
body.auth-check-in-progress #platformHeader{z-index:100000!important;}

/* <style id="teranga-footer-socials-final"> (ligne 767 d'origine) */

  .tg-footer-socials{display:flex;align-items:center;gap:16px;flex-wrap:nowrap;}
  .tg-footer-social{width:46px;height:46px;min-width:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:13px;text-decoration:none;box-shadow:0 7px 16px rgba(43,24,16,.12);transition:transform .18s ease,box-shadow .18s ease;}
  .tg-footer-social:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(43,24,16,.16);}
  .tg-footer-social svg{width:25px;height:25px;display:block;}
  .tg-facebook{background:#1877F2;}
  .tg-instagram{background:linear-gradient(135deg,#F58529 0%,#DD2A7B 45%,#8134AF 75%,#515BD4 100%);}
  .tg-email{background:#C96B1B;}
  @media (max-width:640px){
    #view-landing footer .wrap{grid-template-columns:1fr!important;gap:26px!important;padding-left:20px!important;padding-right:20px!important;}
    #view-landing footer .tg-footer-socials{justify-content:flex-start;}
    #view-landing footer > div:last-child{padding-left:20px!important;padding-right:20px!important;}
    #view-landing footer .tg-footer-bottom{justify-content:space-between;text-align:left;}
  }
  @media(max-width:420px){#view-landing footer .tg-footer-bottom{align-items:flex-start;flex-direction:column;gap:8px;}}

/* <style id="teranga-responsive-final-v2"> (ligne 784 d'origine) */

/* Responsivité finale : mise en page uniquement, sans modifier les réseaux. */
html,body{width:100%;max-width:100%;overflow-x:hidden;}
body{min-width:0;}
.wrap,.wrap-sm,.gnav-inner{width:100%;min-width:0;box-sizing:border-box;}

/* Accueil : largeur souple et colonnes qui ne débordent jamais. */
#view-landing > .wrap:first-child{
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)!important;
  gap:clamp(28px,5vw,64px)!important;
  width:100%;
  max-width:1240px;
}
#view-landing > .wrap:first-child > div{min-width:0;}
#view-landing > .wrap:first-child h1{overflow-wrap:normal;word-break:normal;}
#view-landing > .wrap:first-child p{max-width:600px!important;}
#view-landing > .wrap:first-child > div:last-child .card{width:100%;max-width:520px;box-sizing:border-box;}

#featuresGrid,#stepsGrid{min-width:0;}
#featuresGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
#stepsGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}

/* Footer : les colonnes restent régulières sur ordinateur. */
#view-landing footer .wrap{
  width:100%;
  max-width:1240px;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr)!important;
}

@media (max-width:980px){
  #view-landing > .wrap:first-child{
    grid-template-columns:minmax(0,1fr) minmax(260px,.8fr)!important;
    gap:32px!important;
  }
  #stepsGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

@media (max-width:760px){
  /* Toutes les zones passent proprement en une seule colonne. */
  #view-landing > .wrap:first-child{
    grid-template-columns:1fr!important;
    gap:28px!important;
    padding:40px 20px 52px!important;
  }
  #view-landing > .wrap:first-child > div:last-child{
    justify-content:flex-start!important;
  }
  #view-landing > .wrap:first-child > div:last-child .card{
    max-width:none!important;
  }
  #view-landing > .wrap:first-child .flex.gap-3{
    width:100%;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  #view-landing > .wrap:first-child .flex.gap-3 .btn{
    width:100%;
  }
  #featuresGrid{grid-template-columns:1fr!important;gap:14px!important;}
  #stepsGrid{grid-template-columns:1fr!important;gap:14px!important;}
  #pricingCards{grid-template-columns:1fr!important;}

  #view-landing footer .wrap{
    grid-template-columns:1fr!important;
    gap:28px!important;
    padding:36px 20px!important;
  }
  #view-landing footer > div:last-child{
    padding:16px 20px!important;
    line-height:1.5!important;
  }
}

@media (max-width:480px){
  #view-landing > .wrap:first-child{padding-left:16px!important;padding-right:16px!important;}
  #view-landing > .wrap:first-child h1{font-size:32px!important;line-height:1.08!important;}
  #view-landing > .wrap:first-child h1 span{font-size:21px!important;}
  #view-landing > .wrap:first-child .pill{white-space:normal;max-width:100%;}
  #view-landing footer .wrap{padding-left:16px!important;padding-right:16px!important;}
  #view-landing footer > div:last-child{padding-left:16px!important;padding-right:16px!important;font-size:11.5px!important;}
}

@media (max-width:360px){
  #view-landing > .wrap:first-child{padding-left:14px!important;padding-right:14px!important;}
  #view-landing > .wrap:first-child h1{font-size:29px!important;}
  #view-landing > .wrap:first-child h1 span{font-size:19px!important;}
  #view-landing footer .wrap{padding-left:14px!important;padding-right:14px!important;}
}

