/* ==========================================================================
   HOME
   ========================================================================== */

/* ---------- HERO ---------- */
.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding-top: 40px;
}

.hero__content {
  max-width: 640px;
}

/* ---------- Terminal flottant du hero ---------- */
.hero__visual {
  position: relative;
  justify-self: end;
  width: min(430px, 100%);
  animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.hero__term {
  font-size: 0.86rem;
}

.hero__badge {
  position: absolute;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #0a0620;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  animation: hero-float 6s ease-in-out infinite;
}

.hero__badge--1 { top: -18px; right: -14px; background: linear-gradient(120deg, #f5c97b, #ffde9e); animation-delay: -1.2s; }
.hero__badge--2 { bottom: 34px; left: -26px; background: linear-gradient(120deg, #5cc8f8, #9be0ff); animation-delay: -2.6s; }
.hero__badge--3 { bottom: -16px; right: 34px; background: linear-gradient(120deg, #4fddb5, #9df3d9); animation-delay: -4s; }

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero__visual {
    justify-self: center;
    margin-top: 10px;
    max-width: 430px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual,
  .hero__badge { animation: none; }
}

.hero__title {
  font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  font-weight: 600;
  margin-bottom: 26px;
}

.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--stroke-soft);
  backdrop-filter: blur(10px);
}

.hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero__chip-dot--sky { background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.hero__chip-dot--violet { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.hero__chip-dot--teal { background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* Indicateur de scroll */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--stroke);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.hero__scroll:hover { opacity: 1; }

.hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--teal);
  animation: scroll-hint 1.8s var(--ease-out) infinite;
}

@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding-top: 70px; padding-bottom: 40px; }
  .hero__scroll { display: none; }
}

/* ---------- EXPERTISES ---------- */
.expertise-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 28px;
}

.expertise-card p {
  flex: 1;
}

.expertise-card__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.expertise-card__link span {
  transition: transform 0.4s var(--ease-out);
}

.expertise-card:hover .expertise-card__link span {
  transform: translateX(5px);
}

/* ---------- MARQUEE ---------- */
.stack {
  padding-block: clamp(40px, 6vh, 70px);
}

.stack .eyebrow {
  margin-bottom: 34px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding-block: 8px;
}

.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 44s;
}

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

.marquee__track span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--stroke-soft);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}

.marquee__track span:hover {
  color: var(--teal);
  border-color: rgba(79, 221, 181, 0.4);
}

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

/* ---------- VILLE ---------- */
.ville__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.ville__intro h2 {
  margin-bottom: 20px;
}

@media (max-width: 980px) {
  .ville__layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- SLIDER SOLUTIONS ---------- */
.slider {
  position: relative;
}

.slider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 4px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.slider__track::-webkit-scrollbar { display: none; }

.slider__slide {
  flex: 0 0 min(420px, 82%);
  scroll-snap-align: center;
}

.slider__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
}

.slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.slider__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--glass);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s;
}

.slider__btn:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 200, 248, 0.5);
  background: rgba(92, 200, 248, 0.12);
}

.slider__dots {
  display: flex;
  gap: 10px;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.4s var(--ease-out), background 0.4s;
}

.slider__dot.is-active {
  width: 26px;
  background: var(--grad-brand);
}

/* ---------- GLOBAL / MULTILINGUE ---------- */
.global__layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.global__intro h2 { margin-bottom: 20px; }
.global__intro .btn { margin-top: 10px; }

.global__list {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ligne verticale reliant les nœuds — le « lien » Link-Co */
.global__list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(92, 200, 248, 0.5), rgba(79, 221, 181, 0.5), transparent);
}

.global__item {
  display: flex;
  gap: 26px;
  padding: 22px 0;
}

.global__node {
  flex: 0 0 17px;
  height: 17px;
  margin-top: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a8f4de, var(--teal));
  box-shadow: 0 0 16px rgba(79, 221, 181, 0.8);
  position: relative;
  z-index: 1;
}

.global__item h3 { margin-bottom: 8px; }
.global__item p { margin-bottom: 0; font-size: 0.98rem; }

@media (max-width: 980px) {
  .global__layout {
    grid-template-columns: 1fr;
  }
  .global__intro {
    order: -1;
  }
}




/* ---------- Bande de réassurance ---------- */
.reassure-section {
  padding-block: 10px clamp(30px, 5vh, 60px);
}

.reassure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reassure__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 18px;
  background: var(--card-bg, rgba(24, 20, 56, 0.7));
  border: 1px solid var(--stroke-soft);
}

.reassure__icon {
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(79, 221, 181, 0.12);
}

.reassure__item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0 0 6px;
}

.reassure__item p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .reassure { grid-template-columns: 1fr; }
}
