/* ADR — asset globali del brand. Le classi di layout vivono nei selettori Breakdance (prefisso aadr-). */

@font-face {
	font-family: 'ADR Manrope';
	src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'ADR Cormorant';
	src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'ADR Cormorant';
	src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
	font-weight: 600 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'ADR Cormorant';
	src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

/* Header in scroll: vetro leggero (Breakdance aggiunge la classe dopo lo scroll). */
.aadr-header.bde-header-builder--sticky-styles {
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid rgba(35, 31, 29, 0.08);
}

/*
 * Le pagine ancora in Elementor caricano il kit globale (.elementor-kit-N a, h2…):
 * header e footer ADR non devono ereditarne font, maiuscole e colori.
 */
body .aadr-header a,
body .aadr-header button,
body .aadr-footer a {
	font-family: var(--aadr-font-sans);
	text-transform: none;
	letter-spacing: normal;
}

body .aadr-footer .aadr-footer-title {
	font-family: var(--aadr-font-sans);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--aadr-bronzo-chiaro);
}

body .aadr-footer a.aadr-footer-phone {
	font-family: var(--aadr-font-serif);
}

/* Effetti della home: solo transform e opacity, nessun layout shift. */
@keyframes aadr-shine {
	0% { transform: translateX(-140%) skewX(-18deg); }
	45%,
	100% { transform: translateX(420%) skewX(-18deg); }
}

@keyframes aadr-drift-a {
	to { transform: translate3d(-70px, 50px, 0) scale(1.08); }
}

@keyframes aadr-drift-b {
	to { transform: translate3d(60px, -50px, 0) scale(1.12); }
}

@keyframes aadr-spin {
	to { transform: rotate(360deg); }
}

@keyframes aadr-breathe {
	50% { transform: scale(1.35); opacity: .65; }
}

@keyframes aadr-float {
	from { transform: translate3d(0, 0, 40px); }
	to { transform: translate3d(0, -12px, 40px); }
}

@keyframes aadr-float-y {
	to { transform: translateY(-14px); }
}

/* Anello e orbita centrati sulla foto: la traslazione resta nella rotazione. */
@keyframes aadr-spin-c {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes aadr-ring {
	0%, 100% { transform: rotate(0deg); }
	20% { transform: rotate(-16deg); }
	40% { transform: rotate(14deg); }
	60% { transform: rotate(-10deg); }
	80% { transform: rotate(6deg); }
}

@keyframes aadr-wave {
	to { transform: translateX(-50%); }
}

/* Chi sono: la foto "cade" sul fascicolo una volta sola al caricamento. */
@keyframes aadr-drop {
	from { transform: translateY(-28px) rotate(-9deg); }
	to { transform: rotate(-3deg); }
}

/* "Come lavoro": un anello di luce passa da uno step al successivo. */
@keyframes aadr-step-pulse {
	0% { transform: scale(.85); opacity: 0; }
	8% { opacity: .9; }
	30%,
	100% { transform: scale(1.5); opacity: 0; }
}

/* Cometa di luce che corre sulla linea tra uno step e il successivo (cqw = larghezza dello step). */
@keyframes aadr-comet {
	0% { transform: translateX(0); opacity: 0; }
	6%,
	44% { opacity: 1; }
	50%,
	100% { transform: translateX(calc(100cqw - 18px)); opacity: 0; }
}

/* Strumenti: linea di scansione, spia "sistema attivo". */
@keyframes aadr-scan {
	from { transform: translateY(-100%); }
	to { transform: translateY(560%); }
}

@keyframes aadr-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}

/* Lucine dei calcolatori: respiro lento, sfalsato da una card all'altra. */
@keyframes aadr-led {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

/* "Dove ricevo": mappa che scorre piano, percorso tratteggiato in movimento, pin che saltella. */
@keyframes aadr-map-pan {
	from { transform: rotate(-16deg) translate3d(0, 0, 0); }
	to { transform: rotate(-16deg) translate3d(-60px, 30px, 0); }
}

@keyframes aadr-map-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.12); }
}

@keyframes aadr-route {
	to { transform: translateX(-22px); }
}

@keyframes aadr-pin-hop {
	0%, 100% { transform: rotate(-45deg) translate(0, 0); }
	50% { transform: rotate(-45deg) translate(4px, -4px); }
}

/* Domande frequenti: la risposta scorre dentro all'apertura. */
@keyframes aadr-faq-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

/* Effetto ologramma sulle foto: un velo iridescente che passa e "respira". */
@keyframes aadr-holo {
	0% { transform: translateX(-130%) skewX(-16deg); }
	45%,
	100% { transform: translateX(260%) skewX(-16deg); }
}

@keyframes aadr-holo-film {
	from { opacity: .25; }
	to { opacity: .7; }
}

/* Motto "Esperienza che risolve, competenza che tutela": luccichio dorato e stella. */
@keyframes aadr-shimmer {
	0%, 100% { background-position: 100% 0; }
	50% { background-position: 0 0; }
}

@keyframes aadr-twinkle {
	0%, 100% { opacity: .35; transform: scale(.8) rotate(0deg); }
	50% { opacity: 1; transform: scale(1.15) rotate(45deg); }
}

/* Bottone che "batte" piano nelle fasce di invito all'azione. */
@keyframes aadr-heartbeat {
	0%, 60%, 100% { transform: scale(1); }
	20% { transform: scale(1.05); }
	35% { transform: scale(.99); }
}

/* Parallax dello sfondo legato allo scroll, solo dove il browser lo supporta. */
@keyframes aadr-parallax {
	from { transform: translateY(-7%); }
	to { transform: translateY(7%); }
}

@supports (animation-timeline: view()) {
	.aadr-approach-bg,
	.aadr-blur-bg {
		animation: aadr-parallax linear both;
		animation-timeline: view();
	}
}

/* Riduci movimento: niente transizioni, niente entrate animate, niente parallax. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	[data-entrance],
	[data-entrance-animation] {
		opacity: 1 !important;
		transform: none !important;
		visibility: visible !important;
	}
}
