/*
 * Istituti Atlante - nuova homepage (templates/home-atlante.php)
 * Caricato solo in home. Tutto è sotto .atl-home per non toccare il resto del sito.
 */

:root {
	--h-navy-950: #04122b;
	--h-navy-900: #061a3a;
	--h-navy-800: #082b5c;
	--h-navy: #0b3a6e;
	--h-blue: #1c5fa8;
	--h-sky: #5fa8e8;
	--h-gold: #e8b52f;
	--h-gold-2: #f7d77c;
	--h-gold-3: #b98a12;
	--h-ink: #0f1d33;
	--h-muted: #5b6b82;
	--h-line: #e3e9f2;
	--h-bg: #f5f7fb;
	--h-radius: 22px;
	--h-radius-sm: 14px;
	--h-shadow: 0 1px 2px rgba(6, 26, 58, .06), 0 12px 32px -8px rgba(6, 26, 58, .16);
	--h-shadow-lg: 0 2px 4px rgba(6, 26, 58, .06), 0 30px 60px -20px rgba(6, 26, 58, .35);
	--h-ease: cubic-bezier(.2, .8, .2, 1);
	--h-font: Montserrat, "Open Sans", system-ui, sans-serif;
	--h-text: "Open Sans", system-ui, sans-serif;
}

/* ---------- base ---------- */
.atl-home {
	display: block;
	overflow: hidden; /* le decorazioni non devono creare scroll orizzontale */
	background: #fff;
	color: var(--h-ink);
	font-family: var(--h-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.atl-home *,
.atl-home *::before,
.atl-home *::after {
	box-sizing: border-box;
}
.atl-home h1,
.atl-home h2,
.atl-home h3 {
	font-family: var(--h-font);
	color: inherit;
	text-transform: none;
	letter-spacing: -.02em;
	margin: 0;
}
.atl-home h2 {
	font-size: clamp(28px, 4.2vw, 48px);
	line-height: 1.12;
	font-weight: 800;
}
.atl-home h3 {
	font-size: 19px;
	line-height: 1.3;
	font-weight: 700;
}
.atl-home p {
	margin: 0;
}
.atl-home a {
	text-decoration: none;
	transition: color .2s ease;
}
.atl-home img,
.atl-home video {
	display: block;
	max-width: 100%;
	height: auto;
}
.atl-home .atl-ico {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}
.atl-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}
.atl-section {
	position: relative;
	padding: clamp(64px, 9vw, 120px) 0;
}
.atl-section--tight {
	padding: clamp(32px, 4vw, 56px) 0;
}
.atl-center {
	text-align: center;
	margin-top: 48px !important;
}

/* link interni (#atl-indirizzi...): scorrimento morbido */
@media (prefers-reduced-motion: no-preference) {
	html:has(body.atl-home-nuova) {
		scroll-behavior: smooth;
	}
}
.atl-home [id] {
	scroll-margin-top: 16px;
}

/* titoli di sezione */
.atl-head {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}
.atl-head p {
	margin-top: 16px;
	color: var(--h-muted);
	font-size: 18px;
}
.atl-head--light {
	color: #fff;
}
.atl-head--row {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
}
.atl-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-family: var(--h-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--h-blue);
}
.atl-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.atl-eyebrow--gold {
	color: var(--h-gold);
}
.atl-gold-text {
	font-style: normal;
	background: linear-gradient(100deg, var(--h-gold-2) 0%, var(--h-gold) 40%, #fff1c4 55%, var(--h-gold) 70%, var(--h-gold-3) 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: atl-shine 6s linear infinite;
}
.atl-underline {
	position: relative;
	white-space: nowrap;
}
.atl-underline::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: .04em;
	height: .32em;
	z-index: -1;
	border-radius: 4px;
	background: linear-gradient(90deg, rgba(232, 181, 47, .55), rgba(247, 215, 124, .35));
	transform-origin: left;
	transform: scaleX(0);
	transition: transform .9s .25s var(--h-ease);
}
.is-in .atl-underline::after,
.atl-underline.is-in::after,
html:not(.atl-js) .atl-underline::after {
	transform: scaleX(1);
}
.atl-head h2,
.atl-school__text h2 {
	position: relative;
	z-index: 0;
}

