/* ==========================================================================
   MAESTRA RAFFABELLA - STILI PRINCIPALI
   Design System, Tipografia, Layout, Componenti e Animazioni
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TIPOGRAFIA & FONT FACE
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Shadow Beamer';
  src: url('../fonts/Shadow Beamer.ttf') format('truetype'),
       url('../fonts/ShadowBeamer.ttf') format('truetype'),
       url('fonts/Shadow Beamer.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chewy';
  src: url('../fonts/Chewy-Regular.ttf') format('truetype'),
       url('fonts/Chewy-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. VARIABILI E DESIGN SYSTEM (PALETTE & TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Palette Brand */
  --brand-bordeaux: #8E1643;
  --brand-bordeaux-dark: #6b0f31;
  --brand-bordeaux-light: #ab1f54;
  --brand-fuchsia: #F0488F;
  --brand-fuchsia-dark: #d82b75;
  --brand-pink-light: #E4A1C9;
  --brand-pink-soft: #FDF4F8;
  --brand-pink-subtle: #F7E5EE;
  --brand-mauve: #A56286;
  --brand-mauve-dark: #824767;
  --brand-accent-teal: #00BFB2;
  --brand-accent-gold: #FFA800;

  /* Colori Neutri */
  --bg-body: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-main: #1C1917;
  --text-muted: #57534E;
  --text-light: #78716C;
  --border-pink: #F3D3E2;
  --border-subtle: #F0E6EC;
  --white: #FFFFFF;
  --black: #000000;

  /* Tipografia */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-brand: 'Shadow Beamer', cursive, sans-serif;
  --font-chewy: 'Chewy', 'Shadow Beamer', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Ombreggiature (Shadows) */
  --shadow-sm: 0 2px 8px rgba(142, 22, 67, 0.05);
  --shadow-md: 0 8px 24px rgba(142, 22, 67, 0.08);
  --shadow-lg: 0 16px 36px rgba(142, 22, 67, 0.12);
  --shadow-xl: 0 24px 50px rgba(142, 22, 67, 0.16);

  /* Raggi di curvatura (Border Radius) */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transizioni */
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--brand-pink-soft);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-pink-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-fuchsia);
}

/* Tipografia Principale */
h1, h2, h3, h4, h5, .serif-font {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
}

.brand-font {
  font-family: var(--font-brand);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Badge e Selettori di Sezione */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--brand-fuchsia);
  background: rgba(240, 72, 143, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 3.5rem;
  color: var(--brand-bordeaux);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Pulsanti */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--brand-bordeaux);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--brand-fuchsia);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--brand-fuchsia);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--brand-bordeaux);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-bordeaux);
  border: 2px solid var(--brand-bordeaux);
}

.btn-outline:hover {
  background-color: var(--brand-bordeaux);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--brand-bordeaux);
}

.btn-white:hover {
  background-color: var(--brand-pink-soft);
  color: var(--brand-fuchsia);
}

/* --------------------------------------------------------------------------
   4. HEADER & LIQUID NAVIGATION (DESKTOP)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 0 14px;
  border-bottom: 1px solid rgba(243, 211, 226, 0.7);
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  padding: 16px 0 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(142, 22, 67, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-container {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  color: var(--brand-bordeaux);
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-container:hover {
  color: var(--brand-fuchsia);
}

/* Liquid Navigation Desktop */
.liquid-nav {
  position: relative;
  width: 660px;
  height: 68px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.liquid-nav ul {
  display: flex;
  width: 100%;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.liquid-nav ul li {
  position: relative;
  list-style: none;
  flex: 1;
  height: 100%;
  z-index: 2;
}

.liquid-nav ul li a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}

/* Icona a riposo */
.liquid-nav ul li a .icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  font-size: 1.35rem;
  transition: transform 0.4s var(--transition-bounce), color 0.3s ease;
  color: var(--brand-bordeaux);
  transform: translateY(4px);
}

