/* ALTA sur les réseaux — carrousel vidéo Facebook natif */
.social-feed {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(0, 74, 173, .34), transparent 34rem),
    linear-gradient(145deg, #0b111a 0%, var(--color-dark) 58%, #07172b 100%);
  color: var(--color-light);
}

.social-feed.section {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: 0;
}

.social-feed[hidden] { display: none; }
.social-feed::before { content: none; }

.social-feed-header,
.social-feed-stage { position: relative; z-index: 1; }

.social-feed .eyebrow { color: var(--color-accent); }
.social-feed h2 { max-width: 920px; color: #fff; }
.social-feed h2 span { display: block; color: var(--color-accent); }

.social-feed-intro {
  max-width: 720px;
  margin: .75rem 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
}

.social-feed-stage { margin-top: .45rem; }
.social-carousel-shell { min-height: 0; }

.social-carousel-toolbar {
  display: flex;
  justify-content: flex-end;
  min-height: 38px;
  margin-bottom: .2rem;
}

.social-carousel-controls { display: flex; gap: .45rem; }

.social-carousel-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 1rem;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease, color var(--motion-fast) ease, opacity var(--motion-fast) ease;
}

.social-carousel-button:hover:not(:disabled),
.social-carousel-button:focus-visible:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-dark);
}

.social-carousel-button:disabled { opacity: .3; cursor: default; }

.social-carousel {
  display: flex;
  gap: clamp(.85rem, 1.5vw, 1.35rem);
  padding: .1rem .15rem 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.social-carousel::-webkit-scrollbar { display: none; }

.social-reel,
.social-card-skeleton {
  flex: 0 0 clamp(300px, 31.5%, 430px);
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px 22px 0 0;
  background: #05080d;
  box-shadow: 0 22px 58px rgba(0,0,0,.22);
}

.social-reel {
  position: relative;
  aspect-ratio: 9 / 16;
  transition: transform var(--motion-normal) var(--ease-premium), border-color var(--motion-normal) ease, box-shadow var(--motion-normal) ease;
}

.social-reel:hover {
  transform: translateY(-4px);
  border-color: rgba(252,142,76,.78);
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
}

.social-reel::after {
  content: "MUTE · AUTO";
  position: absolute;
  top: .85rem;
  left: .85rem;
  padding: .35rem .55rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(8, 12, 18, .62);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.9);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  z-index: 2;
  pointer-events: none;
}

.social-reel-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #05080d;
  object-fit: cover;
}

.social-card-skeleton { aspect-ratio: 9 / 16; }
.social-card-skeleton-media {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.08);
  animation: social-skeleton 1.5s ease-in-out infinite alternate;
}

@keyframes social-skeleton {
  from { opacity: .46; }
  to { opacity: .9; }
}

/* Bilan initial offert — V7 premium minimal.
   Pas de bandeau : texte + pastille 60€ uniquement, avec les couleurs du logo A. */
.initial-offer.initial-offer-simple {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 620px) clamp(168px, 13vw, 198px);
  gap: clamp(1.25rem, 1.9vw, 1.9rem);
  align-items: center;
  justify-content: center;
  max-width: 960px;
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  margin-inline: auto;
  padding: 0 0 clamp(.35rem, .8vw, .65rem);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}


.initial-offer-simple .initial-offer-main {
  min-width: 0;
  padding: 0;
  justify-self: end;
  width: 100%;
}

.initial-offer-simple .initial-offer-kicker {
  margin: 0 0 .55rem;
  color: #fd6401;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .17em;
}

.initial-offer-simple h3 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.15rem, 3.25vw, 3.7rem);
  line-height: .91;
  letter-spacing: -.015em;
}