/* ---------- pulsanti ---------- */
.atl-home .atl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	font-family: var(--h-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: transform .25s var(--h-ease), box-shadow .25s var(--h-ease), background-color .2s ease, color .2s ease;
	-webkit-tap-highlight-color: transparent;
}
.atl-home .atl-btn .atl-ico {
	transition: transform .25s var(--h-ease);
}
.atl-home .atl-btn:hover .atl-ico:last-child {
	transform: translateX(3px);
}
.atl-home .atl-btn:active {
	transform: scale(.97);
}
.atl-home .atl-btn--lg {
	min-height: 56px;
	padding: 14px 28px;
	font-size: 16px;
}
.atl-home .atl-btn--gold {
	color: var(--h-navy-900);
	background: linear-gradient(135deg, var(--h-gold-2), var(--h-gold) 55%, #d9a01d);
	box-shadow: 0 10px 24px -8px rgba(232, 181, 47, .65), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.atl-home .atl-btn--gold:hover {
	color: var(--h-navy-900);
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -10px rgba(232, 181, 47, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.atl-home .atl-btn--glass {
	color: #fff;
	background: rgba(255, 255, 255, .1);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.atl-home .atl-btn--glass:hover {
	color: #fff;
	background: rgba(255, 255, 255, .18);
}
.atl-home .atl-btn--navy {
	color: #fff;
	background: linear-gradient(135deg, var(--h-navy), var(--h-navy-900));
	box-shadow: 0 10px 24px -10px rgba(6, 26, 58, .6);
}
.atl-home .atl-btn--navy:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -10px rgba(6, 26, 58, .7);
}
.atl-home .atl-btn--wa {
	color: #fff;
	background: #1fa855;
	box-shadow: 0 10px 24px -10px rgba(31, 168, 85, .7);
}
.atl-home .atl-btn--wa:hover {
	color: #fff;
	transform: translateY(-2px);
	background: #1a9a4d;
}
.atl-home .atl-btn:focus-visible,
.atl-home .atl-tab:focus-visible,
.atl-home .atl-round:focus-visible,
.atl-home .atl-course:focus-visible {
	outline: 3px solid var(--h-gold);
	outline-offset: 3px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.atl-hero {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: 290px 0 120px;
	color: #fff;
	background: radial-gradient(120% 90% at 85% 10%, #123f7c 0%, var(--h-navy-900) 55%, var(--h-navy-950) 100%);
}
.atl-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}
.atl-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .55;
	will-change: transform;
}
.atl-blob--1 {
	width: 520px;
	height: 520px;
	top: -140px;
	right: -80px;
	background: radial-gradient(circle, rgba(232, 181, 47, .75), transparent 65%);
	animation: atl-float-a 16s ease-in-out infinite;
}
.atl-blob--2 {
	width: 620px;
	height: 620px;
	bottom: -260px;
	left: -180px;
	background: radial-gradient(circle, rgba(28, 95, 168, .9), transparent 65%);
	animation: atl-float-b 20s ease-in-out infinite;
}
.atl-blob--3 {
	width: 380px;
	height: 380px;
	top: 35%;
	left: 40%;
	background: radial-gradient(circle, rgba(95, 168, 232, .45), transparent 65%);
	animation: atl-float-a 24s ease-in-out infinite reverse;
}
.atl-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.atl-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: center;
	gap: 48px;
}

.atl-home .atl-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 10px;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(247, 215, 124, .35);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	animation: atl-up .8s .1s var(--h-ease) both;
}
.atl-home .atl-pill .atl-ico {
	width: 26px;
	height: 26px;
	padding: 5px;
	border-radius: 50%;
	color: var(--h-navy-900);
	background: var(--h-gold);
	fill: var(--h-navy-900);
}
.atl-home .atl-pill strong {
	color: var(--h-gold-2);
}
.atl-home .atl-pill:hover {
	color: #fff;
	background: rgba(255, 255, 255, .14);
}

.atl-home .atl-hero__title {
	margin: 26px 0 0;
	color: #fff;
}
.atl-hero__seo {
	display: block;
	max-width: 560px;
	margin-bottom: 18px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .01em;
	color: rgba(255, 255, 255, .72);
	animation: atl-up .8s .2s var(--h-ease) both;
}
.atl-hero__seo strong {
	font-size: 1.4em;
	font-weight: 800;
	letter-spacing: 0;
}
.atl-hero__big {
	display: block;
	font-size: clamp(42px, 4.6vw, 66px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.035em;
	animation: atl-up .9s .3s var(--h-ease) both;
}
@media (min-width: 992px) {
	.atl-hero__big > span {
		white-space: nowrap;
	}
}
.atl-hero__lead {
	max-width: 540px;
	margin-top: 24px !important;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.55;
	color: rgba(255, 255, 255, .82);
	animation: atl-up .9s .45s var(--h-ease) both;
}
.atl-rotator {
	position: relative;
	display: inline-grid;
	vertical-align: bottom;
	height: 1.55em;
	overflow: hidden;
	color: var(--h-gold-2);
	font-weight: 700;
}
.atl-rotator > span {
	grid-area: 1 / 1;
	white-space: nowrap;
	animation: atl-rotate 7.5s var(--h-ease) infinite;
	opacity: 0;
}
.atl-rotator > span:nth-child(2) {
	animation-delay: 2.5s;
}
.atl-rotator > span:nth-child(3) {
	animation-delay: 5s;
}
.atl-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
	animation: atl-up .9s .6s var(--h-ease) both;
}
.atl-home .atl-hero__checks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: rgba(255, 255, 255, .8);
	animation: atl-up .9s .75s var(--h-ease) both;
}
.atl-home .atl-hero__checks li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.atl-home .atl-hero__checks .atl-ico {
	color: var(--h-gold);
	stroke-width: 2.4;
}

/* foto in riquadro arrotondato con pannello dorato ruotato dietro e schede che galleggiano */
.atl-hero__visual {
	position: relative;
	justify-self: center;
	width: min(100%, 460px);
	aspect-ratio: 460 / 540;
	animation: atl-zoom 1.2s .2s var(--h-ease) both;
}
.atl-hero__photo {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 36px;
	background: linear-gradient(160deg, #1d4f8f, var(--h-navy-800));
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .15);
}
.atl-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}
.atl-hero__ring {
	position: absolute;
	inset: 0;
	border-radius: 36px;
	background: linear-gradient(135deg, var(--h-gold-2), var(--h-gold));
	opacity: .9;
	transform: rotate(6deg) translate(14px, 6px);
}
.atl-hero__ring::before {
	content: "";
	position: absolute;
	top: -26px;
	left: -30px;
	width: 120px;
	height: 120px;
	background-image: radial-gradient(rgba(255, 255, 255, .35) 2px, transparent 2.5px);
	background-size: 16px 16px;
	transform: rotate(-6deg);
}
.atl-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px 12px 12px;
	border-radius: 18px;
	color: var(--h-ink);
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	white-space: nowrap;
}
.atl-float strong {
	display: block;
	font-family: var(--h-font);
	font-size: 15px;
	line-height: 1.2;
}
.atl-float small {
	display: block;
	font-size: 12.5px;
	color: var(--h-muted);
}
.atl-float img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}
.atl-float__ico {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	color: #fff;
	background: linear-gradient(135deg, var(--h-blue), var(--h-navy));
}
.atl-float__ico .atl-ico {
	width: 24px;
	height: 24px;
}
.atl-float__ico--gold {
	color: var(--h-navy-900);
	background: linear-gradient(135deg, var(--h-gold-2), var(--h-gold));
}
.atl-float--1 {
	top: 16%;
	left: -22%;
	animation: atl-bob 6s ease-in-out infinite, atl-up .8s .9s var(--h-ease) both;
}
.atl-float--2 {
	top: 52%;
	right: -16%;
	animation: atl-bob 7s 1s ease-in-out infinite, atl-up .8s 1.05s var(--h-ease) both;
}
.atl-float--3 {
	bottom: 6%;
	left: -10%;
	animation: atl-bob 8s .5s ease-in-out infinite, atl-up .8s 1.2s var(--h-ease) both;
}