/* Etichetta testuale fluttuante */
.liquid-nav ul li a .text {
  position: absolute;
  top: -2px;
  color: var(--brand-bordeaux);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(0);
  transition: transform 0.35s var(--transition-bounce), opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

/* Stato Attivo & Hover: Icona centrata sulla corolla floreale */
.liquid-nav ul li.active a .icon,
.liquid-nav ul li.hovered a .icon {
  transform: translateY(-2px);
  color: var(--white);
  font-size: 1.4rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.liquid-nav ul li.active a .text,
.liquid-nav ul li.hovered a .text {
  opacity: 1;
  transform: translateY(-16px);
}

/* Indicatore Fluttuante con Fiore Floreale */
.liquid-indicator {
  position: absolute;
  top: 2px;
  width: 64px;
  height: 64px;
  background-image: url('../image/fiore.svg'), url('image/fiore.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 6px 12px rgba(142, 22, 67, 0.22));
  transition: left 0.45s var(--transition-bounce), transform 0.45s var(--transition-bounce);
  z-index: 1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. MOBILE HEADER & DRAWER MENU
   -------------------------------------------------------------------------- */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--brand-bordeaux);
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: var(--brand-pink-soft);
  color: var(--brand-fuchsia);
}

/* Backdrop Overlay */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35, 18, 25, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer Container */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 380px;
  background: var(--white);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-pink);
  margin-bottom: 24px;
}

.mobile-drawer-close {
  background: var(--brand-pink-soft);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--brand-bordeaux);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: var(--brand-fuchsia);
  color: var(--white);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.mobile-nav-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-bordeaux);
  background: var(--brand-pink-soft);
  transition: var(--transition-fast);
}

.mobile-nav-item a .mob-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-fuchsia);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.mobile-nav-item a:hover,
.mobile-nav-item.active a {
  background: var(--brand-bordeaux);
  color: var(--white);
  transform: translateX(6px);
}

.mobile-nav-item a:hover .mob-icon-wrap,
.mobile-nav-item.active a .mob-icon-wrap {
  background: var(--brand-fuchsia);
  color: var(--white);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-pink);
  text-align: center;
}