.initial-offer-simple h3 span { color: #003aad; }
.initial-offer-simple h3 strong { color: #fd6401; }

.initial-offer-simple h3 strong::after {
  height: 3px;
  bottom: -.14em;
  background: linear-gradient(90deg, #fd6401 0%, #ff8a28 55%, rgba(253,100,1,.2) 100%);
}

.initial-offer-simple .initial-offer-copy {
  max-width: 620px;
  margin-top: 1rem;
  color: #343940;
  font-size: clamp(.88rem, 1vw, .98rem);
  line-height: 1.65;
}

/* Pastille rapprochée du texte : face blanc nacré, bleu ALTA, anneau orange. */
.initial-offer-simple .initial-offer-badge-wrap {
  position: relative;
  top: auto;
  right: auto;
  width: clamp(168px, 13vw, 198px);
  margin: 0;
  transform: none;
  justify-self: start;
  align-self: center;
}

.initial-offer-simple .initial-offer-badge-wrap::before {
  inset: -34%;
  background: radial-gradient(circle, rgba(253,100,1,.12) 0%, rgba(0,58,173,.07) 38%, transparent 70%);
  opacity: .9;
}

.initial-offer-simple .initial-offer-badge {
  row-gap: .58rem;
  padding: 1.25rem .75rem;
  border: 3px solid #fd6401;
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,1) 0 24%, rgba(248,250,255,.98) 48%, rgba(238,243,251,.98) 100%);
  color: #003aad;
  box-shadow:
    0 0 8px rgba(253,100,1,.46),
    0 0 26px rgba(253,100,1,.18),
    0 0 42px rgba(0,58,173,.08),
    inset 0 0 20px rgba(255,255,255,.78);
}

.initial-offer-simple .initial-offer-badge::before {
  inset: -9px;
  border: 2px solid rgba(253,100,1,.64);
  box-shadow: 0 0 14px rgba(253,100,1,.22), 0 0 28px rgba(0,58,173,.06);
}

.initial-offer-simple .initial-offer-badge::after {
  inset: 9px;
  border: 1px solid rgba(0,58,173,.14);
  box-shadow: inset 0 0 14px rgba(0,58,173,.04);
}

.initial-offer-simple .initial-offer-badge span,
.initial-offer-simple .initial-offer-badge b {
  color: #003aad;
  line-height: 1.05;
}

.initial-offer-simple .initial-offer-badge span {
  font-size: .68rem;
  letter-spacing: .17em;
}

.initial-offer-simple .initial-offer-badge strong {
  color: #003aad;
  font-size: clamp(3.75rem, 5.2vw, 5.15rem);
  line-height: .78;
  text-shadow: 0 2px 0 rgba(255,255,255,.9), 0 8px 22px rgba(0,58,173,.14);
}

.initial-offer-simple .initial-offer-badge b {
  font-size: clamp(1.25rem, 1.75vw, 1.7rem);
  letter-spacing: .08em;
}

/* Chatoyance lente : aucune rupture brutale de luminosité. */
.initial-offer.is-visible .initial-offer-badge {
  animation: initial-offer-neon 8.8s cubic-bezier(.45,0,.25,1) .4s infinite;
}

.initial-offer.is-visible .initial-offer-badge::before {
  animation: initial-offer-ring 8.8s cubic-bezier(.45,0,.25,1) .4s infinite;
}

@keyframes initial-offer-neon {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1) saturate(1);
    box-shadow: 0 0 8px rgba(253,100,1,.42), 0 0 24px rgba(253,100,1,.16), 0 0 40px rgba(0,58,173,.07), inset 0 0 20px rgba(255,255,255,.8);
  }
  32% {
    transform: scale(1.006);
    filter: brightness(1.025) saturate(1.03);
    box-shadow: 0 0 11px rgba(253,100,1,.54), 0 0 31px rgba(253,100,1,.22), 0 0 48px rgba(0,58,173,.10), inset 0 0 24px rgba(255,255,255,.9);
  }
  64% {
    transform: scale(1.01);
    filter: brightness(1.04) saturate(1.05);
    box-shadow: 0 0 9px rgba(253,100,1,.34), 0 0 27px rgba(0,58,173,.18), 0 0 52px rgba(0,58,173,.10), inset 0 0 26px rgba(255,255,255,.94);
  }
}

@keyframes initial-offer-ring {
  0%, 100% { opacity: .68; transform: scale(1); border-color: rgba(253,100,1,.62); }
  40% { opacity: .92; transform: scale(1.018); border-color: rgba(253,100,1,.84); }
  72% { opacity: .78; transform: scale(1.01); border-color: rgba(0,58,173,.30); }
}

.initial-offer-simple + .comparison-wrap {
  margin-top: clamp(1.25rem, 2vw, 1.8rem);
}

/* Transition vidéos -> footer très courte : le footer commence presque sous les cartes. */
.footer-v34 {
  padding-top: clamp(.65rem, 1.2vw, 1rem) !important;
}
.footer-v34 .footer-grid-v34 {
  padding-top: clamp(1.2rem, 1.8vw, 1.65rem);
}
.footer-v34 .footer-signature { display: none !important; }

@media (max-width: 1024px) {
  .social-reel,
  .social-card-skeleton { flex-basis: clamp(300px, 54vw, 460px); }
}

@media (max-width: 820px) {
  .initial-offer.initial-offer-simple {
    grid-template-columns: minmax(0, 1fr) clamp(156px, 22vw, 186px);
    gap: 1.05rem;
    max-width: min(calc(100% - 2.5rem), 880px);
  }

  .initial-offer-simple .initial-offer-badge-wrap {
    width: clamp(156px, 22vw, 186px);
    margin: 0;
  }
}

@media (max-width: 600px) {
  .social-feed h2 { font-size: clamp(2.65rem, 13vw, 4.5rem); }
  .social-feed-intro { margin-top: .65rem; }
  .social-feed-stage { margin-top: .35rem; }
  .social-carousel-toolbar { min-height: 0; margin-bottom: .25rem; }
  .social-carousel-controls { display: none; }

  .social-carousel {
    margin-right: calc((100vw - 100%) * -1);
    padding-right: 2.4rem;
  }

  .social-reel,
  .social-card-skeleton {
    flex-basis: calc(100vw - 4.75rem);
    min-width: 250px;
  }

  .social-reel::after {
    top: .7rem;
    left: .7rem;
    font-size: .62rem;
  }
}

@media (max-width: 430px) {
  .initial-offer.initial-offer-simple {
    width: calc(100% - 1.5rem);
    max-width: 520px;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-top: 1.2rem;
    padding: 0 0 .55rem;
  }

  .initial-offer-simple .initial-offer-main {
    padding: 0;
    justify-self: center;
  }
  .initial-offer-simple h3 { font-size: clamp(2.05rem, 10.5vw, 2.85rem); }
  .initial-offer-simple .initial-offer-copy { margin-top: .9rem; }
  .initial-offer-simple .initial-offer-badge-wrap {
    width: 164px;
    margin: .1rem auto .25rem;
  }
  .initial-offer-simple .initial-offer-badge { row-gap: .52rem; }
  .initial-offer-simple .initial-offer-badge strong { font-size: 4.15rem; }

  .footer-v34 { padding-top: .45rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  .social-carousel { scroll-behavior: auto; }
  .social-reel,
  .social-carousel-button { transition: none; }
  .social-reel:hover { transform: none; }
  .social-card-skeleton-media { animation: none; }
}