.atl-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	width: 28px;
	height: 44px;
	margin-left: -14px;
	border-radius: 20px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4);
}
.atl-hero__scroll span {
	position: absolute;
	top: 9px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--h-gold);
	animation: atl-scroll 1.8s ease-in-out infinite;
}

/* ---------- nastro con gli indirizzi ---------- */
.atl-marquee {
	position: relative;
	z-index: 2;
	overflow: hidden;
	padding: 16px 0;
	background: linear-gradient(90deg, var(--h-gold-3), var(--h-gold) 30%, var(--h-gold-2) 50%, var(--h-gold) 70%, var(--h-gold-3));
	box-shadow: 0 10px 30px -10px rgba(185, 138, 18, .6);
}
.atl-marquee__track {
	display: flex;
	width: max-content;
	animation: atl-marquee 45s linear infinite;
}
.atl-marquee span {
	display: inline-flex;
	align-items: center;
	padding: 0 22px;
	font-family: var(--h-font);
	font-size: 15px;
	font-weight: 700;
	color: var(--h-navy-900);
	white-space: nowrap;
}
.atl-marquee span::after {
	content: "✦";
	margin-left: 44px;
	font-size: 12px;
	opacity: .55;
}

/* ==========================================================================
   NUMERI + PREMIO
   ========================================================================== */
.atl-numbers {
	background: var(--h-bg);
}
.atl-numbers__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.atl-stat {
	position: relative;
	padding: 28px 24px;
	border-radius: var(--h-radius);
	background: #fff;
	box-shadow: var(--h-shadow);
	overflow: hidden;
}
.atl-stat::before {
	content: "";
	position: absolute;
	top: 0;
	left: 24px;
	right: 24px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, var(--h-gold), var(--h-gold-2));
}
.atl-stat__num {
	display: block;
	font-family: var(--h-font);
	font-size: clamp(38px, 4.4vw, 56px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--h-navy);
	font-variant-numeric: tabular-nums;
}
.atl-stat__label {
	display: block;
	margin-top: 10px;
	color: var(--h-muted);
	font-size: 15px;
	line-height: 1.4;
}

.atl-award {
	position: relative;
	display: flex;
	align-items: center;
	gap: 40px;
	margin-top: 28px;
	padding: 36px 48px;
	border-radius: var(--h-radius);
	color: #fff;
	background: linear-gradient(120deg, var(--h-navy-900) 0%, var(--h-navy) 60%, #164c8d 100%);
	box-shadow: var(--h-shadow-lg);
	overflow: hidden;
}
.atl-award__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 35%, rgba(247, 215, 124, .18) 50%, transparent 65%);
	background-size: 250% 100%;
	animation: atl-sweep 5s ease-in-out infinite;
	pointer-events: none;
}
.atl-award__img {
	flex: none;
	width: 180px;
	height: 180px;
	padding: 10px;
	border-radius: 50%;
	object-fit: contain;
	background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%);
}
.atl-award__text h2 {
	font-size: clamp(26px, 3vw, 38px);
	color: #fff;
}
.atl-award__text p {
	max-width: 640px;
	margin-top: 10px;
	color: rgba(255, 255, 255, .8);
	font-size: 17px;
}

/* ==========================================================================
   INDIRIZZI
   ========================================================================== */
