/* header-unify v=mh4 */
/* v=mh3 hamburger compatto: icone non devono riempire il bottone */
#fd-mobile-menu-btn.fd-mnav-trigger,
.fd-mnav-trigger {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
}
#fd-mobile-menu-btn svg,
.fd-mnav-trigger svg,
.fd-mnav-ico-bars,
.fd-mnav-ico-close {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block !important;
  flex-shrink: 0 !important;
}
﻿/* Evita overflow orizzontale senza spezzare header sticky/fixed */
body { max-width: 100%; }
main, section { max-width: 100%; }
@media (max-width: 1100px) {
  html, body { overflow-x: visible !important; }
  /* header.sticky dismesso: header corporate ovunque */
  /* body padding gestito da common.css (.header-zone) */
}
@media (max-width: 767px) {
  main, section { overflow-x: clip; }
  /* body padding gestito da common.css (.header-zone) */
}
    * { font-family: 'Roboto', system-ui, sans-serif; }
    h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', system-ui, sans-serif; }
    @media (max-width: 767px) {
      .fd-home-nav { max-width: 100%; min-width: 0; }
      table.min-w-\[520px\],
      table[class*="min-w-"] {
        min-width: 0 !important;
        width: 100%;
      }
      .overflow-x-auto { max-width: 100%; }
    }
    .prose-width { max-width: 38rem; }
    .mockup-shell {
      border-radius: 12px;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 24px 48px -12px rgba(15, 23, 42, 0.12);
      border: 1px solid #e2e8f0;
    }
    .fd-photo { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
    .press-logo { max-height: 26px; width: auto; opacity: 1; transition: opacity 0.2s; }
    @media (min-width: 768px) { .press-logo { max-height: 28px; } }
    .press-logo:hover { opacity: 0.88; }
    .partner-logo { max-height: 36px; width: auto; max-width: 140px; object-fit: contain; opacity: 0.85; }
    .shadow-soft-card { box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03), 0 2px 4px rgba(15, 23, 42, 0.02); }
    /* Composito multi-dispositivo hero: testo leggibile (min ~9px su desktop mockup) */
    .hero-devices { position: relative; min-height: 0; display: flex; align-items: flex-start; justify-content: center; padding-bottom: 8px; }
    .device-chassis { background: linear-gradient(155deg, #3d3d3d, #1c1c1c); box-shadow: 0 20px 48px -10px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.06); }
    .device-screen-mini {
      background: #fff; overflow: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }
    .device-ui-laptop { font-size: 6.5px; line-height: 1.4; letter-spacing: 0.01em; font-weight: 500; }
    @media (min-width: 480px) { .device-ui-laptop { font-size: 7.5px; } }
    @media (min-width: 640px) { .device-ui-laptop { font-size: 8.5px; } }
    @media (min-width: 768px) { .device-ui-laptop { font-size: 10px; line-height: 1.38; } }
    @media (min-width: 1024px) { .device-ui-laptop { font-size: 11px; } }
    .device-ui-tablet { font-size: 6px; line-height: 1.4; font-weight: 500; }
    @media (min-width: 480px) { .device-ui-tablet { font-size: 7px; } }
    @media (min-width: 640px) { .device-ui-tablet { font-size: 8px; } }
    @media (min-width: 768px) { .device-ui-tablet { font-size: 9.5px; line-height: 1.38; } }
    @media (min-width: 1024px) { .device-ui-tablet { font-size: 10.5px; } }
    .device-ui-phone { font-size: 5.5px; line-height: 1.4; font-weight: 500; }
    @media (min-width: 480px) { .device-ui-phone { font-size: 6.5px; } }
    @media (min-width: 640px) { .device-ui-phone { font-size: 7.5px; } }
    @media (min-width: 768px) { .device-ui-phone { font-size: 9px; line-height: 1.36; } }
    @media (min-width: 1024px) { .device-ui-phone { font-size: 10px; } }
    .device-url-bar { font-size: 8px; line-height: 1.2; font-weight: 600; letter-spacing: 0.02em; }
    @media (min-width: 640px) { .device-url-bar { font-size: 9px; } }
    @media (min-width: 768px) { .device-url-bar { font-size: 10px; } }
    @media (min-width: 1024px) { .device-url-bar { font-size: 11px; } }
    .mini-row { display: flex; align-items: center; gap: 3px; border-bottom: 1px solid #e2e8f0; padding: 2px 0; min-height: 1.25em; }
    .mini-pill { border-radius: 999px; padding: 2px 5px; font-weight: 600; white-space: nowrap; line-height: 1.2; }
    .mini-muted { color: #475569; }

    /* Motion: atterraggio, scroll, header (disattivato se prefers-reduced-motion) */
    @media (prefers-reduced-motion: no-preference) {
      html { scroll-behavior: smooth; }
    }
    @keyframes fd-rise {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }
    html.fd-motion header {
      transition: box-shadow 0.35s ease, border-color 0.35s ease;
    }
    html.fd-motion header.is-scrolled {
      box-shadow: 0 10px 40px -12px rgba(15, 23, 42, 0.12);
    }
    html.fd-motion .fd-reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, transform;
    }
    html.fd-motion .fd-reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
      will-change: auto;
    }
    html.fd-motion.fd-page-ready .fd-hero-col > * {
      opacity: 0;
      animation: fd-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(1) { animation-delay: 0.04s; }
    html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(2) { animation-delay: 0.1s; }
    html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(3) { animation-delay: 0.16s; }
    html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(4) { animation-delay: 0.22s; }
    html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(5) { animation-delay: 0.28s; }
    html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(6) { animation-delay: 0.34s; }
    html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(7) { animation-delay: 0.4s; }
    html.fd-motion.fd-page-ready .fd-hero-visual {
      opacity: 0;
      animation: fd-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
    }
    html.fd-motion .fd-reveal.is-visible img.press-logo {
      animation: fd-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    html.fd-motion .fd-reveal.is-visible img.press-logo:nth-child(1) { animation-delay: 0.05s; }
    html.fd-motion .fd-reveal.is-visible img.press-logo:nth-child(2) { animation-delay: 0.12s; }
    html.fd-motion .fd-reveal.is-visible img.press-logo:nth-child(3) { animation-delay: 0.19s; }
    html.fd-motion .fd-reveal.is-visible img.press-logo:nth-child(4) { animation-delay: 0.26s; }
    header a.rounded-full,
    section a.rounded-full,
    section button.rounded-full {
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    }
    @media (hover: hover) and (prefers-reduced-motion: no-preference) {
      header a.rounded-full:hover,
      section a.rounded-full:hover,
      section button.rounded-full:hover { transform: translateY(-1px); }
      header a.rounded-full:active,
      section a.rounded-full:active,
      section button.rounded-full:active { transform: translateY(0); }
    }
    @media (prefers-reduced-motion: reduce) {
      html.fd-motion .fd-reveal,
      html.fd-motion .fd-reveal.is-visible,
      html.fd-motion.fd-page-ready .fd-hero-col > *,
      html.fd-motion.fd-page-ready .fd-hero-visual {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
      }
    }
    /* Nasconde l’icona non attiva (SVG o FA) */
    .fd-mnav-trigger .hidden,
    #fd-mobile-menu-btn .hidden {
      display: none !important;
    }
    .fd-mnav-trigger {
      position: relative;
    }
    /* Header mobile-first: CTA corta + logo senza testo; da sm testo lungo */
    .fd-home-nav .fd-home-brand .fd-brand-text { display: none !important; }
    .fd-home-ctas .fd-nav-cta-long { display: none !important; }
    .fd-home-ctas .fd-nav-cta-short { display: inline !important; }
    .fd-home-ctas .fd-nav-cta {
      padding-left: 0.875rem;
      padding-right: 0.875rem;
      font-size: 0.8125rem;
      max-width: 11.5rem;
    }
    @media (min-width: 640px) {
      .fd-home-nav .fd-home-brand .fd-brand-text { display: inline !important; }
      .fd-home-ctas .fd-nav-cta-short { display: none !important; }
      .fd-home-ctas .fd-nav-cta-long { display: inline !important; }
      .fd-home-ctas .fd-nav-cta {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.875rem;
        max-width: none;
      }
    }
    /* Menu mobile full-screen: animazione + layering */
    #fd-mobile-menu {
      transition: opacity 0.22s ease, visibility 0.22s ease;
    }
    #fd-mobile-menu:not(.fd-mnav--open) {
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
    }
    #fd-mobile-menu.fd-mnav--open {
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
    }
    #fd-mobile-menu .fd-mnav-bg {
      opacity: 0;
      transition: opacity 0.28s ease;
    }
    #fd-mobile-menu.fd-mnav--open .fd-mnav-bg {
      opacity: 1;
    }
    #fd-mobile-menu .fd-mnav-bg {
      z-index: 1;
    }
    #fd-mobile-menu .fd-mnav-panel {
      z-index: 2;
      background: #fff !important;
      transform: translateX(100%);
      transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
    }
    #fd-mobile-menu.fd-mnav--open .fd-mnav-panel {
      transform: translateX(0);
    }
    @media (prefers-reduced-motion: reduce) {
      #fd-mobile-menu .fd-mnav-panel { transition: none; }
      #fd-mobile-menu:not(.fd-mnav--open) .fd-mnav-panel { transform: translateX(100%); }
    }
    /* Rassegna stampa: marquee orizzontale (come index-mobile) */
    .fd-press-marquee-wrap {
      position: relative;
      overflow: hidden;
      width: 100%;
      padding: 6px 0 10px;
      mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    }
    .fd-press-marquee-track {
      display: flex;
      align-items: center;
      gap: 2.75rem;
      width: max-content;
      animation: fdPressMarquee 22s linear infinite;
      will-change: transform;
    }
    .fd-press-marquee-track img {
      max-height: 26px;
      width: auto;
      object-fit: contain;
      flex-shrink: 0;
      opacity: 0.95;
    }
    @keyframes fdPressMarquee {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }
    @media (prefers-reduced-motion: reduce) {
      .fd-press-marquee-track { animation: none !important; }
    }
    /* Mobile + reduced motion: mostra loghi statici invece del marquee */
    @media (max-width: 767px) and (prefers-reduced-motion: reduce) {
      .fd-press-static-row {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1.25rem 2rem;
      }
    }
    /* WhatsApp floating: pulsante + bubble assistenza (tutti i viewport; resta sotto modali z-[100]) */
    #fd-wa-float {
      padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
      padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
    #fd-wa-bubble {
      box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(30, 64, 175, 0.08);
      animation: fd-wa-bubble-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    @keyframes fd-wa-bubble-in {
      from { opacity: 0; transform: translateY(10px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    @media (prefers-reduced-motion: reduce) {
      #fd-wa-bubble { animation: none; opacity: 1; transform: none; }
    }
    #fd-wa-bubble.fd-wa-bubble--dismissed {
      display: none !important;
    }
    .fd-wa-pulse-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
      animation: fd-wa-pulse-ring 2.2s ease-out infinite;
    }
    @keyframes fd-wa-pulse-ring {
      0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
      70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
      100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
    }
    @media (prefers-reduced-motion: reduce) {
      .fd-wa-pulse-dot { animation: none; box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25); }
    }
    #fd-wa-fab {
      position: relative;
      background: linear-gradient(145deg, #2fe06d, #25d366);
      box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 2px 4px rgba(15, 23, 42, 0.08);
    }
    #fd-wa-fab:active { transform: scale(0.96); }
    .fd-wa-fab-online-dot {
      position: absolute;
      top: 3px;
      right: 3px;
      z-index: 1;
      width: 11px;
      height: 11px;
      border-radius: 999px;
      background: #22c55e;
      border: 2px solid #fff;
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
      animation: fd-wa-pulse-ring 2.2s ease-out infinite;
      pointer-events: none;
    }
    @media (prefers-reduced-motion: reduce) {
      .fd-wa-fab-online-dot {
        animation: none;
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
      }
    }
    /* Icona freccia â€œingressoâ€ come hero index-mobile */
    .fd-cta-enter-icon {
      display: block;
      flex-shrink: 0;
      width: 1.125em;
      height: 1.125em;
    }
    .fd-cta-enter-icon--nav {
      width: 18px;
      height: 18px;
    }
    @media (min-width: 640px) {
      .fd-cta-enter-icon--nav {
        width: 1.125rem;
        height: 1.125rem;
      }
    }
    /* Icone secondarie (video / telefono) allineate alle CTA principali */
    .fd-sec-cta-icon {
      display: block;
      flex-shrink: 0;
      width: 1.1em;
      height: 1.1em;
    }
    /* Header home: voci esistenti, senza overlap sui CTA */
    .fd-home-links {
      flex-wrap: nowrap;
      gap: 0 12px;
      overflow: hidden;
    }
    .fd-home-links a {
      white-space: nowrap;
      flex-shrink: 0;
    }
    .fd-home-ctas {
      position: relative;
      z-index: 2;
      background: rgba(248, 250, 252, 0.97);
    }
    @media (min-width: 1024px) and (max-width: 1280px) {
      .fd-home-links { gap: 0 10px; font-size: 12px; }
      .fd-home-ctas a span { font-size: 13px; }
    }
