/* ─── DOERS — style.css ─────────────────────────────────────────── */


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  0. WEB FONTS — Neue Haas Grotesk Display Pro                   ║
   ║  Bold (75) → font-weight: 700  ·  Black (95) → font-weight: 900 ║
   ╚══════════════════════════════════════════════════════════════════╝ */

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url('fonts/NeueHaasGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url('fonts/NeueHaasGrotesk-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  1. DESIGN TOKENS                                               ║
   ╚══════════════════════════════════════════════════════════════════╝ */

:root {

  /* ── Color ─────────────────────────────────────────────────────── */
  --bg:      #0B0B0C;
  --surface: #141416;
  --ink:     #F4F4F2;
  --ink-dim: #A1A1A6;
  --lime:    #C6FF3A;
  --rosa:    #FF5FA2;
  --blu:     #3D5AFE;
  --line:    rgba(255, 255, 255, .08);

  /* ── Typography scale ───────────────────────────────────────────── */
  --f-display: 'Neue Haas Grotesk Display Pro', 'Space Grotesk', sans-serif;
  --f-body:    'Inter', sans-serif;

  /* Hero: 40–56 px mobile → 64–96 px desktop */
  --t-hero:    clamp(2.5rem, 7.5vw, 6rem);
  --t-h2:      clamp(1.75rem, 4vw, 3rem);
  --t-h3:      clamp(1.125rem, 2vw, 1.5rem);
  --t-body:    1rem;
  --t-small:   0.875rem;
  --t-eyebrow: 0.6875rem;

  /* ── Spacing (4 / 8 base) ───────────────────────────────────────── */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-7:  28px;
  --sp-8:  32px;
  --sp-9:  36px;
  --sp-14: 56px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* ── Radius ────────────────────────────────────────────────────── */
  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   20px;
  --r-pill: 999px;

  /* ── Shadows ───────────────────────────────────────────────────── */
  --shadow-sm:   0 2px  8px rgba(0, 0, 0, .45);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, .55);
  --shadow-lg:   0 24px 64px rgba(0, 0, 0, .65);
  --shadow-lime: 0 0   40px rgba(198, 255, 58, .18);

  /* ── Motion ────────────────────────────────────────────────────── */
  --ease:          cubic-bezier(.16, 1, .3, 1);
  --duration:      600ms;
  --duration-fast: 180ms;
  --duration-slow: 900ms;
  --delay:         0ms;   /* stagger per-element override */

  /* ── Announcement bar height (0px when dismissed) ─────────────────── */
  --announce-h: 42px;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  2. RESET & BASE                                                ║
   ╚══════════════════════════════════════════════════════════════════╝ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  3. TYPOGRAPHY                                                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-h2);   }
h3 { font-size: var(--t-h3);   }

/* max-width solo su p di testo standalone; card, footer e grid la sovrascrivono */
p { max-width: 60ch; }
.footer p,
.card p,
.manifesto-card p,
.testimonial-card p,
.cq-card p,
.perchi-card p,
.announce-bar p,
.faq-answer { max-width: none; }

/* utility color helpers */
.text-lime { color: var(--lime);    }
.text-rosa { color: var(--rosa);    }
.text-blu  { color: var(--blu);     }
.text-dim  { color: var(--ink-dim); }

/* screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  4. LAYOUT                                                      ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-12); }
}

.section {
  padding-block: var(--sp-20);
}

@media (min-width: 768px) {
  .section { padding-block: var(--sp-32); }
}

/* ── Grids ─────────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid-3 {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

/* ── Divider ───────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--line);
  border: none;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  5. COMPONENTS                                                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Eyebrow ───────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.eyebrow--lime { color: var(--lime); }
.eyebrow--rosa { color: var(--rosa); }
.eyebrow--blu  { color: var(--blu);  }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    transform   var(--duration-fast) var(--ease),
    box-shadow  var(--duration-fast) var(--ease),
    background  var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.btn-lime {
  background: var(--lime);
  color: #0B0B0C;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* shimmer sweep */