.atl-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	width: max-content;
	max-width: 100%;
	margin: -12px auto 36px;
	padding: 6px;
	border-radius: 999px;
	background: var(--h-bg);
	box-shadow: inset 0 0 0 1px var(--h-line);
}
.atl-home .atl-tab {
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--h-muted);
	font-family: var(--h-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
	-webkit-tap-highlight-color: transparent;
}
.atl-home .atl-tab:hover {
	color: var(--h-navy);
}
.atl-home .atl-tab.is-active {
	color: #fff;
	background: var(--h-navy);
	box-shadow: 0 6px 16px -6px rgba(11, 58, 110, .6);
}
.atl-course-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
	gap: 16px;
}
.atl-home .atl-course {
	--accent: var(--h-blue);
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 18px 18px 18px;
	border-radius: var(--h-radius-sm);
	color: var(--h-ink);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--h-line);
	overflow: hidden;
	transition: transform .35s var(--h-ease), box-shadow .35s var(--h-ease), opacity .35s ease;
	-webkit-tap-highlight-color: transparent;
}
.atl-home .atl-course--tecnici {
	--accent: #0f8a8a;
}
.atl-home .atl-course--primo {
	--accent: #d0861b;
}
.atl-home .atl-course::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
	opacity: 0;
	transition: opacity .3s ease;
}
.atl-home .atl-course:hover {
	color: var(--h-ink);
	transform: translateY(-4px);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 18px 36px -16px rgba(6, 26, 58, .35);
}
.atl-home .atl-course:hover::before {
	opacity: 1;
}
.atl-course__ico {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	color: var(--accent);
	background: color-mix(in srgb, var(--accent) 10%, #fff);
	transition: transform .35s var(--h-ease), background-color .3s ease, color .3s ease;
}
.atl-course__ico .atl-ico {
	width: 26px;
	height: 26px;
}
.atl-home .atl-course:hover .atl-course__ico {
	color: #fff;
	background: var(--accent);
	transform: rotate(-6deg) scale(1.05);
}
.atl-course__body {
	position: relative;
	flex: 1;
	min-width: 0;
}
.atl-course__name {
	display: block;
	font-family: var(--h-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}
.atl-course__desc {
	display: block;
	margin-top: 3px;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--h-muted);
}
.atl-course__go {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: var(--accent);
	background: var(--h-bg);
	transition: transform .35s var(--h-ease), background-color .3s ease, color .3s ease;
}
.atl-course__go .atl-ico {
	width: 18px;
	height: 18px;
}
.atl-home .atl-course:hover .atl-course__go {
	color: #fff;
	background: var(--accent);
	transform: translateX(3px);
}
.atl-home .atl-course.is-hidden {
	display: none;
}

/* ==========================================================================
   COME FUNZIONA
   ========================================================================== */
.atl-steps {
	color: #fff;
	background:
		radial-gradient(60% 80% at 10% 0%, rgba(28, 95, 168, .55), transparent 60%),
		radial-gradient(50% 70% at 100% 100%, rgba(232, 181, 47, .18), transparent 60%),
		var(--h-navy-900);
}
.atl-home .atl-steps__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.atl-steps__list::before {
	content: "";
	position: absolute;
	top: 38px;
	left: 12%;
	right: 12%;
	height: 2px;
	background: linear-gradient(90deg, rgba(247, 215, 124, 0), rgba(247, 215, 124, .7), rgba(247, 215, 124, 0));
}
.atl-home .atl-step {
	position: relative;
	margin: 0;
	padding: 0 8px;
	text-align: center;
}
.atl-step__n {
	position: absolute;
	top: -6px;
	left: calc(50% + 22px);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	font-family: var(--h-font);
	font-size: 13px;
	font-weight: 800;
	color: var(--h-navy-900);
	background: var(--h-gold);
}
.atl-step__ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	margin: 0 auto 22px;
	border-radius: 24px;
	color: var(--h-gold-2);
	background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 20px 40px -20px rgba(0, 0, 0, .6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: transform .4s var(--h-ease);
}
.atl-step__ico .atl-ico {
	width: 32px;
	height: 32px;
}
.atl-step:hover .atl-step__ico {
	transform: translateY(-6px) rotate(-4deg);
}
.atl-home .atl-step h3 {
	color: #fff;
	margin-bottom: 8px;
}
.atl-step p {
	color: rgba(255, 255, 255, .72);
	font-size: 15px;
}

/* ==========================================================================
   CERTIFICAZIONI (il markup arriva da [atlante_certificazioni])
   ========================================================================== */
.atl-certs-wrap {
	background: var(--h-bg);
}
.atl-home .atl-certs {
	gap: 22px;
}
.atl-home .atl-cert {
	border-radius: var(--h-radius) !important;
	border: 0 !important;
	box-shadow: var(--h-shadow) !important;
	transition: transform .35s var(--h-ease), box-shadow .35s var(--h-ease) !important;
}
.atl-home .atl-cert:hover {
	transform: translateY(-6px) !important;
	box-shadow: var(--h-shadow-lg) !important;
}
.atl-home .atl-cert__btn {
	border-radius: 999px !important;
}
.atl-home .atl-certs__more {
	margin-top: 32px !important;
	text-align: center;
}
.atl-home .atl-certs__more a {
	font-family: var(--h-font);
	font-weight: 700;
	color: var(--h-navy);
}

/* ==========================================================================
   LA NOSTRA SCUOLA
   ========================================================================== */
.atl-school__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: 72px;
}
.atl-school__media {
	position: relative;
	padding: 0 0 0 0;
}
/* cornice oro sfalsata dietro la foto */
.atl-school__media::before {
	content: "";
	position: absolute;
	inset: 28px -28px -28px 28px;
	border-radius: 28px;
	border: 2px solid rgba(232, 181, 47, .55);
	background: linear-gradient(135deg, rgba(232, 181, 47, .12), rgba(28, 95, 168, .06));
}
.atl-school__frame {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	background: var(--h-navy-900);
	box-shadow: var(--h-shadow-lg);
	aspect-ratio: 4 / 3;
}
.atl-school__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
	transition: transform 1.2s var(--h-ease);
}
.atl-school__media:hover .atl-school__frame img {
	transform: scale(1.04);
}
.atl-school__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(200deg, transparent 55%, rgba(6, 26, 58, .35));
	pointer-events: none;
}
.atl-home .atl-school__badge {
	z-index: 2;
}
.atl-school__badge img {
	width: 52px;
	height: 52px;
	border-radius: 0;
	object-fit: contain;
}
.atl-school__badge--award {
	left: -28px;
	bottom: 36px;
	animation: atl-bob 7s ease-in-out infinite;
}
.atl-school__badge--places {
	right: -20px;
	top: 28px;
	animation: atl-bob 8s 1s ease-in-out infinite;
}
.atl-quote {
	position: relative;
	margin: 28px 0 !important;
	padding: 28px 28px 24px;
	border-radius: var(--h-radius);
	background: var(--h-bg);
}
.atl-quote__mark {
	position: absolute;
	top: -14px;
	left: 24px;
	width: 40px;
	color: var(--h-gold);
}
.atl-home .atl-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--h-font);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.45;
	font-style: normal;
	color: var(--h-navy-900);
	background: none;
}
.atl-home .atl-quote blockquote::before,
.atl-home .atl-quote blockquote::after {
	display: none !important;
}
.atl-quote figcaption {
	margin-top: 12px;
	font-size: 14px;
	color: var(--h-muted);
}
.atl-quote figcaption strong {
	color: var(--h-ink);
}
.atl-home .atl-ticks {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.atl-home .atl-ticks li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 12px;
	font-size: 16px;
}
.atl-home .atl-ticks .atl-ico {
	margin-top: 2px;
	padding: 3px;
	border-radius: 50%;
	color: #fff;
	background: var(--h-navy);
	stroke-width: 3;
}

