/* Variante 3 · RESPIRO
   Layout: piattaforma e-learning luminosa, catalogo corsi subito dopo l'hero, schede arrotondate
   e ombre morbide (vicina al look di Tutor LMS). Verde salvia/teal del loto del volantino + pesca dell'alba.
   Plus Jakarta Sans per testo e titoli, accenti in Instrument Serif corsivo, logo Parisienne. */
:root {
  --bg: #f5f7f4; --surface: #ffffff; --surface-2: #e8f0ec;
  --ink: #15302c; --muted: #58706b; --line: rgba(21, 48, 44, .1);
  --accent: #1f6f64; --accent-ink: #ffffff; --accent-2: #f0a878; --peach: #fbe3d0; --sage: #cfe2da;
  --dark: #12302c; --dark-ink: #eef5f1; --dark-muted: rgba(238, 245, 241, .7);
  --f-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-script: "Parisienne", "Snell Roundhand", cursive;
  --radius: 14px; --radius-lg: 28px; --shadow: 0 1px 2px rgba(21, 48, 44, .05), 0 12px 32px rgba(21, 48, 44, .08);
}
body { font-size: 16px; }
.h-display, .h1, .h2, .h3 { font-weight: 700; letter-spacing: -.03em; }
.h-display em, .h1 em, .h2 em, .h-serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--accent); }
.h-display { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; }
.eyebrow { color: var(--accent); letter-spacing: .12em; }
.pull { font-family: var(--f-serif); font-size: 1.6rem; border-left: 3px solid var(--accent-2); color: var(--ink); }
.sec-head--center .h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

