/* Shell pubblica DOA — navbar + footer unificati (mood home) */

@font-face {
  font-family: 'Heavitas';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Heavitas.woff2') format('woff2');
}

:root {
  --doa-shell-bg: #050608;
  --doa-shell-primary: #EE764C;
  --doa-shell-muted: rgba(255, 255, 255, 0.62);
  --doa-shell-line: rgba(255, 255, 255, 0.14);
}

/* ——— Navbar (slide in/out allo scroll, come home) ——— */
body.doa-public-shell .decibel-nav-bar {
  --nav-height: 50px;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.38) !important;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: none !important;
  z-index: 10000 !important;
  transition: background 240ms ease, backdrop-filter 240ms ease, box-shadow 240ms ease, opacity 240ms ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

body.doa-public-shell.header-scrolled .decibel-nav-bar {
  transform: translate3d(0, -100%, 0) !important;
}

/* Language switch — estetica tickets/rimborsi (pill glass + active arancio) */
body.doa-public-shell .decibel-nav-bar .lang-switch,
body.doa-public-shell .decibel-nav-menu .mobile-lang-switch,
body.doa-public-shell .footer-lang-switch .lang-switch,
body.doa-public-shell .design-footer .footer-lang-switch .lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem !important;
  padding: 0.25rem !important;
  border-radius: 999px !important;
  background: rgba(12, 14, 16, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none !important;
}

body.doa-public-shell .decibel-nav-bar .lang-switch .lang-sep,
body.doa-public-shell .decibel-nav-menu .mobile-lang-switch .lang-sep,
body.doa-public-shell .footer-lang-switch .lang-sep,
body.doa-public-shell .design-footer .footer-lang-switch .lang-sep {
  display: none !important;
}

body.doa-public-shell .decibel-nav-bar .lang-switch .lang-btn,
body.doa-public-shell .decibel-nav-menu .mobile-lang-switch .lang-btn,
body.doa-public-shell .footer-lang-switch .lang-btn,
body.doa-public-shell .design-footer .footer-lang-switch .lang-btn {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: 'Barlow Condensed', 'Helvetica Neue', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  padding: 0.35rem 0.55rem !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  min-width: 0 !important;
  height: auto !important;
  cursor: pointer;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none !important;
}

body.doa-public-shell .decibel-nav-bar .lang-switch .lang-btn.active,
body.doa-public-shell .decibel-nav-bar .lang-switch .lang-btn:hover,
body.doa-public-shell .decibel-nav-bar .lang-switch .lang-btn:focus-visible,
body.doa-public-shell .decibel-nav-menu .mobile-lang-switch .lang-btn.active,
body.doa-public-shell .decibel-nav-menu .mobile-lang-switch .lang-btn:hover,
body.doa-public-shell .decibel-nav-menu .mobile-lang-switch .lang-btn:focus-visible,
body.doa-public-shell .footer-lang-switch .lang-btn.active,
body.doa-public-shell .footer-lang-switch .lang-btn:hover,
body.doa-public-shell .footer-lang-switch .lang-btn:focus-visible,
body.doa-public-shell .design-footer .footer-lang-switch .lang-btn.active,
body.doa-public-shell .design-footer .footer-lang-switch .lang-btn:hover,
body.doa-public-shell .design-footer .footer-lang-switch .lang-btn:focus-visible,
body.doa-public-shell .decibel-nav-bar .lang-switch:hover .lang-btn.active,
body.doa-public-shell .footer-lang-switch:hover .lang-btn.active {
  color: #111 !important;
  background: #EE764C !important;
  border-color: transparent !important;
  outline: none !important;
  transform: none !important;
}

body.doa-public-shell .decibel-nav-menu {
  z-index: 9999;
}

