/* Section « Une stratégie Google complète » (accueil) :
   le titre reste fixe à gauche, les cartes défilent à droite et s'empilent l'une sur l'autre. */
.ll-strat {
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.ll-strat-tete {
  position: sticky;
  top: 7rem;
  flex: 1 1 0;
  min-width: 0;
  max-width: 24rem;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.ll-strat-tete .heading-style-h2 {
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  line-height: 1.02;
}

.ll-strat-cartes {
  flex: 0 1 37.5rem;
  min-width: 0;
  display: flex;
  flex-flow: column;
  gap: 2rem;
}

.ll-strat-carte {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 2.25rem;
  padding: 3rem 2rem 2.5rem;
  border: 1px solid #ffffff2e;
  border-radius: 1.75rem;
  background-color: #1f4e79;
  background-image:
    radial-gradient(circle at 50% -51%, #9ad6ff, #1f4e7900 43%),
    linear-gradient(180deg, #24598a, #1a4369);
  color: #fff;
  text-align: center;
  /* profondeur : reflet en haut, ombre interne en bas, et plusieurs ombres portées superposées */
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -10px 24px -12px #0b1f3399,
    0 2px 2px #0b1f331f,
    0 10px 14px -6px #0b1f3340,
    0 34px 50px -22px #0b1f3380;
  transform-origin: 50% 0;
  will-change: transform;
}

/* chaque carte se bloque un peu plus bas que la précédente : on voit le bord de celles du dessous */
.ll-strat-carte:nth-child(2) { top: 8rem; }
.ll-strat-carte:nth-child(3) { top: 9rem; }

/* le voile qui assombrit une carte à mesure que la suivante la recouvre (piloté par strategie.js) */
.ll-strat-carte::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: #0b1f33;
  opacity: var(--ll-voile, 0);
  pointer-events: none;
}

.ll-strat .ll-strat-bouton {
  min-height: 3.25rem;
}

.ll-strat .ll-strat-bouton .button-inner {
  padding: .75rem 1.5rem;
}

/* le rond à anneaux : trois disques orange emboîtés, du plus sombre au plus lumineux */
.ll-strat-rond,
.ll-strat-rond-milieu,
.ll-strat-rond-coeur {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  aspect-ratio: 1;
}

.ll-strat-rond {
  width: 12.5rem;
  background-image: linear-gradient(#ff6b3559, #ff6b3526);
  box-shadow: inset 0 -3px 0 #ff6b35, inset 0 0 0 1px #ff8a5c40, 0 0 60px #ff6b3540;
}

.ll-strat-rond-milieu {
  width: 80%;
  background-image: linear-gradient(#ff8a5c8c, #ff6b354d);
  box-shadow: inset 0 1px 0 #ffffff40, inset 0 -2px 0 #ff6b35;
}

.ll-strat-rond-coeur {
  width: 75%;
  background-image: linear-gradient(#ffc9a3, #ff7a40 45%, #ff6b35);
  box-shadow: inset 0 2px 2px #ffffffb3, inset 0 0 18px #ffffff66, 0 0 28px #ff6b3599;
}

.ll-strat-rond-coeur svg {
  width: 4rem;
  height: 4rem;
  filter: drop-shadow(0 1px 2px #a3301066);
}

.ll-strat-texte {
  display: flex;
  flex-flow: column;
  gap: 1rem;
  max-width: 33rem;
}

.ll-strat-titre {
  margin: 0;
  font-family: var(--font-family--text);
  font-size: 1.6rem;
  line-height: 1.15;
  font-weight: var(--font-weight--semibold);
  color: #fff;
}

.ll-strat-desc {
  margin: 0;
  font-family: var(--font-family--text);
  font-size: 1.05rem;
  line-height: 1.55;
  color: #ffffffd9;
}

/* apparition au défilement (seulement si le script est chargé) */
.ll-anim .ll-apparait {
  opacity: 0;
  transform: translateY(3rem) scale(.9);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}

.ll-anim .ll-apparait.est-la {
  opacity: 1;
  transform: none;
}

@media screen and (max-width: 991px) {
  .ll-strat {
    flex-flow: column;
    align-items: stretch;
    gap: 2.5rem;
  }

  .ll-strat-tete {
    position: static;
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .ll-strat-cartes {
    flex: none;
    width: 100%;
    max-width: 37.5rem;
    margin: 0 auto;
  }

  .ll-strat-carte {
    top: 6rem;
  }

  .ll-strat-carte:nth-child(2) { top: 6.75rem; }
  .ll-strat-carte:nth-child(3) { top: 7.5rem; }
}

@media screen and (max-width: 479px) {
  .ll-strat-carte {
    gap: 2rem;
    padding: 2.25rem 1.25rem;
    border-radius: 1.5rem;
  }

  .ll-strat-rond {
    width: 9.5rem;
  }

  .ll-strat-rond-coeur svg {
    width: 3rem;
    height: 3rem;
  }

  .ll-strat-titre {
    font-size: 1.35rem;
  }

  .ll-strat-desc {
    font-size: 1rem;
  }
}

/* écran trop bas pour qu'une carte tienne sous le menu : pas d'empilement */
@media screen and (max-height: 620px) {
  .ll-strat-tete,
  .ll-strat-carte,
  .ll-strat-carte:nth-child(2),
  .ll-strat-carte:nth-child(3) {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-anim .ll-apparait {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 09/10/2026 : quatrième carte (Google Ads), un cran plus bas que la troisième */
.ll-strat-carte:nth-child(4) { top: 10rem; }

@media screen and (max-width: 991px) {
  .ll-strat-carte:nth-child(4) { top: 8.25rem; }
}

@media screen and (max-height: 620px) {
  .ll-strat-carte:nth-child(4) { position: static; }
}