.mobile-drawer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.mob-soc-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-pink-soft);
  color: var(--brand-bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.mob-soc-btn:hover {
  background: var(--brand-fuchsia);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 170px;
  padding-bottom: 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero .container {
  max-width: 1380px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: flex-end;
}

.hero-content {
  padding-bottom: 60px;
  max-width: 600px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 5.6rem;
  letter-spacing: -0.5px;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.02;
}

.hero-intro-lead {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.45;
  margin-bottom: 24px;
}

.hero-desc-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-desc-block strong {
  font-weight: 700;
  color: var(--black);
}

.hero-cta-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-portrait-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-bottom: 0;
}

.fiori-retro-img {
  position: absolute;
  bottom: 0px;
  right: -30px;
  width: 135%;
  min-width: 580px;
  max-width: 740px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: slideInFiori 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.viso-raffa-img {
  position: relative;
  z-index: 2;
  width: 115%;
  min-width: 520px;
  max-width: 620px;
  height: auto;
  display: block;
  margin-bottom: -4px;
  opacity: 0;
  animation: slideInRaffa 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.45s;
}

@keyframes slideInFiori {
  0% { opacity: 0; transform: translateX(-60px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes slideInRaffa {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* --------------------------------------------------------------------------
   7. FASCE COLORATE A TUTTO SCHERMO
   -------------------------------------------------------------------------- */
.brand-fullwidth-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 3;
}

.full-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 3.4rem;
  letter-spacing: 0.2px;
  padding: 34px 20px;
  text-decoration: none;
  transition: padding 0.3s ease, filter 0.3s ease;
  position: relative;
}

.bar-risorse    { background-color: #8E1643; }
.bar-corsi      { background-color: #F0488F; }
.bar-giochi     { background-color: #E4A1C9; }
.bar-collab     { background-color: #A56286; }
.bar-bellagenda { background-color: #8E1643; }

.full-bar:hover {
  filter: brightness(1.08);
  padding-top: 40px;
  padding-bottom: 40px;
  z-index: 4;
}

.full-bar i {
  display: none;
}

.full-bar:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   8. SEZIONE COMUNE
   -------------------------------------------------------------------------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-pink {
  background-color: var(--brand-pink-soft);
  border-top: 1px solid var(--border-pink);
  border-bottom: 1px solid var(--border-pink);
}

.section-white {
  background-color: var(--white);
}

/* --------------------------------------------------------------------------
   9. SEZIONE FORMAZIONE & CHI SONO
   -------------------------------------------------------------------------- */
.formation-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.formation-card {
  background: var(--white);
  padding: 38px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.formation-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-pink-light);
}

.formation-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand-pink-soft);
  color: var(--brand-bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.formation-card h3 {
  font-size: 1.6rem;
  color: var(--brand-bordeaux);
  margin-bottom: 12px;
}

.formation-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.quote-banner,
.fullwidth-quote-banner {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-bordeaux) 0%, var(--brand-fuchsia) 100%);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
  margin-top: 55px;
  box-shadow: 0 4px 20px rgba(142, 22, 67, 0.12);
}

.quote-banner p,
.fullwidth-quote-banner p {
  font-family: var(--font-serif) !important;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.8rem, 2.7vw, 2.4rem);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  color: var(--white);
}

.quote-banner span,
.fullwidth-quote-banner span {
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   10. SEZIONE METODO: IMPAGINAZIONE FEDELE & ANIMATA
   -------------------------------------------------------------------------- */
.method-section-exact {
  background-color: #ffffff !important;
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Bagliore d'atmosfera & Fiori d'accento fluttuanti */
.method-bg-glow {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 72, 143, 0.06) 0%, rgba(0, 191, 178, 0.04) 40%, rgba(255, 168, 0, 0.02) 65%, transparent 80%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.method-floating-accent {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.method-floating-accent.accent-top-right {
  top: 12%;
  right: 3%;
  width: 48px;
  height: 48px;
  background-image: url('../image/fiore_v.png');
  opacity: 0.35;
  animation: floatPetal1 8s ease-in-out infinite;
}

.method-floating-accent.accent-bottom-left {
  bottom: 15%;
  left: 3%;
  width: 42px;
  height: 42px;
  background-image: url('../image/fiore_g.png');
  opacity: 0.3;
  animation: floatPetal2 9.5s ease-in-out infinite;
}

.method-grid-exact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.method-text-exact {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.method-serif-heading {
  font-family: var(--font-serif) !important;
  text-transform: none !important;
  font-size: clamp(2.8rem, 4.4vw, 4.4rem);
  font-weight: 700;
  color: #000000 !important;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 26px;
}

.method-serif-heading .heading-line-1,
.method-serif-heading .heading-line-2 {
  display: inline-block;
  white-space: nowrap;
}

.method-lead-p {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: #111111;
  line-height: 1.58;
  margin-bottom: 22px;
  letter-spacing: 0.1px;
}

.method-lead-p strong {
  font-weight: 800;
  color: #000000;
  display: inline;
}

.method-body-p {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: #111111;
  line-height: 1.58;
  letter-spacing: 0.1px;
}

.method-body-p strong {
  font-weight: 800;
  color: #000000;
  display: inline;
}

/* Palcoscenico Immagine raffi.png a Destra con 3D Tilt & Floating */
.method-portrait-stage-exact {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  z-index: 2;
}

.method-tilt-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: methodPortraitFloat 6s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), filter 0.35s ease;
  will-change: transform;
}

.method-raffi-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.07));
  transition: filter 0.4s ease;
}

.method-portrait-stage-exact:hover .method-raffi-img {
  filter: drop-shadow(0 20px 38px rgba(240, 72, 143, 0.16)) drop-shadow(0 8px 16px rgba(0, 191, 178, 0.1));
}

/* Keyframe Animazioni */
@keyframes methodPortraitFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

@keyframes floatPetal1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(14px, -18px) rotate(15deg) scale(1.1);
  }
}

@keyframes floatPetal2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-12px, 16px) rotate(-12deg) scale(1.08);
  }
}