/* scheda Atlantia (piattaforma online) */
.atl-home .atl-atlantia {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 28px;
	padding: 18px 20px;
	border-radius: var(--h-radius);
	color: #fff;
	background: linear-gradient(120deg, var(--h-navy-900), var(--h-navy) 70%, #1c5fa8);
	box-shadow: 0 16px 34px -16px rgba(6, 26, 58, .55);
	overflow: hidden;
	transition: transform .35s var(--h-ease), box-shadow .35s var(--h-ease);
}
.atl-home .atl-atlantia::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -80px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 181, 47, .35), transparent 65%);
	pointer-events: none;
}
.atl-home .atl-atlantia:hover {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 22px 40px -16px rgba(6, 26, 58, .65);
}
.atl-atlantia__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 15px;
	color: var(--h-navy-900);
	background: linear-gradient(135deg, var(--h-gold-2), var(--h-gold));
}
.atl-atlantia__ico .atl-ico {
	width: 26px;
	height: 26px;
}
.atl-atlantia__text {
	position: relative;
	z-index: 1;
	flex: 1;
	min-width: 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .8);
}
.atl-atlantia__label {
	display: block;
	font-family: var(--h-font);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--h-gold-2);
}
.atl-atlantia__text strong {
	display: block;
	margin: 2px 0 4px;
	font-family: var(--h-font);
	font-size: 17px;
	line-height: 1.3;
	color: #fff;
}
.atl-atlantia__go {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	transition: transform .3s var(--h-ease), background-color .3s ease;
}
.atl-home .atl-atlantia:hover .atl-atlantia__go {
	transform: translateX(3px);
	background: var(--h-gold);
	color: var(--h-navy-900);
}
/* link alla demo sotto la scheda Atlantia */
.atl-home .atl-atlantia-demo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: -12px 0 28px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--h-muted);
}
.atl-home .atl-atlantia-demo > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--h-gold);
	color: var(--h-navy-900);
	font-family: var(--h-font);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: background-color .25s ease, transform .25s var(--h-ease);
}
.atl-home .atl-atlantia-demo > a:hover {
	background: #fff8e6;
	transform: translateY(-1px);
}
.atl-home .atl-atlantia-demo .atl-ico {
	width: 17px;
	height: 17px;
}
.atl-home .atl-atlantia-demo span a {
	color: var(--h-navy);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--h-gold);
	text-underline-offset: 2px;
}
@media (max-width: 767px) {
	.atl-home .atl-atlantia {
		align-items: flex-start;
		padding: 16px;
	}
	.atl-atlantia__ico {
		width: 44px;
		height: 44px;
		border-radius: 13px;
	}
	.atl-atlantia__go {
		display: none;
	}
}

/* ==========================================================================
   ARTICOLI
   ========================================================================== */
