/* Police Playfair + Display */

.titre-serif {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.05;
}

/*-------------------------*/


.home-hero {
  background-color: #212529
}

.home-hero-card {
  border-radius: 1.25rem;
}

/*--------- Bouton------------- */
.hero-btn{
  border-radius: 999px; /* très arrondi */
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

/* mobile */
@media (max-width: 576px) {
  .hero-btn {
    display: inline-block;
    margin-inline: auto;
    padding: 0.65rem 1.1rem;
    font-size: 0.95rem;
  }
}

/*-------------------------*/

.home-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  font-size: 1.3rem;
}

.home-cta {
  background: linear-gradient(135deg, rgba(139, 227, 245, 0.2));
  background-color: #000;
  border: 1px solid rgba(255,255,255,0.12);
}

/* CARROUSEL */

.home-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

.slider-image.active {
  display: block;
}
/*-------------------------*/


/*----Logo défilement----*/

.marque-logo{
  background-color: #212529;
  position: relative;
  margin-top: -1px;   /* colle la section au dessus */
  padding-top: 1px;   /* compense : évite la couture 1px */
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: marquee 40s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}

.trust-logo {
  max-height: 70px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/*-------------------------*/


/* Taille des titres */

.font-bold{
  font-size: clamp(2.5rem, 3vw, 4rem);
  font-weight: 800;                       /* épaisseur des lettres */
  line-height: 1;
}

.font-card{
  font-size: clamp(2.5rem, 0.5vw, 4rem);
  font-weight: 400;                       /* épaisseur des lettres */
  line-height: 1.5;
}

/* modification du fond */
.stat-card {   
  background-color: #4693ff;             /* opacité du fond */ 
}

/* padding + hauteur homogène */
.stat-body{
  padding: 44px 34px;             /* gros padding comme la capture */
  min-height: 190px;              /* homogénéise la hauteur */
  
}

/*-------------------------*/


/* Grande cart home comment cela fonctionne ? */

/* couleur de fond */
.home-features{
  background-image: linear-gradient(180deg, #7ab3fa 0%, #aad0ff 100%);
}


.split-card{
  max-width: 520px;      /* ajuste */
  margin-inline: auto;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* Haut */
.split-top{
  background: #F6EFE7;   /* crème/blanc cassé (mets #fff si tu veux blanc pur) */
  padding: 42px 34px;
}

/* Texte */
.split-text{
  max-width: 44ch;
  color: rgba(0,0,0,.70);
  line-height: 1.55;
}

/* Bas */
.split-bottom{
  background: #BFDFFF;   /* bleu clair */
  padding: 50px 22px 34px;
}

/* Images du bas */
.split-img{
  max-width: 400px;
  height: auto;
  border-radius: 18px;
}

/*-------------------------*/

/* Badge starpower */

.starpower-badge{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  max-width: 760px;
  margin-inline: auto;
}

/* titre centré en haut */
.sp-badge-title{
  grid-column: 1 / -1;   /* prend toute la largeur du grid */
  text-align: center;
  margin-bottom: 10px;
}

.sp-badge-title h6{
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin: 0;
}

.sp-score{
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.sp-score-row{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sp-score-value{
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #0d6efd; /* bleu Bootstrap */
}

.sp-score-max{
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(0,0,0,0.55);
}

.sp-stars{
  margin-top: 10px;
  color: #ffc107; /* jaune Bootstrap */
  font-size: 1.1rem;
}

.sp-count{
  margin-top: 10px;
  color: rgba(0,0,0,0.65);
}

.sp-scope{
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,0.6);
  font-size: 0.95rem;
}

.sp-badge-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  text-align: right;
}

.sp-logo{
  height: 44px;
  width: auto;
  display: block;
}

.sp-logo-main{
  height: 46px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.sp-logo-link:hover .sp-logo-main{
  transform: scale(1.05);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

.sp-proof{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sp-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(13, 202, 240, 0.14); /* cyan léger */
  border: 1px solid rgba(13, 202, 240, 0.25);
  color: rgba(0,0,0,0.7);
  font-size: 0.9rem;
  font-weight: 600;
}

.sp-link{
  color: #0d6efd;
  font-weight: 700;
  text-decoration: none;
}

.sp-link:hover{
  text-decoration: underline;
}

/* responsive */
@media (max-width: 768px){
  .starpower-badge{
    grid-template-columns: 1fr;
    margin-left: 10px;
    margin-right: 10px;
  }
  .sp-badge-left{
   text-align: center;
  }
  .sp-score-row{
    flex-direction: column-reverse;
    justify-content: center;
  }
  .sp-badge-right{
    align-items: center; 
  }
  .sp-proof{
    justify-content: flex-start;
  }
}

/*-------------------------*/