/* Banner Slogan Didattica Consapevole */
.method-slogan-bar,
.fullwidth-slogan-bar {
  width: 100%;
  background: linear-gradient(135deg, #8E1643 0%, #A56286 100%);
  color: #FFFFFF;
  padding: 32px 0;
  box-shadow: 0 4px 20px rgba(142, 22, 67, 0.12);
  text-align: center;
  margin: 60px 0 50px;
}

.method-slogan-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.method-slogan-inner span {
  font-family: var(--font-chewy) !important;
  font-size: clamp(1.8rem, 2.7vw, 2.4rem);
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.method-slogan-inner small {
  font-size: 1rem;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FFFFFF;
}

/* Griglia I Tre Pilastri */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: var(--white);
  padding: 38px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-pink-light);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.p-1 .pillar-icon { background: rgba(142, 22, 67, 0.12); color: var(--brand-bordeaux); }
.p-2 .pillar-icon { background: rgba(240, 72, 143, 0.12); color: var(--brand-fuchsia); }
.p-3 .pillar-icon { background: rgba(165, 98, 134, 0.15); color: var(--brand-mauve); }

.pillar-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--brand-bordeaux);
  letter-spacing: 0.5px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   11. SEZIONE RISORSE DIDATTICHE
   -------------------------------------------------------------------------- */
.resources-intro,
.fullwidth-resources-intro {
  width: 100%;
  background: var(--brand-pink-soft);
  border-top: 1px solid var(--border-pink);
  border-bottom: 1px solid var(--border-pink);
  padding: 48px 0;
  margin: 35px 0 50px;
}

.resources-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

.resources-intro-text {
  max-width: 720px;
}

.resources-intro-text h3 {
  font-family: var(--font-chewy) !important;
  font-size: 2.3rem;
  color: var(--brand-bordeaux);
  margin-bottom: 10px;
}

.resources-intro-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.resources-intro-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.resource-card {
  background: var(--white);
  padding: 26px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-fuchsia);
  background: var(--brand-pink-soft);
}

.resource-card-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.resource-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(142, 22, 67, 0.08);
  color: var(--brand-bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.resource-card:hover .resource-icon-wrap {
  background: var(--brand-fuchsia);
  color: var(--white);
}

.resource-card h4 {
  font-size: 1.35rem;
  color: var(--brand-bordeaux);
  margin-bottom: 2px;
}

.resource-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.resource-card i.fa-arrow-up-right-from-square {
  color: var(--brand-mauve);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.resource-card:hover i.fa-arrow-up-right-from-square {
  color: var(--brand-fuchsia);
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   12. SEZIONE GIOCHI DIDATTICI (OTTIMIZZATI LIM)
   -------------------------------------------------------------------------- */
.games-quote-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  padding: 24px;
  background: var(--brand-pink-soft);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--brand-pink-light);
}

.games-quote-wrap p {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  color: var(--brand-bordeaux);
  line-height: 1.4;
  margin-bottom: 8px;
}

.games-quote-wrap small {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-fuchsia);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-pink);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-pink-light);
}

.game-card-header {
  background: linear-gradient(135deg, var(--brand-pink-soft) 0%, var(--brand-pink-subtle) 100%);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-pink);
}

.game-lim-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--brand-bordeaux);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.game-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-card-body h3 {
  font-size: 1.8rem;
  color: var(--brand-bordeaux);
  margin-bottom: 14px;
}

.game-meta-list {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-meta-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-meta-list li strong {
  color: var(--text-main);
  min-width: 80px;
}

.game-card-footer {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   13. SEZIONE I MIEI CORSI & DIDACTA
   -------------------------------------------------------------------------- */
.courses-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.didacta-stage,
.fullwidth-didacta-stage {
  width: 100%;
  background: var(--brand-pink-soft);
  border-top: 1px solid var(--border-pink);
  border-bottom: 1px solid var(--border-pink);
  padding: 55px 0;
  margin: 40px 0 0;
}

.didacta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
}

.didacta-header h3 {
  font-size: 2.6rem;
  color: var(--brand-bordeaux);
  margin-bottom: 6px;
}

.didacta-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

.didacta-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.didacta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.didacta-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-fuchsia);
}

