/* ============================= */
/* CTA Objets Publicitaires */
/* ============================= */

/* wrapper du CTA */
.cta-wrapper{
  width:100%;
}

/* carte principale */
.cta-alarm{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow:0 18px 45px rgba(0,0,0,.12);
  font-family: var(--font-family, Lato);
  color: var(--body-color, #666);
}

/* ============================= */
/* Badge */
/* ============================= */

.cta-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background: color-mix(in srgb, var(--secondary-color) 35%, #fff 65%);
  border-radius:999px;
  padding:6px 12px;
  margin-left:auto;
  margin-right:auto;
}

.cta-badge-circle{
  width:28px;
  height:28px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--secondary-color);
  color: var(--font-color);
  font-weight:700;
}

.cta-badge-text{
  font-weight:600;
  color: var(--font-color);
}

/* ============================= */
/* Logo */
/* ============================= */

.cta-logo-wrapper{
  margin-top:10px;
  text-align:center;
}

.cta-logo{
  max-height:38px;
  width:auto;
  display:inline-block;
}

/* ============================= */
/* Titres */
/* ============================= */

.cta-title{
  font-size:20px;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  margin-top:10px;
  color: var(--font-color);
}

.cta-subtitle{
  color: var(--primary-color);
  font-weight:700;
  margin-top:6px;
  margin-bottom:12px;
  text-align:center;
}

/* ============================= */
/* Liste */
/* ============================= */

.cta-list{
  padding-left:18px;
  margin:0;
}

.cta-list li{
  margin:4px 0;
}

/* ============================= */
/* Score */
/* ============================= */

.cta-score{
  text-align:center;
}

.cta-score-number{
  font-size:34px;
  font-weight:800;
  line-height:1;
  color: var(--primary-color);
}

.cta-score-stars{
  display:flex;
  justify-content:center;
  gap:2px;
  font-size:18px;
  line-height:1;
  color: var(--third-color);
}

.cta-star-muted{
  color:#dcdcdc;
}

.cta-star-half{
  position:relative;
  display:inline-block;
  color:#dcdcdc;
}

.cta-star-half::before{
  content:"★";
  position:absolute;
  left:0;
  width:80%;
  overflow:hidden;
  color: var(--third-color);
}

.cta-score-label{
  font-size:12px;
  opacity:.7;
  margin-top:4px;
}

/* ============================= */
/* Actions */
/* ============================= */

.cta-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-top:14px;
}

.cta-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:100%;
  max-width:220px;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  background: var(--primary-color);
  color:#fff;
  border:0;
  transition: all .2s ease;
}

.cta-btn:hover{
  background: var(--hover-color);
  filter: brightness(0.92);
  color:#fff;
}

.cta-review{
  text-align:center;
}

.cta-review a{
  font-size:13px;
  opacity:.8;
  text-decoration:underline;
  color: var(--font-color);
}

.sticky-nexecur{
  position: sticky;
  top: 110px;
  align-self: flex-start;
}

/* ============================= */
/* Mobile sticky CTA */
/* ============================= */

.cta-nexecur-mobile{
  display:none;
}

.cta-taco-mobile{
  display:none;
}

@media (max-width: 575.98px){

  .cta-taco-mobile{
    display:block;
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:9999;
  }

  .cta-taco-mobile-inner{
    background:#fff;
    border:1px solid rgba(0,0,0,.10);
    border-radius:18px;
    padding:12px;
    box-shadow:0 14px 40px rgba(0,0,0,.18);
  }

  .cta-taco-mobile .cta-badge{
    width:100%;
    justify-content:center;
    margin-bottom:8px;
  }

  .cta-taco-mobile .cta-title{
    font-size:15px;
    font-weight:800;
    line-height:1.2;
    margin-bottom:8px;
  }

  .cta-taco-mobile .cta-actions{
    gap:6px;
  }

  .cta-taco-mobile .cta-btn{
    max-width:320px;
    padding:10px 14px;
  }
}

/* éviter que le CTA fixe masque la fin de page */
@media (max-width: 575.98px){
  body{
    padding-bottom:130px;
  }
}


.cta-textile *{
  box-sizing: border-box;
}

.cta-textile{
  background: #fff;
  border-radius: 22px;

  /* border luxe très léger */
  border: 1px solid rgba(0,0,0,0.06);

  /* ombre premium multi-couches */
  box-shadow:
    0 2px 6px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.08),
    0 32px 60px rgba(0,0,0,0.10);

  padding: 20px 18px;

  color: var(--body-color, #666);

  position: relative;
}

.cta-list{
  max-width: 300px;
  margin: 0 auto;
  padding-left: 18px;
}
