/* Keep the overlapping 100% metric inside the two-column mobile grid. */
@media (max-width: 639px) {
  .stat-item:last-child .stat-num-overlap { font-size: clamp(24px, 7vw, 28px); }
}

/* Horizon navbar: reference geometry, WebAir palette and typography. */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; pointer-events: none; }
.webair-nav { --nav-text: #17181C; --nav-accent: #FFE600; --nav-ease: cubic-bezier(.22, 1, .36, 1); font-family: 'Nunito', sans-serif; pointer-events: auto; }
.webair-nav, .webair-nav * { box-sizing: border-box; }
.webair-nav [hidden] { display: none !important; }
.webair-nav button { font-family: inherit; }
.webair-nav a, .webair-nav button { -webkit-tap-highlight-color: transparent; }
.webair-nav a:focus-visible, .webair-nav button:focus-visible { outline: 3px solid #17181C; outline-offset: 3px; }
#arguments, #service-creation, #service-refonte, #service-local, #projets, #comparatif, #abonnement, #approche, #avis, #cliply, #faq, #contact { scroll-margin-top: 106px; }
    .webair-nav {
      position: relative;
      z-index: 100;
      isolation: isolate;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: min(1320px, calc(100% - 28px));
      min-height: 66px;
      margin: 8px auto 0;
      padding: 7px 9px 7px 16px;
      border: 0;
      border-radius: 19px;
      background: rgba(248, 247, 242, .98);
      box-shadow: 0 14px 42px rgba(7, 24, 22, .14);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      color: var(--nav-text);
      animation: nav-enter .48s var(--nav-ease) both;
    }
    @keyframes nav-enter {
      from { opacity: 0; transform: translateY(-10px); filter: blur(5px); }
      to { opacity: 1; transform: translateY(0); filter: blur(0); }
    }

    .webair-nav__links { display: flex; align-items: center; gap: 3px; flex: 1; }
    .webair-nav__links--right { justify-content: flex-end; gap: 13px; }
    .webair-nav__link {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 12px 14px;
      color: var(--nav-text);
      background: transparent;
      border: 0;
      border-radius: 10px;
      font-size: clamp(14px, 1.1vw, 16px);
      font-weight: 800;
      line-height: 1.2;
      white-space: nowrap;
      text-decoration: none;
      cursor: pointer;
      transition: color .2s, background .2s;
    }
    .webair-nav__link:hover,
    .webair-nav__link[aria-expanded="true"] {
      color: #17181C;
      background: #FFE600;
    }
    .webair-nav__chevron {
      width: 11px;
      height: 11px;
      transition: transform .2s ease;
    }
    [aria-expanded="true"] > .webair-nav__chevron { transform: rotate(180deg); }

    /* Logo véritablement centré par rapport à la fenêtre, et non aux liens. */
    .webair-nav__brand {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'Bungee', sans-serif;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -.025em;
      text-decoration: none;
      color: var(--nav-text);
      white-space: nowrap;
    }
    .webair-nav__symbol { display: inline-flex; width: 32px; height: 32px; color: #17181C; }
    .webair-nav__symbol svg { width: 100%; height: 100%; }

    .webair-nav__cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 11px;
      padding: 12px 16px;
      border: 0;
      border-radius: 14px;
      background: var(--nav-accent);
      color: #0D0E11;
      font-family: 'Bungee', sans-serif;
      font-size: 10px;
      font-weight: 400;
      line-height: 1.2;
      white-space: nowrap;
      text-decoration: none;
      box-shadow: none;
      transition: background .2s;
    }
    .webair-nav__cta:hover {
      background: #FFD600;
      box-shadow: none;
    }
    .webair-nav__cta-arrow {
      display: grid;
      place-items: center;
      width: 23px;
      height: 23px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .32);
      font-size: 17px;
      font-weight: 400;
      line-height: 1;
    }

    /* Sous-menu « Services » */
    .webair-nav__services { position: relative; }
    .webair-nav__dropdown {
      position: absolute;
      z-index: 20;
      top: calc(100% + 13px);
      left: 0;
      width: 276px;
      padding: 9px;
      border: 1px solid #E4E0D5;
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
      animation: dropdown-enter .23s var(--nav-ease) both;
    }
    .webair-nav__dropdown a {
      display: block;
      padding: 14px 12px;
      border-radius: 9px;
      font-size: 14px;
      font-weight: 800;
      text-decoration: none;
      color: #17181C;
      transition: background .2s ease;
    }
    .webair-nav__dropdown a:hover { background: #FFE600; }
    @keyframes dropdown-enter {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Menu mobile */
    .webair-nav__burger {
      display: none;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      flex-shrink: 0;
      margin-left: auto;
      border: 0;
      border-radius: 12px;
      background: transparent;
      color: var(--nav-text);
      cursor: pointer;
    }
    .webair-nav__burger svg { width: 20px; height: 20px; }
    .webair-nav__drawer {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      left: 0;
      z-index: 40;
      padding: 9px;
      border: 0;
      border-radius: 17px;
      background: #F8F7F2;
      color: #17181C;
      box-shadow: 0 24px 65px rgba(0, 0, 0, .27);
      transform-origin: top center;
      opacity: 0;
      transform: translateY(-8px);
      clip-path: inset(0 0 96% 0 round 17px);
      visibility: hidden;
      pointer-events: none;
      transition: opacity .22s ease, transform .28s cubic-bezier(.2,.75,.25,1), clip-path .28s cubic-bezier(.2,.75,.25,1), visibility .28s;
    }
    .webair-nav__drawer.is-open { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0 round 17px); visibility: visible; pointer-events: auto; }
    .webair-nav__drawer[hidden] { display: none; }
    .webair-nav__drawer a,
    .webair-nav__drawer button {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 14px 13px;
      border: 0;
      border-radius: 9px;
      background: transparent;
      color: #17181C;
      font-size: 15px;
      font-weight: 800;
      text-align: left;
      text-decoration: none;
      cursor: pointer;
    }
    .webair-nav__drawer a:hover,
    .webair-nav__drawer button:hover { background: #FFE600; }
    .webair-nav__drawer .webair-nav__drawer-sub {
      padding: 5px 5px 6px 18px;
      border-left: 2px solid #FFE600;
      margin-left: 11px;
    }
    .webair-nav__drawer .webair-nav__drawer-sub a { font-size: 14px; padding: 12px; }
    .webair-nav__drawer-sub:not([hidden]) { animation: mobile-submenu-enter .28s var(--nav-ease) both; }
    .webair-nav__drawer .webair-nav__drawer-cta {
      justify-content: center;
      margin-top: 5px;
      background: #FFE600;
      color: #0D0E11;
      font-family: 'Bungee', sans-serif;
      font-size: 11px;
    }
    .webair-nav__drawer .webair-nav__drawer-cta:hover { background: #FFD600; }
    @keyframes mobile-submenu-enter {
      from { opacity: 0; transform: translateY(-7px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 1100px) {
      .webair-nav__links { display: none; }
      .webair-nav {
        width: calc(100% - 20px);
        min-height: 62px;
        margin-top: 6px;
        padding: 6px 10px;
        border-radius: 16px;
      }
      .webair-nav__brand {
        position: static;
        transform: none;
        font-size: 20px;
      }
      .webair-nav__symbol { width: 28px; height: 28px; }
      .webair-nav__burger { display: inline-flex; }
    }
    @media (max-width: 370px) { .webair-nav__brand { font-size: 18px; } }
    @media (prefers-reduced-motion: reduce) {
      .webair-nav, .webair-nav *, .webair-nav *::before, .webair-nav *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
      }
      .webair-nav__drawer { clip-path: none; transform: none; }
    }


/* Reserve equal space for the centered brand to prevent overlapping links. */
.webair-nav__links { min-width: 0; padding-right: 92px; }
.webair-nav__links--right { padding-right: 0; padding-left: 92px; }
.webair-nav__symbol { width: 30px; height: 30px; }
.webair-nav__symbol img { display: block; width: 100%; height: 100%; object-fit: contain; }
.webair-nav__cta { min-height: 44px; }
.webair-nav__cta-arrow { background: rgba(13, 14, 17, .08); }
.webair-nav__drawer .webair-nav__drawer-cta { gap: 8px; }
.webair-nav__dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.webair-nav__dropdown a:last-child { margin-top: 4px; border-top: 1px solid #E4E0D5; border-radius: 0 0 9px 9px; }
.webair-nav__drawer { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
.webair-nav__burger[aria-expanded="true"] { background: #FFE600; }
@media (max-width: 1100px) {
  .webair-nav__links { padding: 0; }
  .webair-nav__symbol { width: 28px; height: 28px; }
  #arguments, #service-creation, #service-refonte, #service-local, #projets, #comparatif, #abonnement, #approche, #avis, #cliply, #faq, #contact { scroll-margin-top: 95px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
