/* Barre d'action + bandeau cookies */
.sd-bar{position:fixed;z-index:900;display:flex;gap:10px;opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .3s,transform .3s}
.sd-bar.is-visible{opacity:1;transform:none;pointer-events:auto}
.sd-bar a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;font:800 15px/1 "Montserrat",system-ui,sans-serif;color:#fff;text-decoration:none}
.sd-bar .sd-quote{background:linear-gradient(135deg,#39d6ff,#835cff);box-shadow:0 10px 32px rgba(57,214,255,.3)}
.sd-bar .sd-call{display:none;background:#0d1828;border:1px solid rgba(255,255,255,.2)}
.sd-bar svg{flex-shrink:0}
@media(min-width:769px){.sd-bar{right:28px;bottom:28px}}
@media(max-width:768px){
  .sd-bar{left:0;right:0;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(6,11,22,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid rgba(255,255,255,.1)}
  .sd-bar a{flex:1;padding:0 12px;font-size:14px}
  .sd-bar .sd-call{display:inline-flex}
  body.sd-has-bar{padding-bottom:72px}
}
.sd-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:1100;max-width:760px;margin:0 auto;padding:18px 20px;border-radius:18px;background:#0d1828;border:1px solid rgba(255,255,255,.18);box-shadow:0 20px 60px rgba(0,0,0,.5);color:#d0def2;font:500 14px/1.55 "Montserrat",system-ui,sans-serif}
.sd-consent p{margin:0 0 14px}
.sd-consent a{color:#39d6ff;text-decoration:underline}
.sd-consent .sd-actions{display:flex;gap:10px;flex-wrap:wrap}
.sd-consent button{flex:1;min-width:130px;min-height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;font:800 14px "Montserrat",system-ui,sans-serif;cursor:pointer}
.sd-consent button:hover{background:rgba(255,255,255,.08)}
@media(max-width:768px){.sd-consent{bottom:84px}}

/* Bloc auteur des articles */
.author-box{display:flex;gap:20px;align-items:center;margin-top:48px;padding:24px;border-radius:20px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04)}
.author-box img{width:84px;height:84px;border-radius:50%;object-fit:cover;object-position:center top;flex-shrink:0}
.author-box strong{display:block;font-size:17px;color:#fff;margin-bottom:6px}
.author-box p{margin:0;font-size:14.5px;line-height:1.6;color:#d0def2}
.author-box a{color:#39d6ff;text-decoration:underline}
@media(max-width:560px){.author-box{flex-direction:column;text-align:center}}

/* Bascule de thème (en-tête toujours sombre) */
.sd-nav-actions{display:flex;align-items:center;gap:10px;justify-self:end}
.sd-theme{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#e8f1ff;cursor:pointer;transition:background .2s,border-color .2s}
.sd-theme:hover{background:rgba(255,255,255,.14);border-color:rgba(57,214,255,.5)}
.sd-theme:focus-visible{outline:2px solid #39d6ff;outline-offset:2px}
.sd-theme svg{width:19px;height:19px}
.sd-theme .sd-sun{display:none}
html[data-theme="light"] .sd-theme .sd-sun{display:block}
html[data-theme="light"] .sd-theme .sd-moon{display:none}
@media(max-width:980px){.sd-nav-actions{margin-left:auto}}
html[data-theme="light"] .author-box{background:#fff;border-color:rgba(15,27,45,.14);box-shadow:0 8px 24px rgba(15,27,45,.06)}
html[data-theme="light"] .author-box strong{color:#0f1b2d}
html[data-theme="light"] .author-box p{color:#2b3d57}
html[data-theme="light"] .author-box a{color:#0680a8}

/* Logo : ne jamais écraser (img{max-width:100%} le laissait se comprimer) */
.topbar .brand{flex-shrink:0;min-width:max-content}
.topbar .brand-mark{max-width:none;width:auto;height:60px;flex-shrink:0}
@media(min-width:981px) and (max-width:1320px){
  .topbar .nav{gap:12px}
  .topbar .menu>li>a,.topbar .dropbtn{padding:8px 7px;font-size:13px}
  .sd-nav-actions{gap:8px}
  .topbar .nav-phone{padding:10px 12px;font-size:13px}
}
@media(min-width:981px) and (max-width:1200px){
  .topbar .menu>li>a,.topbar .dropbtn{padding:8px 6px;font-size:12.5px;gap:4px}
  .topbar .nav-phone span{display:none}
  .topbar .nav-phone{width:42px;height:42px;padding:0}
}
@media(min-width:981px) and (max-width:1070px){
  .topbar .nav{gap:8px}
  .topbar .brand-mark{height:48px}
  .topbar .menu>li>a,.topbar .dropbtn{padding:8px 4px;font-size:12px}
}

/* Pied de page : texte du bas plus lisible */
.footer-bottom,.footer-bottom a,.footer-bottom span{color:#9fb4d1!important}