.btn { border-radius: 12px; }
.btn--primary:hover { background: #185a51; }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: .85rem; font-weight: 600; color: var(--accent); margin: 0 0 22px; backdrop-filter: blur(6px); }

/* header */
.site-header { background: rgba(245, 247, 244, .92); backdrop-filter: blur(10px); }
.logo__name { font-size: 2.4rem; color: var(--ink); }
.logo__tag { color: var(--accent); font-weight: 600; letter-spacing: .24em; }
.nav { gap: 6px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: .88rem; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current] { background: var(--surface-2); color: var(--accent); font-weight: 600; }
.btn--header { background: var(--accent); color: #fff; }
@media (max-width: 1180px) { .nav a { border-radius: 0; padding: 14px 0; } .nav a:hover, .nav a[aria-current] { background: transparent; } }

/* hero */
.hero { padding-block: 12px 0; }
.hero__panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #f3e6d8 var(--hero-bg) center bottom / cover no-repeat; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px) clamp(120px, 14vw, 200px); }
.hero__txt { position: relative; z-index: 1; }
.hero .lead { color: #3e5752; }
.hero__stats { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__stats li { background: rgba(255, 255, 255, .78); padding: 10px 16px; border-radius: 12px; font-size: .88rem; color: var(--muted); backdrop-filter: blur(6px); }
.hero__stats strong { color: var(--ink); margin-right: 4px; }
.hero__cards { position: relative; min-height: 430px; }
.float-card { position: absolute; background: var(--surface); border-radius: 18px; box-shadow: 0 24px 60px rgba(21, 48, 44, .18); padding: 14px; display: flex; gap: 14px; align-items: center; }
.float-card strong { display: block; font-size: 1rem; }
.mini { font-size: .76rem; color: var(--muted); }
.float-card--course { top: 10px; right: 0; width: min(340px, 100%); flex-direction: column; align-items: stretch; }
.float-card--course img { border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; object-position: 20% 50%; }
.float-card--course > div { padding: 2px 4px 4px; display: grid; gap: 6px; }
.progress { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.float-card--coach { left: -12px; top: 236px; padding-right: 22px; }
.float-card--coach img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 0; background: var(--peach); }
.float-card--rev { right: 0; bottom: 0; flex-direction: column; align-items: flex-start; gap: 6px; font-size: .9rem; font-family: var(--f-serif); font-size: 1.15rem; max-width: 240px; }
@media (max-width: 960px) {
  .hero__panel { grid-template-columns: 1fr; padding-bottom: 36px; }
  .hero__cards { min-height: 0; display: grid; gap: 12px; }
  .float-card { position: static; width: 100% !important; max-width: 420px; }
  .float-card--rev, .float-card--coach { display: none; }
}

/* catalogo in home */
.section--courses { padding-top: clamp(56px, 7vw, 96px); }
.course-grid { gap: 24px; }
.course-card { border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(21, 48, 44, .05), 0 22px 48px rgba(21, 48, 44, .14); }
.course-card__media { margin: 10px 10px 0; border-radius: 14px; }
.course-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.course-card__type { display: inline-block; background: var(--surface-2); padding: 4px 10px; border-radius: 999px; letter-spacing: .06em; font-size: .7rem; }
.course-card__meta li { background: var(--bg); padding: 3px 9px; border-radius: 8px; }
.course-card__meta li + li::before { display: none; }
.course-card__foot { border-top-style: dashed; }
.price { color: var(--accent); }
.badge { border-radius: 999px; background: var(--accent-2); color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .78rem; }
.cover { background: linear-gradient(160deg, var(--sage), #9cc5b8); color: var(--ink); }
.cover--biologia { background: linear-gradient(160deg, var(--peach), #f3bf98); }
.cover--free { background: linear-gradient(160deg, #e6efe9, var(--sage)); }
.cover .enso { color: #fff; opacity: .9; }
.cover__glyph { font-family: var(--f-serif); font-style: italic; font-size: 4.4rem; color: var(--accent); }
.cover__title { color: var(--ink); font-weight: 700; letter-spacing: .12em; }
.filters { background: var(--surface); padding: 8px; border-radius: 16px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.filter { border: 0; border-radius: 10px; }
.filter.is-on { background: var(--accent); color: #fff; }

/* feature */
.section--feature { background: var(--surface); border-radius: var(--radius-lg); margin-inline: clamp(8px, 2vw, 24px); }
.feature__media img { border-radius: 24px; }
.feature__tag { border-radius: 999px; background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
.pillar { background: var(--bg); border-radius: 20px; padding: 28px; }
.pillar__ic { background: var(--surface); border-radius: 14px; }
.pillars--compact .pillar { background: var(--surface); box-shadow: var(--shadow); }
.ticks .ic, .learn .ic { background: var(--surface-2); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }

/* steps */
.steps { gap: 20px; }
.step { border-radius: 20px; box-shadow: var(--shadow); }
.step__ic { border-radius: 14px; }
.step::after { font-family: var(--f-serif); font-style: italic; color: var(--accent); opacity: .25; font-size: 3.4rem; }

/* recensioni */
.section--reviews { background: var(--surface-2); }
.quote { border-radius: 20px; box-shadow: var(--shadow); }
.quote blockquote { font-family: var(--f-serif); font-size: 1.45rem; line-height: 1.35; }
.quote__mark { color: var(--accent-2); }
.quote--big { background: var(--dark); color: var(--dark-ink); }
.quote--big .quote__src { color: var(--dark-muted); }

/* about */
.about__fig img { border-radius: 24px; }
.section--news .news { background: var(--peach); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); }
.form--inline input { border-color: transparent; }

.cta-band { background: var(--dark); border-radius: var(--radius-lg); margin: 0 clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px); }
.cta-band .btn--primary { background: var(--accent-2); color: var(--ink); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.3); background: transparent; }
.site-footer .logo__name { color: var(--dark-ink); }
.site-footer .logo__tag { color: var(--accent-2); }
.site-footer .footer__h { color: var(--accent-2); }

/* pagine interne */
.page-hero { padding-block: 12px 0; }
.page-hero__in { background: linear-gradient(135deg, var(--surface-2), var(--peach)); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); }
.course-hero { padding-block: 12px 0; }
.course-hero__in { background: var(--dark); color: var(--dark-ink); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); }
.course-hero .crumbs { color: var(--dark-muted); } .course-hero .eyebrow { color: var(--accent-2); }
.course-hero .lead { color: var(--dark-muted); }
.course-hero__fig img { border-radius: 18px; }
.h1__sub { font-family: var(--f-serif); color: var(--accent-2); font-weight: 400; letter-spacing: 0; font-size: .55em; }
.play { background: var(--accent-2); color: var(--ink); }
.topic { border-radius: 16px; border: 0; box-shadow: var(--shadow); }
.lesson img { border-radius: 10px; }
.mode { border-radius: 20px; border: 0; box-shadow: var(--shadow); }
.instructor { border-radius: 24px; }
.instructor img { background: var(--peach); }
.price-box { border-radius: 24px; border: 0; }
.price-box__img { margin: 10px 10px 0; width: calc(100% - 20px); border-radius: 16px; }
.faq details { background: var(--surface); border-radius: 14px; border: 0; margin-bottom: 10px; padding-inline: 22px; box-shadow: var(--shadow); }
.faq summary::after { right: 0; }
.story__fig img { border-radius: 24px; }
.timeline li { background: var(--surface); border: 0; border-radius: 18px; padding: 26px; margin-bottom: 12px; box-shadow: var(--shadow); }
.tl__when { font-family: var(--f-serif); font-style: italic; }
.value, .resource, .interview { border-radius: 20px; border: 0; box-shadow: var(--shadow); }
.video__thumb { border-radius: 16px; }
.contact .form { border-radius: 24px; border: 0; box-shadow: var(--shadow); }
.contact__fig img { border-radius: 20px; }
.rating { background: var(--surface); padding: 24px 28px; border-radius: 20px; box-shadow: var(--shadow); }
@media (min-width: 1181px) and (max-width: 1340px) { .nav { gap: 14px; } .nav a { font-size: .84rem; } .btn--header span { display: none; } .btn--header { padding: 10px; } }
