/* ==========================================================================
   Outbound Day 2026 — barra promo, voce di menu, card in home e pagina
   /outbound-day-2026. Palette: solo i token del sito (--neutral, --purple, --red).
   Caricato dopo overrides.css (vedi app/layout.tsx).
   ========================================================================== */

/* ---- Voce di menu evidenziata ---- */
.nav-link-highlight {
  position: relative;
  color: var(--neutral--900);
  font-weight: 500;
}
.nav-link-highlight::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red--base);
}

/* ---- Barra promo globale (sticky, in cima a ogni pagina) ---- */
.outbound-bar a { text-decoration: none; }
.outbound-bar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: var(--neutral--900);
  color: #ffffff;
  border-bottom: 1.5px solid var(--neutral--900);
}
.outbound-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.outbound-bar-message {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.outbound-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple--base);
  box-shadow: 0 0 0 0 rgba(112, 177, 215, 0.6);
  animation: outbound-pulse 2s ease-out infinite;
  flex: none;
}
@keyframes outbound-pulse {
  0% { box-shadow: 0 0 0 0 rgba(112, 177, 215, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(112, 177, 215, 0); }
  100% { box-shadow: 0 0 0 0 rgba(112, 177, 215, 0); }
}
.outbound-bar-text { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.outbound-bar-sep { opacity: 0.5; }
.outbound-bar-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--purple--light);
  color: var(--neutral--900);
  border: 1.5px solid var(--purple--light);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.outbound-bar-cta:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
.outbound-bar-close {
  background: transparent;
  border: 0;
  color: #ffffff;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.outbound-bar-close:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .outbound-bar-dot { animation: none; }
}
@media (max-width: 720px) {
  .outbound-bar-inner {
    gap: 8px 10px;
    padding: 8px 12px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .outbound-bar-message { font-size: 13px; min-width: 0; }
  .outbound-bar-sep { display: none; }
  .outbound-bar-text { flex-direction: column; gap: 0; }
  .outbound-bar-cta { font-size: 13px; padding: 5px 10px; }
}

/* ---- Card nella home ---- */
.outbound-section { padding-top: 32px; }
.outbound-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  border: 1.5px solid var(--neutral--900);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 0 0 var(--neutral--900);
  overflow: hidden;
}
.outbound-main {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.outbound-title {
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.outbound-title-sub {
  display: block;
  margin-top: 10px;
  font-size: 0.5em;
  line-height: 1.3;
  font-weight: 400;
  color: var(--neutral--600);
}
.outbound-lead { margin: 0 0 32px; max-width: 560px; }
.outbound-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 0 0 36px;
  padding: 24px 0;
  border-top: 1px solid var(--neutral--200);
  border-bottom: 1px solid var(--neutral--200);
}
.outbound-fact dt {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral--500);
}
.outbound-fact dd { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--neutral--900); }
.outbound-fact dd span { display: block; font-size: 14px; font-weight: 400; color: var(--neutral--600); }
.outbound-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.outbound-note { font-size: 13px; color: var(--neutral--500); max-width: 260px; line-height: 1.5; }

.outbound-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 40px;
  background: var(--purple--lighter);
  border-left: 1.5px solid var(--neutral--900);
}
.outbound-side-title {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple--dark);
}
.outbound-agenda, .outbound-topics { margin: 0; padding: 0; list-style: none; }
.outbound-agenda li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--purple--light);
  font-size: 15px;
  color: var(--neutral--700);
}
.outbound-agenda li:last-child { border-bottom: 0; }
.outbound-agenda-time { min-width: 108px; font-weight: 600; color: var(--neutral--900); font-variant-numeric: tabular-nums; }
.outbound-topics li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--neutral--700);
}
.outbound-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--neutral--900);
  border-radius: 50%;
  background: var(--purple--base);
}
@media (max-width: 991px) {
  .outbound-card { grid-template-columns: 1fr; }
  .outbound-side { border-left: 0; border-top: 1.5px solid var(--neutral--900); padding: 32px; }
  .outbound-main { padding: 32px; }
}
@media (max-width: 640px) {
  .outbound-main, .outbound-side { padding: 24px 20px; }
  .outbound-facts { grid-template-columns: 1fr; gap: 16px; }
  .outbound-actions { flex-direction: column; align-items: stretch; }
  .outbound-note { max-width: none; }
}

/* ---- Pagina dedicata ---- */
.od-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.od-h1 {
  margin: 0 0 14px;
  font-family: Archivo, sans-serif;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.od-tagline {
  margin: 0 0 24px;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.3;
  color: var(--neutral--600);
}
.od-lead { margin: 0 0 32px; max-width: 620px; }
.od-hero-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.od-note { font-size: 13px; color: var(--neutral--500); }

.od-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 64px 0 0;
  border: 1.5px solid var(--neutral--900);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 0 0 var(--neutral--900);
  overflow: hidden;
}
.od-fact { padding: 28px 28px; border-left: 1px solid var(--neutral--200); }
.od-fact:first-child { border-left: 0; }
.od-fact dt {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral--500);
}
.od-fact dd { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--neutral--900); }
.od-fact dd span { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--neutral--600); }

.od-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.od-flow li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  border: 1.5px solid var(--neutral--900);
  border-radius: 10px;
  background: var(--purple--lighter);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.od-flow li:last-child { background: var(--purple--light); }
.od-flow-index { font-size: 12px; font-weight: 600; color: var(--purple--dark); font-variant-numeric: tabular-nums; }

.od-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.od-topic {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 160px;
  padding: 28px;
  border: 1.5px solid var(--neutral--900);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 0 0 var(--neutral--900);
}
.od-topic-index { font-size: 13px; font-weight: 600; color: var(--purple--dark); font-variant-numeric: tabular-nums; }
.od-topic-title { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }

.od-agenda { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; border-top: 1.5px solid var(--neutral--900); }
.od-agenda-item {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--neutral--200);
}
.od-agenda-time {
  min-width: 140px;
  font-family: Archivo, sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.od-agenda-label { font-size: 18px; color: var(--neutral--700); }

.od-audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto; padding: 0; max-width: 820px; list-style: none; }
.od-audience li {
  padding: 10px 20px;
  border: 1.5px solid var(--neutral--900);
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
}
.od-audience li:nth-child(3n + 1) { background: var(--purple--lighter); }
.od-audience li:nth-child(3n + 2) { background: var(--pink--lighter); }

@media (max-width: 991px) {
  .od-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-fact:nth-child(3) { border-left: 0; }
  .od-fact:nth-child(n + 3) { border-top: 1px solid var(--neutral--200); }
  .od-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .od-topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .od-facts { grid-template-columns: 1fr; margin-top: 48px; }
  .od-fact, .od-fact:nth-child(3) { border-left: 0; }
  .od-fact:nth-child(n + 2) { border-top: 1px solid var(--neutral--200); }
  .od-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-topics-grid { grid-template-columns: 1fr; }
  .od-agenda-item { flex-direction: column; gap: 4px; }
  .od-agenda-time { min-width: 0; }
}

/* Stesso motivo di .faq-wide in home.css: il gap di 80px di .container-regular
   si sommava al margin del titolo. */
.od-page .container-regular { row-gap: 0; grid-row-gap: 0; }
.od-page .title-wrapper-center { margin-bottom: 48px; }
.od-agenda { width: 100%; }
