/* LDV 2027 · elegant editorial refresh */
:root{--ldv-ink:#0d0b13;--ldv-panel:#191320;--ldv-pink:#f344a3;--ldv-soft:#f8d4e9}
html{scroll-behavior:smooth}body{overflow-x:clip}*,*::before,*::after{box-sizing:border-box}img,iframe{max-width:100%}
.ldv-header{background:rgba(13,9,19,.96)!important;backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,133,195,.22);box-shadow:0 8px 34px #0003}
.ldv-header__nav a{transition:color .2s ease,background .2s ease}.ldv-header__nav a:hover,.ldv-header__nav a[aria-current=page]{color:#ff9bd0!important}
.ldv27-hero{min-height:min(730px,90svh)!important;background:linear-gradient(115deg,rgba(10,7,16,.93),rgba(23,9,28,.69)),url('../img/hero-home.webp') center/cover!important}
.ldv27-hero::after{content:'';position:absolute;inset:auto 0 0;height:140px;background:linear-gradient(transparent,#190e21);pointer-events:none}
.ldv27-hero-inner{position:relative;z-index:1}.ldv27-hero h1{font-family:'Bowlby One SC',system-ui,sans-serif!important;letter-spacing:-.025em!important;font-size:clamp(3rem,10vw,8rem)!important;line-height:1.08!important;text-wrap:balance}.ldv27-eyebrow,.ldv27-overline{color:#ffb5d9!important}
.ldv27-button{border-radius:999px!important;background:linear-gradient(115deg,#d92383,#ff62b6)!important;box-shadow:0 8px 30px #b8126d55!important;transition:transform .2s ease,box-shadow .2s ease}.ldv27-button:hover{transform:translateY(-3px);box-shadow:0 13px 35px #dc1b8a77!important}.ldv27-outline{background:#ffffff0d!important;border:1px solid #f8add2!important;box-shadow:none!important}
.ldv27-signups{background:linear-gradient(160deg,#1a101f,#0d0a12)!important}.ldv27-tile,.ldv27-news-grid article{background:linear-gradient(155deg,#ffffff12,#ffffff05)!important;border:1px solid #f6a6d145!important;box-shadow:0 12px 32px #0002;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.ldv27-tile:hover,.ldv27-news-grid article:hover{transform:translateY(-4px);border-color:#ff8fc9!important;box-shadow:0 16px 40px #0005}.ldv27-tile{border-radius:24px!important;min-width:0}
.ldv27-news{background:#100b17!important}.ldv27-news-grid article{border-radius:24px!important}.ldv27-news-grid a{color:#ffadd5!important}
.notice-banner__box{border-radius:20px!important;box-shadow:0 14px 40px #0002}.countdown{gap:clamp(8px,2vw,20px)!important}.cd-card{border-radius:20px!important;min-width:0}.cd-num{font-variant-numeric:tabular-nums}
.section--form .container{min-width:0}.section--form .ldv-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;width:100%!important;max-width:100%!important;padding:8px!important;overflow:visible!important}.section--form .ldv-tab{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:14px 8px!important;white-space:normal!important;overflow-wrap:anywhere!important;border-radius:14px!important;line-height:1.3!important;transform:none!important}.section--form .ldv-tabpanels,.section--form .ldv-tabpanel,.section--form .form-embed-wrap{min-width:0!important;width:100%;max-width:100%!important;overflow:hidden}.section--form .form-embed{display:block;width:100%!important;max-width:100%!important;border:0}
.ldv-open-external{display:inline-flex;align-items:center;justify-content:center;margin:14px 0 20px;padding:11px 18px;border:1px solid #ef68ad;border-radius:999px;color:#f783bf!important;font-weight:700;text-decoration:none}
:focus-visible{outline:3px solid #ff9bd0!important;outline-offset:3px}
@media(max-width:760px){.ldv27-hero{min-height:570px!important;padding:76px 18px 60px!important}.ldv27-hero h1{font-size:clamp(2.65rem,12vw,5.2rem)!important}.ldv27-actions{flex-direction:column;align-items:stretch}.ldv27-button{display:block;width:100%}.ldv27-grid,.ldv27-news-grid{grid-template-columns:1fr!important}.ldv27-tile{padding:24px!important}.section--form .ldv-tabs{grid-template-columns:1fr!important}.ldv-header__brand{min-width:0}.ldv-header__title{overflow-wrap:anywhere}.notice-banner__inner{flex-wrap:wrap}.countdown{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));max-width:460px;margin-inline:auto}.cd-card{width:100%!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ldv27-tile,.ldv27-button,.ldv27-news-grid article{transition:none!important}}

/* 2027-11-02: fix real de la capçalera de preinscripcions.
   styles.css imposava 92vw a TOTS els h2 de secció, inclosos els de targetes. */
.section--form .ldv-prelaunch {
  width:100%; max-width:820px; min-width:0;
  padding:clamp(20px,4vw,40px) clamp(16px,3vw,32px) 36px;
  margin-inline:auto; overflow:hidden;
}
.section--form .ldv-prelaunch h2 {
  width:100%!important; max-width:100%!important; min-width:0!important;
  margin:12px auto 18px!important; padding:0!important;
  font-size:clamp(1.25rem,3.2vw,2.25rem)!important;
  line-height:1.22!important; overflow-wrap:break-word;
  word-break:normal; text-wrap:balance;
}
.section--form .ldv-prelaunch p {max-width:100%;overflow-wrap:break-word}
.section--form .ldv-preclock {max-width:100%;min-width:0}
.section--form .ldv-preclock span {min-width:0;flex:0 1 92px}
.section--form .ldv-preclock b {font-size:clamp(1.35rem,3vw,2.5rem)}
.section--form #ldv-open-heading h2 {width:100%!important;max-width:100%!important;overflow-wrap:break-word}
@media(max-width:480px){
 .section--form .ldv-preclock {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:280px}
 .section--form .ldv-preclock span {width:100%;padding:12px 8px}
 .section--form .ldv-prelaunch h2 {font-size:clamp(1.2rem,6vw,1.7rem)!important}
}