.atl-news {
	background: var(--h-bg);
}
.atl-news__nav {
	display: flex;
	gap: 10px;
}
.atl-home .atl-round {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: var(--h-navy);
	background: #fff;
	box-shadow: var(--h-shadow);
	cursor: pointer;
	transition: transform .25s var(--h-ease), background-color .2s ease, color .2s ease;
}
.atl-home .atl-round:hover {
	color: #fff;
	background: var(--h-navy);
}
.atl-home .atl-round:disabled {
	opacity: .4;
	cursor: default;
}
.atl-news__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 3);
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 8px 4px 24px;
	margin: -8px -4px -24px;
	-webkit-overflow-scrolling: touch;
}
.atl-news__track::-webkit-scrollbar {
	display: none;
}
.atl-news__all {
	margin: 40px 0 0 !important;
	text-align: center;
}
.atl-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--h-radius);
	background: #fff;
	box-shadow: var(--h-shadow);
	scroll-snap-align: start;
	transition: transform .35s var(--h-ease), box-shadow .35s var(--h-ease);
}
.atl-post:hover {
	transform: translateY(-6px);
	box-shadow: var(--h-shadow-lg);
}
.atl-post__img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, var(--h-navy), var(--h-blue));
}
.atl-post__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--h-ease);
}
.atl-post:hover .atl-post__img img {
	transform: scale(1.06);
}
.atl-post__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 24px;
}
.atl-post__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--h-muted);
}
.atl-post__cat {
	padding: 3px 10px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 12px;
	color: var(--h-navy);
	background: rgba(28, 95, 168, .1);
}
.atl-home .atl-post__title {
	font-size: 18px;
	line-height: 1.35;
}
.atl-home .atl-post__title a {
	color: var(--h-ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.atl-home .atl-post__title a:hover {
	color: var(--h-blue);
}
.atl-post__excerpt {
	margin-top: 10px !important;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--h-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==========================================================================
   DIVENTA POINT
   ========================================================================== */
.atl-point {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 48px 56px;
	border-radius: 28px;
	color: #fff;
	background: linear-gradient(120deg, #0d2f5f, #0b3a6e 45%, #1c5fa8);
	box-shadow: var(--h-shadow-lg);
	overflow: hidden;
}
.atl-point__glow {
	position: absolute;
	width: 420px;
	height: 420px;
	right: -120px;
	top: -200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 181, 47, .45), transparent 65%);
	filter: blur(20px);
	animation: atl-float-a 14s ease-in-out infinite;
	pointer-events: none;
}
.atl-point__text {
	position: relative;
	max-width: 720px;
}
.atl-point__text h2 {
	font-size: clamp(26px, 3vw, 38px);
	color: #fff;
}
.atl-point__text p {
	margin-top: 12px;
	color: rgba(255, 255, 255, .8);
	font-size: 16.5px;
}
.atl-point .atl-btn {
	position: relative;
	flex: none;
}

/* ==========================================================================
   ISCRIZIONI + MODULO
   ========================================================================== */
.atl-enroll {
	background:
		radial-gradient(60% 60% at 0% 0%, rgba(247, 215, 124, .35), transparent 60%),
		linear-gradient(180deg, #fffaf0, #fff);
}
.atl-enroll__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	align-items: start;
	gap: 64px;
}
.atl-badge-live {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	padding: 8px 16px;
	border-radius: 999px;
	font-family: var(--h-font);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8a5a00;
	background: rgba(232, 181, 47, .22);
}
.atl-badge-live span {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e0a100;
}
.atl-badge-live span::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid #e0a100;
	animation: atl-ping 1.6s ease-out infinite;
}
.atl-enroll__lead {
	margin-top: 16px !important;
	font-size: 18px;
	color: var(--h-muted);
}
.atl-home .atl-enroll__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 28px 0 32px;
	padding: 0;
	list-style: none;
}
.atl-home .atl-enroll__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border-radius: var(--h-radius-sm);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.35;
	background: #fff;
	box-shadow: var(--h-shadow);
}
.atl-home .atl-enroll__list li:last-child {
	grid-column: 1 / -1;
}
.atl-home .atl-enroll__list .atl-ico {
	width: 38px;
	height: 38px;
	padding: 8px;
	border-radius: 10px;
	color: var(--h-navy);
	background: rgba(232, 181, 47, .25);
}
.atl-enroll__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.atl-enroll__hours {
	margin-top: 14px !important;
	font-size: 14px;
	color: var(--h-muted);
}
.atl-enroll__form {
	position: relative;
	padding: 36px 32px 28px;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--h-shadow-lg), inset 0 0 0 1px var(--h-line);
}
.atl-enroll__form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 32px;
	right: 32px;
	height: 4px;
	border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, var(--h-navy), var(--h-blue), var(--h-gold));
}
.atl-home .atl-enroll__form h3 {
	font-size: 22px;
}
.atl-enroll__form > p {
	margin: 6px 0 20px !important;
	color: var(--h-muted);
	font-size: 15px;
}
/* il modulo 555 ha un suo riquadro: qui lo spogliamo, il riquadro è già .atl-enroll__form */
.atl-enroll__form .stm_sign_up_now,
.atl-enroll__form .stm_sign_up_now_inner {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	box-shadow: none !important;
	border: 0 !important;
}
.atl-enroll__form .stm_sign_up_now_inner > h2,
.atl-enroll__form .stm_sign_up_now h2 {
	display: none !important;
}
.atl-enroll__form .wpcf7-form .form-group {
	margin: 0 !important;
}
.atl-enroll__form .wpcf7-form p {
	margin: 0 0 12px !important;
}
.atl-enroll__form .wpcf7-form-control-wrap {
	display: block;
}
.atl-enroll__form .ajax-loader {
	display: none !important;
}
.atl-enroll__form .wpcf7-form br {
	display: none;
}
.atl-enroll__form .wpcf7-form input[type="text"],
.atl-enroll__form .wpcf7-form input[type="email"],
.atl-enroll__form .wpcf7-form input[type="tel"],
.atl-enroll__form .wpcf7-form textarea {
	width: 100% !important;
	min-height: 52px;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: 1.5px solid var(--h-line) !important;
	border-radius: 14px !important;
	background: var(--h-bg) !important;
	box-shadow: none !important;
	color: var(--h-ink) !important;
	font-family: var(--h-text) !important;
	font-size: 16px !important; /* 16px: su iPhone niente zoom quando si tocca il campo */
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.atl-enroll__form .wpcf7-form textarea {
	min-height: 110px;
	height: 110px;
	resize: vertical;
}
.atl-enroll__form .wpcf7-form input:focus,
.atl-enroll__form .wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--h-blue) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(28, 95, 168, .12) !important;
}
.atl-enroll__form .wpcf7-form input[type="submit"],
.atl-enroll__form .wpcf7-form button[type="submit"] {
	width: 100% !important;
	min-height: 56px;
	margin-top: 4px;
	border: 0 !important;
	border-radius: 999px !important;
	color: var(--h-navy-900) !important;
	background: linear-gradient(135deg, var(--h-gold-2), var(--h-gold) 55%, #d9a01d) !important;
	box-shadow: 0 10px 24px -8px rgba(232, 181, 47, .65) !important;
	font-family: var(--h-font) !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	transition: transform .25s var(--h-ease), box-shadow .25s var(--h-ease);
}
.atl-enroll__form .wpcf7-form input[type="submit"]:hover {
	transform: translateY(-2px);
}
.atl-enroll__form .wpcf7-acceptance,
.atl-enroll__form .wpcf7-list-item {
	margin: 0 !important;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--h-muted);
}
.atl-enroll__form .atl-recaptcha-note {
	margin-top: 12px !important;
	font-size: 12px;
	line-height: 1.5;
	color: var(--h-muted);
	text-align: center;
}

/* ==========================================================================
   SEDI + REGISTRO
   ========================================================================== */
.atl-places {
	color: #fff;
	background:
		radial-gradient(50% 60% at 100% 0%, rgba(28, 95, 168, .5), transparent 60%),
		var(--h-navy-950);
}
.atl-places__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.atl-place {
	position: relative;
	padding: 28px 26px 24px;
	border-radius: var(--h-radius);
	background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
	transition: transform .35s var(--h-ease), box-shadow .35s var(--h-ease);
}
.atl-place:hover {
	transform: translateY(-4px);
	box-shadow: inset 0 0 0 1px rgba(247, 215, 124, .45);
}
.atl-place__ico {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 14px;
	color: var(--h-navy-900);
	background: linear-gradient(135deg, var(--h-gold-2), var(--h-gold));
}
.atl-place__ico .atl-ico {
	width: 24px;
	height: 24px;
}
.atl-place__type {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--h-gold-2);
}
.atl-home .atl-place h3 {
	margin: 4px 0 6px;
	font-size: 22px;
	color: #fff;
}
.atl-place p {
	color: rgba(255, 255, 255, .7);
	font-size: 15px;
}
.atl-place__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.atl-home .atl-place__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	transition: background-color .2s ease;
}
.atl-home .atl-place__links a:hover {
	color: #fff;
	background: rgba(255, 255, 255, .18);
}
.atl-place__links .atl-ico {
	width: 16px;
	height: 16px;
	color: var(--h-gold-2);
}
.atl-registry {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 36px;
	padding: 20px 24px;
	border-radius: var(--h-radius);
	background: rgba(255, 255, 255, .05);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.atl-registry__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	font-family: var(--h-font);
	font-weight: 700;
	font-size: 16px;
}
.atl-registry__label .atl-ico {
	color: var(--h-gold);
}
.atl-home .atl-registry a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
	transition: background-color .2s ease, box-shadow .2s ease;
}
.atl-home .atl-registry a:hover {
	color: #fff;
	background: rgba(255, 255, 255, .1);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}