.btn-lime::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left var(--duration) var(--ease);
  pointer-events: none;
}

.btn-lime:hover::before { left: 160%; }
.btn-lime:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 0 0 4px rgba(198,255,58,.2), var(--shadow-lime);
}
.btn-lime:active { transform: scale(.99); box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .22);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* ── Card ──────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition:
    border-color var(--duration-fast) var(--ease),
    transform    var(--duration-fast) var(--ease),
    box-shadow   var(--duration-fast) var(--ease);
}

.card:hover {
  border-color: rgba(255, 255, 255, .16);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  6. ANIMATIONS                                                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity   var(--duration) var(--ease),
    transform var(--duration) var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced motion: tutto fermo ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card {
    transition: none;
    transform: none;
  }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  7. NAV                                                         ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.nav {
  position: fixed;
  top: var(--announce-h); left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    transform      var(--duration-fast) var(--ease),
    background     var(--duration-fast) var(--ease),
    border-color   var(--duration-fast) var(--ease),
    top            var(--duration-fast) var(--ease);
}

.nav.scrolled {
  background: rgba(11, 11, 12, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}

/* ── Mobile: nav sempre nera, announce bar nascosta ─────────────── */
@media (max-width: 899px) {
  .announce-bar { display: none !important; }
  .nav, .nav.scrolled {
    background: #0B0B0C !important;
    top: 0 !important;
    border-bottom-color: rgba(255,255,255,.07) !important;
    /* Rimuovi backdrop-filter: crea containing block per .mobile-menu fixed */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* nav-inner sopra il mobile-menu (stesso stacking context del nav) */
  .nav-inner { position: relative; z-index: 100; }
}


.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .nav-inner { padding-inline: var(--sp-12); }
}

.wordmark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  flex-shrink: 0;
}

/* ── Header minimale (agency/academy) — label centrata + link ────── */
.page-nav-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: .45;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
@media (max-width: 640px) { .page-nav-label { display: none; } }

.page-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}

@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-size: var(--t-small);
  color: var(--ink-dim);
  line-height: 1;
  transition: color var(--duration-fast) var(--ease);
}
.nav-links a:hover { color: var(--ink); }

/* ── Dropdown "Soluzioni" ─────────────────────────────────────── */
.nav-dropdown { position: relative; display: flex; align-items: center; }

.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 5px;
  font-size: var(--t-small); color: var(--ink-dim);
  cursor: pointer; background: none; border: none; padding: 0;
  line-height: 1;
  transition: color var(--duration-fast) var(--ease);
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown[data-open] .nav-dropdown-trigger { color: var(--ink); }

.nav-dropdown-chevron {
  width: 10px; height: 10px; flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease);
}
.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown[data-open] .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(18,18,20,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  min-width: 190px;
  opacity: 0; pointer-events: none;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown[data-open] .nav-dropdown-menu {
  display: block;
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 8px;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease);
}
.nav-dropdown-item:hover { background: rgba(255,255,255,.06); }
.nav-dropdown-item-label { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.nav-dropdown-item-sub   { font-size: .6875rem; color: var(--ink-dim); }

.nav-cta { margin-left: auto; }

@media (min-width: 900px) { .nav-cta { margin-left: 0; } }

/* ── Burger ────────────────────────────────────────────────────── */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: var(--sp-2);
}

.burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform var(--duration-fast) var(--ease),
    opacity   var(--duration-fast) var(--ease);
  transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 900px) { .burger { display: none; } }

