/* REM — styles communs ajoutés à toutes les pages (polices, menu, pied de page, accessibilité) */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'LINE Seed JP';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/line-seed-jp-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'LINE Seed JP';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/line-seed-jp-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'LINE Seed JP';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/line-seed-jp-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

  /* refonte SEO / UX : éléments communs */
  .sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .skip{ position:fixed; left:1rem; top:-120px; z-index:400; background:var(--blue); color:#fff; padding:.85rem 1.3rem; border-radius:100px; font-weight:700; font-size:.95rem; }
  header{ transition:transform .55s var(--ease), background-color .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease); }
  header.is-scrolled{ background:rgba(11,15,25,.84); -webkit-backdrop-filter:saturate(1.4) blur(14px); backdrop-filter:saturate(1.4) blur(14px); padding-top:.9rem; padding-bottom:.9rem; box-shadow:0 1px 0 rgba(242,245,249,.08); }
  header.is-scrolled.on-light{ background:rgba(242,245,249,.88); box-shadow:0 1px 0 rgba(22,27,34,.08); }
  body.menu-open header{ background:transparent !important; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; }
  .faq, .faq-item{ border:0 !important; }
  .faq-item summary{ padding:1.1rem 0; }
  .skip:focus-visible{ top:1rem; outline:2px solid #fff; outline-offset:2px; }
  /* logo du bloc final : proportions respectées */
  .cta-logo{ width:clamp(200px,30vw,420px); height:auto; margin-bottom:clamp(2rem,4vw,3rem); }
  /* expertises : un seul bleu pour tous les titres */
  .xp2:nth-of-type(3n+2) .xp2-copy h2, .xp2:nth-of-type(3n) .xp2-copy h2{ color:var(--blue); }
  /* sur-titre mot-clé dans le H1 */
  .h1-kicker{ display:block; font-family:var(--font); font-weight:700; font-size:clamp(.98rem,1.25vw,1.1rem); line-height:1.45; letter-spacing:0; text-transform:none; color:var(--blue-2); margin-bottom:1.3rem; max-width:760px;
    opacity:0; transform:translateY(10px); transition:opacity .8s var(--ease) .15s, transform .8s var(--ease) .15s; }
  body.loaded .h1-kicker{ opacity:1; transform:none; }
  @media (prefers-reduced-motion:reduce){ .h1-kicker{ opacity:1; transform:none; transition:none; } }
  /* sous-menu Expertises : panneau lisible sur tous les fonds */
  nav .submenu{ background:#0B0F19; padding:.9rem 1.3rem; border-radius:18px; border:1px solid rgba(242,245,249,.12); box-shadow:0 20px 50px rgba(0,0,0,.35); min-width:300px; }
  header.on-light nav .submenu{ background:#fff; border-color:#E1E6ED; box-shadow:0 20px 50px rgba(11,15,20,.14); }
  nav .submenu .sub-all{ margin-top:.4rem; padding-top:.6rem; border-top:1px solid rgba(242,245,249,.12); }
  header.on-light nav .submenu .sub-all{ border-top-color:#E1E6ED; }
  header nav .submenu .sub-all a{ font-size:.85rem; color:var(--blue-2); }
  header.on-light nav .submenu .sub-all a{ color:var(--blue); }
  /* boutons */
  .btn.btn-blue{ background:var(--blue); color:#fff; }
  .btn.btn-blue .fill{ background:var(--grey-d); }
  .btn-ghost{ display:inline-flex; align-items:center; gap:.55rem; min-height:44px; padding:1rem 1.5rem; border-radius:100px; border:1px solid var(--line); font-weight:700; font-size:.95rem; transition:border-color .3s var(--ease), color .3s var(--ease); }
  .btn-ghost:hover{ border-color:var(--blue-2); color:var(--blue-2); }
  .link-arrow{ display:inline-flex; align-items:center; gap:.4rem; font-weight:700; color:var(--blue); border-bottom:2px solid currentColor; padding-bottom:2px; }
  .two-col-item p.more{ font-size:1.05rem; margin-top:1.8rem; }
  .contact-info .sr-only + h3{ margin-top:0; }
  .contact-info p.more, .contact-info p.more a{ font-size:1rem; margin-top:1rem; }
  .contact-info .contact-sub{ font-size:.95rem; font-weight:500; color:var(--text-dim); }
  /* expertises : accès à la page dédiée sous chaque expertise */
  /* les deux colonnes dans leur propre grille : la colonne collante s'arrête avant la carte « page dédiée » */
  .xp2{ display:block; }
  .xp2-main{ display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(2rem,6vw,6rem); align-items:start; }
  @media (max-width:860px){ .xp2-main{ grid-template-columns:1fr; } }
  .xp2-more{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.35rem 2rem;
    margin-top:clamp(1.8rem,3.5vw,2.8rem); padding:clamp(1.4rem,2.6vw,2rem) clamp(1.4rem,3vw,2.4rem); background:#fff; border-radius:28px;
    box-shadow:0 1px 0 #d3dae3; transition:transform .4s var(--ease), box-shadow .4s var(--ease); }
  .xp2-more:hover{ transform:translateY(-3px); box-shadow:0 18px 40px rgba(11,15,20,.1), inset 0 0 0 2px var(--blue); }
  .xp2-more:focus-visible{ outline:2px solid var(--blue); outline-offset:4px; }
    .xp2-more-t{ grid-column:1; font-weight:800; font-size:clamp(1.25rem,2vw,1.65rem); letter-spacing:-.015em; line-height:1.15; color:var(--grey-d); }
  .xp2-more-d{ grid-column:1; color:#4b545e; line-height:1.55; }
  .xp2-more-go{ grid-column:2; grid-row:1 / span 3; display:inline-flex; align-items:center; gap:.6rem; background:var(--blue); color:#fff; font-weight:700; font-size:.95rem;
    padding:1rem 1.5rem; border-radius:100px; white-space:nowrap; transition:background .3s var(--ease); }
  .xp2-more-go i{ font-style:normal; transition:transform .3s var(--ease); }
  .xp2-more:hover .xp2-more-go{ background:var(--grey-d); }
  .xp2-more:hover .xp2-more-go i{ transform:translateX(4px); }
  @media (max-width:700px){ .xp2-more{ grid-template-columns:1fr; } .xp2-more-go{ grid-column:1; grid-row:auto; justify-self:start; margin-top:.9rem; } }
  /* liens dans des <nav> hors menu : pas de style « menu » */
  .crumbs a, .svc-toc a, .ft-col a, .ft-legal a{ text-transform:none; letter-spacing:0; }
  .ft-legal a::after{ display:none; }
  .crumbs a, .ft-col a{ font-size:inherit; font-weight:inherit; }
  .crumbs a{ font-weight:600; }
  .svc-toc a::after, .ft-col a::after{ display:none; }
  .ft-col ul{ display:block; }
  /* pied de page enrichi */
  footer.site-footer{ display:block; padding:clamp(3.5rem,7vw,5rem) clamp(1.4rem,4vw,3.4rem) 2rem; font-size:.92rem; }
  .ft-grid{ display:grid; grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr)); gap:2.4rem clamp(1.6rem,4vw,3.6rem); max-width:1340px; }
  .ft-brand p{ margin-top:1.2rem; line-height:1.6; max-width:380px; }
  .ft-nap{ display:flex; flex-direction:column; align-items:flex-start; gap:0; font-style:normal; margin-top:1.4rem; line-height:1.5; }
  .ft-nap strong{ color:var(--grey-l); font-weight:800; margin-bottom:.15rem; }
  .ft-social{ list-style:none; display:flex; gap:.4rem; margin-top:1rem; margin-left:-10px; }
  .ft-social a{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; color:var(--grey-l); transition:color .3s var(--ease), transform .3s var(--ease); }
  .ft-social a:hover{ color:var(--blue-2); transform:translateY(-2px); }
  .ft-social svg{ width:24px; height:24px; }
  .ft-legal{ display:flex; flex-wrap:wrap; gap:.2rem 1.4rem; }
  .ft-legal a{ display:inline-block; padding:.5rem 0; color:var(--text-dim); font-size:inherit; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
  .ft-legal a:hover{ color:var(--grey-l); }
  .ft-nap a{ color:var(--grey-l); font-weight:700; padding:.45rem 0; }
  .ft-nap a:hover, .ft-col a:hover{ color:var(--blue-2); }
  .ft-title{ font-weight:800; font-size:1rem; color:var(--grey-l); margin-bottom:.6rem; }
  .ft-col ul{ list-style:none; }
  .ft-col a{ display:inline-block; padding:.45rem 0; color:var(--grey-l); line-height:1.35; transition:color .3s var(--ease); }
  .ft-col li > span{ display:inline-block; padding:.2rem 0; line-height:1.45; }
  .ft-bottom{ max-width:1340px; margin-top:3rem; padding-top:1.4rem; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; }
  @media (max-width:960px){ .ft-grid{ grid-template-columns:1fr 1fr; } .ft-brand{ grid-column:1 / -1; } }
  @media (max-width:520px){ .ft-grid{ grid-template-columns:1fr; } }

  .intro-skip{ position:fixed; right:clamp(1rem,3vw,2.2rem); bottom:clamp(1rem,3vw,2rem); z-index:210; min-height:44px; padding:.6rem .2rem;
    background:none; border:0; color:rgba(242,245,249,.82); font:600 .95rem/1 var(--font); text-decoration:underline; text-underline-offset:4px; cursor:pointer;
    opacity:0; animation:introSkipIn .5s ease .9s forwards; }
  .intro-skip:hover{ color:#fff; }
  .intro-skip:focus-visible{ outline:2px solid #fff; outline-offset:4px; border-radius:4px; }
  @keyframes introSkipIn{ to{ opacity:1; } }
  body.intro-on{ cursor:pointer; }

  /* bandeau de consentement aux cookies de mesure d'audience, aux couleurs de REM */
  .cookies{ position:fixed; left:clamp(1rem,3vw,2.2rem); bottom:clamp(1rem,3vw,2.2rem); z-index:250; width:min(580px, calc(100vw - 2rem));
    background:var(--blue); color:#fff; border-radius:28px; padding:clamp(1.5rem,3vw,2.2rem);
    box-shadow:0 30px 80px rgba(0,0,0,.45); font-size:clamp(1rem,1.2vw,1.08rem); line-height:1.6;
    animation:cookiesIn .6s var(--ease) both; }
  @keyframes cookiesIn{ from{ opacity:0; transform:translateY(24px); } to{ opacity:1; transform:none; } }
  .cookies p{ margin:0; }
  .cookies-tete{ display:flex; align-items:center; gap:1rem; margin-bottom:1rem; }
  .cookies-tete img{ width:48px; height:48px; border-radius:12px; flex:none; }
  .cookies-titre{ font-weight:800; font-size:clamp(1.35rem,2.2vw,1.75rem); line-height:1.15; letter-spacing:-.01em; }
  .cookies-texte{ color:rgba(255,255,255,.9); }
  .cookies a{ color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
  .cookies-actions{ display:flex; gap:.8rem; margin-top:1.5rem; }
  .cookies-actions .btn{ flex:1; justify-content:center; border:0; font-family:var(--font); font-size:1rem; cursor:pointer; min-height:52px; }
  .cookies-actions .btn .fill{ background:var(--grey-d); }
  .cookies-actions .cookies-refus{ background:transparent; color:#fff; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.85); }
  .cookies-actions .btn:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
  @media (max-width:520px){ .cookies{ border-radius:22px; } .cookies-tete img{ width:40px; height:40px; } .cookies-actions{ flex-direction:column; } }
  @media (prefers-reduced-motion:reduce){ .cookies{ animation:none; } }
  .ft-legal button{ display:inline-block; padding:.5rem 0; background:none; border:0; color:var(--text-dim); font:inherit; font-weight:600;
    text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
  .ft-legal button:hover{ color:var(--grey-l); }
  @media print{ .cookies{ display:none; } }

  /* téléphones : les grands titres tiennent sur l'écran (« communication, » n'est plus coupé) */
  @media (max-width:560px){ body .hero h1{ font-size:min(2.8rem, 8.6vw); } h2{ font-size:min(2.1rem, 7.8vw); }
    body .two-col-title, body .pillar-copy h3{ font-size:min(2.4rem, 10vw); } .two-col{ grid-template-columns:minmax(0,1fr); } }
  /* contrastes suffisants (WCAG AA) : lien bleu sur fond clair, texte des cartes sur fond bleu */
  .link-arrow{ color:#0057DB; }
  .wcard-body p{ opacity:1; }