@media (min-width: 992px) and (max-width: 1279px) {
	.atl-hero {
		padding-top: 340px; /* a queste larghezze il menu va su più righe (home.js lo ricalcola) */
	}
}

/* header sopra la hero: barra in alto blu notte invece che grigia */
body.atl-home-nuova .header_top_bar {
	background: var(--h-navy-950) !important;
	border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

/* niente fascia bianca fra l'ultima sezione e il footer */
body.atl-home-nuova #main {
	padding-bottom: 0 !important;
}

/* ==========================================================================
   COMPARSA AL PASSAGGIO (solo se JS attivo: senza JS si vede tutto)
   ========================================================================== */
.atl-js .atl-home [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--h-ease), transform .8s var(--h-ease);
	transition-delay: var(--d, 0ms);
}
.atl-js .atl-home [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   ANIMAZIONI
   ========================================================================== */
@keyframes atl-up {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}
@keyframes atl-zoom {
	from { opacity: 0; transform: scale(.92) translateY(20px); }
	to { opacity: 1; transform: none; }
}
@keyframes atl-float-a {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-60px, 40px) scale(1.1); }
}
@keyframes atl-float-b {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(80px, -50px) scale(1.08); }
}
@keyframes atl-bob {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -10px; }
}
@keyframes atl-shine {
	to { background-position: -220% 0; }
}
@keyframes atl-sweep {
	0% { background-position: 150% 0; }
	60%, 100% { background-position: -100% 0; }
}
@keyframes atl-rotate {
	0% { opacity: 0; transform: translateY(100%); }
	5%, 30% { opacity: 1; transform: none; }
	36%, 100% { opacity: 0; transform: translateY(-100%); }
}
@keyframes atl-marquee {
	to { transform: translateX(-50%); }
}
@keyframes atl-scroll {
	0% { opacity: 0; transform: translateY(0); }
	30% { opacity: 1; }
	100% { opacity: 0; transform: translateY(14px); }
}
@keyframes atl-ping {
	from { opacity: .8; transform: scale(.6); }
	to { opacity: 0; transform: scale(1.8); }
}

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 1199px) {
	.atl-float--1 { left: -12%; }
	.atl-float--2 { right: -3%; } /* a -8% a 1024px usciva dallo schermo */
	.atl-float--3 { left: -4%; }
}

@media (max-width: 991px) {
	.atl-hero {
		min-height: 0;
		padding: 64px 0 90px;
	}
	/* qui l'header non sta sopra la foto: lo facciamo blu notte, attaccato alla hero */
	body.atl-home-nuova #header .header_default {
		background: var(--h-navy-950) !important;
	}
	body.atl-home-nuova #header .navbar-toggle .icon-bar {
		background-color: #fff !important;
	}
	.atl-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
		text-align: center;
	}
	.atl-hero__seo,
	.atl-hero__lead {
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.atl-hero__cta,
	.atl-home .atl-hero__checks {
		justify-content: center;
	}
	.atl-hero__visual {
		width: min(78%, 400px);
	}
	.atl-hero__scroll {
		display: none;
	}
	.atl-numbers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.atl-home .atl-steps__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 48px;
	}
	.atl-steps__list::before {
		display: none;
	}
	.atl-school__grid,
	.atl-enroll__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
	.atl-enroll__form {
		max-width: 560px;
		width: 100%;
		margin: 0 auto;
	}
	.atl-news__track {
		grid-auto-columns: calc((100% - 24px) / 2);
	}
	.atl-places__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.atl-point {
		flex-direction: column;
		align-items: flex-start;
		padding: 40px 32px;
	}
}

/* ==========================================================================
   TELEFONO - pensato come un'app: schede a scorrimento, pulsanti grandi
   ========================================================================== */
