/* ==================================================
   COMPONENTS — Buttons + Kicker + Sections
================================================== */

/* ==================================================
   BOUTONS
================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.85rem 1.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  text-align: center;

  /* ✅ uniformise <a> et <button> */
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;

  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s,
    transform 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn--accent {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(138, 107, 255, 0.35);
}
.btn--accent:hover,
.btn--accent:focus-visible {
  background: #a08cff;
  color: #fff;
}

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--ghost:hover {
  background: var(--clr-accent);
  color: #fff;
}

/* ==================================================
   SECTIONS (placeholders)
================================================== */
.section {
  padding-block: clamp(4rem, 7vw, 6rem);
}
.section__container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section__container h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  margin-bottom: 0.8rem;
}
.section__container p {
  color: #eae7ff;
  line-height: 1.7;
}

/* ==================================================
   KICKER UNIFIÉ (trait + petit titre)
================================================== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.kicker > span {
  width: 56px;
  height: 2px;
  background: var(--clr-accent);
  opacity: 0.9;
  border-radius: 2px;
}

.kicker h2,
.kicker h3,
.kicker p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
}

/* ==================================================
   Back to top (global)
================================================== */
.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 900 1.05rem/1 var(--ff-heading);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease,
    border-color 0.2s ease;
  z-index: 2000;
}

.to-top:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(4px);
}

.to-top:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