/* ── Mobile menu ───────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #0B0B0C;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--sp-8) var(--sp-6);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity .35s ease, visibility .35s;
}
.mobile-menu[hidden] {
  display: flex !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  text-align: center;
}

.mobile-menu a {
  display: block;
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.025em;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}
.mobile-menu a:hover { color: var(--ink-dim); }
.mobile-menu .mobile-cta { color: var(--lime); font-weight: 600; font-size: 1.125rem; margin-top: var(--sp-3); }

@media (min-width: 900px) { .mobile-menu { display: none !important; } }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  8. HERO                                                        ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.hero {
  min-height: 90svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--announce-h) + 64px + var(--sp-16));
  padding-bottom: var(--sp-20);
  transition: padding-top var(--duration-fast) var(--ease);
}

@media (min-width: 768px) {
  .hero { padding-top: calc(var(--announce-h) + 64px + var(--sp-20)); padding-bottom: var(--sp-24); }
}

.hero-title {
  font-size: var(--t-hero);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-top: var(--sp-5);
}

.hero-sub {
  margin-top: var(--sp-6);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--ink-dim);
  max-width: 50ch;
  line-height: 1.65;
}

/* ── Counter chips ─────────────────────────────────────────────── */
.hero-counters {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--line);
}

.counter-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.counter-num {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  9. SECTION DARK SURFACE                                        ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.section-surface { background: var(--surface); }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  10. TESI                                                       ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.tesi-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 900px) {
  .tesi-layout { grid-template-columns: 1fr 1fr; }
}

.tesi-headline {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tesi-body {
  margin-top: var(--sp-6);
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
}

.tesi-ghost-num {
  font-family: var(--f-display);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  user-select: none;
  text-align: right;
}

@media (max-width: 899px) { .tesi-ghost-num { display: none; } }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  11. EVENTO — TIMELINE                                          ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.evento-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 900px) {
  .evento-layout { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}

.evento-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink);
  width: fit-content;
}

.meta-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

.timeline {
  list-style: none;
  position: relative;
  padding-left: var(--sp-6);
  margin-top: var(--sp-4);
}

/* animated connecting line — draws scaleY(0→1) on scroll */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.4s var(--ease) 200ms;
}

.timeline.line-drawn::before {
  transform: scaleY(1);
}

.tl-item {
  position: relative;
  padding-bottom: var(--sp-6);
}

.tl-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-6) - 4px);
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background var(--duration-fast) var(--ease),
              box-shadow  var(--duration-fast) var(--ease);
}

.tl-item.tl-highlight::before {
  background: var(--lime);
  box-shadow: 0 0 10px rgba(198, 255, 58, .4);
}

.tl-time {
  font-family: var(--f-display);
  font-size: var(--t-small);
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.04em;
}

.tl-label {
  font-weight: 600;
  color: var(--ink);
  margin-top: 2px;
  font-size: var(--t-small);
}

.tl-desc {
  font-size: var(--t-eyebrow);
  color: var(--ink-dim);
  margin-top: 2px;
  letter-spacing: 0.04em;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  12. PER CHI È — due colonne                                    ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.perchi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

@media (min-width: 768px) {
  .perchi-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.perchi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transform-style: preserve-3d;
  transition:
    transform    var(--duration-fast) var(--ease),
    box-shadow   var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
}

.perchi-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255,255,255,.12);
}

.perchi-title {
  font-size: var(--t-small);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}

.perchi-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.perchi-list li {
  font-size: var(--t-small);
  color: var(--ink-dim);
  padding-left: var(--sp-4);
  position: relative;
}

.perchi-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-size: 0.75rem;
}

.perchi-card.card-no::before { color: var(--rosa); }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  13. IN PUBBLICO — stats + content cards                        ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-10);
}

.stat-cell {
  background: var(--surface);
  padding: var(--sp-8);
}

.stat-num {
  font-family: var(--f-display);
  font-size: var(--t-h2);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: var(--t-small);
  color: var(--ink-dim);
  margin-top: var(--sp-2);
}

/* content cards */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    border-color var(--duration-fast) var(--ease),
    transform    var(--duration-fast) var(--ease);
}
.content-card:hover {
  border-color: rgba(255,255,255,.18);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cc-thumb {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
}

.cc-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #1c1c1e 0%, #0d0d0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  font-size: var(--t-small);
  opacity: 0.35;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -0.04em;
}

.cc-badge {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.cc-platform {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cc-platform--ig  { color: var(--rosa); }
.cc-platform--tik { color: var(--lime); }

.cc-type {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.5);
  color: var(--ink-dim);
  padding: 3px 7px;
  border-radius: var(--r-sm);
}

.cc-info {
  padding: var(--sp-4) var(--sp-5);
}

.cc-title {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink);
}

