:root {
  --black: #080808;
  --black-soft: #121212;
  --charcoal: #202020;
  --gold: #c7a564;
  --gold-light: #e0c58f;
  --gold-deep: #94733b;
  --ivory: #f4f0e8;
  --white: #ffffff;
  --text: #1b1b1b;
  --muted: #6e6b66;
  --line: rgba(8, 8, 8, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --header-height: 88px;
  --container: 1380px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

* { box-sizing: border-box; }
main, section, header, footer, nav, div, article { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); overflow-x: clip; }
body { margin: 0; overflow-x: clip; color: var(--text); background: var(--white); font-family: "Montserrat", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 12px 18px; background: var(--gold); color: var(--black); font-weight: 600; }
.skip-link:focus { top: 16px; }

.academy-container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section-space { padding: clamp(88px, 9vw, 150px) 0; }
.section-dark { color: var(--white); background: var(--black-soft); }
.section-black { color: var(--white); background: var(--black); }
.section-ivory { background: var(--ivory); }

.academy-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-height); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); transition: background .3s ease, box-shadow .3s ease, height .3s ease; }
.academy-header.scrolled { background: rgba(8,8,8,.96); box-shadow: 0 12px 30px rgba(0,0,0,.16); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 42px; }
.academy-brand { display: inline-flex; align-items: center; gap: 13px; min-width: max-content; }
.academy-logo { width: clamp(145px, 11vw, 170px); height: auto; object-fit: contain; }
.footer-academy-logo { width: clamp(230px, 22vw, 330px); }
.brand-monogram { width: 48px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font: 600 20px/1 "Cormorant Garamond", serif; transform: rotate(45deg); }
.brand-monogram::first-line { transform: rotate(-45deg); }
.brand-copy { display: grid; line-height: 1.2; text-transform: uppercase; letter-spacing: .12em; }
.brand-copy strong { font: 600 17px/1.1 "Cormorant Garamond", serif; letter-spacing: .08em; }
.brand-copy span { color: var(--gold-light); font-size: 9px; margin-top: 5px; letter-spacing: .22em; }
.academy-nav { justify-self: center; }
.academy-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 40px); padding: 0; margin: 0; list-style: none; }
.academy-nav a { position: relative; padding: 10px 0; font-size: 12px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.academy-nav a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
.academy-nav a:hover::after, .academy-nav a:focus-visible::after { width: 100%; }
.header-cta { padding: 13px 20px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-light); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; transition: .25s ease; }
.header-cta:hover { color: var(--black); background: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: var(--white); transition: .25s ease; }

.academy-hero { position: relative; min-height: 860px; height: 100svh; max-height: 1080px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--black); }
.hero-media { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(4,4,4,.92) 0%, rgba(4,4,4,.70) 42%, rgba(4,4,4,.12) 72%, rgba(4,4,4,.18) 100%), url("../images/academy/academy-hero-desktop.webp?v=ebb6569d1ca6"); background-size: cover; background-position: center right; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.30), transparent 28%, transparent 68%, rgba(0,0,0,.58)); }
.hero-layout { position: relative; z-index: 2; padding-top: var(--header-height); }
.hero-content { width: min(680px, 55vw); }
.eyebrow, .section-label { display: inline-block; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .27em; text-transform: uppercase; }
.academy-hero h1 { max-width: 740px; margin: 28px 0 24px; font: 400 clamp(62px, 6.7vw, 108px)/.89 "Cormorant Garamond", Georgia, serif; letter-spacing: -.045em; }
.hero-lead { max-width: 670px; margin: 0; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.8; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn { min-height: 54px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 1px solid transparent; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--black); background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-light { color: var(--white); border-color: rgba(255,255,255,.54); background: rgba(255,255,255,.04); }
.btn-light:hover { border-color: var(--white); background: rgba(255,255,255,.10); }
.btn-outline-gold { color: var(--gold-light); border-color: var(--gold); }
.btn-outline-gold:hover { color: var(--black); background: var(--gold); }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 42px; color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.hero-highlights span { position: relative; padding-left: 17px; }
.hero-highlights span::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border: 1px solid var(--gold); transform: translateY(-50%) rotate(45deg); }
.hero-scroll { position: absolute; z-index: 3; bottom: 34px; left: 50%; width: 30px; height: 50px; border: 1px solid rgba(255,255,255,.38); border-radius: 30px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; top: 9px; left: 50%; width: 3px; height: 7px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,18px); } }