body.doa-public-shell .hero-top-banner-link {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.doa-public-shell .footer-image-container {
  display: none !important;
}

/* ——— Footer unificato ——— */
body.doa-public-shell .footer-container.design-footer,
body.doa-public-shell .footer-container {
  position: relative !important;
  z-index: 5 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: var(--doa-shell-bg) !important;
  background-image: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  padding-top: clamp(3.5rem, 8vw, 5.5rem) !important;
  padding-bottom: clamp(1.5rem, 4vw, 2.25rem) !important;
  border-top: 1px solid var(--doa-shell-line);
  color: #fff;
  margin-top: 0 !important;
}

/* Home non carica common.js: senza questo newsletter/link restano opacity:0 */
body.doa-public-shell .footer-container .animate-on-scroll,
body.doa-public-shell .footer-container .fade-in-up,
body.doa-public-shell .footer-container .fade-in-up.animated,
body.doa-public-shell .footer-container .animate-on-scroll.animated {
  opacity: 1 !important;
  transform: none !important;
  -webkit-transform: none !important;
  animation: none !important;
  visibility: visible !important;
}

body.doa-public-shell .footer-container::before {
  display: none !important;
  content: none !important;
}

body.doa-public-shell .footer-content {
  position: relative;
  z-index: 1;
  max-width: 980px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 clamp(1.25rem, 4vw, 2rem) !important;
  box-sizing: border-box !important;
}

/* Stack verticale di default — evita clash grid-area di main.css */
body.doa-public-shell .design-footer .footer-main {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: clamp(2rem, 5vw, 2.75rem) !important;
  margin-bottom: 0 !important;
  align-items: stretch !important;
}

body.doa-public-shell .design-footer .newsletter-section {
  width: 100% !important;
  max-width: 100% !important;
  text-align: left;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-self: stretch !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.doa-public-shell .design-footer .newsletter-title {
  font-family: 'Syne', 'Barlow Condensed', 'Helvetica Neue', sans-serif !important;
  font-size: clamp(1.35rem, 3.2vw, 1.65rem) !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff !important;
  margin: 0 0 0.55rem !important;
  text-transform: uppercase;
}

body.doa-public-shell .design-footer .newsletter-subtitle {
  max-width: 28rem;
  margin: 0 0 1.35rem !important;
  font-size: 0.92rem !important;
  line-height: 1.55;
  color: var(--doa-shell-muted) !important;
  font-weight: 400;
}

body.doa-public-shell .design-footer .newsletter-form {
  width: 100%;
  max-width: 28rem;
}

body.doa-public-shell .design-footer .newsletter-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

body.doa-public-shell .design-footer .form-group {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
}

body.doa-public-shell .design-footer .form-group input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  padding: 0.9rem 1.2rem !important;
  font-size: 0.92rem !important;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

body.doa-public-shell .design-footer .form-group input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.42) !important;
}

body.doa-public-shell .design-footer .form-group input[type="email"]:focus {
  border-color: rgba(238, 118, 76, 0.7) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(238, 118, 76, 0.15);
}

body.doa-public-shell .design-footer .checkbox-group {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  text-align: left !important;
  margin: 0.95rem 0 0 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
  width: 100%;
}

body.doa-public-shell .design-footer .checkbox-group input[type="checkbox"] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 0.12rem 0 0 !important;
  accent-color: var(--doa-shell-primary);
  cursor: pointer;
}

body.doa-public-shell .design-footer .checkbox-group label {
  color: inherit !important;
  cursor: pointer;
  margin: 0 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: inherit !important;
}

body.doa-public-shell .design-footer .checkbox-group .required-asterisk {
  color: var(--doa-shell-primary) !important;
}

