:root {
  --bg: #0b0e14;
  --panel: rgba(18,24,33,0.92);
  --panel-2: rgba(17,22,30,0.96);
  --text: #eef4fb;
  --muted: #91a6bd;
  --blue: #0078d4;
  --blue-2: #1c94ee;
  --border: rgba(255,255,255,0.08);
  --radius: 18px;
  --shadow: 0 22px 46px rgba(0,0,0,0.4);
  --header-h: 72px;
  --container: 1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(180deg,#070a10 0%,#0b0e14 100%);color:var(--text)}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.container{width:min(var(--container),calc(100% - 32px));margin:0 auto}
.narrow{width:min(980px,100%);margin:0 auto}

.site-header{position:sticky;top:0;z-index:120;height:var(--header-h);background:rgba(8,11,18,.72);backdrop-filter:blur(14px) saturate(125%);-webkit-backdrop-filter:blur(14px) saturate(125%);border-bottom:1px solid rgba(255,255,255,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:1.15rem;letter-spacing:-.03em;white-space:nowrap;line-height:1}
.brand-mark{width:14px;height:14px;border-radius:50%;background:linear-gradient(180deg,#1c94ee 0%,#0078d4 100%);box-shadow:0 0 0 6px rgba(0,120,212,.12)}
.brand-white{color:#fff}.brand-blue{color:var(--blue)}
.desktop-nav{margin-left:auto;display:flex;align-items:center;gap:2px}
.desktop-menu,.desktop-menu ul,.footer-menu,.footer-menu ul,.mobile-menu-list,.mobile-menu-list ul{list-style:none;padding:0;margin:0}
.desktop-menu{display:flex;align-items:center;gap:2px}
.desktop-menu>li{position:relative}
.desktop-menu a{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:#d9e2ee;font-size:.92rem;font-weight:600;transition:background-color .18s ease,color .18s ease}
.desktop-menu a:hover,.desktop-menu .current-menu-item>a,.desktop-menu .current-menu-ancestor>a,.desktop-menu .current_page_item>a,.desktop-menu .current-menu-parent>a,.desktop-menu li:hover>a{background:rgba(255,255,255,.05);color:#fff}
.desktop-menu .menu-contact>a{background:linear-gradient(180deg,#1c94ee 0%,#0078d4 100%);color:#fff;box-shadow:0 10px 22px rgba(0,120,212,.2)}
.desktop-menu .sub-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:250px;padding:10px;border-radius:16px;border:1px solid var(--border);background:rgba(12,17,25,.97);box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s ease;display:block}
.desktop-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.desktop-menu .sub-menu li{display:block}
.desktop-menu .sub-menu a{display:block;height:auto;padding:10px 12px;border-radius:10px}
.desktop-menu .sub-menu a:hover{background:rgba(0,120,212,.15)}
.search-form,.mobile-search-form{position:relative;margin:0}
.search-form{width:175px;flex:0 0 auto}
.search-form input,.mobile-search-form input,.contact-form input,.contact-form textarea{width:100%;height:36px;padding:0 14px 0 36px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(3,6,11,.66);color:#fff;outline:none;font-size:.92rem;transition:border-color .18s ease,box-shadow .18s ease}
.contact-form textarea{height:auto;min-height:170px;padding:14px 15px;border-radius:14px}
.search-form input::placeholder,.mobile-search-form input::placeholder,.contact-form input::placeholder,.contact-form textarea::placeholder{color:#97a4b7}
.search-form input:focus,.mobile-search-form input:focus,.contact-form input:focus,.contact-form textarea:focus{border-color:rgba(0,120,212,.9);box-shadow:0 0 0 4px rgba(0,120,212,.14)}
.search-icon{position:absolute;left:12px;top:50%;width:15px;height:15px;transform:translateY(-50%);fill:#8a97aa;pointer-events:none}
.menu-toggle{display:none;width:38px;height:38px;align-items:center;justify-content:center;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#fff;font-size:1rem}
.mobile-panel{border-top:1px solid rgba(255,255,255,.06);background:rgba(8,11,18,.96)}
.mobile-panel__inner{padding:14px 0 16px}
.mobile-search-form{margin-bottom:12px}
.mobile-nav .mobile-menu-list,.mobile-nav .mobile-menu-list .sub-menu{display:grid;gap:8px}
.mobile-nav a{display:block;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.03);color:#e6eef9}
.mobile-nav .sub-menu{margin-top:8px;padding-left:12px}

.hero-shell{padding-top:12px}
.hero-shell--compact .hero-banner{min-height:220px}
.hero-banner{position:relative;overflow:hidden;min-height:230px;background:linear-gradient(90deg,#02050a 0%,#021018 10%,#062d4b 22%,#0a4774 50%,#062d4b 78%,#021018 90%,#02050a 100%);border-top:1px solid rgba(255,255,255,.03);border-bottom:1px solid rgba(255,255,255,.03);box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
.hero-banner::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 12%,rgba(20,152,255,.18),transparent 22%),linear-gradient(90deg,rgba(0,0,0,.65) 0%,transparent 18%,transparent 82%,rgba(0,0,0,.65) 100%);pointer-events:none}
.hero-inner{position:relative;z-index:1;max-width:980px;margin:0 auto;padding:30px 18px 20px;text-align:center}
.hero h1{margin:10px 0 12px;font-size:clamp(2rem,3.8vw,3.55rem);line-height:1.08;letter-spacing:-.04em;white-space:nowrap;color:#f5f9ff}
.hero p{margin:0 auto;max-width:720px;color:#8ea8c1;font-size:1rem;line-height:1.6}
.hero--small{position:relative;background:radial-gradient(ellipse at center, rgba(0,120,212,.28) 0%, rgba(5,44,77,.78) 45%, rgba(0,0,0,1) 82%)}
.hero--small::before,.hero--small::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 82%, rgba(0,0,0,.78) 100%)}
.hero__inner{position:relative;z-index:1;min-height:300px;display:grid;place-items:center;text-align:center;padding:42px 0}
.hero__inner--left{text-align:left;place-items:start;min-height:220px}
.hero__eyebrow{font-size:.9rem;letter-spacing:.15em;text-transform:uppercase;color:#9dd5ff;margin-bottom:14px;font-weight:700}
.page-wrap{padding:34px 0 48px}
.section{padding:40px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.section-head--spaced{margin-top:34px}
.section-title{display:inline-flex;align-items:center;gap:12px;margin:0;font-size:1.95rem;font-weight:800;letter-spacing:-.03em}
.section-title.small{font-size:1.95rem}
.section-title::before{content:"";display:inline-block;width:3px;height:28px;border-radius:99px;background:var(--blue)}
.section-lead{margin:8px 0 0;color:var(--muted);line-height:1.7;max-width:760px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.section-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;justify-content:center;margin-bottom:32px}
.card,.section-tile,.info-card,.contact-card,.mini-info,.panel,.post-card{border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(180deg,var(--panel) 0%,var(--panel-2) 100%);box-shadow:var(--shadow)}
.card,.section-tile,.info-card,.contact-card,.mini-info,.post-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.card:hover,.section-tile:hover,.info-card:hover,.mini-info:hover,.post-card:hover{transform:translateY(-3px);border-color:rgba(0,120,212,.3);box-shadow:0 22px 46px rgba(0,0,0,.4)}
.post-card{display:flex;flex-direction:column;min-height:210px;padding:18px 18px 16px}
.post-card__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.9rem;margin-bottom:14px}
.pill,.card-badge{display:inline-flex;width:fit-content;padding:5px 10px;border-radius:999px;background:rgba(0,120,212,.16);color:#51a9ec;font-size:.74rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.post-card__title{margin:14px 0 10px;font-size:1.05rem;line-height:1.45;font-weight:700;color:#f5f8fc}
.post-card__excerpt,.info-card p,.contact-card p,.mini-info p,.entry-content,.search-meta,.panel p,.section-tile p{margin:0;color:var(--muted);line-height:1.75;font-size:.94rem}
.post-card__link,.card-link{color:#2da1ff;font-weight:700}
.section-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;min-height:212px;cursor:pointer}
.section-tile::after{content:"Voir la rubrique";position:absolute;right:20px;bottom:18px;color:#2da1ff;font-size:.9rem;font-weight:700}
.section-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:rgba(0,120,212,.14);color:#44a7f6;font-size:1.4rem;font-weight:800}
.section-tile h3,.mini-info h4,.panel h2,.panel h3,.info-card h2,.contact-card h2,.info-card h3,.contact-card h3{margin:0 0 12px;font-weight:800;letter-spacing:-.03em}
.section-tile h3{font-size:1.2rem}
.empty{padding:24px;text-align:center;border:1px dashed rgba(255,255,255,.12);border-radius:var(--radius);color:var(--muted);background:rgba(255,255,255,.02)}
.about-grid,.contact-grid,.single-layout,.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.single-layout{grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr)}
.split-grid{grid-template-columns:1.15fr .85fr}
.split-grid--contact{grid-template-columns:1fr 1fr}
.panel--padded,.info-card,.contact-card,.mini-info{padding:24px}
.info-grid,.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.contact-stack,.contact-items{display:grid;gap:14px;margin-top:16px}
.contact-item,.contact-row{display:flex;align-items:flex-start;gap:14px;padding:16px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05)}
.contact-row{justify-content:space-between;align-items:center}
.contact-item strong{display:block;margin-bottom:4px;font-size:.96rem}
.contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.contact-form .full,.full{grid-column:1 / -1}
.button-primary,.btn-primary{min-height:42px;padding:0 16px;border-radius:10px;border:0;color:#fff;font-weight:700;background:linear-gradient(180deg,#1c94ee 0%,#0078d4 100%);box-shadow:0 10px 22px rgba(0,120,212,.2)}
.simple-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.simple-list a{color:#8ad2ff}.simple-list li{color:var(--muted)}
.entry-content>*:first-child{margin-top:0}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{color:var(--text)}.entry-content p,.entry-content li{color:var(--muted)}
.footer{border-top:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg,rgba(8,12,18,.75),rgba(5,8,13,.98))}
.footer-inner{max-width:1120px;margin:0 auto;padding:42px 16px 36px;display:flex;justify-content:center}
.footer-center{width:100%;max-width:420px;text-align:center}.footer-center h3{margin:0 0 8px;font-size:1.15rem;font-weight:800;letter-spacing:-.03em}.footer-center p,.footer-copy{margin:0;color:var(--muted);line-height:1.75}
.footer-follow{margin-top:18px;font-size:1.05rem;font-weight:800;color:#fff}
.footer-socials{display:flex;align-items:center;justify-content:center;gap:14px;margin:14px 0 16px}.footer-socials a{width:34px;height:34px;border-radius:999px;border:1px solid rgba(255,255,255,.08);display:grid;place-items:center;color:#c8d2de;background:rgba(255,255,255,.02);font-size:.72rem;font-weight:800;text-transform:uppercase;transition:color .18s ease,transform .18s ease,border-color .18s ease}.footer-socials a:hover{color:#fff;transform:translateY(-1px);border-color:rgba(0,120,212,.4)}
.footer-links .footer-menu,.footer-links .menu{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:0;flex-wrap:wrap;list-style:none}
.footer-links a,.footer-links .page_item a{min-height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#dde6f1;transition:background-color .18s ease}.footer-links a:hover,.footer-links .current-menu-item>a,.footer-links .current_page_item>a{background:rgba(255,255,255,.04)}
.footer-copy{margin-top:14px}
.wp-page-menu,.menu,.footer-menu{list-style:none}
.search-results-title{margin:0}
@media (max-width:1100px){.desktop-nav,.search-form{display:none}.menu-toggle{display:inline-flex}.hero h1{white-space:normal}}
@media (max-width:900px){.about-grid,.contact-grid,.single-layout,.split-grid,.split-grid--contact,.info-grid,.mini-grid{grid-template-columns:1fr}}
@media (max-width:640px){.container{width:min(var(--container),calc(100% - 24px))}.hero-banner{min-height:210px}.hero-inner{padding:28px 16px 18px}.hero__inner{min-height:250px}.hero h1{font-size:clamp(1.8rem,8vw,2.55rem)}.section-title,.section-title.small{font-size:1.55rem}.section-tiles,.grid{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}}
/* Contact Form 7 - correction visuelle champs + textarea + bouton */
.wpcf7 form .wpcf7-form-control-wrap{
  display:block;
  width:100%;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="url"],
.wpcf7 form textarea{
  width:100% !important;
  background:#050b15 !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#fff !important;
  border-radius:10px !important;
  padding:12px 14px !important;
  font-size:16px !important;
  line-height:1.5 !important;
  box-sizing:border-box !important;
  outline:none !important;
  box-shadow:none !important;
  appearance:none;
}

.wpcf7 form textarea{
  min-height:180px !important;
  resize:vertical !important;
  display:block;
}

.wpcf7 form input::placeholder,
.wpcf7 form textarea::placeholder{
  color:rgba(255,255,255,.45) !important;
}

.wpcf7 form input:focus,
.wpcf7 form textarea:focus{
  border-color:#0b84ff !important;
  box-shadow:0 0 0 3px rgba(11,132,255,.16) !important;
}

.wpcf7 form .wpcf7-submit{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-width:220px;
  height:48px;
  padding:0 22px !important;
  background:#0b84ff !important;
  color:#fff !important;
  border:none !important;
  border-radius:10px !important;
  font-size:16px !important;
  font-weight:700 !important;
  cursor:pointer;
  box-shadow:none !important;
  transition:background .2s ease, transform .2s ease;
}

.wpcf7 form .wpcf7-submit:hover{
  background:#0974df !important;
  transform:translateY(-1px);
}

.wpcf7 form .wpcf7-submit:active{
  transform:translateY(0);
}

.wpcf7 form .wpcf7-spinner{
  margin:12px 0 0 12px;
  vertical-align:middle;
}

.wpcf7 form .wpcf7-not-valid-tip{
  margin-top:6px;
  font-size:13px;
}

.wpcf7 form .wpcf7-response-output{
  margin:16px 0 0 !important;
  border-radius:10px;
  font-size:14px;
}
/* Colonne gauche Contact : version plus compacte */
.contact-stack{
  max-width: 500px !important;
  margin: 12px auto 0 !important;
  gap: 10px !important;
}

.contact-row{
  padding: 12px 16px !important;
  min-height: auto !important;
  border-radius: 14px !important;
}

.contact-row strong,
.contact-row b{
  font-size: 14px !important;
}

.contact-row,
.contact-row *{
  line-height: 1.35 !important;
}
/* Contact : colonne gauche plus compacte et mieux centrée */
.split-grid.split-grid--contact{
  grid-template-columns: 0.85fr 1.15fr !important;
  gap: 20px !important;
  align-items: start !important;
}

.split-grid.split-grid--contact > article:first-child{
  max-width: 500px !important;
  width: 100% !important;
  justify-self: center !important;
  align-self: start !important;
  min-height: auto !important;
  height: auto !important;
  padding: 22px !important;
}

.split-grid.split-grid--contact > article:first-child h3{
  margin-bottom: 14px !important;
}

.split-grid.split-grid--contact > article:first-child .contact-stack{
  max-width: 100% !important;
  margin: 8px auto 0 !important;
  gap: 10px !important;
}

.split-grid.split-grid--contact > article:first-child .contact-row{
  padding: 12px 16px !important;
  min-height: auto !important;
  border-radius: 14px !important;
  line-height: 1.35 !important;
}
.split-grid.split-grid--contact > article{
  min-height: auto !important;
}
.contact-message{
  max-width: 420px;
  margin: 10px auto 0;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  font-size: 17px;
}

.contact-message p{
  margin: 0 0 16px;
}

.split-grid.split-grid--contact > article:first-child{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Contact gauche : rendu propre sans carte interne */
.split-grid.split-grid--contact > article:first-child{
  max-width: 500px !important;
  width: 100% !important;
  justify-self: center !important;
  align-self: start !important;
  min-height: auto !important;
  height: auto !important;
  padding: 26px !important;
}

.split-grid.split-grid--contact > article:first-child h3{
  margin: 0 0 18px !important;
}

.contact-message{
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.75;
}

.contact-message p{
  margin: 0 0 18px !important;
}
/* Contact form: textarea plus petite + bouton espacé et centré */
.wpcf7 form textarea{
  min-height: 220px !important;
}

.wpcf7 form .cf-full:last-child,
.wpcf7 form p:last-child{
  margin-top: 18px !important;
  text-align: center !important;
}

.wpcf7 form .wpcf7-submit{
  display: inline-flex !important;
  margin: 0 auto !important;
}
.wpcf7 form textarea{
  min-height: 180px !important;
}
/* Contact form: labels alignés à gauche + espaces réduits */
.wpcf7 form .cf-grid{
  gap: 12px !important;
}

.wpcf7 form .cf-field,
.wpcf7 form p{
  margin: 0 !important;
}

.wpcf7 form .cf-field label{
  display: block !important;
  text-align: left !important;
  margin-bottom: 6px !important;
}

.wpcf7 form label{
  display: block !important;
  text-align: left !important;
  margin-bottom: 6px !important;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form textarea{
  margin-top: 0 !important;
}

.wpcf7 form textarea{
  min-height: 180px !important;
}

.wpcf7 form .cf-full:last-child,
.wpcf7 form p:last-child{
  margin-top: 18px !important;
  text-align: center !important;
}
/* Contact Form 7 : réduire l'espace entre labels et champs */
.wpcf7 form p{
  margin: 0 0 8px !important;
}

.wpcf7 form p:last-of-type{
  margin-bottom: 0 !important;
}

.wpcf7 form label{
  display: block !important;
  margin: 0 0 2px !important;
  line-height: 1.3 !important;
}

.wpcf7 form .wpcf7-form-control-wrap{
  display: block !important;
  margin: 0 !important;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form textarea{
  margin: 0 !important;
}

.wpcf7 form textarea{
  min-height: 170px !important;
}

.wpcf7 form .wpcf7-submit{
  margin-top: 10px !important;
}
.wpcf7 form br{
  display: none !important;
}

.wpcf7 form label{
  display: block !important;
  margin: 0 0 4px !important;
  line-height: 1.15 !important;
}

.wpcf7 form .wpcf7-form-control-wrap{
  display: block !important;
  margin: 0 !important;
}

.wpcf7 form p{
  margin: 0 0 10px !important;
}
/* Uniformiser toutes les bannières : Accueil catégories / À propos / Contact */
.hero-shell .hero-banner,
.hero.hero--small{
  position: relative;
  overflow: hidden;
  min-height: 230px !important;
  background: linear-gradient(
    90deg,
    #02050a 0%,
    #021018 10%,
    #062d4b 22%,
    #0a4774 50%,
    #062d4b 78%,
    #021018 90%,
    #02050a 100%
  ) !important;
  border-top: 1px solid rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
  display: flex;
  align-items: center;
}

.hero-shell .hero-inner,
.hero.hero--small .hero__inner{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 18px 20px !important;
  text-align: center !important;
}

.hero.hero--small .hero__inner--left{
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-shell h1,
.hero.hero--small h1{
  margin: 0 0 12px !important;
  font-size: clamp(42px, 5vw, 74px) !important;
  line-height: 1.05 !important;
  text-align: center !important;
}

.hero-shell p,
.hero.hero--small p{
  max-width: 760px;
  margin: 0 auto !important;
  text-align: center !important;
  color: rgba(255,255,255,.62) !important;
  line-height: 1.5 !important;
}

@media (max-width: 768px){
  .hero-shell .hero-banner,
  .hero.hero--small{
    min-height: 200px !important;
  }

  .hero-shell .hero-inner,
  .hero.hero--small .hero__inner{
    padding: 24px 16px 16px !important;
  }

  .hero-shell h1,
  .hero.hero--small h1{
    font-size: 46px !important;
  }
}
.single-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) 320px;
  gap:20px;
  align-items:start;
}

.single-article-header{
  margin-bottom:24px;
}

.single-article-title{
  margin:0 0 8px;
  font-size:clamp(32px, 4vw, 52px);
  line-height:1.1;
  color:#fff;
}

.single-sidebar h3{
  margin:0 0 16px;
}

.sidebar-rubriques ul{
  margin:0;
  padding:0;
  list-style:none;
}

.sidebar-rubriques > ul > li{
  margin:0 0 14px;
}

.sidebar-rubriques li a{
  color:#8ccaff;
  text-decoration:none;
  font-weight:600;
}

.sidebar-rubriques li.current-cat > a,
.sidebar-rubriques li.current-cat-parent > a{
  color:#fff;
}

.sidebar-rubriques ul ul{
  margin-top:8px;
  padding-left:18px;
  list-style:circle;
}

.sidebar-rubriques ul ul li{
  margin:4px 0;
}

@media (max-width: 980px){
  .single-layout{
    grid-template-columns:1fr;
  }
}
/* Article single: réduire la taille des titres */
.hero-shell h1{
  font-size: clamp(40px, 4.3vw, 58px) !important;
}

.single-article-title{
  font-size: clamp(24px, 3vw, 38px) !important;
  line-height: 1.12 !important;
}
/* Élargir un peu la zone de texte des articles */
.single-layout{
  grid-template-columns: minmax(0, 1.7fr) 300px !important;
  gap: 18px !important;
}

.single-layout > .single-article,
.single-layout > article:first-child{
  max-width: none !important;
}

.single-article .entry-content,
.single-layout .entry-content{
  max-width: 100% !important;
}
/* Article single : élargir le cadre principal */
.single-layout{
  grid-template-columns: minmax(0, 1.95fr) 260px !important;
  gap: 20px !important;
}

.single-layout > .single-article,
.single-layout > article:first-child{
  width: 100% !important;
  max-width: none !important;
}

.single-sidebar{
  width: 100% !important;
  max-width: 260px !important;
  justify-self: end !important;
}
/* Lisibilité du contenu des articles */
.single-article .entry-content,
.single-article .entry-content p,
.single-article .entry-content li{
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,.82) !important;
}

.single-article .entry-content strong,
.single-article .entry-content b{
  color: #ffffff !important;
}

.single-article .entry-content h2,
.single-article .entry-content h3,
.single-article .entry-content h4{
  color: #ffffff !important;
  line-height: 1.3 !important;
  margin-top: 25px !important;
  margin-bottom: 12px !important;
}

.single-article .entry-content ul,
.single-article .entry-content ol{
  padding-left: 21px !important;
}

.single-article .entry-content li{
  margin-bottom: 6px !important;
}
.single-article .entry-content,
.single-article .entry-content p,
.single-article .entry-content li{
  font-size: 17px !important;
  color: rgba(255,255,255,.86) !important;
}
.post-card{
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
}

.post-card-thumb{
  display: block;
  width: 100%;
  overflow: hidden;
}

.post-card-thumb img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .25s ease;
}

.post-card:hover .post-card-thumb img{
  transform: scale(1.03);
}

.post-card-thumb--placeholder{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a2036, #0f3f68);
}

.post-card-body{
  padding: 18px;
}

.post-card-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.post-card-badge{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11,132,255,.16);
  color: #4db2ff;
  font-size: 13px;
  font-weight: 700;
}

.post-card-date{
  color: rgba(255,255,255,.58);
  font-size: 14px;
}

.post-card-title{
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
}

.post-card-title a{
  color: #fff;
  text-decoration: none;
}

.post-card-excerpt{
  color: rgba(255,255,255,.74);
  line-height: 1.7;
  margin-bottom: 12px;
}

.post-card-link{
  color: #1e90ff;
  text-decoration: none;
  font-weight: 700;
}
.post-card-body{
  padding: 18px;
}

.post-card-title{
  margin: 0 0 14px;
}

.post-card-link{
  display: inline-block;
  margin-top: 0;
}

.footer-center h3{
  margin: 0 0 10px;
}

.footer-center p{
  margin: 0 0 14px;
}

.footer-copy{
  margin-top: 8px;
  text-align: center;
}

.footer-follow{
  margin: 0 0 12px;
}

.footer-socials{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}


.footer-menu li{
  margin: 0;
}

.footer-menu a{
  text-decoration: none;
}

@media (max-width: 768px){
  .footer-layout{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right{
    justify-self: center;
    text-align: center;
  }

  .footer-socials{
    justify-content: center;
  }

  .footer-menu{
    justify-content: center;
    flex-wrap: wrap;
  }
}
.footer-right{
  text-align: center !important;
}


.footer-follow{
  text-align: center;
  margin-bottom: 12px;
}

.footer-socials{
  display: flex;
  justify-content: center !important;
  align-items: center;
  gap: 12px;
}
/* Blocs de code */
.wp-block-code,
pre {
  background: #1e1f1c !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  line-height: 1.65;
}

.wp-block-code code,
pre code {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  font-family: inherit;
}
.sfn-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:32px 0 10px;
}

.sfn-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 14px;
  border-radius:10px;
  text-decoration:none;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.82);
  font-weight:700;
  transition:all .2s ease;
}

.sfn-pagination .page-numbers:hover{
  background:rgba(11,132,255,.14);
  border-color:rgba(11,132,255,.35);
  color:#fff;
}

.sfn-pagination .page-numbers.current{
  background:#0b84ff;
  border-color:#0b84ff;
  color:#fff;
}
/* Zone commentaires */
.single-comments{
  margin-top: 28px;
}

.comments-area{
  margin-top: 8px;
}

.comments-title,
.comment-reply-title{
  margin: 0 0 16px;
  font-size: 28px;
  color: #fff;
}

.comment-note{
  color: rgba(255,255,255,.68);
  margin-bottom: 18px;
  line-height: 1.6;
}

.comment-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email{
  margin: 0;
}

.comment-form-comment{
  grid-column: 1 / -1;
}

.comment-form label{
  display: block;
  margin: 0 0 6px;
  text-align: left;
  color: #fff;
  font-weight: 600;
}

.comment-form input,
.comment-form textarea{
  width: 100%;
  box-sizing: border-box;
  background: #050b15;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
}

.comment-form textarea{
  min-height: 180px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus{
  border-color: #0b84ff;
  box-shadow: 0 0 0 3px rgba(11,132,255,.16);
  outline: none;
}

.form-submit{
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

.sfn-comment-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 48px;
  padding: 0 22px;
  background: #0b84ff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.sfn-comment-submit:hover{
  background: #0974df;
}

.comment-list{
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.comment-list li{
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}

.comment-author,
.comment-meta{
  margin-bottom: 8px;
}

.comment-content{
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

@media (max-width: 768px){
  .comment-form{
    grid-template-columns: 1fr;
  }

  .comment-form-comment,
  .form-submit{
    grid-column: auto;
  }
}
.single-comments{
  margin-top: 36px;
}

.comments-area{
  max-width: 100%;
}

.logged-in-as{
  color: rgba(255,255,255,.68);
  margin-bottom: 18px;
  line-height: 1.6;
}

.logged-in-as a{
  color: #4db2ff;
  text-decoration: none;
}

.comment-form-comment textarea{
  min-height: 220px;
}

.sfn-comment-submit{
  min-width: 280px;
}
.comments-area .required{
  color: #ff4d4f !important;
}
/* Commentaires intégrés dans le même cadre que l'article */
.single-comments{
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.comments-area{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Garde les commentaires individuels jolis */
.comment-list{
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.comment-list li{
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}
/* Titre commentaires plus léger */
.comments-title{
  margin: 0 0 18px;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.88) !important;
}

/* Retirer le cadre de chaque commentaire */
.comment-list li,
.comment-body{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.comment-list li{
  padding: 0 !important;
  margin: 0 0 18px !important;
}

/* Retirer "says" */
.says{
  display: none !important;
}

/* Nom du commentateur */
.comment-author .fn,
.comment-author .fn a{
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

/* Date et heure plus petites et grisées */
.comment-metadata,
.comment-metadata a,
.comment-meta,
.comment-meta a{
  font-size: 14px !important;
  color: rgba(255,255,255,.52) !important;
  text-decoration: none;
}

/* Petit espace entre auteur, date et contenu */
.comment-author{
  margin-bottom: 6px;
}

.comment-metadata{
  margin-bottom: 10px;
}

.comment-content{
  color: rgba(255,255,255,.82) !important;
  line-height: 1.7;
}

/* Lien Reply un peu plus discret */
.reply a{
  color: #8ccaff !important;
  text-decoration: none;
  font-weight: 600;
}
/* Séparation entre la liste des commentaires et le formulaire */
.comment-list{
  margin-bottom: 34px !important;
  padding-bottom: 26px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.comment-reply-title{
  margin-top: 28px !important;
}
/* Bouton commentaire plus compact */
.form-submit{
  text-align: center !important;
}

.sfn-comment-submit{
  width: auto !important;
  min-width: 260px !important;
  max-width: none !important;
  padding: 0 24px !important;
}
/* Bouton commentaire bleu par défaut */
.sfn-comment-submit{
  background: #0b84ff !important;
  color: #ffffff !important;
  border: none !important;
}

.sfn-comment-submit:hover{
  background: #0974df !important;
  color: #ffffff !important;
}
.article-share{
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.article-share-title{
  margin: 0 0 14px;
  font-size: 24px;
  color: #ffffff;
}

.article-share-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  transition: transform .2s ease, opacity .2s ease;
}

.share-btn:hover{
  transform: translateY(-1px);
  opacity: .92;
}

.share-btn-x{
  background: #111111;
}

.share-btn-facebook{
  background: #1877f2;
}

.share-btn-linkedin{
  background: #0a66c2;
}

.share-btn-email{
  background: #7a7a7a;
}
/* Footer propre */
.footer{
  margin-top: 56px;
  background: linear-gradient(180deg, rgba(4,9,19,.98), rgba(6,11,23,.98));
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer-main{
  width: 100%;
}

.footer-grid-v2{
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 56px 0 44px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.footer-brand{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
}

.footer-brand-text{
  margin: 0;
  max-width: 300px;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
}

.footer-title{
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}

.footer-list{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-list li{
  list-style: none !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.footer-list li::marker{
  content: "" !important;
}

.footer-list a{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-list a:hover{
  color: #fff;
}

.footer-social-col{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-social-col .footer-title{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.footer-socials{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
}

.footer-bottom-v2{
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom-inner-v2{
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 24px 0 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-copy{
  color: rgba(255,255,255,.68);
  font-size: 15px;
  text-align: left;
  margin: 0;
}

@media (max-width: 980px){
  .footer-grid-v2{
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-social-col{
    align-items: flex-start;
    text-align: left;
  }

  .footer-social-col .footer-title{
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .footer-socials{
    justify-content: flex-start;
    margin: 0;
  }

  .footer-bottom-inner-v2{
    width: min(1280px, calc(100% - 80px));
    justify-content: flex-start;
  }
}

@media (max-width: 640px){
  .footer-grid-v2{
    grid-template-columns: 1fr;
  }

  .footer-social-col{
    align-items: center;
    text-align: center;
  }

  .footer-social-col .footer-title{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-socials{
    justify-content: center;
    margin: 0 auto;
  }

  .footer-bottom-inner-v2{
    justify-content: center;
  }

  .footer-copy{
    text-align: center;
  }
}
/* Footer final propre */
.footer{
  margin-top: 56px;
  background: linear-gradient(180deg, rgba(4,9,19,.98), rgba(6,11,23,.98));
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer-main{
  width: 100%;
}

.footer-grid-v2{
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 56px 0 44px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.footer-brand{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
}

.footer-brand-text{
  margin: 0;
  max-width: 300px;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
}

.footer-title{
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  text-align: left;
}

.footer-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li{
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.footer-list li::marker{
  content: "";
}

.footer-list a{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-list a:hover{
  color: #fff;
}

.footer-social-col{
  text-align: center;
}

.footer-social-col .footer-title{
  text-align: center;
}

.footer-socials{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.footer-bottom-v2{
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom-inner-v2{
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 24px 0 30px;
}

.footer-copy{
  color: rgba(255,255,255,.68);
  font-size: 15px;
  text-align: left;
  margin: 0;
}

@media (max-width: 980px){
  .footer-grid-v2{
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px){
  .footer-grid-v2{
    grid-template-columns: 1fr;
  }

  .footer-title,
  .footer-copy,
  .footer-brand-text{
    text-align: center;
  }

  .footer-social-col{
    text-align: center;
  }

  .footer-bottom-inner-v2{
    text-align: center;
  }

  .footer-copy{
    text-align: center;
  }
}
.footer-copy{
  text-align: center !important;
  width: 100%;
}

.footer-bottom-inner-v2{
  display: flex !important;
  justify-content: center !important;
}