.didacta-date-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--brand-fuchsia);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
  align-self: flex-start;
}

.didacta-card h4 {
  font-size: 1.45rem;
  color: var(--brand-bordeaux);
  margin-bottom: 10px;
  line-height: 1.25;
}

.didacta-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.didacta-card a {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-bordeaux);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.didacta-card a:hover {
  color: var(--brand-fuchsia);
  gap: 10px;
}

.online-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.online-course-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-sm);
  padding: 38px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.online-course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-pink-light);
}

.online-course-card .partner-tag {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-fuchsia);
  margin-bottom: 8px;
}

.online-course-card h3 {
  font-size: 2.2rem;
  color: var(--brand-bordeaux);
  margin-bottom: 16px;
  line-height: 1.2;
}

.online-course-card ul {
  list-style: none;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.online-course-card ul li {
  font-size: 0.96rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.online-course-card ul li i {
  color: var(--brand-fuchsia);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   14. SEZIONE COLLABORAZIONI & COMMUNITY
   -------------------------------------------------------------------------- */
.collab-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.collab-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.collab-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-pink-light);
}

.collab-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-pink-soft);
  color: var(--brand-bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.collab-card h3 {
  font-size: 1.55rem;
  color: var(--brand-bordeaux);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.collab-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collab-card ul li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}

.collab-card ul li::before {
  content: "•";
  color: var(--brand-fuchsia);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.community-box {
  background: linear-gradient(135deg, #FDF4F8 0%, #F5DFEB 100%);
  border: 2px dashed #D697B8;
  border-radius: var(--radius-xl);
  padding: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.community-info {
  max-width: 650px;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-bordeaux);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.community-info h3 {
  font-size: 2.4rem;
  color: var(--brand-bordeaux);
  margin-bottom: 12px;
}

.community-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   15. SEZIONE LA BELLAGENDA
   -------------------------------------------------------------------------- */
.bellagenda-stage {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-md);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.bellagenda-content h3 {
  font-size: 3rem;
  color: var(--brand-bordeaux);
  margin-bottom: 16px;
}

.bellagenda-status-box {
  background: var(--brand-pink-soft);
  border-left: 4px solid var(--brand-fuchsia);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
}

.bellagenda-status-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bellagenda-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 30px;
}

.bellagenda-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bellagenda-features li i {
  color: var(--brand-fuchsia);
  font-size: 0.85rem;
}

.bellagenda-cta {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.badge-unavailable {
  background: #E5E7EB;
  color: #6B7280;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.bellagenda-visual {
  background: linear-gradient(135deg, var(--brand-pink-soft) 0%, var(--brand-pink-subtle) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--brand-pink-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bellagenda-visual i {
  font-size: 4rem;
  color: var(--brand-bordeaux);
  margin-bottom: 16px;
}

.bellagenda-visual strong {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  color: var(--brand-bordeaux);
  display: block;
}

/* --------------------------------------------------------------------------
   16. FOOTER UFFICIALE
   -------------------------------------------------------------------------- */
.official-footer {
  background-color: var(--brand-bordeaux);
  color: var(--white);
  padding: 100px 0 50px;
  position: relative;
}

.footer-quote-wrap {
  max-width: 920px;
  margin: 0 auto 40px;
  text-align: center;
}

.footer-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 25px;
  letter-spacing: 0.2px;
}

.trefiori-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 55px;
}

.trefiori-wrap img {
  max-width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.footer-bottom-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-contact-row a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact-row a:hover {
  color: var(--brand-pink-light);
}

.footer-icon-circle {
  width: 40px;
  height: 40px;
  background-color: var(--white);
  color: var(--brand-bordeaux);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.footer-social-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon-btn {
  color: var(--white);
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-icon-btn:hover {
  transform: translateY(-4px);
  opacity: 0.85;
}

.tiktok-badge-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.tiktok-badge-btn:hover {
  transform: translateY(-4px);
}

.tiktok-badge-btn i {
  font-size: 2.2rem;
  line-height: 1;
}

.tiktok-badge-btn span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 2px;
}

.footer-legal-bar {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  cursor: pointer;
  text-decoration: underline;
  color: var(--white);
}

.footer-legal-links a:hover {
  color: var(--brand-pink-light);
}

/* --------------------------------------------------------------------------
   17. GDPR, COOKIE BANNER & MODALI
   -------------------------------------------------------------------------- */
.cookie-floating-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  background: #2D3748;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 998;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.cookie-floating-btn:hover {
  transform: scale(1.1);
  background: var(--brand-fuchsia);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 620px;
  background: var(--white);
  color: var(--text-main);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-pink);
  z-index: 999;
  display: none;
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-bordeaux);
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-btn-primary { background: var(--brand-bordeaux); color: #fff; }
.cookie-btn-primary:hover { background: var(--brand-fuchsia); }
.cookie-btn-outline { background: transparent; border: 1px solid var(--border-pink); color: var(--text-main); }
.cookie-btn-outline:hover { background: var(--brand-pink-soft); }

/* Modali */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 18, 25, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-window {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--brand-pink-soft);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--brand-bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--brand-fuchsia);
  color: var(--white);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: var(--brand-pink-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #d1b5c4;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--brand-fuchsia); }
input:disabled + .slider { background-color: #a88b9c; cursor: not-allowed; }
input:checked + .slider:before { transform: translateX(22px); }

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .liquid-nav { display: none; }
  .mobile-nav-toggle { display: flex; }
  .hero-content h1 { font-size: 4.8rem; }
  .method-grid-exact { grid-template-columns: 1fr; gap: 40px; }
  .method-portrait-stage-exact { order: 2; min-height: 380px; }
  .online-courses-grid { grid-template-columns: 1fr; }
  .bellagenda-stage { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-header h2 { font-size: 2.8rem; }
  .method-serif-heading { font-size: 3.2rem; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-content { padding-bottom: 20px; }
  .hero-content h1 { font-size: 3.8rem; }
  .hero-portrait-stage { min-height: 380px; }
  .full-bar { font-size: 1.55rem; padding: 16px 15px; }
  .formation-timeline { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .resources-intro { flex-direction: column; align-items: flex-start; }
  .didacta-stage { padding: 30px 20px; }
  .footer-quote-text { font-size: 1.5rem; }
  .footer-bottom-grid { flex-direction: column; align-items: flex-start; }
  .bellagenda-features { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   19. FONT CHEWY (Chewy-Regular.ttf) APPLICATO ALLE SEZIONI RICHIESTE:
   - CHI SONO (#formazione)
   - METODO (#metodo)
   - RISORSE (#risorse)
   - GIOCHI (#giochi)
   - CORSI (#corsi)
   - COLLABORAZIONI (#collaborazioni)
   -------------------------------------------------------------------------- */
#formazione h2,
#formazione h3,
#formazione .section-badge,
#formazione .quote-banner p,

#metodo h2,
#metodo h3,
#metodo .method-serif-heading,
#metodo .method-slogan-inner span,
#metodo .pillar-card h3,

#risorse h2,
#risorse h3,
#risorse h4,
#risorse .section-badge,
#risorse .resource-card h4,

#giochi h2,
#giochi h3,
#giochi h4,
#giochi .section-badge,
#giochi .game-card h3,
#giochi .games-quote-wrap p,

#corsi h2,
#corsi h3,
#corsi h4,
#corsi .section-badge,
#corsi .didacta-stage h3,
#corsi .didacta-card h4,
#corsi .online-course-card h3,

#collaborazioni h2,
#collaborazioni h3,
#collaborazioni h4,
#collaborazioni .section-badge,
#collaborazioni .collab-card h3,
#collaborazioni .community-info h3 {
  font-family: var(--font-chewy) !important;
  letter-spacing: 0.5px;
}