@media (max-width: 767px) {
	.atl-wrap {
		padding: 0 18px;
	}
	.atl-section {
		padding: 64px 0;
	}
	.atl-head {
		margin-bottom: 32px;
	}
	.atl-head p {
		font-size: 16px;
	}
	.atl-home h2 {
		font-size: 30px;
	}

	/* hero */
	.atl-hero {
		padding: 44px 0 64px;
	}
	.atl-hero__inner {
		gap: 40px;
	}
	.atl-home .atl-pill {
		font-size: 13px;
	}
	.atl-hero__seo {
		font-size: 13.5px;
		margin-bottom: 14px;
	}
	.atl-hero__big {
		font-size: clamp(40px, 12vw, 54px);
	}
	.atl-hero__lead {
		font-size: 17px;
	}
	.atl-hero__cta {
		flex-direction: column;
		gap: 12px;
		margin-top: 28px;
	}
	.atl-hero__cta .atl-btn {
		width: 100%;
	}
	.atl-home .atl-hero__checks {
		gap: 8px 16px;
		font-size: 14px;
	}
	.atl-hero__visual {
		width: 66%;
		max-width: 280px;
	}
	.atl-hero__photo,
	.atl-hero__ring {
		border-radius: 24px;
	}
	.atl-hero__ring {
		transform: rotate(5deg) translate(8px, 4px);
	}
	.atl-float {
		padding: 8px 12px 8px 8px;
		gap: 8px;
		border-radius: 14px;
	}
	.atl-float strong {
		font-size: 13px;
	}
	.atl-float small {
		font-size: 11px;
	}
	.atl-float__ico,
	.atl-float img {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}
	.atl-float img {
		border-radius: 50%;
	}
	.atl-float__ico .atl-ico {
		width: 18px;
		height: 18px;
	}
	.atl-float--1 { top: 10%; left: -30%; }
	.atl-float--2 { top: 50%; right: -30%; }
	.atl-float--3 { bottom: 4%; left: -24%; }

	.atl-marquee {
		padding: 12px 0;
	}
	.atl-marquee span {
		font-size: 13.5px;
		padding: 0 14px;
	}
	.atl-marquee span::after {
		margin-left: 28px;
	}

	/* numeri */
	.atl-numbers__grid {
		gap: 12px;
	}
	.atl-stat {
		padding: 22px 16px 18px;
		border-radius: 18px;
	}
	.atl-stat__num {
		font-size: 38px;
	}
	.atl-stat__label {
		font-size: 13.5px;
	}
	.atl-award {
		flex-direction: column;
		text-align: center;
		gap: 16px;
		padding: 32px 22px;
	}
	.atl-award__img {
		width: 140px;
		height: 140px;
	}
	.atl-award .atl-eyebrow {
		justify-content: center;
	}
	.atl-award__text p {
		font-size: 15.5px;
	}

	/* indirizzi: filtri che vanno a capo (in fila uscivano dallo schermo) */
	.atl-tabs {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		width: auto;
		margin: -8px 0 24px;
		padding: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}
	.atl-home .atl-tab {
		flex: 0 1 auto;
		max-width: 100%;
		white-space: normal;
		background: var(--h-bg);
		box-shadow: inset 0 0 0 1px var(--h-line);
	}
	/* indirizzi uno sotto l'altro: icona, nome, freccia */
	.atl-course-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
	.atl-home .atl-course {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		min-height: 0;
		padding: 14px 54px 14px 14px;
		border-radius: 18px;
	}
	.atl-course__ico {
		width: 44px;
		height: 44px;
		border-radius: 13px;
	}
	.atl-course__ico .atl-ico {
		width: 23px;
		height: 23px;
	}
	.atl-course__name {
		font-size: 14.5px;
		line-height: 1.25;
	}
	.atl-course__desc {
		font-size: 13px;
		line-height: 1.35;
	}
	.atl-course__go {
		position: absolute;
		top: 50%;
		right: 14px;
		margin-top: -14px;
		width: 28px;
		height: 28px;
	}
	.atl-course__go .atl-ico {
		width: 15px;
		height: 15px;
	}
	/* l'ultima (elementari e medie) da sola su tutta la riga */
	.atl-home .atl-course:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		min-height: 0;
		flex-direction: row;
		align-items: center;
	}
	.atl-center {
		margin-top: 32px !important;
	}
	.atl-center .atl-btn {
		width: 100%;
	}

	/* passi: lista verticale con linea a sinistra */
	.atl-home .atl-steps__list {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}
	.atl-home .atl-step {
		display: grid;
		grid-template-columns: 60px minmax(0, 1fr);
		column-gap: 18px;
		padding: 0 0 30px;
		text-align: left;
	}
	.atl-home .atl-step::before {
		content: "";
		position: absolute;
		top: 64px;
		bottom: 4px;
		left: 29px;
		width: 2px;
		background: linear-gradient(rgba(247, 215, 124, .6), rgba(247, 215, 124, 0));
	}
	.atl-home .atl-step:last-child::before {
		display: none;
	}
	.atl-step__ico {
		grid-row: 1 / 3;
		width: 60px;
		height: 60px;
		margin: 0;
		border-radius: 18px;
	}
	.atl-step__ico .atl-ico {
		width: 26px;
		height: 26px;
	}
	.atl-step__n {
		top: -6px;
		left: 44px;
		width: 22px;
		height: 22px;
		font-size: 12px;
	}
	.atl-home .atl-step h3 {
		margin: 6px 0 4px;
		font-size: 18px;
	}

	/* certificazioni e articoli: schede una sotto l'altra (affiancate uscivano dallo schermo) */
	.atl-home .atl-certs {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
		margin: 0;
		padding: 0;
	}
	.atl-home .atl-cert {
		width: auto !important;
	}
	.atl-home .atl-cert__img img {
		aspect-ratio: 16 / 10;
		object-fit: contain;
	}
	.atl-news__nav {
		display: none;
	}
	.atl-news__track {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		margin: 0;
		padding: 0;
		overflow: visible;
		scroll-snap-type: none;
	}
	/* sul telefono bastano le ultime 3: sotto c'è "Tutte le notizie" */
	.atl-news__track > :nth-child(n + 4) {
		display: none;
	}

	/* scuola */
	.atl-school__media {
		margin-right: 14px;
	}
	.atl-school__media::before {
		inset: 14px -14px -14px 14px;
		border-radius: 22px;
	}
	.atl-school__frame {
		border-radius: 22px;
	}
	.atl-school__badge--award {
		left: -6px;
		bottom: 16px;
	}
	.atl-school__badge--places {
		right: -10px;
		top: 14px;
	}
	.atl-school__badge img {
		width: 38px;
		height: 38px;
	}
	.atl-home .atl-quote blockquote {
		font-size: 18px;
	}
	.atl-quote {
		padding: 26px 20px 20px;
	}
	.atl-school__text .atl-btn {
		width: 100%;
	}

	/* point */
	.atl-point {
		padding: 32px 22px;
		border-radius: 22px;
	}
	.atl-point .atl-btn {
		width: 100%;
	}

	/* iscrizioni */
	.atl-home .atl-enroll__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
	.atl-home .atl-enroll__list li {
		padding: 10px 12px;
	}
	.atl-enroll__cta .atl-btn {
		flex: 1 1 100%;
	}
	.atl-enroll__form {
		padding: 30px 20px 22px;
		border-radius: 22px;
	}

	/* sedi */
	.atl-place {
		padding: 22px 20px 20px;
	}
	.atl-registry {
		flex-direction: column;
		align-items: stretch;
		padding: 20px;
	}
	.atl-registry__label {
		margin: 0 0 4px;
	}
	.atl-home .atl-registry a {
		justify-content: space-between;
	}
}

/* chi ha chiesto meno movimento sul dispositivo: niente animazioni continue */
@media (prefers-reduced-motion: reduce) {
	.atl-home *,
	.atl-home *::before,
	.atl-home *::after {
		animation: none !important;
		transition-duration: .01ms !important;
	}
	.atl-rotator > span:first-child {
		opacity: 1;
	}
	.atl-js .atl-home [data-reveal] {
		opacity: 1;
		transform: none;
	}
	.atl-marquee__track {
		flex-wrap: wrap;
		justify-content: center;
		width: auto;
	}
	.atl-marquee__track span:nth-child(n + 15) {
		display: none;
	}
}