.cc-stat {
  font-size: var(--t-eyebrow);
  color: var(--ink-dim);
  margin-top: var(--sp-1);
  letter-spacing: 0.05em;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  14. MANIFESTO                                                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.manifesto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}

.manifesto-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.manifesto-card-text {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  max-width: none;
}

.manifesto-card-sub {
  font-size: var(--t-small);
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: none;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  15. WAITLIST FORM                                              ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.waitlist-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}

@media (min-width: 768px) {
  .waitlist-layout { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-field label {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink-dim);
}

.form-field label .opt {
  font-weight: 400;
  opacity: 0.55;
  font-size: 0.75rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  width: 100%;
  transition: border-color var(--duration-fast) var(--ease),
              box-shadow    var(--duration-fast) var(--ease);
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 58, .07);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-dim); opacity: .4; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-note {
  font-size: var(--t-small);
  color: var(--ink-dim);
  opacity: .6;
  line-height: 1.6;
}

.form-success {
  text-align: center;
  padding: var(--sp-12) 0;
}

.success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(198, 255, 58, .12);
  color: var(--lime);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  16. FAQ ACCORDION                                              ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.faq-list {
  margin-top: var(--sp-10);
  border-top: 1px solid var(--line);
  max-width: 720px;
  margin-inline: auto;
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  font-weight: 500;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink-dim);
  transition:
    transform     var(--duration-fast) var(--ease),
    border-color  var(--duration-fast) var(--ease),
    color         var(--duration-fast) var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--lime);
  color: var(--lime);
}

/* grid trick: animates max-height without knowing the height */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration) var(--ease);
}

.faq-item.open .faq-body { grid-template-rows: 1fr; }

.faq-body-inner { overflow: hidden; }

.faq-answer {
  padding-bottom: var(--sp-6);
  color: var(--ink-dim);
  font-size: var(--t-small);
  line-height: 1.75;
  max-width: 60ch;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  17. FOOTER                                                     ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: var(--sp-12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand .wordmark { display: block; margin-bottom: var(--sp-2); }

.footer-brand p {
  font-size: var(--t-small);
  color: var(--ink-dim);
  max-width: none;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col-label {
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0.5;
  margin-bottom: var(--sp-1);
}

.footer-col a {
  font-size: var(--t-small);
  color: var(--ink-dim);
  transition: color var(--duration-fast) var(--ease);
}
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-bottom p {
  font-size: var(--t-small);
  color: var(--ink-dim);
  opacity: 0.5;
  max-width: none;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  19. SECTION QUESTION                                           ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.section-question {
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--ink-dim);
  max-width: 52ch;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  20. HERO — LAYOUT DUE COLONNE + PASS CARD                     ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr 280px;
    gap: var(--sp-16);
  }
}

.hero-content { min-width: 0; }

/* ── Hero centrata — usata su index/agency/academy ────────────────── */
.hero-centered .container { text-align: center; }
.hero-center-content {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-centered .hero-sub { margin-inline: auto; }
.hero-centered .btn-group { justify-content: center; margin-top: var(--sp-8); }
.hero-centered .hero-title { text-align: center; width: 100%; }
.section-head-center h2 { text-align: center; width: 100%; }

.hero-pass-wrap--sm {
  transform: scale(.82);
  transform-origin: center top;
  margin-top: var(--sp-10);
  justify-content: center !important;
}
.hero-pass-wrap--sm .doers-pass { width: 220px; }

/* ── Float wrapper ── */
.hero-pass-wrap {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

@media (min-width: 900px) {
  .hero-pass-wrap { justify-content: flex-end; }
}

@keyframes float {
  0%, 100% { transform: translateY(0)   rotate(-1.5deg); }
  50%       { transform: translateY(-18px) rotate(1.5deg); }
}

.hero-pass-wrap.is-visible {
  animation: float 5.5s cubic-bezier(.37, 0, .63, 1) infinite;
}

/* ── Card ── */
.doers-pass {
  width: 236px;
  padding: 22px;
  background: #18181B;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  box-shadow:
    0 40px 100px rgba(0,0,0,.75),
    0 0 60px rgba(198,255,58,.04),
    inset 0 1px 0 rgba(255,255,255,.06);
  transform-style: preserve-3d;
  transition: transform .18s var(--ease);
  will-change: transform;
  user-select: none;
  cursor: default;
}

.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.pass-wordmark {
  font-family: var(--f-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink-dim);
}

.pass-badge {
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(198, 255, 58, .12);
  color: var(--lime);
  border: 1px solid rgba(198, 255, 58, .25);
  border-radius: var(--r-pill);
  padding: 3px 8px;
}

.pass-academy-title {
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--lime);
  margin-top: 4px;
}

.pass-academy-sub {
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: .5;
  margin-top: 4px;
  margin-bottom: 2px;
}

.pass-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.pass-barcode {
  height: 20px;
  border-radius: 2px;
  margin-bottom: 18px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.1) 0px,
    rgba(255,255,255,.1) 2px,
    transparent 2px,
    transparent 5px
  );
}

.pass-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pass-meta-label {
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: .45;
}

.pass-meta-value {
  font-size: .6875rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 3px;
  line-height: 1.3;
}

.pass-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.pass-type {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: .45;
}

.pass-cta-link {
  font-family: var(--f-display);
  font-size: .6875rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -.01em;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease);
}
.pass-cta-link:hover { opacity: .7; }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  18. REDUCED MOTION — nuovi componenti                          ║
   ╚══════════════════════════════════════════════════════════════════╝ */

