/* Limogo · landing proposta B: reel in testata, schermate affiancate, foto. Si appoggia a styles.css. */

/* testata: sfondo a curve di livello (come il reel), titolo a sinistra, reel a destra */
.heroB { --pad: clamp(28px, 6vw, 112px); position: relative; overflow: hidden; min-height: 100svh; background: var(--night); color: var(--night-ink); padding: 0 var(--pad); display: grid; grid-template-rows: auto 1fr; }
.heroB__bg { position: absolute; top: -4%; left: -4%; width: 108%; max-width: none; height: 108%; object-fit: cover; pointer-events: none; animation: drift 40s var(--ease-in-out) infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-2.5%, -3%, 0); } }
.heroB__bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 96px; }
.heroB__logo { width: 136px; height: auto; }
.heroB__main { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 4vw, 96px); align-items: center; padding: 0 clamp(0px, 2.5vw, 56px) 48px; }
.heroB h1 { font-size: clamp(40px, 4.8vw, 88px); line-height: .98; letter-spacing: -0.035em; font-weight: 800; }
.heroB h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.heroB h1 .line > span { display: block; }
.heroB .hero__sentence { margin-top: 28px; max-width: 44ch; color: var(--night-muted); font-size: var(--t-body); line-height: 1.55; }
.heroB .hero__actions { margin-top: 40px; }
.heroB__reel { position: relative; height: min(80svh, 820px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; }
.heroB__reel video { width: 100%; height: 100%; object-fit: cover; }

/* pulsante d'invito: azzurro del brand su fondo scuro, freccia che avanza al passaggio */
.cta { display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 12px 0 28px; border-radius: 9999px; background: #38bdf8; color: #0b0f19; font-weight: 800; font-size: var(--t-body); text-decoration: none; transition: background-color .18s ease, transform .12s var(--ease-out); }
.cta__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #0b0f19; color: #38bdf8; transition: transform .25s var(--ease-out); }
.cta__arrow svg { width: 18px; height: 18px; }
.cta:hover { background: #7dd3fc; }
.cta:hover .cta__arrow { transform: translateX(4px); }
.cta:active { transform: scale(.97); }

/* lingua: si vede solo quella attiva; al passaggio scendono le altre iniziali, su fondo trasparente */
.langsel { position: relative; font-size: var(--t-small); font-weight: 700; }
/* accesso alla dashboard per chi è già cliente (https://limogo.app/dashboard/) */
.heroB__right { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.login { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); color: #fff; font-size: var(--t-small); font-weight: 700; text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.login:hover { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1.5px #fff; }
.login:focus-visible { outline: 2px solid #38bdf8; outline-offset: 3px; }
.langsel__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; background: transparent; border: 0; color: #fff; font: inherit; cursor: pointer; }
.langsel__btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.langsel__list { position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 0; list-style: none; display: grid; justify-items: start; }
.langsel__list a { display: inline-grid; place-items: center start; min-height: 40px; padding: 0 6px; color: var(--night-muted); text-decoration: none; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .25s var(--ease-out), color .15s ease, visibility 0s linear .25s; }
.langsel__list li:nth-child(2) a { transition-delay: 0s, .04s, 0s, .25s; }
.langsel__list a:hover, .langsel__list a:focus-visible { color: #fff; }
.langsel:hover .langsel__list a, .langsel:focus-within .langsel__list a, .langsel.open .langsel__list a { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.langsel:hover .langsel__list li:nth-child(2) a, .langsel:focus-within .langsel__list li:nth-child(2) a, .langsel.open .langsel__list li:nth-child(2) a { transition-delay: .05s; }
.langsel:hover .langsel__btn svg, .langsel.open .langsel__btn svg { transform: rotate(180deg); }

.js .heroB h1 .line > span { transform: translateY(105%); }
.js .heroB.ready h1 .line > span { transform: none; transition: transform .9s var(--ease-out); }
.js .heroB.ready h1 .line:nth-child(2) > span { transition-delay: .11s; }
.js .heroB .hero__fade { opacity: 0; transform: translateY(12px); }
.js .heroB.ready .hero__fade { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) .55s, transform .6s var(--ease-out) .55s; }
.js .heroB .heroB__reel { opacity: 0; transform: scale(.97); }
.js .heroB.ready .heroB__reel { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) .2s, transform .9s var(--ease-out) .2s; }

/* sotto la testata: stesso margine del testo della testata, fondi scuri con le curve di livello */
:root { --gut: clamp(24px, 8.5vw, 168px); --sec: clamp(96px, 10vw, 168px); }
.topo { background: var(--night) url('assets/limogo_landing_linee-mappa_v01.svg') center / cover no-repeat; color: var(--night-ink); }

/* le schermate: lista corse e due app alla stessa altezza, una accanto all'altra */
.shots { padding: var(--sec) var(--gut); }
.shots__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.shots h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; max-width: 22ch; }
.shots__head p { color: var(--night-muted); max-width: 52ch; }
.shots__stage { display: grid; grid-template-columns: 1.6fr .462fr; gap: clamp(16px, 2vw, 32px); align-items: end; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 16px; background: #fff; }
.shots figure + figure img { border-radius: 22px; }
.shots figcaption { margin-top: 12px; font-size: var(--t-small); color: var(--night-muted); }

.problem { padding: var(--sec) var(--gut); }
.problem p { font-size: var(--t-statement); }

/* foto con testo a lato, testo centrato in verticale */
.photoSplit { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--night); color: var(--night-ink); }
.photoSplit__img { position: relative; overflow: hidden; }
.photoSplit__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photoSplit__text { display: flex; flex-direction: column; justify-content: center; padding: var(--sec) var(--gut) var(--sec) clamp(40px, 6vw, 112px); }
.photoSplit h2 { font-size: clamp(32px, 3.4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; max-width: 21ch; }
.photoSplit p { margin-top: 20px; color: var(--night-muted); max-width: 44ch; }
.does { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 480px; }
.does li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 16px; background: #111827; font-weight: 700; }
.does__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #38bdf8; color: #0b0f19; font-family: var(--mono); font-weight: 800; }

/* cosa fa Limogo: a tutta larghezza, due grandi e tre più piccole */
.features { padding: var(--sec) var(--gut); }
.features__inner { margin: 0; max-width: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 1.6vw, 28px); }
.features h2 { grid-column: 1 / -1; margin-bottom: 28px; font-size: var(--t-display); line-height: 1; letter-spacing: -0.03em; }
.feat { grid-column: span 2; display: flex; flex-direction: column; gap: 28px; padding: clamp(22px, 2vw, 36px); border-radius: 24px; background: var(--surface-muted); }
.feat:nth-of-type(1), .feat:nth-of-type(2) { grid-column: span 3; }
.feat + .feat { margin-top: 0; }
.feat__panel { flex: 1; display: grid; place-items: center; min-height: 220px; padding: 0; background: none; border-radius: 0; overflow: visible; }
.feat__panel > * { width: min(100%, 440px); }
.feat__panel > .pax { width: min(100%, 300px); }
.feat h3 { font-size: var(--t-h2); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; max-width: 16ch; }
.feat p { margin-top: 14px; max-width: 40ch; }

/* hotel e ristoranti: il vantaggio nel titolo, tre passi, la foto a metà pagina con la corsa chiusa sopra */
.partner { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; }
.partner__text { display: flex; flex-direction: column; justify-content: center; padding: var(--sec) clamp(40px, 6vw, 112px) var(--sec) var(--gut); }
.partner h2 { font-size: clamp(32px, 3.4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; max-width: 16ch; }
:lang(de) .partner h2, :lang(en) .partner h2 { max-width: 20ch; } /* "Restaurants" è più lungo di "ristoranti" */
.partner__lead { margin-top: 20px; max-width: 44ch; }
.does--light li { background: var(--surface-muted); color: var(--ink); }
.does--light .does__n { background: #0369a1; color: #fff; }
.partner__img { position: relative; overflow: hidden; }
.partner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.partner__card { position: absolute; left: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 48px); width: min(400px, calc(100% - 40px)); }

/* il cliente resta tuo: foto della passeggera e testo */
.yoursB { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--surface-muted); }
.yoursB__img { position: relative; overflow: hidden; order: 2; }
.yoursB__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.yoursB__text { display: flex; flex-direction: column; justify-content: center; padding: var(--sec) clamp(40px, 6vw, 112px) var(--sec) var(--gut); }
.yoursB h2 { font-size: clamp(32px, 3.4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; max-width: 16ch; }
.yoursB__text > p { margin-top: 20px; max-width: 44ch; }
.yoursB__pay { font-size: var(--t-statement); line-height: 1.3; font-weight: 500; color: var(--muted); }
.yoursB__pay .hl { font-weight: 700; }
.yoursB h2 { max-width: 18ch; }
.yoursB__row, .appRow { margin-top: 32px; display: grid; grid-template-columns: 1fr clamp(150px, 11vw, 210px); gap: clamp(24px, 3vw, 48px); align-items: start; }
.yoursB__row .yoursB__pay { margin-top: 0; }
.yoursB__row .yoursB__pay + .yoursB__pay { margin-top: 14px; }
.yoursB__app, .appShot { margin: 0; }
.yoursB__app img, .appShot img { width: 100%; height: auto; border-radius: 20px; background: #fff; }
.appRow p { margin-top: 0; }

/* pulsante d'invito alla fine di ogni sezione */
.secCta { margin-top: 40px; }
.shots .secCta { margin-top: 56px; }

/* contatto: scuro come la testata, pulsante azzurro */
.contact { padding: var(--sec) var(--gut); min-height: 92svh; background: var(--night) url('assets/limogo_landing_linee-mappa_v01.svg') center / cover no-repeat; }
.contact__text p.after { color: var(--night-muted); }
@media (min-width: 821px) { .contact__text { grid-column: 1 / 7; } }
.dialog .send { background: #38bdf8; color: #0b0f19; font-weight: 800; }
.dialog .send:hover { background: #7dd3fc; }
.yours__link { background: #0369a1; }

.foot { padding: 28px var(--gut); background: var(--night); color: var(--night-muted); }
/* footer B: logo grande sopra, titolare e contatto sotto (Marco, 2026-11-04) */
.foot:has(.foot__id) { align-items: end; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.foot__logo { display: block; width: clamp(150px, 14vw, 220px); height: auto; }
.foot__who { margin: 18px 0 0; font-size: var(--t-small); }
.foot a { color: #fff; }

.slowzoom { animation: slowzoom 18s var(--ease-in-out) infinite alternate; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  .js .heroB h1 .line > span, .js .heroB .hero__fade, .js .heroB .heroB__reel { opacity: 1 !important; transform: none !important; transition: none !important; }
  .slowzoom, .heroB__bg { animation: none; }
}

@media (max-width: 1100px) {
  .feat, .feat:nth-of-type(1), .feat:nth-of-type(2) { grid-column: span 3; }
  .feat:nth-of-type(5) { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .heroB { --pad: 24px; min-height: auto; }
  .heroB__bar { height: 72px; }
  .heroB__logo { width: 112px; }
  .heroB__main { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 56px; }
  .heroB h1 { font-size: clamp(32px, 9vw, 54px); }
  .heroB__reel { height: auto; width: min(340px, 100%); justify-self: center; }

  :root { --gut: 20px; --sec: 88px; }
  .shots__head { grid-template-columns: 1fr; margin-bottom: 32px; }
  .shots__stage { grid-template-columns: 1fr 1fr; }
  .shots__stage figure:first-child { grid-column: 1 / -1; }

  .photoSplit, .yoursB { grid-template-columns: 1fr; min-height: auto; }
  .photoSplit__img, .yoursB__img { height: 56svh; }
  .yoursB__img { order: 0; }
  .yoursB__row, .appRow { grid-template-columns: 1fr; }
  .yoursB__app, .appShot { width: min(220px, 60%); justify-self: center; }
  .photoSplit__text, .yoursB__text { padding: 48px 20px 72px; }

  .features__inner { grid-template-columns: 1fr; }
  .feat, .feat:nth-of-type(1), .feat:nth-of-type(2), .feat:nth-of-type(5) { grid-column: 1; }
  .partner { grid-template-columns: 1fr; min-height: auto; }
  .partner__text { padding: 88px 20px 48px; }
  .partner__img { height: 64svh; }
  .contact { padding: 56px 16px; }
}
