@font-face {
  font-family: "DM Sans";
  src: url("/corso-gratuito/assets/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* A clear hierarchy for the opening, using the site's existing typeface. */
.hero h1 {
  margin-top: 26px;
  font-size: clamp(42px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 720;
  text-wrap: balance;
}
.hero-title-cloud { display: block; color: #d9c1ff; }
.hero-subtitle {
  margin-top: 24px;
  max-width: 440px;
  color: #d9d3e1;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.48;
  letter-spacing: -.015em;
  font-weight: 440;
  text-wrap: pretty;
}
.hero-subtitle strong { display: block; margin-top: 4px; color: #fff; font-weight: 650; }
.hero-content > p { margin-top: 24px; font-size: 17px; line-height: 1.65; font-weight: 430; color: #c3bdce; text-wrap: pretty; }
.hero-content > .eyebrow { font-size: 10.5px; line-height: 1.4; letter-spacing: .09em; font-weight: 650; padding: 8px 12px; }
.hero-proof { font-weight: 500; line-height: 1.5; font-size: 13px; color: #bcb5c9; }

/* Four products and a dedicated Academy card. */
.mega-grid--platform { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-grid--platform .mega-academy {
  grid-column: 3; grid-row: 1 / 3; flex-direction: column; justify-content: center;
  padding: 28px; background: linear-gradient(145deg, #f9f5ff, #ece5fa);
  border-color: #dfd0f4;
}
.mega-academy h4 { font-size: 26px; font-weight: 750; margin: 3px 0 12px; }
.mega-academy p { max-width: 240px; }
.mega-academy .mega-academy-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--purple); font-size: 13px; font-weight: 700; }

/* Native dialog: focus stays in the menu, Escape closes it. */
html.mobile-nav-open { overflow: hidden; }
.mobile-panel {
  display: none; position: fixed; inset: 12px 0 auto; margin: 0 auto;
  width: min(500px, calc(100% - 24px)); max-width: none;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  padding: 0; overflow: hidden; color: var(--ink);
  border: 1px solid rgba(255,255,255,.95); border-radius: 26px;
  background: radial-gradient(ellipse at 100% 0, #f0e5ff, transparent 65%), rgba(249,248,252,.97);
  box-shadow: 0 30px 100px #190b3d45, inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.mobile-panel[open] { display: flex; flex-direction: column; }
.mobile-panel::backdrop { background: rgba(23,15,36,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px 15px; flex-shrink: 0; }
.mobile-menu-head img { width: 133px; height: auto; max-height: 43px; object-fit: contain; }
.mobile-menu-close {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #ded6e7; background: #ffffffb3; color: #51465f; cursor: pointer;
}
.mobile-menu-close svg { width: 19px; height: 19px; }
.mobile-menu-body { padding: 0 15px 14px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.mobile-section { border-top: 1px solid #e2dbe9; }
.mobile-section > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; cursor: pointer; padding: 16px 5px; font-size: 18px; font-weight: 650; letter-spacing: -.02em;
}
.mobile-section > summary::-webkit-details-marker { display: none; }
.mobile-section > summary small { display: block; margin-top: 4px; color: #786e84; font-size: 11.5px; font-weight: 450; letter-spacing: 0; }
.mobile-section > summary .chevron { margin-right: 7px; width: 7px; height: 7px; transition: transform .18s ease; }
.mobile-section[open] > summary .chevron { transform: rotate(225deg) translate(-1px,-1px); }
.mobile-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.mobile-panel .mobile-item {
  display: flex; align-items: center; gap: 9px; min-height: 79px; padding: 12px 10px;
  border: 1px solid #fff; border-radius: 16px; background: #ffffffbd;
  box-shadow: 0 4px 16px #27124104; font-weight: 500;
}
.mobile-item .mobile-icon { display: grid; place-items: center; width: 30px; height: 34px; flex-shrink: 0; }
.mobile-icon img { width: 29px; height: 29px; object-fit: contain; }
.mobile-icon svg { width: 24px; height: 24px; }
.mobile-item > span:last-child { min-width: 0; }
.mobile-item strong { display: block; font-size: 13px; font-weight: 650; line-height: 1.25; letter-spacing: -.015em; }
.mobile-item small { display: block; font-size: 10.5px; line-height: 1.4; font-weight: 450; margin-top: 4px; color: #766c81; }
.mobile-panel .mobile-academy {
  display: flex; align-items: center; gap: 12px; margin: 10px 0 15px; padding: 13px 15px;
  border: 1px solid #dbcaef; border-radius: 17px; background: linear-gradient(110deg,#eee2ff,#f9f5ff); color: #5f0fc5;
}
.mobile-academy .mobile-icon { display: grid; place-items: center; width: 33px; flex-shrink: 0; }
.mobile-academy strong { display: block; font-size: 15px; font-weight: 700; }
.mobile-academy small { display: block; font-size: 11.5px; margin-top: 3px; font-weight: 450; color: #736084; }
.mobile-academy > svg { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; }
.mobile-resource-links { padding-bottom: 13px; }
.mobile-panel .mobile-resource {
  display: flex; align-items: center; gap: 12px; padding: 13px 11px; min-height: 46px;
  border: 0; border-radius: 12px; font-size: 13px; font-weight: 550; line-height: 1.3;
}
.mobile-resource .mobile-icon { width: 23px; height: 23px; display: grid; place-items: center; color: #7a32c7; flex-shrink: 0; }
.mobile-resource .mobile-icon svg { width: 21px; height: 21px; }
.mobile-panel .mobile-resource--featured { background: #ffffffc9; border: 1px solid #fff; margin-bottom: 4px; }
.mobile-resource > span:last-child { min-width: 0; }
.mobile-resource strong { display: block; font-size: 13px; font-weight: 650; }
.mobile-resource small { display: block; color: #7a6c89; font-size: 11px; font-weight: 450; margin-top: 3px; }
.mobile-resource-label { margin: 12px 11px 4px; font-size: 9.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #80738f; }
.mobile-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 13px; border-top: 1px solid #e2dbe9; }
.mobile-panel .mobile-trust a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 43px; padding: 10px 5px; border: 1px solid #e1d9e9; border-radius: 13px; font-size: 12px; font-weight: 550; color: #64576e; background: #ffffff61; }
.mobile-trust svg { width: 16px; height: 16px; flex-shrink: 0; }
.mobile-menu-footer { padding: 12px 15px max(15px, env(safe-area-inset-bottom)); border-top: 1px solid #e3dbea; background: #faf8fce8; flex-shrink: 0; }
.mobile-menu-footer .btn { margin: 0; width: 100%; min-height: 50px; justify-content: space-between; padding: 0 20px; border-radius: 15px; font-size: 14px; font-weight: 650; background: linear-gradient(115deg,#7107e7,#8b2beb); box-shadow: 0 8px 20px #7107e728; }
.mobile-menu-footer .btn svg { width: 18px; height: 18px; }
.mobile-panel a:active { background-color: #eee5f9; }
.mobile-panel :is(a,button,summary):focus-visible { outline: 3px solid #8a43dd; outline-offset: 2px; }

@media (min-width: 761px) and (max-width:1080px) {
  .hero h1 { max-width: 650px; font-size: clamp(46px,6vw,60px); }
  .hero-subtitle { max-width: 600px; }
  .hero-content > p { max-width: 570px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .hero-content > .eyebrow { font-size: 9px; letter-spacing: .065em; padding: 7px 10px; max-width: 100%; }
  .hero h1 { margin-top: 23px; font-size: clamp(36px,10.6vw,46px); line-height: 1.1; font-weight: 710; letter-spacing: -.035em; text-wrap: initial; }
  .hero-subtitle { margin-top: 21px; max-width: 330px; font-size: 18px; line-height: 1.5; font-weight: 430; letter-spacing: -.01em; }
  .hero-subtitle strong { font-size: 20px; margin-top: 5px; font-weight: 620; }
  .hero-content > p { margin-top: 22px; font-size: 15px; line-height: 1.65; font-weight: 420; }
  .hero-content > .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-content > .hero-actions .btn { font-size: 14px; font-weight: 650; min-height: 50px; }
  .hero-proof { font-size: 11.5px; font-weight: 450; line-height: 1.55; }
}
@media (max-width:359px) {
  .mobile-menu-head { padding-left: 16px; padding-right: 16px; }
  .mobile-menu-body { padding-left: 12px; padding-right: 12px; }
  .mobile-panel .mobile-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 11px; }
  .hero h1 { font-size: 35px; }
  .hero-content > .eyebrow { font-size: 8px; }
}
@media (prefers-reduced-motion:reduce) {
  .mobile-section > summary .chevron { transition: none; }
}

.mobile-panel .mobile-platform-overview { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 5px 2px; color: #756680; font-size: 11px; font-weight: 500; }
.mobile-platform-overview svg { width: 14px; height: 14px; }

@media (min-width:1081px) {
  .hero-product { bottom: calc(50% - 235px); }
  .floating-card.one { bottom: calc(50% + 135px); }
  .floating-card.two { bottom: calc(50% + 157px); }
  .floating-card.three { bottom: calc(50% + 79px); }
}