@media (prefers-reduced-motion: reduce) {
  .nav,
  .burger span,
  .faq-body,
  .faq-icon,
  .content-card,
  .manifesto-item,
  .tl-item::before {
    transition: none;
  }

  .hero-pass-wrap,
  .hero-pass-wrap.is-visible {
    animation: none;
  }

  .btn-lime::before { transition: none; }
  .btn-lime:hover { transform: translateY(-2px); filter: none; }

  /* timeline line: skip animation, show immediately */
  .timeline::before { transition: none; }
  .timeline.line-drawn::before { transform: scaleY(1); }

  .card,
  .perchi-card,
  .content-card { transition: none; }

  .video-card { transition: none; }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  19. RISULTATI — video carousel, stats, testimonials            ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Video carousel ─────────────────────────────────────────────── */
.video-carousel {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-3);
  scrollbar-width: none;
  margin-top: var(--sp-12);
}
.video-carousel::-webkit-scrollbar { display: none; }

.video-card-wrap {
  flex: 0 0 240px;
  scroll-snap-align: start;
  perspective: 900px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  will-change: transform;
  cursor: default;
  user-select: none;
}

.video-placeholder {
  height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4);
}

.video-placeholder video,
.video-placeholder .video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.video-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,.85) 0%, transparent 55%);
  pointer-events: none;
}

.video-audio-btn {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: rgba(11,11,12,.6);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .7rem;
  color: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease);
  z-index: 2;
}
.video-audio-btn:hover {
  background: rgba(11,11,12,.9);
  border-color: rgba(255,255,255,.25);
}
.video-audio-btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.video-card-badge {
  position: relative;
  z-index: 2;
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}

.video-info {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
}

.video-result {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--lime);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.video-brand {
  font-size: .72rem;
  color: var(--ink-dim);
  margin-top: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Risultati stats ─────────────────────────────────────────────── */
.risultati-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-14);
}

.risultati-stat {
  background: var(--surface);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}

.risultati-stat-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: 1;
}

.risultati-stat-label {
  font-size: .75rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: var(--sp-2);
}

@media (max-width: 640px) {
  .risultati-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Testimonial cards ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-12);
  align-items: start;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: border-color var(--duration-fast) var(--ease),
              transform    var(--duration-fast) var(--ease);
}
.testimonial-card:hover {
  border-color: rgba(255,255,255,.1);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-size: var(--t-small);
  line-height: 1.75;
  color: var(--ink);
}
.testimonial-quote::before {
  content: '"';
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--lime);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-2);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink-dim);
}

