/* ============================================================
   landing-colloquio.css — Landing Colloquio High School
   Caricato solo in colloquio-gratuito-lp.php
   Tipografia/colori/spacing: ereditati da youabroad.css + Bootstrap
   utility (.titleLev*, .occhiello, .subtitle, .smallParagraph,
   .customBtn, .py-*, .mb-*, .bgColor*, .colorPurple, ecc.).
   Qui solo: layout strutturale + component-specific (slider,
   sticky CTA, pillar reveal, etc.).
   ============================================================ */

/* ---- STICKY CTA bar (mobile, post-scroll hero) ---- */
#lp-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 35%, #fff 100%);
  display: none;
  pointer-events: none;
}
#lp-sticky-bar.lp-sticky-visible {
  display: block;
  animation: lpStickySlideUp 320ms cubic-bezier(0.16,1,0.3,1);
}
#lp-sticky-bar > .customBtn {
  pointer-events: auto;
  display: block !important;
  text-align: center;
}
@keyframes lpStickySlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (min-width: 992px) {
  #lp-sticky-bar { display: none !important; }
}

/* ---- HERO ---- */
.lp-hero {
  position: relative;
  background: #fff;
  /* #menuBlock fixed + .menu-padding già aggiunge padding-top: var(--menuh).
     Hero riempie il resto del viewport. */
  /* min-height: calc(100dvh - var(--menuh, 72px)); */
  overflow: hidden;
}
.lp-hero__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--lightPurple) 100%);
  z-index: 5;
}
.lp-hero__container {
  position: relative;
  z-index: 4;
}
.lp-hero__copy {
  padding-right: clamp(0px, 3vw, 48px);
}
.lp-hero__title {
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.lp-hero__subtitle {
  line-height: 1.45;
  max-width: 56ch;
  font-size: 1.05rem;
}
.lp-hero__pitch {
  max-width: 56ch;
}

/* trust badges */
.lp-trustbar {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.lp-trustbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.lp-trustbar__icon { flex-shrink: 0; }

/* form card container */
.lp-form-card {
  background: #fff;
  border: 1px solid rgba(159,65,136,0.12);
  border-radius: 18px;
  box-shadow: 0 24px 60px -28px rgba(22,22,22,0.22),
              inset 0 1px 0 rgba(255,255,255,0.6);
}

/* form fields/select/privacy: estetica delegata a .myForm globale
   (vedi youabroad.css). Nessun override scoped. */

/* ---- SECTION HEAD ---- */
.lp-section__head { max-width: 720px; }
.lp-section__title {
  line-height: 1.18;
  max-width: 24ch;
}

/* ---- PILLARS ---- */
.lp-pillars { background: var(--grey); }
.lp-pillar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16,1,0.3,1),
              transform  600ms cubic-bezier(0.16,1,0.3,1);
}
.lp-pillar.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-pillar__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #ddd;
  box-shadow: inset 0 0 0 1px rgba(22,22,22,0.04);
}
.lp-pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.16,1,0.3,1);
}
.lp-pillar:hover .lp-pillar__media img {
  transform: scale(1.04);
}
.lp-pillar__num {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--purple);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
}
.lp-pillar__body { max-width: 32ch; }

/* ---- SEPARATORE VIOLA ---- */
.lp-separator {
  background: var(--purple);
  position: relative;
  overflow: hidden;
}
.lp-separator::before,
.lp-separator::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.lp-separator::before { top: 0; }
.lp-separator::after  { bottom: 0; }
.lp-separator__text {
  font-weight: 500;
}
.lp-separator__text em { font-style: italic; }

/* ---- DIFFERENZIALE (4 ya!) ---- */
.lp-differential__row { align-items: center; }
.lp-differential__media { padding-right: 32px; }
.lp-differential__imgwrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 60px -28px rgba(22,22,22,0.25);
}
.lp-differential__imgwrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.lp-differential__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.25);
  margin: 0;
  letter-spacing: 0.04em;
}
.lp-differential__list {
  display: flex;
  flex-direction: column;
}

.lp-yacard {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  border-top: 1px solid #EAEAEA;
  transition: background-color 220ms ease;
}
.lp-yacard:last-child { border-bottom: 1px solid #EAEAEA; }
.lp-yacard:hover { background: rgba(159,65,136,0.025); }
.lp-yacard__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 280ms cubic-bezier(0.16,1,0.3,1);
}
.lp-yacard:hover .lp-yacard__icon { transform: scale(1.08); }
.lp-yacard__body { flex: 1; }
.lp-yacard__body p {
  max-width: 52ch;
  margin: 0;
}

/* ---- RIPROVA SOCIALE (video slider + recensioni) ---- */
.lp-social { background: var(--grey); }

/* Swiper VLOGs (YouTube Shorts portrait 9:16) */
.swiper-lp-vlogs {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}
.lp-vlog-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
}
.lp-vlog-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* pagination: dots allineate a sinistra (stile home), tinta purple brand */
.swiper-lp-vlogs .swiper-pagination {
  position: static;
  text-align: left;
  width: auto;
}
.swiper-lp-vlogs .swiper-pagination-bullet {
  margin: 0 6px 0 0;
  opacity: 0.35;
}
.swiper-lp-vlogs .swiper-pagination-bullet-active {
  background: var(--purple);
  opacity: 1;
}

/* recensioni */
.lp-reviews {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-review { border-top: 1px solid #E0E0E0; }
.lp-review:first-child {
  border-top: 0;
  padding-top: 0 !important;
}
.lp-review__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--yellow);
}
.lp-review__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: help;
  line-height: 1.55;
}

/* ---- RESPONSIVE fine-tuning ---- */
@media (max-width: 991.98px) {
  .lp-hero { min-height: auto; }
  .lp-yacard { gap: 16px; }
  .lp-yacard__icon { width: 48px; height: 48px; border-radius: 12px; }
  .lp-yacard__icon svg { width: 24px; height: 24px; }
}

@media (max-width: 575.98px) {
  .lp-vslider { max-width: 100%; }
  .lp-vslider__nav--prev { left: 6px; }
  .lp-vslider__nav--next { right: 6px; }
  .lp-trustbar { gap: 10px 20px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .lp-pillar { opacity: 1; transform: none; transition: none; }
  .lp-vslider__slide, .lp-vslider__nav,
  #lp-sticky-bar, .lp-pillar__media img, .lp-yacard__icon {
    transition: none !important;
    animation: none !important;
  }
}
