
    :root{--navy:#16356a;--blue:#2f6fa6;--text:#1e2e48;--muted:#5f7390;--bg:#f4faff}
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);line-height:1.7;background:linear-gradient(180deg,#fbfdff,var(--bg))}
    .skip-link{position:fixed;left:16px;top:12px;z-index:10;padding:12px 18px;border-radius:12px;color:#fff;background:#0f2f5f;font-weight:800;transform:translateY(-160%);transition:transform .2s ease}.skip-link:focus{transform:translateY(0)}
    a{color:var(--blue);text-underline-offset:3px}a:focus-visible,button:focus-visible{outline:3px solid #ffbf47;outline-offset:4px;border-radius:8px}
    header{padding:24px 0;border-bottom:1px solid rgba(22,53,106,.10);background:rgba(255,255,255,.76)}
    .wrap{width:min(920px,92%);margin:auto}.brand{font-size:1.5rem;font-weight:800;color:var(--navy)}.sub{color:var(--muted)}
    main{padding:54px 0 76px}.card{padding:clamp(24px,5vw,48px);border:1px solid rgba(94,165,217,.18);border-radius:28px;background:rgba(255,255,255,.86);box-shadow:0 22px 55px rgba(22,53,106,.08)}
    h1,h2{color:var(--navy);line-height:1.15}h1{font-size:clamp(2rem,5vw,3rem);margin-top:0}h2{margin-top:34px;font-size:1.35rem}p,li{color:var(--muted)}
    .back{display:inline-flex;margin-top:28px;padding:12px 18px;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--navy),#1f4f95);text-decoration:none;font-weight:800}
    footer{padding:24px 0;color:var(--muted);font-size:.92rem}
  

    /* Correctif tactile : les widgets flottants ne doivent pas créer
       une zone transparente au-dessus du menu ou du pied de page. */
    .whatsapp-widget,
    .map-widget{
      pointer-events:none;
    }

    .floating-whatsapp,
    .whatsapp-panel.open,
    .floating-map,
    .map-panel.open{
      pointer-events:auto;
    }

    /* Liens du pied de page facilement cliquables sur mobile. */
    .footer{
      position:relative;
      z-index:70;
      isolation:isolate;
    }

    .footer-links a{
      position:relative;
      z-index:2;
      display:inline-flex;
      align-items:center;
      min-height:44px;
      padding:7px 5px;
      pointer-events:auto;
      touch-action:manipulation;
      -webkit-tap-highlight-color:rgba(47,111,166,.14);
    }

    @media (max-width:820px){
      .mobile-menu{
        z-index:300;
      }

      .mobile-menu-btn{
        z-index:301;
      }

      .mobile-menu a{
        min-height:56px;
      }

      /* Aucun blocage du défilement du document : indispensable pour
         que les ancres natives fonctionnent correctement sur Safari iOS. */
      body.mobile-menu-open{
        overflow:auto;
        touch-action:auto;
      }
    }

  
    /* Navigation : reste en haut du site et ne suit plus le scroll */
    .topbar{
      position:relative !important;
      top:auto !important;
    }


    /* Flèche retour en haut : discrète, légère et interactive */
    .back-to-top{
      position:fixed;
      left:50%;
      bottom:calc(18px + env(safe-area-inset-bottom, 0px));
      transform:translate3d(-50%,14px,0) scale(.96);
      z-index:58;
      width:42px;
      height:42px;
      border-radius:50%;
      border:1px solid rgba(255,255,255,.58);
      background:rgba(255,255,255,.30);
      color:var(--navy);
      display:grid;
      place-items:center;
      cursor:pointer;
      opacity:0;
      pointer-events:none;
      box-shadow:0 8px 24px rgba(22,53,106,.08);
      backdrop-filter:blur(12px);
      -webkit-backdrop-filter:blur(12px);
      transition:opacity .28s ease, transform .28s ease, background .22s ease, box-shadow .22s ease;
    }

    .back-to-top.is-visible{
      opacity:.72;
      pointer-events:auto;
      transform:translate3d(-50%,0,0) scale(1);
    }

    .back-to-top:hover,
    .back-to-top:focus-visible{
      opacity:1;
      transform:translate3d(-50%,-4px,0) scale(1.05);
      background:rgba(255,255,255,.48);
      box-shadow:0 12px 28px rgba(22,53,106,.14);
      outline:none;
    }

    .back-to-top:active{
      transform:translate3d(-50%,-1px,0) scale(.98);
    }

    .back-to-top svg{
      width:18px;
      height:18px;
      stroke:currentColor;
      stroke-width:2;
      fill:none;
      stroke-linecap:round;
      stroke-linejoin:round;
    }

    @media(max-width:720px){
      .back-to-top{
        width:40px;
        height:40px;
        bottom:calc(14px + env(safe-area-inset-bottom, 0px));
      }
    }

    @media(prefers-reduced-motion:reduce){
      .back-to-top{
        transition:opacity .15s linear;
      }
    }