.legal-notice { color: var(--white); background: #181818; border-top: 1px solid rgba(199,165,100,.25); border-bottom: 1px solid rgba(199,165,100,.25); }
.legal-notice-inner { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 20px; padding-block: 24px; }
.notice-icon { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-family: Georgia, serif; }
.legal-notice p { margin: 0; color: rgba(255,255,255,.74); font-size: 13px; line-height: 1.75; }
.legal-notice strong { color: var(--white); }

.intro-grid { display: grid; grid-template-columns: 170px minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(34px, 5vw, 88px); align-items: start; }
.intro-kicker { display: flex; flex-direction: column; gap: 18px; }
.section-number { color: var(--gold-deep); font: 400 52px/1 "Cormorant Garamond", serif; }
.intro-main h2, .section-heading h2, .formats-content h2, .requirements-heading h2, .founder-content h2, .faq-heading h2 { margin: 0; font: 400 clamp(44px, 5vw, 76px)/1.03 "Cormorant Garamond", serif; letter-spacing: -.035em; }
.intro-main h2 em { color: var(--gold-deep); font-weight: 400; }
.large-copy { max-width: 760px; margin: 34px 0 0; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.75; }
.intro-side { padding-top: 82px; border-top: 1px solid var(--line); color: var(--muted); }
.intro-side p { margin: 0 0 24px; }

.focus-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); min-height: 760px; }
.focus-media { min-height: 720px; background: linear-gradient(0deg, rgba(0,0,0,.1), rgba(0,0,0,.1)), url("../images/academy/academy-pmu-focus.webp?v=724004d8199c") center/cover no-repeat; }
.focus-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(58px, 7vw, 110px); }
.section-label.gold, .gold { color: var(--gold-light); }
.focus-content h2 { margin: 22px 0 28px; font: 400 clamp(48px, 5vw, 78px)/.98 "Cormorant Garamond", serif; }
.focus-lead { color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.8; }
.focus-list { margin: 24px 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.focus-list li { position: relative; padding: 15px 0 15px 24px; border-bottom: 1px solid var(--line-light); color: rgba(255,255,255,.78); font-size: 14px; }
.focus-list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.text-link { align-self: flex-start; color: var(--gold-light); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid rgba(199,165,100,.45); padding-bottom: 7px; }
.text-link span { margin-left: 8px; }

.section-heading { display: grid; grid-template-columns: 200px 1fr; gap: clamp(34px, 6vw, 110px); align-items: start; margin-bottom: 70px; }
.section-heading > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.section-heading > div:last-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); gap: 50px; align-items: end; }
.section-heading p { margin: 0; color: var(--muted); }
.course-grid { display: grid; overflow: hidden; border-radius: 26px; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.course-card { min-height: 570px; border-radius: 0; display: flex; flex-direction: column; background: var(--white); overflow: hidden; }
.course-card-featured { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.course-image { min-height: 310px; background-color: #d9d5cd; background-position: center; background-size: cover; transition: transform .55s ease; }
.course-card:hover .course-image { transform: scale(1.025); }
.course-image-pmu { min-height: 100%; background-image: url("../images/academy/corso-permanent-makeup.webp?v=c72f25100927"); }
.course-image-lashes { background-image: url("../images/academy/corso-lashes-brows.webp?v=a3b929d1f62b"); }
.course-image-nails { background-image: url("../images/academy/corso-nails.webp?v=a6f48e71ad5f"); }
.course-image-massage { background-image: url("../images/academy/corso-massaggio.webp?v=db6acea39651"); }
.course-image-skincare { background-image: url("../images/academy/corso-skincare.webp?v=e840aa5e8771"); }
.course-copy { position: relative; z-index: 2; flex: 1; padding: 34px; background: var(--white); }
.course-index { display: block; margin-bottom: 24px; color: var(--gold-deep); font: 400 28px/1 "Cormorant Garamond", serif; }
.course-tag { display: inline-block; margin-bottom: 14px; color: var(--gold-deep); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.course-copy h3 { margin: 0 0 16px; font: 400 35px/1.05 "Cormorant Garamond", serif; }
.course-copy p { margin: 0; color: var(--muted); font-size: 14px; }
.course-card-custom { justify-content: flex-end; color: var(--white); background: var(--black); }
.course-card-custom .course-copy { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, #0a0a0a, #262016); }
.course-card-custom p { color: rgba(255,255,255,.7); }
.course-card-custom .course-index, .course-card-custom .course-tag { color: var(--gold-light); }
.dark-link { margin-top: 28px; }

.method-timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-step { display: grid; grid-template-columns: 170px 1fr; gap: 50px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--gold-deep); font: 400 25px/1 "Cormorant Garamond", serif; }
.method-step > div { display: grid; grid-template-columns: minmax(250px, .55fr) 1fr; gap: 50px; }
.method-step h3 { margin: 0; font: 400 34px/1.1 "Cormorant Garamond", serif; }
.method-step p { max-width: 650px; margin: 0; color: var(--muted); }

.support { padding: clamp(90px, 10vw, 160px) 0; }
.support-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px 100px; }
.support-title h2 { margin: 22px 0 0; font: 400 clamp(52px, 5.7vw, 86px)/.96 "Cormorant Garamond", serif; }
.support-copy { padding-top: 44px; border-top: 1px solid var(--line-light); }
.support-copy p { color: rgba(255,255,255,.66); }
.support-copy .support-lead { color: var(--white); font: 400 30px/1.35 "Cormorant Garamond", serif; }
.support-features { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.support-card { min-height: 260px; padding: 40px; border-right: 1px solid var(--line-light); }
.support-card:last-child { border-right: 0; }
.support-card span { color: var(--gold-light); font: 400 24px/1 "Cormorant Garamond", serif; }
.support-card h3 { margin: 55px 0 12px; font: 400 31px/1.1 "Cormorant Garamond", serif; }
.support-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.formats-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.formats-media { background: url("../images/academy/formazione-individuale-gruppo.webp?v=ebb978976671") center/cover no-repeat; }
.formats-content { padding: clamp(60px, 7vw, 110px); background: var(--ivory); }
.formats-content .section-label { margin-left: 20px; }
.formats-content h2 { margin: 25px 0 45px; }
.format-list { border-top: 1px solid var(--line); }
.format-list article { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.format-list h3 { margin: 0; font: 400 29px/1.1 "Cormorant Garamond", serif; }
.format-list p { margin: 0; color: var(--muted); font-size: 14px; }

.requirements-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; }
.gold-number { color: var(--gold-light); }
.requirements-heading h2 { margin: 26px 0; }
.requirements-heading p { color: rgba(255,255,255,.66); }
.requirements-cards { border-top: 1px solid var(--line-light); }
.requirement-card { display: grid; grid-template-columns: 60px minmax(220px, .75fr) 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.requirement-card > span { color: var(--gold-light); font: 400 23px/1 "Cormorant Garamond", serif; }
.requirement-card h3 { margin: 0; font: 400 29px/1.1 "Cormorant Garamond", serif; }
.requirement-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }
.certificate-box { grid-column: 1 / -1; display: grid; grid-template-columns: 180px 1fr; gap: 55px; margin-top: 50px; padding: clamp(40px, 5vw, 72px); border: 1px solid rgba(199,165,100,.45); background: linear-gradient(135deg, rgba(199,165,100,.08), transparent 55%); }
.certificate-mark { width: 148px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(199,165,100,.55); border-radius: 26px; color: var(--gold-light); background: linear-gradient(135deg, rgba(199,165,100,.10), rgba(199,165,100,.03)); }
.certificate-mark svg { width: 96px; height: 96px; display: block; overflow: visible; }
.certificate-box h3 { margin: 14px 0; font: 400 46px/1.04 "Cormorant Garamond", serif; }
.certificate-box p { color: rgba(255,255,255,.68); }
.certificate-warning { padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 14px; line-height: 1.75; }
.certificate-warning strong { color: var(--white); }

.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.founder-content h2 { margin: 24px 0 30px; }
.founder-lead { font-size: 20px; }
.founder-content p { color: var(--muted); }
.founder-content blockquote { margin: 44px 0 0; padding: 30px 0 0 35px; border-top: 1px solid var(--line); border-left: 2px solid var(--gold); font: italic 400 28px/1.45 "Cormorant Garamond", serif; }

.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-heading h2 { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 28px 55px 28px 0; list-style: none; cursor: pointer; font: 400 27px/1.2 "Cormorant Garamond", serif; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 50%; color: var(--gold-deep); font: 300 30px/1 Arial, sans-serif; transform: translateY(-50%); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 60px 28px 0; color: var(--muted); }

.academy-cta { padding: clamp(100px, 11vw, 180px) 0; text-align: center; color: var(--white); background: radial-gradient(circle at 50% 10%, #282216 0, #12100c 30%, #080808 70%); }
.cta-inner { max-width: 1000px; }
.academy-cta h2 { margin: 28px 0; font: 400 clamp(52px, 6vw, 92px)/.95 "Cormorant Garamond", serif; }
.academy-cta p { max-width: 720px; margin: 0 auto; color: rgba(255,255,255,.68); }
.academy-cta .cta-actions { justify-content: center; }
.academy-cta small { display: block; max-width: 720px; margin: 28px auto 0; color: rgba(255,255,255,.46); font-size: 11px; }

.academy-footer { color: rgba(255,255,255,.65); background: #050505; border-top: 1px solid rgba(199,165,100,.22); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 70px; padding: 78px 0 60px; }
.footer-brand-block p { max-width: 380px; margin-top: 28px; }
.footer-brand .brand-copy strong { color: var(--white); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; }
.footer-column h3 { margin: 0 0 12px; color: var(--gold-light); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
.footer-column a:hover { color: var(--white); }
.footer-column p { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-bottom p { margin: 0; }

.floating-whatsapp { border-radius: 999px; position: fixed; z-index: 900; right: 24px; bottom: 24px; display: inline-flex; align-items: center; justify-content: center; min-width: 112px; height: 46px; padding: 0 18px; color: var(--black); background: var(--gold); box-shadow: var(--shadow); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ====================================
   COOKIE BANNER — struttura del sito principale,
   colori coordinati con la Beauty Academy
==================================== */
.cookie-banner {
  position: fixed;
  z-index: 999999;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(199,165,100,.075), transparent 30%),
    rgba(7,7,7,.985);
  border-top: 1px solid rgba(199,165,100,.55);
  box-shadow: 0 -12px 38px rgba(0,0,0,.42);
  transform: translateY(110%);
  visibility: hidden;
  transition:
    transform .5s cubic-bezier(.22,.72,.24,1),
    visibility 0s linear .5s;
}

.cookie-banner.show {
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.cookie-content {
  width: min(90%, 1200px);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1 1 560px;
  min-width: 280px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(13px, .92vw, 15px);
  line-height: 1.65;
}

.cookie-content a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.cookie-content a:hover {
  color: var(--white);
}

.cookie-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-button {
  min-height: 46px;
  padding: 12px 23px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform .2s ease,
    color .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.cookie-button:hover {
  transform: translateY(-1px);
}

.cookie-button-primary {
  color: var(--black);
  background: var(--gold);
  border: 1px solid var(--gold);
}

.cookie-button-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.cookie-button-secondary {
  color: var(--gold-light);
  background: transparent;
  border: 1px solid rgba(199,165,100,.72);
}

.cookie-button-secondary:hover {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}

.cookie-preferences-link {
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cookie-preferences-link:hover,
.cookie-preferences-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Animazione di ingresso della hero: indipendente dallo scroll reveal. */
.hero-reveal > .eyebrow,
.hero-reveal > h1 span,
.hero-reveal > .hero-lead,
.hero-reveal > .hero-actions,
.hero-reveal > .hero-highlights {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .78s ease,
    transform .78s cubic-bezier(.2,.75,.25,1);
  will-change: opacity, transform;
}

.hero-reveal > h1 span { display: inline-block; }

.hero-reveal.is-visible > .eyebrow,
.hero-reveal.is-visible > h1 span,
.hero-reveal.is-visible > .hero-lead,
.hero-reveal.is-visible > .hero-actions,
.hero-reveal.is-visible > .hero-highlights {
  opacity: 1;
  transform: translateY(0);
}

.hero-reveal.is-visible > .eyebrow { transition-delay: .08s; }
.hero-reveal.is-visible > h1 span:nth-child(1) { transition-delay: .16s; }
.hero-reveal.is-visible > h1 span:nth-child(2) { transition-delay: .25s; }
.hero-reveal.is-visible > h1 span:nth-child(3) { transition-delay: .34s; }
.hero-reveal.is-visible > .hero-lead { transition-delay: .43s; }
.hero-reveal.is-visible > .hero-actions { transition-delay: .52s; }
.hero-reveal.is-visible > .hero-highlights { transition-delay: .61s; }

/* Animazioni delle sezioni durante lo scorrimento. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal,
  .hero-reveal > .eyebrow,
  .hero-reveal > h1 span,
  .hero-reveal > .hero-lead,
  .hero-reveal > .hero-actions,
  .hero-reveal > .hero-highlights {
    opacity: 1;
    transform: none;
  }
}


/* Forme più morbide e coerenti con il sito principale */
.focus-grid, .formats-grid, .founder-grid { overflow: hidden; border-radius: 32px; }
.focus-media, .formats-media, .founder-media { overflow: hidden; }
.support-features { overflow: hidden; border-radius: 24px; }
.requirement-card, details { border-radius: 16px; }
.certificate-box { border-radius: 28px; }
.notice-icon, .certificate-mark { box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.hero-highlights span { white-space: normal; }
.academy-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.academy-socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(199,165,100,.42); border-radius: 50%; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.academy-socials a:hover { transform: translateY(-2px); background: rgba(199,165,100,.12); border-color: var(--gold); }
.academy-socials img { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); opacity: .88; }

@media (max-width: 1180px) {
  .academy-logo { width: 155px; }
  .academy-nav ul { gap: 18px; }
  .header-cta { padding-inline: 16px; }
  :root { --header-height: 78px; }
  .academy-nav { position: fixed; inset: var(--header-height) 0 auto; display: none; padding: 22px 24px 30px; background: rgba(8,8,8,.98); border-top: 1px solid rgba(255,255,255,.1); }
  .academy-nav.is-open { display: block; }
  .academy-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .academy-nav a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu-toggle { display: block; justify-self: end; grid-column: 3; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 20px; }
  .header-cta { display: none; }
  .intro-grid { grid-template-columns: 130px 1fr; }
  .intro-side { grid-column: 2; padding-top: 34px; }
  .section-heading { grid-template-columns: 140px 1fr; }
  .section-heading > div:last-child { grid-template-columns: 1fr; gap: 25px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .course-card-featured { grid-column: span 2; }
  .support-grid { gap: 60px; }
  .requirements-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .footer-column:last-child { grid-column: 2; }
}

@media (max-width: 900px) {
  .academy-header { background: rgba(8,8,8,.94); backdrop-filter: blur(14px); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .menu-toggle { grid-column: 2; }
  .academy-logo { width: 150px; max-width: calc(100vw - 92px); }
  .footer-academy-logo { width: min(300px, 100%); }
  .academy-nav, .academy-nav.is-open { max-width: 100vw; }
  .academy-container { width: min(calc(100% - 36px), var(--container)); }
  .academy-hero { min-height: 820px; height: 100svh; }
  .hero-media { background-image: linear-gradient(180deg, rgba(4,4,4,.32) 0%, rgba(4,4,4,.18) 32%, rgba(4,4,4,.92) 76%, rgba(4,4,4,.98) 100%), url("../images/academy/academy-hero-tablet.webp?v=3e34b74418f6"); background-position: center top; }
  .hero-layout { align-self: end; padding-bottom: 100px; }
  .hero-content { width: 100%; max-width: 720px; }
  .academy-hero h1 { font-size: clamp(60px, 11vw, 94px); }
  .hero-scroll { display: none; }
  .intro-grid, .focus-grid, .formats-grid, .founder-grid, .faq-grid { grid-template-columns: 1fr; }
  .intro-kicker { flex-direction: row; align-items: center; }
  .intro-side { grid-column: auto; }
  .focus-media, .formats-media, .founder-media { min-height: 620px; }
  .focus-content, .formats-content { padding: 70px 36px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > div:first-child { flex-direction: row; align-items: center; }
  .method-step { grid-template-columns: 70px 1fr; gap: 20px; }
  .method-step > div { grid-template-columns: 1fr; gap: 12px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-features { grid-template-columns: 1fr; }
  .support-card { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .support-card:last-child { border-bottom: 0; }
  .requirement-card { grid-template-columns: 50px 1fr; }
  .requirement-card p { grid-column: 2; }
  .founder-content { order: 2; }
  .founder-media { order: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .academy-logo { width: 138px; max-width: calc(100vw - 82px); }
  .footer-academy-logo { width: min(270px, 100%); }
  :root { --header-height: 72px; }
  .academy-container { width: min(calc(100% - 28px), var(--container)); }
  .brand-monogram { width: 40px; font-size: 17px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy span { font-size: 8px; }
  .academy-hero { min-height: 760px; max-height: none; }
  .hero-media { background-image: linear-gradient(180deg, rgba(4,4,4,.12) 0%, rgba(4,4,4,.12) 34%, rgba(4,4,4,.84) 66%, rgba(4,4,4,.99) 100%), url("../images/academy/academy-hero-mobile.webp?v=94963f27dba6"); background-position: center top; }
  .hero-layout { padding-bottom: 54px; }
  .eyebrow, .section-label { font-size: 9px; letter-spacing: .22em; }
  .academy-hero h1 { margin-top: 20px; font-size: clamp(52px, 16vw, 76px); }
  .hero-lead { font-size: 14px; line-height: 1.7; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .btn { width: 100%; }
  .hero-highlights { display: grid; gap: 8px; margin-top: 26px; font-size: 9px; }
  .legal-notice-inner { grid-template-columns: 1fr; gap: 10px; }
  .notice-icon { width: 30px; }
  .legal-notice p { font-size: 11px; }
  .section-space { padding: 78px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-main h2, .section-heading h2, .formats-content h2, .requirements-heading h2, .founder-content h2, .faq-heading h2 { font-size: 44px; }
  .large-copy { font-size: 17px; }
  .intro-side { padding-top: 25px; }
  .focus-grid { min-height: auto; }
  .focus-media, .formats-media, .founder-media { min-height: 480px; }
  .focus-content, .formats-content { padding: 58px 22px; }
  .focus-content h2 { font-size: 48px; }
  .focus-lead { font-size: 15px; }
  .section-heading { gap: 30px; margin-bottom: 45px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card, .course-card-featured { grid-column: auto; min-height: auto; display: flex; }
  .course-image-pmu { min-height: 360px; }
  .course-copy { padding: 28px 24px 34px; }
  .course-copy h3 { font-size: 31px; }
  .method-step { grid-template-columns: 44px 1fr; padding: 28px 0; }
  .method-step h3 { font-size: 29px; }
  .support-title h2 { font-size: 52px; }
  .support-card { min-height: 220px; padding: 30px 10px; }
  .support-card h3 { margin-top: 34px; }
  .format-list article { grid-template-columns: 1fr; gap: 10px; }
  .requirement-card { grid-template-columns: 38px 1fr; gap: 18px; }
  .certificate-box { grid-template-columns: 1fr; gap: 40px; padding: 34px 24px; }
  .certificate-mark { width: 108px; }
  .certificate-mark svg { width: 72px; height: 72px; }
  .certificate-box h3 { font-size: 38px; }
  .founder-grid { gap: 50px; }
  .founder-content blockquote { padding-left: 22px; font-size: 24px; }
  .faq-grid { gap: 45px; }
  summary { padding: 23px 42px 23px 0; font-size: 23px; }
  details p { padding-right: 0; font-size: 14px; }
  .academy-cta h2 { font-size: 50px; }
  .cta-actions { display: grid; grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; padding-top: 60px; }
  .footer-brand-block, .footer-column:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .floating-whatsapp { right: 14px; bottom: 14px; min-width: 98px; height: 42px; }
  .cookie-content {
    width: 100%;
    padding: 18px 15px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cookie-content p {
    min-width: 0;
    font-size: 12px;
    line-height: 1.6;
  }
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .cookie-button {
    width: 100%;
  }
}


/* Protezioni finali contro lo scorrimento orizzontale */
.academy-container, .header-inner, .hero-layout, .intro-grid, .focus-grid, .section-heading, .course-grid, .method-step, .support-grid, .formats-grid, .requirements-grid, .requirement-card, .certificate-box, .founder-grid, .faq-grid, .footer-top, .footer-bottom { max-width: 100%; }
.academy-nav ul, .hero-actions, .cta-actions, .hero-highlights { max-width: 100%; }
.course-copy, .focus-content, .formats-content, .founder-content, .requirements-content { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .academy-container { width: calc(100% - 24px); }
  .focus-content, .formats-content { padding-inline: 18px; }
  .course-copy { padding-inline: 20px; }
  .intro-main h2, .section-heading h2, .formats-content h2, .requirements-heading h2, .founder-content h2, .faq-heading h2 { font-size: clamp(38px, 12vw, 44px); overflow-wrap: anywhere; }
  .academy-hero h1 { font-size: clamp(46px, 14vw, 68px); overflow-wrap: anywhere; }
}


/* =========================================================
   CORREZIONE HEADER, HERO, GRIGLIA PERCORSI E FOOTER
   ========================================================= */
:root {
  --header-height: 108px;
}

/* Header separato dai contenuti: nessuna sovrapposizione sulla hero */
.academy-header {
  position: sticky;
  top: 0;
  inset: auto;
  width: 100%;
  height: var(--header-height);
  background: #080808;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(199, 165, 100, 0.16);
  isolation: isolate;
}

.academy-header.scrolled {
  background: #080808;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(199, 165, 100, 0.18);
  backdrop-filter: none;
}

.header-inner {
  height: 100%;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 48px);
}

.academy-header .academy-brand {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.academy-header .academy-logo {
  width: auto;
  height: 86px;
  max-width: 145px;
  max-height: calc(var(--header-height) - 18px);
  object-fit: contain;
}

.academy-nav ul {
  gap: clamp(18px, 2vw, 34px);
}

.academy-nav a {
  padding: 12px 0;
}

/* La hero inizia dopo l'header e non gli scorre più sotto */
.academy-hero {
  min-height: 720px;
  height: calc(100svh - var(--header-height));
  max-height: 980px;
}

.hero-layout {
  padding-top: 0;
}

.hero-media {
  transform: none;
}

.hero-content {
  width: min(720px, 56vw);
}

.academy-hero h1 {
  max-width: 700px;
  font-size: clamp(58px, 5.5vw, 94px);
  line-height: .94;
}

/* Griglia regolare: sei card uguali, senza vuoti o incastri irregolari */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.course-card,
.course-card-featured {
  grid-column: auto;
  display: flex;
  min-height: 0;
  height: 100%;
  border: 1px solid rgba(8, 8, 8, 0.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.course-image,
.course-image-pmu {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.course-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 32px;
}

.course-copy p {
  margin-bottom: 0;
}

.course-card-custom {
  color: #fff;
  background: #111;
}

.course-image-custom {
  position: relative;
  background:
    radial-gradient(circle at 28% 28%, rgba(224, 197, 143, 0.30), transparent 26%),
    linear-gradient(135deg, #211b12 0%, #090909 55%, #19130b 100%);
}

.course-image-custom::before,
.course-image-custom::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(224, 197, 143, 0.48);
  transform: rotate(45deg);
}

.course-image-custom::before {
  width: 92px;
  height: 92px;
  left: 50%;
  top: 50%;
  margin: -46px 0 0 -46px;
}

.course-image-custom::after {
  width: 52px;
  height: 52px;
  left: 50%;
  top: 50%;
  margin: -26px 0 0 -26px;
  background: rgba(199, 165, 100, 0.08);
}

.course-card-custom .course-copy {
  justify-content: flex-start;
  background: linear-gradient(145deg, #0a0a0a, #211b12);
}

.course-card-custom .dark-link {
  margin-top: auto;
  padding-top: 28px;
}

/* Logo del footer più discreto */
.footer-academy-logo {
  width: auto;
  height: 112px;
  max-width: 165px;
  max-height: 112px;
}

.footer-brand-block p {
  margin-top: 22px;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 88px;
  }

  .header-inner {
    grid-template-columns: 125px minmax(0, 1fr) auto;
  }

  .academy-logo {
    width: auto;
    height: 70px;
    max-width: 120px;
  }

  .academy-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    inset: auto 0 auto;
    z-index: 1001;
    padding: 20px 24px 28px;
    background: #080808;
    border-top: 1px solid rgba(199, 165, 100, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-card-featured {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .academy-header {
    background: #080808;
    backdrop-filter: none;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .academy-hero {
    min-height: 720px;
    height: calc(100svh - var(--header-height));
  }

  .hero-layout {
    padding-top: 0;
    padding-bottom: 72px;
  }

  .academy-hero h1 {
    font-size: clamp(54px, 10vw, 82px);
  }

  .footer-academy-logo {
    width: auto;
    height: 104px;
    max-width: 150px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 76px;
  }

  .academy-logo {
    width: auto;
    height: 58px;
    max-width: 100px;
  }

  .academy-hero {
    min-height: 700px;
    height: auto;
  }

  .hero-layout {
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    padding-top: 70px;
    padding-bottom: 46px;
  }

  .academy-hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-copy {
    padding: 26px 22px 30px;
  }

  .course-image,
  .course-image-pmu {
    aspect-ratio: 16 / 9;
  }

  .footer-academy-logo {
    width: auto;
    height: 92px;
    max-width: 135px;
  }
}


/* =========================================================
   ASSETTO DEFINITIVO HEADER FISSO + LOGO + SOCIAL ACADEMY
   ========================================================= */
:root {
  --header-height: 118px;
}

/* Header fisso come nel sito principale: resta sopra e la pagina scorre sotto */
.academy-header,
.academy-header.scrolled {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  width: 100%;
  height: var(--header-height);
  background: rgba(8, 8, 8, 0.98);
  border: 0;
  box-shadow: 0 1px 0 rgba(199, 165, 100, 0.18), 0 10px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Evita che l'inizio della hero finisca nascosto sotto l'header fisso */
main {
  padding-top: var(--header-height);
}

.header-inner {
  grid-template-columns: 175px minmax(0, 1fr) auto;
}

/* Leggermente più grande della versione precedente, simile al footer */
.academy-header .academy-logo {
  width: 165px;
  height: auto;
  max-width: 165px;
  max-height: calc(var(--header-height) - 16px);
}

.academy-hero {
  min-height: 720px;
  height: calc(100svh - var(--header-height));
  max-height: 980px;
}

.hero-layout {
  padding-top: 0;
}

/* Icone social SVG dedicate: niente filtri o cornici doppie */
.academy-socials {
  gap: 10px;
}

.academy-socials a {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  overflow: hidden;
}

.academy-socials a:hover {
  transform: translateY(-3px);
  background: transparent;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(199, 165, 100, 0.16);
}

.academy-socials img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 96px;
  }

  .header-inner {
    grid-template-columns: 150px minmax(0, 1fr) auto;
  }

  .academy-header .academy-logo {
    width: 145px;
    max-width: 145px;
    max-height: calc(var(--header-height) - 14px);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 88px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .academy-header .academy-logo {
    width: 132px;
    max-width: min(132px, calc(100vw - 92px));
    max-height: calc(var(--header-height) - 12px);
  }

  .academy-hero {
    min-height: 720px;
    height: calc(100svh - var(--header-height));
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 80px;
  }

  .academy-header .academy-logo {
    width: 118px;
    max-width: min(118px, calc(100vw - 82px));
    max-height: calc(var(--header-height) - 10px);
  }

  .academy-hero {
    min-height: 700px;
    height: auto;
  }

  .academy-socials a,
  .academy-socials img {
    width: 44px;
    height: 44px;
  }
}


/* Correzione footer: il brand non deve ereditare l'altezza piena dell'header */
.academy-footer .footer-brand {
  display: inline-flex;
  width: fit-content;
  height: auto;
  min-width: 0;
  align-items: center;
}

.academy-footer .footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.academy-footer .footer-brand-block p {
  margin: 22px 0 0;
  line-height: 1.65;
}

.academy-footer .footer-bottom {
  align-items: center;
  flex-wrap: wrap;
}

/* =========================================================
   STORIA DELL'ACADEMY E RITRATTO DI ELISA
   ========================================================= */
.academy-story {
  position: relative;
  background: var(--ivory);
}

.academy-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(54px, 7vw, 112px);
  align-items: center;
}

.academy-story-content {
  min-width: 0;
  order: 2;
}

.academy-story-heading {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin-bottom: 34px;
}

.academy-story-kicker {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.academy-story-heading h2 {
  max-width: 720px;
  margin: 0;
  font: 400 clamp(46px, 4.8vw, 76px)/1.02 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.035em;
}

.academy-story-lead {
  margin-top: 0;
  color: var(--black);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.72;
}

.academy-story-content > p:not(.academy-story-lead) {
  color: var(--muted);
  line-height: 1.82;
}

.academy-story-manifesto {
  display: grid;
  gap: 10px;
  margin: 36px 0;
  padding: 28px 32px;
  border: 1px solid rgba(157, 116, 49, .34);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(201, 163, 91, .12), rgba(255, 255, 255, .7));
}

.academy-story-manifesto span {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.academy-story-manifesto strong {
  font: 500 clamp(26px, 2.4vw, 38px)/1.12 "Cormorant Garamond", Georgia, serif;
}

.academy-story-closing {
  margin-bottom: 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: var(--black) !important;
  font-weight: 500;
}

.academy-story-media {
  position: relative;
  order: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(157, 116, 49, .34);
  border-radius: 32px;
  background: #171411;
  box-shadow: 0 28px 70px rgba(30, 24, 18, .15);
}

.academy-story-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78));
}

.academy-story-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1390 / 1600;
  object-fit: cover;
  object-position: center top;
}

.academy-story-media figcaption {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 30px;
  left: 34px;
  display: grid;
  gap: 4px;
  color: var(--white);
}

.academy-story-media figcaption strong {
  font: 500 30px/1.05 "Cormorant Garamond", Georgia, serif;
}

.academy-story-media figcaption span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .academy-story-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .academy-story-content {
    order: 1;
  }

  .academy-story-media {
    order: 2;
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .academy-story-heading {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .academy-story-grid {
    gap: 38px;
  }

  .academy-story-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
  }

  .academy-story-kicker {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
    padding-top: 0;
  }

  .academy-story-heading h2 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .academy-story-lead {
    font-size: 17px;
  }

  .academy-story-manifesto {
    margin: 30px 0;
    padding: 24px;
    border-radius: 20px;
  }

  .academy-story-media {
    border-radius: 24px;
  }

  .academy-story-media figcaption {
    right: 24px;
    bottom: 22px;
    left: 24px;
  }

  .academy-story-media figcaption strong {
    font-size: 27px;
  }
}

/* =========================================================
   RIEQUILIBRIO IMPAGINAZIONE E TIPOGRAFIA
   ========================================================= */

/* Le intestazioni devono andare a capo solo tra parole intere. */
.academy-story-heading h2,
.focus-content h2,
.focus-content h2 span,
.course-copy h3,
.section-heading h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.focus-content,
.formats-content,
.course-copy {
  overflow-wrap: normal;
  word-break: normal;
}

.focus-content p,
.focus-list li,
.course-copy p,
.academy-story-content p {
  overflow-wrap: break-word;
}

/* Sezione dedicata a Elisa: foto più composta e testo più arioso. */
.academy-story-grid {
  grid-template-columns: minmax(350px, .82fr) minmax(540px, 1.18fr);
  gap: clamp(64px, 7vw, 108px);
  align-items: center;
}

.academy-story-content {
  width: 100%;
  max-width: 720px;
  justify-self: start;
}

.academy-story-heading {
  display: block;
  margin-bottom: 28px;
}

.academy-story-kicker {
  flex-direction: row;
  align-items: baseline;
  gap: 18px;
  padding-top: 0;
  margin-bottom: 18px;
}

.academy-story-kicker .section-number {
  font-size: 44px;
}

.academy-story-heading h2 {
  max-width: 670px;
  font-size: clamp(48px, 4vw, 66px);
  line-height: 1.01;
  letter-spacing: -.032em;
}

.academy-story-lead {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.68;
}

.academy-story-content > p:not(.academy-story-lead) {
  max-width: 700px;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.76;
}

.academy-story-manifesto {
  max-width: 690px;
  margin: 30px 0;
  padding: 25px 28px;
}

.academy-story-manifesto strong {
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.12;
}

.academy-story-closing {
  max-width: 690px;
  margin-top: 24px !important;
  padding-left: 20px;
}

.academy-story-media {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

/* Focus PMU: più spazio al testo, titolo su due righe pulite e copy leggibile. */
.focus-grid {
  grid-template-columns: minmax(420px, .88fr) minmax(600px, 1.12fr);
  min-height: 720px;
}

.focus-media {
  min-height: 720px;
}

.focus-content {
  padding: clamp(54px, 4.6vw, 76px);
}

.focus-content h2 {
  max-width: 680px;
  margin: 18px 0 24px;
  font-size: clamp(50px, 4.25vw, 68px);
  line-height: .98;
  letter-spacing: -.03em;
}

.focus-content h2 span {
  display: block;
  white-space: normal;
}

.focus-lead {
  max-width: 630px;
  margin: 0;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
}

.focus-list {
  max-width: 640px;
  margin: 26px 0 30px;
}

.focus-list li {
  padding: 13px 0 13px 24px;
  font-size: 14.5px;
  line-height: 1.5;
}

.focus-list li::before {
  top: 20px;
}

@media (max-width: 1100px) {
  .academy-story-grid {
    grid-template-columns: minmax(320px, .82fr) minmax(480px, 1.18fr);
    gap: 52px;
  }

  .academy-story-heading h2 {
    font-size: clamp(46px, 5.4vw, 60px);
  }

  .focus-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .focus-media {
    min-height: 560px;
  }

  .focus-content {
    padding: 64px 48px 72px;
  }

  .focus-content h2 {
    max-width: 760px;
    font-size: clamp(52px, 6vw, 66px);
  }
}

@media (max-width: 1024px) {
  .academy-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .academy-story-content {
    max-width: 780px;
    order: 1;
  }

  .academy-story-media {
    width: min(100%, 560px);
    max-width: 560px;
    order: 2;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .academy-story-heading {
    margin-bottom: 24px;
  }

  .academy-story-kicker {
    margin-bottom: 14px;
  }

  .academy-story-kicker .section-number {
    font-size: 38px;
  }

  .academy-story-heading h2 {
    font-size: clamp(40px, 11.5vw, 50px);
    line-height: 1.02;
  }

  .academy-story-lead {
    font-size: 17px;
    line-height: 1.65;
  }

  .academy-story-content > p:not(.academy-story-lead) {
    font-size: 15px;
    line-height: 1.72;
  }

  .academy-story-manifesto {
    margin: 26px 0;
    padding: 22px;
  }

  .academy-story-manifesto strong {
    font-size: 27px;
  }

  .focus-media {
    min-height: 430px;
  }

  .focus-content {
    padding: 48px 22px 54px;
  }

  .focus-content h2 {
    margin: 16px 0 22px;
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1;
  }

  .focus-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .focus-list li {
    font-size: 14px;
    line-height: 1.48;
  }
}


/* =========================================================
   HERO MOBILE — titolo più compatto e leggibile
   ========================================================= */
@media (max-width: 640px) {
  .academy-hero h1 {
    max-width: 100%;
    margin: 18px 0 20px;
    font-size: clamp(43px, 12.2vw, 58px);
    line-height: .92;
    letter-spacing: -.04em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .academy-hero h1 > span {
    display: block;
    white-space: nowrap;
  }

  .hero-lead {
    max-width: 520px;
  }
}

@media (max-width: 360px) {
  .academy-hero h1 {
    font-size: clamp(40px, 11.8vw, 44px);
  }
}

/* =========================================================
   HERO DESKTOP — altezza reale disponibile sotto l'header
   Evita che il min-height fisso spinga testi e pulsanti
   sotto il bordo inferiore nei monitor con viewport bassa.
   ========================================================= */
@media (min-width: 901px) {
  .academy-hero {
    min-height: calc(100svh - var(--header-height));
    height: auto;
    max-height: none;
  }
}


/* =========================================================
   HERO MOBILE — immagine nitida e spazio reale per i testi
   ========================================================= */
@media (max-width: 640px) {
  .academy-hero {
    height: auto;
    min-height: max(780px, calc(100svh - var(--header-height)));
    background: #050505;
  }

  /* Nessuna sfumatura applicata alla fotografia mobile. */
  .hero-media {
    background-color: #050505;
    background-image: url("../images/academy/academy-hero-mobile.webp?v=94963f27dba6");
    background-repeat: no-repeat;
    background-size: 92% auto;
    background-position: right 0 bottom 34px;
  }

  .hero-shade {
    display: none;
  }

  /* I contenuti sfruttano la zona libera in alto a sinistra. */
  .hero-layout {
    min-height: inherit;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: clamp(18px, 4vh, 36px);
    padding-bottom: 40px;
  }

  .hero-content {
    width: min(66vw, 260px);
    max-width: 260px;
    margin: 0 auto 0 0;
  }

  .academy-hero h1 {
    max-width: 100%;
    margin: 16px 0 18px;
    font-size: clamp(40px, 11.6vw, 48px);
    line-height: .94;
  }

  .hero-lead {
    max-width: 228px;
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-actions {
    width: 100%;
    margin-top: 24px;
    gap: 10px;
    justify-items: start;
  }

  .hero-actions .btn {
    min-height: 46px;
    width: auto;
    min-width: 210px;
    padding: 12px 16px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }

  .hero-highlights {
    width: 100%;
    margin-top: 24px;
    gap: 10px;
    font-size: 10px;
    line-height: 1.5;
  }

  .hero-highlights span {
    padding-left: 18px;
  }

  .hero-highlights span::before {
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 360px) {
  .hero-content {
    width: min(70vw, 236px);
    max-width: 236px;
  }

  .academy-hero h1 {
    font-size: clamp(38px, 11.2vw, 42px);
  }

  .hero-lead {
    max-width: 210px;
    font-size: 14px;
  }

  .hero-actions .btn {
    min-width: 196px;
    font-size: 10.5px;
  }

  .hero-highlights {
    font-size: 9.5px;
  }
}

/* =========================================================
   HERO — animazione e tipografia definitive
   ========================================================= */

/* Il titolo entra come blocco unico, come nelle altre hero. */
.academy-hero .hero-reveal > .eyebrow,
.academy-hero .hero-reveal > h1,
.academy-hero .hero-reveal > .hero-lead,
.academy-hero .hero-reveal > .hero-actions,
.academy-hero .hero-reveal > .hero-highlights {
  opacity: 0;
  transform: translateY(30px);
  transition-property: opacity, transform;
  transition-duration: 1.25s;
  transition-timing-function: ease, cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

/* Disattiva la precedente animazione applicata alle singole righe. */
.academy-hero .hero-reveal > h1 > span {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto;
}

.academy-hero .hero-reveal.is-visible > .eyebrow,
.academy-hero .hero-reveal.is-visible > h1,
.academy-hero .hero-reveal.is-visible > .hero-lead,
.academy-hero .hero-reveal.is-visible > .hero-actions,
.academy-hero .hero-reveal.is-visible > .hero-highlights {
  opacity: 1;
  transform: translateY(0);
}

/* Sequenza più lenta e chiaramente percepibile. */
.academy-hero .hero-reveal.is-visible > .eyebrow {
  transition-delay: .20s;
}

.academy-hero .hero-reveal.is-visible > h1 {
  transition-delay: .70s;
}

.academy-hero .hero-reveal.is-visible > .hero-lead {
  transition-delay: 1.20s;
}

.academy-hero .hero-reveal.is-visible > .hero-actions {
  transition-delay: 1.70s;
}

.academy-hero .hero-reveal.is-visible > .hero-highlights {
  transition-delay: 2.20s;
}

/* Dimensioni desktop realmente ridotte. */
.academy-hero .hero-content > h1 {
  max-width: 650px;
  font-size: clamp(50px, 4.6vw, 78px) !important;
  line-height: .96;
}

.academy-hero .hero-content > .hero-lead {
  max-width: 590px;
  font-size: clamp(14px, 1.05vw, 16px) !important;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .academy-hero .hero-content > h1 {
    font-size: clamp(44px, 8.2vw, 66px) !important;
  }

  .academy-hero .hero-content > .hero-lead {
    font-size: 14px !important;
  }
}

@media (max-width: 640px) {
  .academy-hero .hero-content > h1 {
    margin: 14px 0 16px;
    font-size: clamp(34px, 9.8vw, 42px) !important;
    line-height: .96;
  }

  .academy-hero .hero-content > .hero-lead {
    max-width: 220px;
    font-size: 13px !important;
    line-height: 1.62;
  }
}

@media (max-width: 360px) {
  .academy-hero .hero-content > h1 {
    font-size: clamp(32px, 9.5vw, 36px) !important;
  }

  .academy-hero .hero-content > .hero-lead {
    max-width: 205px;
    font-size: 12.5px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .academy-hero .hero-reveal > .eyebrow,
  .academy-hero .hero-reveal > h1,
  .academy-hero .hero-reveal > .hero-lead,
  .academy-hero .hero-reveal > .hero-actions,
  .academy-hero .hero-reveal > .hero-highlights {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   HERO WIDESCREEN — contenuti ancorati al margine sinistro
   ========================================================= */
@media (min-width: 1600px) {
  .academy-hero .hero-layout.academy-container {
    width: auto;
    max-width: none;
    margin-left: clamp(64px, 5vw, 120px);
    margin-right: 48px;
  }
}



/* =========================================================
   PREMI & RICONOSCIMENTI — Academy
   ========================================================= */
.academy-awards {
  background:
    radial-gradient(circle at 85% 15%, rgba(194,155,84,.16), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(194,155,84,.08), transparent 32%),
    #0b0b0b;
  color: #f5f0e5;
}
.academy-awards-head {
  display:grid;
  grid-template-columns: minmax(170px,.55fr) minmax(0,1.45fr);
  gap: clamp(28px,6vw,90px);
  align-items:start;
}
.academy-awards-head h2 {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(42px,5vw,72px);
  line-height:.96;
  font-weight:500;
  margin:0 0 20px;
  color:#fff;
}
.academy-awards-head p { color:rgba(255,255,255,.68); max-width:760px; }
.academy-awards-head p strong { color:#d8b66d; font-weight:600; }
.academy-awards-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  margin:54px 0 26px;
  background:rgba(216,182,109,.22);
  border:1px solid rgba(216,182,109,.22);
}
.academy-awards-stats > div {
  padding:30px 22px;
  background:#101010;
  text-align:center;
}
.academy-awards-stats strong {
  display:block;
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(46px,5vw,70px);
  line-height:.8;
  color:#d8b66d;
  font-weight:500;
}
.academy-awards-stats span {
  display:block;
  margin-top:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:10px;
  color:rgba(255,255,255,.56);
}
.academy-awards-featured {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.academy-awards-featured article {
  border:1px solid rgba(216,182,109,.22);
  padding:24px;
  min-height:135px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:linear-gradient(145deg,rgba(216,182,109,.07),rgba(255,255,255,.015));
}
.academy-awards-featured small {
  color:#d8b66d;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:10px;
}
.academy-awards-featured h3 {
  margin:8px 0 0;
  font-family:'Cormorant Garamond',serif;
  font-size:26px;
  line-height:1.05;
  font-weight:500;
  color:#fff;
}
.academy-awards-action { margin-top:28px; }
@media (max-width: 800px) {
  .academy-awards-head { grid-template-columns:1fr; gap:22px; }
  .academy-awards-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .academy-awards-featured { grid-template-columns:1fr; }
}

/* Premi & riconoscimenti — revisione fotografica 2026-08-08 */
.academy-awards-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}
.academy-awards-content { min-width: 0; }
.academy-awards-layout .academy-awards-head {
  grid-template-columns: 1fr;
  gap: 22px;
}
.academy-awards-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(216,182,109,.26);
  background: #151515;
}
.academy-awards-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: saturate(.92) contrast(1.02);
}
.academy-awards-photo::after {
  content: '';
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(to top, rgba(0,0,0,.84), transparent);
  pointer-events: none;
}
.academy-awards-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
}
.academy-awards-photo figcaption span {
  display: block;
  color: #d8b66d;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.academy-awards-photo figcaption strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  font-weight: 500;
}
.academy-awards-layout .academy-awards-stats { margin-top: 38px; }

@media (max-width: 1050px) {
  .academy-awards-layout { grid-template-columns: minmax(270px, .65fr) minmax(0, 1.35fr); gap: 34px; }
  .academy-awards-layout .academy-awards-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .academy-awards-layout { grid-template-columns: 1fr; }
  .academy-awards-photo { width: 100%; max-width: 620px; aspect-ratio: 4 / 5; }
}
@media (max-width: 560px) {
  .academy-awards-photo { aspect-ratio: 4 / 5; }
}


/* Premi & riconoscimenti — foto Elisa2 proporzione nativa e angoli coerenti */
.academy-awards-photo {
  width: min(100%, 390px);
  aspect-ratio: 2 / 3;
  justify-self: center;
  border-radius: 26px;
  overflow: hidden;
  background: transparent;
}
.academy-awards-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
}
.academy-awards-photo::after {
  border-radius: inherit;
}
@media (max-width: 1050px) {
  .academy-awards-photo { width: min(100%, 350px); aspect-ratio: 2 / 3; }
}
@media (max-width: 800px) {
  .academy-awards-photo { width: min(100%, 420px); max-width: 420px; aspect-ratio: 2 / 3; justify-self: center; }
}
@media (max-width: 560px) {
  .academy-awards-photo { width: min(100%, 360px); aspect-ratio: 2 / 3; border-radius: 22px; }
}


/* =========================================================
   FLOATING WHATSAPP — stop automatico prima del footer
   ========================================================= */
.floating-whatsapp {
  --footer-overlap: 0px;
  bottom: calc(24px + var(--footer-overlap)) !important;
  will-change: bottom;
}

@media (max-width: 560px) {
  .floating-whatsapp {
    bottom: calc(14px + var(--footer-overlap)) !important;
  }
}

/* =========================================================
   iPad / tablet verticale - hero Academy (2026-08-10)
   Riduce il crop della composizione 4:3 e conserva il logo sul lato destro.
   ========================================================= */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){
  .academy-hero{
    height:72svh !important;
    min-height:820px !important;
    max-height:900px !important;
  }
  .hero-media{
    background-image:linear-gradient(180deg, rgba(4,4,4,.32) 0%, rgba(4,4,4,.18) 32%, rgba(4,4,4,.92) 76%, rgba(4,4,4,.98) 100%), url("../images/academy/academy-hero-tablet.webp?v=3e34b74418f6") !important;
    background-position:right top !important;
  }
}
@media (min-width:1024px) and (max-width:1180px) and (orientation:landscape){
  .academy-hero .hero-lead{max-width:560px !important;text-wrap:pretty;}
}



/* =========================================================
   Academy - rifiniture hero mobile / iPad verticale 2026-08-10 v2
   ========================================================= */
@media (max-width:640px){
  .academy-hero .hero-actions{justify-items:start !important;}
  .academy-hero .hero-actions .btn{
    width:max-content !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:46px !important;
    padding:12px 18px !important;
    white-space:nowrap !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }
}
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){
  .academy-hero .hero-actions{
    justify-content:flex-start !important;
    gap:12px !important;
  }
  .academy-hero .hero-actions .btn{
    width:max-content !important;
    min-width:230px !important;
    min-height:50px !important;
    padding:13px 22px !important;
    white-space:nowrap !important;
  }
  .academy-hero .hero-highlights{
    display:grid !important;
    grid-template-columns:1fr !important;
    justify-items:start !important;
    align-items:start !important;
    gap:10px !important;
    width:max-content !important;
    max-width:100% !important;
  }
  .academy-hero .hero-highlights span{
    display:block !important;
    width:auto !important;
  }
}

/* =========================================================
   FIX MENU MOBILE/TABLET ACADEMY 2026-08-26
   Mantiene il menu interamente sotto l'header fisso.
   ========================================================= */
@media (max-width: 1180px) {
  .academy-nav,
  .academy-nav.is-open {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: auto;
    left: 0;
    inset: var(--header-height) 0 auto 0;
    width: 100%;
    max-width: 100vw;
    max-height: calc(100svh - var(--header-height));
    margin: 0;
    justify-self: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .academy-nav {
    padding: 12px 24px 18px;
  }

  .academy-nav ul {
    width: 100%;
  }

  .academy-nav a {
    padding: 14px 0;
  }
}

@media (max-width: 640px) {
  .academy-nav {
    padding: 8px 20px 14px;
  }

  .academy-nav a {
    padding: 13px 0;
    font-size: 12px;
  }
}