body.doa-public-shell .design-footer .signup-btn {
  width: 100%;
  flex: 0 0 auto;
  background: var(--doa-shell-primary) !important;
  color: #0b0b0b !important;
  border: 1px solid var(--doa-shell-primary) !important;
  border-radius: 999px !important;
  padding: 0.9rem 1.35rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

body.doa-public-shell .design-footer .signup-btn:hover {
  background: #ff8a5c !important;
  border-color: #ff8a5c !important;
  color: #0b0b0b !important;
  transform: translateY(-1px);
}

body.doa-public-shell .design-footer .signup-btn:active {
  transform: translateY(0);
}

@media (min-width: 520px) {
  body.doa-public-shell .design-footer .newsletter-row {
    flex-direction: row;
    align-items: stretch;
    gap: 0.55rem;
  }

  body.doa-public-shell .design-footer .signup-btn {
    width: auto;
    min-width: 8.5rem;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* Links: mobile stack / tablet+ grid */
body.doa-public-shell .design-footer .links-section {
  display: grid !important;
  grid-template-columns: 1fr !important;
  flex-direction: unset !important;
  align-items: start !important;
  justify-content: stretch !important;
  gap: 1.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0.5rem 0 0 !important;
  padding: 1.5rem 0 0 !important;
  border-top: 1px solid var(--doa-shell-line);
  grid-template-areas: none !important;
  text-align: left !important;
}

body.doa-public-shell .design-footer .links-column,
body.doa-public-shell .design-footer .links-column.quick-menu,
body.doa-public-shell .design-footer .links-column.legal,
body.doa-public-shell .design-footer .links-column.altre-info,
body.doa-public-shell .design-footer .links-column.contact {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  grid-area: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: stretch !important;
  align-self: auto !important;
}

body.doa-public-shell .design-footer .links-column h3,
body.doa-public-shell .design-footer .links-column.altre-info h3,
body.doa-public-shell .design-footer .links-column.contact h3,
body.doa-public-shell .design-footer .links-column.legal h3,
body.doa-public-shell .design-footer .links-column.quick-menu h3 {
  font-family: 'Syne', 'Barlow Condensed', 'Helvetica Neue', sans-serif !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5) !important;
  margin: 0 0 0.75rem !important;
  text-align: left !important;
  white-space: normal !important;
  width: 100% !important;
  font-weight: 600 !important;
}

body.doa-public-shell .design-footer .links-column ul,
body.doa-public-shell .design-footer .links-column.quick-menu ul,
body.doa-public-shell .design-footer .links-column.altre-info ul,
body.doa-public-shell .design-footer .links-column.contact ul,
body.doa-public-shell .design-footer .links-column.legal ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.45rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

body.doa-public-shell .design-footer .links-column li {
  width: 100% !important;
  text-align: left !important;
  display: block !important;
}

body.doa-public-shell .design-footer .links-column a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.92rem !important;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

body.doa-public-shell .design-footer .links-column a:hover {
  color: var(--doa-shell-primary) !important;
}

body.doa-public-shell .design-footer .links-column a.contact-email {
  color: var(--doa-shell-primary) !important;
  font-size: 0.95rem !important;
  font-weight: 500;
}

body.doa-public-shell .design-footer .footer-lang-switch {
  margin-top: 0.45rem !important;
  display: flex !important;
  justify-content: flex-start !important;
  width: 100% !important;
}

body.doa-public-shell .design-footer .footer-lang-switch .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
}

body.doa-public-shell .design-footer .social-section {
  margin: 2.25rem 0 0 !important;
  padding: 1rem 0 !important;
  border-top: 1px solid var(--doa-shell-line) !important;
  border-bottom: 1px solid var(--doa-shell-line) !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

body.doa-public-shell .design-footer .social-icons {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto !important;
}

body.doa-public-shell .design-footer .social-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

body.doa-public-shell .design-footer .social-icon svg {
  width: 15px !important;
  height: 15px !important;
  fill: #000 !important;
}

body.doa-public-shell .design-footer .social-icon:hover {
  background: var(--doa-shell-primary) !important;
  border-color: var(--doa-shell-primary) !important;
  transform: translateY(-1px);
}

body.doa-public-shell .design-footer .social-icon:hover svg {
  fill: #fff !important;
}

body.doa-public-shell .design-footer .footer-bottom {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.85rem;
  margin-top: 1.15rem !important;
  padding-top: 0.15rem !important;
  border-top: 0 !important;
  text-align: center !important;
}

body.doa-public-shell .design-footer .footer-bottom-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.35rem;
  text-align: center !important;
}

body.doa-public-shell .design-footer .footer-bottom-left > span,
body.doa-public-shell .design-footer .footer-bottom-left .company-info,
body.doa-public-shell .design-footer .footer-bottom-left .company-info span,
body.doa-public-shell .design-footer .footer-bottom-left .company-info a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

body.doa-public-shell .design-footer .back-to-top {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.doa-public-shell .design-footer .back-to-top:hover {
  color: var(--doa-shell-primary) !important;
}

/* Desktop: newsletter + 3 colonne link allineate in alto */
@media (min-width: 900px) {
  body.doa-public-shell .design-footer .footer-main {
    display: grid !important;
    grid-template-columns: minmax(280px, 1.15fr) minmax(420px, 1.35fr) !important;
    flex-direction: unset !important;
    align-items: start !important;
    column-gap: clamp(2.5rem, 5vw, 4.5rem) !important;
    row-gap: 0 !important;
  }

  body.doa-public-shell .design-footer .newsletter-section {
    flex: unset !important;
    width: 100% !important;
    max-width: none !important;
    text-align: left;
    align-items: flex-start;
  }

  body.doa-public-shell .design-footer .newsletter-title {
    font-size: clamp(1.4rem, 2vw, 1.7rem) !important;
    margin-bottom: 0.65rem !important;
  }

  body.doa-public-shell .design-footer .newsletter-subtitle {
    margin: 0 0 1.25rem !important;
    margin-left: 0 !important;
    text-align: left;
    max-width: 28rem;
  }

  body.doa-public-shell .design-footer .newsletter-form {
    max-width: 26rem;
    width: 100%;
  }

  /* Tre colonne affiancate, stessa riga della newsletter */
  body.doa-public-shell .design-footer .links-section {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    flex-direction: unset !important;
    align-items: start !important;
    align-content: start !important;
    justify-content: stretch !important;
    gap: 1.5rem 1.75rem !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0.2rem 0 0 !important;
    border-top: 0 !important;
  }

  body.doa-public-shell .design-footer .links-column,
  body.doa-public-shell .design-footer .links-column.quick-menu,
  body.doa-public-shell .design-footer .links-column.legal,
  body.doa-public-shell .design-footer .links-column.altre-info,
  body.doa-public-shell .design-footer .links-column.contact {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body.doa-public-shell .design-footer .links-column h3,
  body.doa-public-shell .design-footer .links-column.altre-info h3,
  body.doa-public-shell .design-footer .links-column.contact h3,
  body.doa-public-shell .design-footer .links-column.legal h3,
  body.doa-public-shell .design-footer .links-column.quick-menu h3 {
    text-align: left !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.12em;
    margin: 0 0 0.9rem !important;
    line-height: 1.2 !important;
  }

  body.doa-public-shell .design-footer .links-column ul,
  body.doa-public-shell .design-footer .links-column.quick-menu ul,
  body.doa-public-shell .design-footer .links-column.altre-info ul,
  body.doa-public-shell .design-footer .links-column.contact ul,
  body.doa-public-shell .design-footer .links-column.legal ul {
    align-items: flex-start !important;
    gap: 0.45rem !important;
  }

  body.doa-public-shell .design-footer .links-column li {
    text-align: left !important;
  }

  body.doa-public-shell .design-footer .links-column a {
    font-size: 0.92rem !important;
  }

  body.doa-public-shell .design-footer .links-column a.contact-email {
    font-size: 0.95rem !important;
    word-break: break-word;
  }

  body.doa-public-shell .design-footer .footer-lang-switch {
    justify-content: flex-start !important;
    margin-top: 0.55rem !important;
  }

  body.doa-public-shell .design-footer .social-section {
    margin-top: 2.75rem !important;
  }

  body.doa-public-shell .design-footer .footer-bottom {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    text-align: left !important;
  }

  body.doa-public-shell .design-footer .footer-bottom-left {
    align-items: flex-start !important;
    text-align: left !important;
  }

  body.doa-public-shell .design-footer .footer-bottom-left > span,
  body.doa-public-shell .design-footer .footer-bottom-left .company-info,
  body.doa-public-shell .design-footer .footer-bottom-left .company-info span,
  body.doa-public-shell .design-footer .footer-bottom-left .company-info a {
    text-align: left !important;
  }
}

@media (min-width: 420px) and (max-width: 899px) {
  body.doa-public-shell .design-footer .links-section {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}

/* Mobile stretto: 3 colonne compatte sotto newsletter */
@media (max-width: 419px) {
  body.doa-public-shell .design-footer .links-section {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem 1rem !important;
  }

  body.doa-public-shell .design-footer .links-column.contact {
    grid-column: 1 / -1;
  }
}