.testimonial-name {
  font-family: var(--f-display);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.testimonial-role {
  font-size: .72rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
}

/* ── Agency service cards ────────────────────────────────────────── */
.agency-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}

.agency-service-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.agency-service-title {
  font-family: var(--f-display);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.agency-service-desc {
  font-size: var(--t-small);
  color: var(--ink-dim);
  line-height: 1.7;
  max-width: none;
}


/* ── Risultati CTA ───────────────────────────────────────────────── */
.risultati-cta {
  margin-top: var(--sp-12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}

.risultati-cta-note {
  font-size: var(--t-small);
  color: var(--ink-dim);
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  20. ANNOUNCEMENT BAR — fissa in cima, sempre visibile           ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  min-height: 42px;
  background: #08080A;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding-block: var(--sp-2);
  padding-inline: var(--sp-5);
}

.announce-bar.is-closed { display: none; }

.announce-bar-text {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announce-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

.announce-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: #0B0B0C;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease);
}
.announce-cta:hover { transform: translateY(-1px) scale(1.03); }

.announce-close {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  opacity: .5;
  font-size: .875rem;
  line-height: 1;
  transition: opacity var(--duration-fast) var(--ease);
}
.announce-close:hover { opacity: 1; }
.announce-close:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

@media (max-width: 560px) {
  .announce-bar-text { font-size: .6875rem; }
}
@media (max-width: 420px) {
  .announce-bar { gap: var(--sp-2); padding-inline: var(--sp-3); }
  .announce-close { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .announce-dot { animation: none; }
  .announce-cta { transition: none; }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  20b. COUNTDOWN — compatto (teaser) + esteso (hero Academy)      ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.countdown-extended {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 56px;
}

.cd-num {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cd-label {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.cd-sep {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-dim);
  opacity: .3;
  margin-top: -18px;
}

@media (max-width: 480px) {
  .cd-sep { display: none; }
  .cd-unit { min-width: 62px; }
}

.countdown-compact {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.countdown-compact .cd-num-sm {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.countdown-compact .cd-label-sm {
  font-size: var(--t-small);
  color: var(--ink-dim);
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  21. SOCIAL EMBED PLACEHOLDERS                                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}

.social-embed-wrap {
  /* Wrapper: matches the shape real embeds will have */
}

.embed-ph {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: .875rem;
}

.embed-ph-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.embed-ph-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .7rem;
  color: white;
}
.embed-ph-avatar--ig  { background: linear-gradient(135deg, #833AB4, #FF5FA2, #F9622D); }
.embed-ph-avatar--tik { background: linear-gradient(135deg, #010101, #69C9D0); }

.embed-ph-meta {
  flex: 1;
  min-width: 0;
}

.embed-ph-handle {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .78rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.embed-ph-sub {
  font-size: .65rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.embed-ph-badge {
  font-size: .65rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
  flex-shrink: 0;
}
.embed-ph-badge--ig  { background: rgba(131,58,180,.2); color: #FF5FA2; }
.embed-ph-badge--tik { background: rgba(105,201,208,.15); color: #69C9D0; }

.embed-ph-media {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.embed-ph-media--square   { aspect-ratio: 1; }
.embed-ph-media--portrait { aspect-ratio: 9/16; max-height: 380px; }

.embed-ph-media-bg {
  position: absolute;
  inset: 0;
}

.embed-ph-play {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.embed-ph-play svg { color: white; margin-left: 2px; }

.embed-ph-caption {
  padding: var(--sp-3) var(--sp-4);
  color: var(--ink);
  font-size: .78rem;
  line-height: 1.55;
}

.embed-ph-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) var(--sp-4) var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: .7rem;
  color: var(--ink-dim);
}

.embed-ph-link {
  color: var(--lime);
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 500;
}
.embed-ph-link:hover { text-decoration: underline; }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  21b. TAG PILL — badge compatti riusabili (teaser, argomenti)   ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--ink-dim);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}

/* ── Blocco centrato riusabile per teaser corti ───────────────────── */
.teaser-center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teaser-center .tag-row { justify-content: center; margin-top: var(--sp-6); }

/* ── Intestazione di sezione centrata (agency/academy) ────────────── */
.section-head-center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.section-head-center p {
  margin-inline: auto;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  22. COMMUNITY QUOTES                                           ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.community-quotes {
  margin-top: var(--sp-14);
  padding-top: var(--sp-10);
  border-top: 1px solid var(--line);
}

.community-quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

.cq-card {
  margin: 0;
  padding: var(--sp-6);
  background: transparent;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  transition: border-color var(--duration-fast) var(--ease),
              background   var(--duration-fast) var(--ease);
}

.cq-card:hover {
  background: var(--surface);
  border-color: rgba(198,255,58,.2);
  border-left-color: var(--lime);
}

.cq-text {
  font-size: var(--t-small);
  line-height: 1.75;
  color: var(--ink);
  font-style: normal;
}

.cq-author {
  margin-top: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cq-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .8rem;
  color: var(--lime);
  letter-spacing: -0.01em;
}

.cq-context {
  font-size: .68rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: .06em;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  MOBILE OPTIMIZATIONS — risposte al briefing utente             ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* 1. Padding sezioni ridotto su mobile (80px → 48px) */
@media (max-width: 767px) {
  .section { padding-block: 48px; }
}

/* 2. Hero title — minimo alzato a 2.75rem per impatto su schermi piccoli */
:root { --t-hero: clamp(2.75rem, 7.5vw, 6rem); }

/* 3. Bottoni impilati e full-width su mobile */
@media (max-width: 599px) {
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group .btn {
    text-align: center;
    justify-content: center;
  }
}

/* 4. Nav CTA nascosto su mobile — è già in hero e nel menu */
@media (max-width: 899px) {
  a.nav-cta { display: none !important; }
}

/* 5. Video carousel: card quasi full-width su mobile */
@media (max-width: 767px) {
  .video-card-wrap { flex: 0 0 85vw; }
}

/* 6. Form input: touch target minimo 48px */
@media (max-width: 767px) {
  .form-field input,
  .form-field select {
    min-height: 48px;
    font-size: 16px; /* previene zoom iOS sull'input focus */
  }
}

/* 7. Stats grid — 1 colonna su mobile */
@media (max-width: 599px) {
  .stats-grid         { grid-template-columns: 1fr; }
  .risultati-stats    { grid-template-columns: 1fr; }
}

/* 8. Announce bar — mostra/nasconde versione breve/lunga */
.announce-bar-short { display: none; }
.announce-bar-long  { display: contents; }
@media (max-width: 480px) {
  .announce-bar-long  { display: none; }
  .announce-bar-short { display: contents; }
}

/* 9. Footer accordion mobile */
@media (max-width: 767px) {
  .footer-inner         { flex-direction: column; gap: 0; }
  .footer-brand         { padding-bottom: var(--sp-6); border-bottom: 1px solid var(--line); }
  .footer-col           { border-bottom: 1px solid var(--line); }
  .footer-col-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: var(--sp-4);
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
  }
  .footer-col-label::after {
    content: '+';
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--ink-dim);
    opacity: .6;
    transition: transform 200ms var(--ease);
    line-height: 1;
    flex-shrink: 0;
  }
  .footer-col.is-open .footer-col-label::after { transform: rotate(45deg); }
  .footer-col-links {
    display: none;
    flex-direction: column;
    gap: var(--sp-3);
    padding-bottom: var(--sp-5);
  }
  .footer-col.is-open .footer-col-links { display: flex; }
}
@media (min-width: 768px) {
  .footer-col-links { display: flex; flex-direction: column; gap: var(--sp-3); }
}

/* 10. Card foto: altezza immagine ridotta su mobile */
@media (max-width: 767px) {
  .acy-card-photo  { height: 100px; }
  .aca-card-photo  { height: 100px; }
  .cose-feat-photo { height: 100px; }
  .idx-porta-photo { height: 120px; }
}
