/* ═══════════════════════════════════════════════════
   Charly Medium Spirite — CSS v3.0
   Police : Arial 14px partout
   ═══════════════════════════════════════════════════ */
:root{
  --bg:     #0d1b2a;
  --bg2:    #102035;
  --bg3:    #0a1628;
  --card:   #152a40;
  --border: #1e3a5a;
  --orange: #f5a623;
  --orange2:#e0941a;
  --gold:   #f0c040;
  --text:   #e8f0f8;
  --muted:  #7a9ab5;
  --white:  #ffffff;
  --radius: 12px;
  --green:  #1a6b55;
  --max-w:  1200px;
  --nav-h:  120px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}

/* ── Police globale Arial 14px ─────────────────────── */
body{
  background:var(--bg);color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;line-height:1.7;min-height:100vh;
}
a{color:var(--orange);text-decoration:none;}
a:hover{color:var(--gold);}
img{max-width:100%;}

/* Playfair uniquement pour les titres de sections */
h1,h2,h3{font-family:'Playfair Display',Arial,serif;}

/* ── NAVBAR ─────────────────────────────────────────── */
.cm-navbar{
  background:#1F4E4E;
  position:sticky;top:0;z-index:9000;
  overflow:visible;
}
/* Container interne aligné sur le contenu page */
.cm-nav-inner{
  max-width:var(--max-w);margin:0 auto;
  height:var(--nav-h);
  display:flex;align-items:center;
  padding:0 32px;gap:0;
  position:relative;
}

/* Logo (image seule, plus de texte HTML) */
.cm-nav-logo{
  display:flex;align-items:center;
  text-decoration:none;
  border:none;outline:none;background:transparent;
  position:relative;
  z-index:10;
  overflow:visible;
  flex-shrink:0;
  margin-right:16px;
}
.cm-nav-logo::before{
  content:'';
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:140%;height:160%;
  background:radial-gradient(ellipse at 50% 50%,rgba(255,220,0,.80) 0%,rgba(255,185,0,.52) 35%,rgba(255,150,0,.18) 62%,transparent 80%);
  filter:blur(16px);
  z-index:-1;
  pointer-events:none;
  border-radius:50%;
}
.cm-nav-logo-img{
  height:110px;width:auto;object-fit:contain;
  filter:none;
  background:transparent;
  transition:transform .3s;
}
.cm-nav-logo:hover .cm-nav-logo-img{transform:scale(1.04);}

/* Liens nav — centrés absolument dans la nav */
.cm-nav-links{
  display:flex;list-style:none;gap:0;align-items:center;
  white-space:nowrap;
  position:static;transform:none;
  padding:0;margin:0;
}
.cm-nav-links li a{
  font-family:Arial,Helvetica,sans-serif;font-size:16px;
  color:var(--text);padding:6px 14px;border-radius:6px;
  display:block;transition:color .18s;white-space:nowrap;
}
.cm-nav-links li a:hover,.cm-nav-links li a.active{color:var(--orange);}

/* Droite : icônes + user ─────────────────────────────── */
.cm-nav-right{
  display:flex;align-items:center;gap:12px;
  margin-left:auto;flex-shrink:0;
}
.cm-nav-icon{
  color:#f5a623;display:flex;align-items:center;
  padding:6px;border-radius:8px;transition:color .2s;
  text-decoration:none;
}
.cm-nav-icon:hover{color:var(--orange);}
.cm-nav-logout{opacity:.6;}
.cm-nav-logout:hover{opacity:1;color:#ff6b6b;}

.cm-nav-user{
  display:flex;align-items:center;gap:7px;
  color:#ffffff;font-size:16px;font-family:Arial,sans-serif;
  text-decoration:none;padding:5px 8px;border-radius:8px;
  transition:color .2s;
}
.cm-nav-user:hover{color:var(--orange);}
.cm-nav-user svg{color:#f5a623;}

.cm-nav-adminbtn{
  font-size:12px;font-weight:700;font-family:Arial,sans-serif;
  background:rgba(245,166,35,.15);color:var(--orange);
  border:1px solid rgba(245,166,35,.3);border-radius:6px;
  padding:3px 8px;text-decoration:none;
  transition:background .2s;
}
.cm-nav-adminbtn:hover{background:rgba(245,166,35,.3);color:var(--orange);}

/* Hamburger */
.cm-nav-toggle{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:6px;}
.cm-nav-toggle span{display:block;width:24px;height:2px;background:var(--text);transition:.3s;border-radius:2px;}

/* ── LIGNE DORÉE (entre nav et ticker) ──────────────── */
.cm-nav-gold-line{
  height:3px;
  background:linear-gradient(90deg,transparent 0%,var(--orange) 20%,var(--orange2) 80%,transparent 100%);
  opacity:.85;
}

/* ── TICKER ─────────────────────────────────────────── */
.cm-ticker-wrap{
  background:var(--bg3);
  color:var(--orange);
  font-size:15px;font-weight:600;font-family:Arial,sans-serif;
  padding:7px 0;overflow:hidden;white-space:nowrap;
  border-bottom:1px solid rgba(245,166,35,.25);
}
.cm-ticker-track{display:inline-block;animation:cmTicker 38s linear infinite;}
.cm-ticker-track span{margin-right:80px;}
@keyframes cmTicker{from{transform:translateX(100vw);}to{transform:translateX(-100%);}}

/* ── BOUTONS ─────────────────────────────────────────── */
.cm-btn{
  display:inline-block;padding:10px 26px;border-radius:28px;
  font-size:16px;font-weight:700;font-family:Arial,sans-serif;
  cursor:pointer;border:none;transition:.2s;text-decoration:none;
}
.cm-btn-primary{background:var(--orange);color:#0a1628!important;}
.cm-btn-primary:hover{background:var(--orange2);transform:scale(1.03);color:#0a1628!important;}
.cm-btn-outline{background:transparent;color:var(--text)!important;border:2px solid var(--border);}
.cm-btn-outline:hover{border-color:var(--orange);color:var(--orange)!important;}

/* ── CONTENEUR ──────────────────────────────────────── */
.cm-wrap{max-width:var(--max-w);margin:0 auto;padding:0 32px;}

/* ── HÉRO ───────────────────────────────────────────── */
.cm-hero{background:var(--bg2);padding:72px 32px;}
.cm-hero-inner{max-width:1000px;margin:0 auto;display:flex;gap:56px;align-items:center;}

/* Photo avec halo jaune-orangé */
.cm-hero-photo{position:relative;flex-shrink:0;}
.cm-hero-photo::before{
  content:'';position:absolute;
  inset:-24px -20px -24px -20px;
  background:radial-gradient(ellipse at 50% 45%,rgba(245,166,35,.32) 0%,rgba(240,192,64,.1) 50%,transparent 72%);
  border-radius:50%;z-index:0;pointer-events:none;
}
.cm-hero-photo img{
  width:235px;height:295px;object-fit:cover;border-radius:var(--radius);
  display:block;position:relative;z-index:1;
  box-shadow:0 8px 32px rgba(0,0,0,.5);
}

.cm-small-label{font-size:14px;color:var(--orange);letter-spacing:2px;text-transform:uppercase;font-family:Arial,sans-serif;font-weight:700;}
.cm-hero-content h1{font-size:46px;font-weight:700;margin:6px 0 4px;line-height:1.05;color:var(--white);}
.cm-hero-content h1 em{color:var(--orange);font-style:italic;}
.cm-hero-subtitle{color:var(--orange);font-style:italic;font-size:17px;margin-bottom:14px;font-family:'Playfair Display',serif;}
.cm-hero-desc{font-size:16px;color:var(--text);max-width:480px;line-height:1.8;}
.cm-hero-quote{font-size:15px;color:var(--muted);font-style:italic;margin:12px 0;line-height:1.7;}
.cm-hero-social{display:flex;align-items:center;gap:10px;margin:14px 0;}
.cm-hero-social .cm-social-label{font-size:15px;color:var(--muted);}
.cm-hero-social a{display:inline-flex;align-items:center;justify-content:center;transition:transform .2s;}
.cm-hero-social a.fb{}
.cm-hero-social a.ig{}
.cm-hero-social a.tk{background:#010101;color:#fff;}

.cm-hero-btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px;}

/* ── BANDEAU RDV ────────────────────────────────────── */
.cm-rdv{background:var(--orange);color:#0a1628;text-align:center;padding:36px 20px;}
.cm-rdv p.cm-rdv-label{font-size:14px;font-weight:700;letter-spacing:2px;text-transform:uppercase;opacity:.75;margin-bottom:4px;}
.cm-rdv-phone{font-size:44px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:14px;margin:6px 0;font-family:'Playfair Display',serif;}
.cm-rdv-sub{font-size:16px;opacity:.8;}
.cm-rdv-note{display:inline-flex;align-items:center;gap:9px;margin-top:13px;background:rgba(10,22,40,.25);border-radius:25px;padding:8px 22px;font-size:15px;}

/* ── SECTIONS ───────────────────────────────────────── */
.cm-section{padding:70px 32px;}
.cm-section-bg2{background:var(--bg2);}
.cm-section-bg3{background:var(--bg3);}
.cm-section-label{font-size:13px;color:var(--orange);text-transform:uppercase;letter-spacing:3px;text-align:center;margin-bottom:8px;font-family:Arial,sans-serif;font-weight:700;}
.cm-section-title{font-size:32px;text-align:center;margin-bottom:42px;color:var(--white);font-weight:700;}
.cm-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:960px;margin:0 auto;}
.cm-grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;max-width:960px;margin:0 auto;}

/* ── CARTES PRODUIT ─────────────────────────────────── */
.cm-product-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
  padding:20px;display:flex;align-items:center;gap:16px;
  transition:border-color .2s,box-shadow .2s;
}
.cm-product-card:hover{border-color:var(--orange);box-shadow:0 4px 24px rgba(245,166,35,.12);}
.cm-product-card img{width:58px;height:72px;object-fit:cover;border-radius:6px;flex-shrink:0;}
.cm-pcard-meta{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;}
.cm-pcard-title{font-size:16px;font-weight:700;margin:4px 0 8px;font-family:'Playfair Display',serif;}
.cm-pcard-link{
  font-size:15px;color:var(--orange);font-weight:700;
  display:inline-block;transition:font-size .2s,color .2s,transform .15s;
}
.cm-pcard-link:hover{font-size:15.6px;color:#fff;transform:translateX(2px);}

/* ── CARTES SERVICE ─────────────────────────────────── */
.cm-service-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
  padding:28px 24px;transition:border-color .2s,box-shadow .2s;
}
.cm-service-card:hover{border-color:var(--orange);box-shadow:0 4px 24px rgba(245,166,35,.1);}
.cm-svc-icon{font-size:30px;margin-bottom:12px;}
.cm-service-card h3{font-size:19px;margin-bottom:8px;}
.cm-service-card p{font-size:16px;color:var(--muted);line-height:1.7;}
.cm-cta-center{text-align:center;margin-top:36px;}

/* ── TÉMOIGNAGES ────────────────────────────────────── */
.cm-google-badge{display:flex;align-items:center;justify-content:center;gap:14px;background:#fff;border-radius:var(--radius);padding:14px 26px;max-width:210px;margin:0 auto 36px;}
.cm-g-stars{color:#f5a623;font-size:19px;}
.cm-review-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:22px;}
.cm-rc-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px;}
.cm-rc-stars{color:var(--orange);font-size:15px;}
.cm-rc-text{font-size:16px;font-style:italic;margin-bottom:10px;line-height:1.7;}
.cm-rc-author{font-size:14px;color:var(--muted);}
.cm-reviews-cta{display:flex;gap:12px;justify-content:center;margin-top:28px;flex-wrap:wrap;}

/* ── ARTICLE ────────────────────────────────────────── */
.cm-article-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;max-width:740px;margin:0 auto;}
.cm-article-card img{width:210px;min-height:160px;object-fit:cover;flex-shrink:0;}
.cm-ac-body{padding:26px;flex:1;}
.cm-ac-tag{display:inline-block;background:var(--orange);color:#0a1628;font-size:13px;font-weight:700;padding:3px 10px;border-radius:25px;margin-bottom:10px;font-family:Arial,sans-serif;}
.cm-article-card h3{font-size:19px;margin-bottom:9px;}
.cm-article-card p{font-size:16px;color:var(--muted);line-height:1.7;}
.cm-ac-link{display:inline-block;margin-top:12px;font-size:15px;color:var(--orange);font-weight:600;}

/* ── FOOTER ─────────────────────────────────────────── */
.cm-footer{background:#1F4E4E;padding:50px 32px 24px;border-top:1px solid var(--border);}
.cm-footer-inner{max-width:1248px;margin:0 auto;display:grid;grid-template-columns:1.4fr 0.9fr 0.9fr 1.4fr 1.2fr;gap:24px;margin-bottom:32px;}
.cm-foot-logo{height:86px;width:auto;object-fit:contain;filter:drop-shadow(0 0 6px rgba(245,166,35,.5));margin-bottom:12px;display:block;background:transparent;}
.cm-footer-brand p{font-size:15px;color:var(--muted);max-width:200px;line-height:1.7;}
.cm-footer h4{font-size:16px;font-weight:700;color:var(--white);margin-bottom:14px;font-family:'Playfair Display',serif;}
.cm-footer ul{list-style:none;}
.cm-footer ul li{margin-bottom:8px;}
.cm-footer ul li a{font-size:15px;color:var(--muted);}
.cm-footer ul li a:hover{color:var(--orange);}
.cm-footer-bottom{max-width:1248px;margin:0 auto;text-align:center;padding-top:20px;border-top:1px solid var(--border);font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;justify-content:center;gap:16px;}
.cm-footer-bottom a{color:var(--muted);}
.cm-footer-bottom a:hover{color:var(--orange);}

/* ── PAGES AUTH ─────────────────────────────────────── */
.cm-auth-page{min-height:80vh;display:flex;align-items:center;justify-content:center;padding:40px 20px;background:var(--bg);}
.cm-auth-box{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);width:100%;max-width:520px;padding:40px 36px;box-shadow:0 20px 60px rgba(0,0,0,.5);}
.cm-auth-box h2{font-size:26px;color:var(--orange);margin-bottom:6px;}
.cm-auth-box p.cm-auth-sub{font-size:16px;color:var(--muted);margin-bottom:26px;}
.cm-auth-tabs{display:flex;margin-bottom:26px;border-bottom:1px solid var(--border);}
.cm-auth-tab{flex:1;padding:10px;text-align:center;cursor:pointer;font-size:16px;font-weight:700;color:var(--muted);background:none;border:none;border-bottom:2px solid transparent;transition:.2s;font-family:Arial,sans-serif;}
.cm-auth-tab.active{color:var(--orange);border-bottom-color:var(--orange);}
.cm-auth-pane{display:none;}
.cm-auth-pane.active{display:block;}

/* ── FORMULAIRES ────────────────────────────────────── */
.cm-form-group{margin-bottom:14px;}
.cm-form-group label{display:block;font-size:15px;color:var(--muted);margin-bottom:5px;font-family:Arial,sans-serif;}
.cm-form-group input[type=text],
.cm-form-group input[type=email],
.cm-form-group input[type=password],
.cm-form-group input[type=tel],
.cm-form-group input[type=number],
.cm-form-group textarea{
  width:100%;padding:10px 14px;background:var(--bg3);border:1px solid var(--border);
  border-radius:8px;color:var(--text);font-size:16px;font-family:Arial,sans-serif;transition:border-color .2s;
}
.cm-form-group input:focus,.cm-form-group textarea:focus{outline:none;border-color:var(--orange);}
.cm-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.cm-form-check{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px;}
.cm-form-check input{margin-top:3px;accent-color:var(--orange);}
.cm-form-check label{font-size:14px;color:var(--muted);line-height:1.6;}
.cm-honey{display:none!important;visibility:hidden!important;}
.cm-form-msg{font-size:15px;padding:10px 14px;border-radius:8px;margin-bottom:12px;font-family:Arial,sans-serif;}
.cm-form-msg.error{background:rgba(255,107,107,.1);color:#ff6b6b;border:1px solid rgba(255,107,107,.3);}
.cm-form-msg.success{background:rgba(77,219,138,.1);color:#4ddb8a;border:1px solid rgba(77,219,138,.3);}
.cm-avatar-preview{width:88px;height:88px;border-radius:50%;object-fit:cover;border:3px solid var(--orange);display:block;margin:0 auto 10px;}
.cm-spinner{display:inline-block;width:15px;height:15px;border:2px solid rgba(10,22,40,.5);border-top-color:#0a1628;border-radius:50%;animation:cmSpin .6s linear infinite;vertical-align:middle;margin-left:7px;}
@keyframes cmSpin{to{transform:rotate(360deg);}}
.cm-req{color:#ff6b6b;margin-left:1px;}

/* ── ESPACE MEMBRE ──────────────────────────────────── */
.cm-member-layout{max-width:960px;margin:50px auto;padding:0 24px;}
.cm-member-header{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:28px;display:flex;align-items:center;gap:20px;margin-bottom:26px;}
.cm-member-header img{width:84px;height:84px;border-radius:50%;object-fit:cover;border:3px solid var(--orange);}
.cm-member-header h2{font-size:24px;}
.cm-member-header p{color:var(--muted);font-size:16px;margin-top:3px;}
.cm-info-box{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:26px;margin-bottom:24px;}
.cm-info-box h3{color:var(--orange);margin-bottom:18px;font-size:19px;}
.cm-info-label{font-size:13px;color:var(--muted);margin-bottom:3px;font-weight:700;text-transform:uppercase;letter-spacing:1px;}

/* ── BLOC MEMBRES CONNECTÉS ─────────────────────────── */
.cm-online-block{background:var(--green);border-radius:var(--radius);padding:20px 28px;margin-bottom:26px;}
.cm-online-title{font-size:17px;font-weight:700;color:#fff;margin-bottom:14px;}
.cm-online-carousel-wrap{position:relative;padding:0 36px;}
.cm-online-carousel{display:flex;gap:18px;overflow:hidden;scroll-behavior:smooth;padding:4px 0;}
.cm-online-user{flex-shrink:0;text-align:center;min-width:70px;}
.cm-online-user img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5);display:block;margin:0 auto 5px;}
.cm-online-user span{font-size:13px;color:rgba(255,255,255,.9);display:block;}
.cm-online-user small{font-size:12px;color:rgba(255,255,255,.55);}
.cm-online-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.25);color:#fff;border:none;border-radius:50%;width:30px;height:30px;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;transition:background .2s;line-height:1;}
.cm-online-arrow:hover{background:rgba(0,0,0,.5);}
.cm-online-arrow.prev{left:0;}
.cm-online-arrow.next{right:0;}

/* ── PAGE HERO GÉNÉRIQUE ────────────────────────────── */
.cm-page-hero{background:var(--bg2);padding:60px 32px;text-align:center;}
.cm-page-hero h1{font-size:38px;font-weight:700;}
.cm-page-hero h1 em{color:var(--orange);font-style:italic;}
.cm-page-hero p{color:var(--muted);max-width:600px;margin:12px auto 0;font-size:16px;line-height:1.8;}

/* ── ADMIN WP PANEL ─────────────────────────────────── */
.cm-admin-wrap{font-family:Arial,sans-serif;font-size:16px;}
.cm-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px;}
.cm-stat-box{background:#1a2d42;border:1px solid #1e3a5a;border-radius:10px;padding:20px;text-align:center;}
.cm-stat-num{font-size:34px;font-weight:700;color:#f5a623;}
.cm-stat-label{font-size:14px;color:#7a9ab5;margin-top:4px;}
.cm-admin-table{width:100%;border-collapse:collapse;background:#0d1b2a;border-radius:10px;overflow:hidden;}
.cm-admin-table th{padding:10px 14px;background:#0a1628;color:#f5a623;font-size:13px;text-transform:uppercase;text-align:left;font-family:Arial,sans-serif;}
.cm-admin-table td{padding:10px 14px;border-bottom:1px solid #1e3a5a;font-size:15px;color:#e8f0f8;}
.cm-admin-table tr:hover td{background:#152a40;}
.cm-badge{display:inline-block;padding:2px 9px;border-radius:25px;font-size:13px;font-weight:700;}
.cm-badge-admin{background:rgba(245,166,35,.2);color:#f5a623;}
.cm-badge-member{background:rgba(77,219,138,.2);color:#4ddb8a;}




/* ── BANDEAU RDV — LAYOUT "BIEN" ────────────────────── */
.cm-rdv-with-image{
  background:var(--orange);color:#0a1628;
  padding:32px 20px 24px;
  display:flex;flex-direction:column;
  align-items:center;
  text-align:center;
}
/* Ligne du haut : image + texte côte à côte, centrés */
.cm-rdv-inner-wrap{
  display:flex;align-items:center;
  gap:32px;
  justify-content:center;
}
.cm-rdv-img-col{
  flex-shrink:0;
  display:flex;align-items:center;
}
.cm-rdv-image{
  height:200px;width:auto;object-fit:contain;
  display:block;
  mix-blend-mode:multiply;
}
.cm-rdv-text-col{
  text-align:left;
}
.cm-rdv-label{
  font-size:13px;font-weight:700;opacity:.7;
  margin-bottom:6px;letter-spacing:2px;text-transform:uppercase;
}
.cm-rdv-hours{font-size:16px;opacity:.8;margin-top:6px;}
/* Note 24h : ligne séparée, centrée en dessous */
.cm-rdv-note-centered{
  display:inline-flex;align-items:center;gap:9px;
  margin-top:20px;
  background:rgba(10,22,40,.22);border-radius:25px;
  padding:10px 26px;font-size:15px;
}
@media(max-width:640px){
  .cm-rdv-inner-wrap{flex-direction:column;text-align:center;}
  .cm-rdv-text-col{text-align:center;}
  .cm-rdv-note-centered{font-size:13px;padding:8px 14px;}
}


/* ── CONTENU ARTICLE ────────────────────────────────── */
.cm-post-content{
  font-size:16px;line-height:1.9;color:var(--text);
  max-width:100%;
}
.cm-post-content h2,.cm-post-content h3{
  color:var(--orange);margin:28px 0 12px;
}
.cm-post-content p{margin-bottom:16px;}
.cm-post-content img{border-radius:var(--radius);max-width:100%;margin:16px 0;}
.cm-post-content a{color:var(--orange);}
.cm-post-content blockquote{
  border-left:4px solid var(--orange);
  padding:12px 20px;margin:20px 0;
  background:var(--card);border-radius:0 8px 8px 0;
  font-style:italic;color:var(--muted);
}

/* ── ICÔNES RÉSEAUX SOCIAUX HERO ───────────────────── */
.cm-social-hero-link{
  display:inline-flex;
  position:relative;
  z-index:1;
}
.cm-social-hero-img{
  width:52px;height:52px;
  border-radius:8px;object-fit:cover;
  transition:transform .25s cubic-bezier(.34,1.56,.64,1);
  position:relative;z-index:2;
  flex-shrink:0;
}
.cm-social-hero-link:hover .cm-social-hero-img{
  transform:scale(4);
  z-index:999;
  box-shadow:0 8px 32px rgba(0,0,0,.5);
}
/* Ensure hover doesn't get clipped */
.cm-hero-social{
  overflow:visible;
  position:relative;
  z-index:10;
}

/* ── NAV CENTER (liens centrés) ─────────────────────── */
.cm-nav-center{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}


/* ── PAGE PLEINE LARGEUR (Elementor / WooCommerce) ──── */
.cm-page-fullwidth{
  width:100%;
  max-width:100%;
  padding:0;
  margin:0;
}
/* Elementor reset : laisser Elementor gérer ses propres sections */
.cm-page-fullwidth .elementor-section.elementor-section-boxed > .elementor-container{
  max-width:var(--max-w);
}
.cm-page-fullwidth .elementor-section.elementor-section-full_width > .elementor-container{
  max-width:100%;
}
/* S'assurer que le body n'a pas de padding qui réduit la largeur */
body.cm-fullpage{
  padding:0!important;
  margin:0!important;
}

/* ── ICÔNE PANIER ───────────────────────────────────── */
.cm-nav-cart{
  color:#f5a623;display:flex;align-items:center;
  padding:6px;border-radius:8px;transition:color .2s;
  text-decoration:none;position:relative;
}
.cm-nav-cart:hover{color:var(--gold);}
.cm-nav-cart svg{display:block;}
/* Badge panier WooCommerce (si présent) */
.cm-nav-cart .cm-cart-count{
  position:absolute;top:-2px;right:-4px;
  background:var(--orange);color:#0a1628;
  font-size:10px;font-weight:700;
  width:16px;height:16px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:Arial,sans-serif;
}

/* ── FOOTER COLONNE BLOG ────────────────────────────── */
.cm-footer-blog a{color:#fff;}
.cm-footer-blog a:hover{color:var(--orange);}
.cm-footer-article{
  display:flex;gap:10px;align-items:flex-start;
  margin-bottom:12px;padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.cm-footer-article:last-child{border-bottom:none;margin-bottom:0;}
.cm-footer-article-img{
  width:52px;height:40px;object-fit:cover;
  border-radius:5px;flex-shrink:0;
}
.cm-footer-article-body{flex:1;}
.cm-footer-article-title{
  font-size:13px;color:#fff;line-height:1.35;
  margin-bottom:3px;font-weight:600;
}
.cm-footer-article-link{
  font-size:12px;color:var(--orange);
}
.cm-footer-article-link:hover{color:var(--gold);}

/* ── FOOTER SOCIAL (classe CSS au lieu de inline) ───── */
.cm-foot-social{display:flex;gap:10px;margin-top:14px;align-items:center;flex-wrap:wrap;}
.cm-foot-social-link{display:inline-flex;}
.cm-foot-social-img{
  width:42px;height:42px;
  border-radius:8px;object-fit:cover;
  transition:transform .2s;
}
.cm-foot-social-link:hover .cm-foot-social-img{transform:scale(1.15);}

/* Responsive footer 5 colonnes */
@media(max-width:1100px){
  .cm-footer-inner{grid-template-columns:1fr 1fr 1fr;}
}
@media(max-width:700px){
  .cm-footer-inner{grid-template-columns:1fr;}
}

/* ── ARTICLE PLEINE LARGEUR ─────────────────────────── */
/* La largeur de référence = nav-inner = max-w + padding 32px de chaque côté */
.cm-article-hero,
.cm-article-thumb,
.cm-article-body,
.cm-article-nav{
  max-width:var(--max-w);
  margin-left:auto;
  margin-right:auto;
  padding-left:32px;
  padding-right:32px;
  width:100%;
  box-sizing:border-box;
}
.cm-article-hero{
  padding-top:36px;
  padding-bottom:18px;
}
.cm-article-h1{
  font-size:34px;line-height:1.2;margin-top:8px;
}
.cm-article-meta{
  color:var(--muted);font-size:15px;margin-top:10px;
}
.cm-article-thumb img{
  width:100%;max-height:440px;object-fit:cover;
  border-radius:12px;display:block;
}
/* Contenu de l'article : retire le max-width 860px initial */
.cm-article-body.cm-post-content{
  max-width:var(--max-w)!important;
  padding-top:0;
}
.cm-article-nav{
  display:flex;justify-content:space-between;
  gap:16px;flex-wrap:wrap;
  padding-bottom:40px;
  margin-top:0;
}
/* Override la section cm-section pour ne pas rajouter de padding latéral sur article */
.cm-section:has(.cm-article-body){
  padding-left:0;padding-right:0;
}
/* ── RESPONSIVE ─────────────────────────────────────── */
@media(max-width:960px){
  .cm-nav-center{align-items:center;}
  .cm-nav-links{
    position:absolute;top:var(--nav-h);left:0;right:0;
    display:none;flex-direction:column;
    background:#1F4E4E;padding:14px;
    border-bottom:1px solid var(--border);z-index:8999;transform:none;
  }
  .cm-nav-links.cm-open{display:flex;}
  .cm-nav-toggle{display:flex;}
  .cm-hero-inner{flex-direction:column;text-align:center;}
  .cm-hero-photo img{width:190px;height:230px;}
  .cm-hero-social,.cm-hero-btns{justify-content:center;}
  .cm-grid3,.cm-grid2{grid-template-columns:1fr;}
  .cm-footer-inner{grid-template-columns:1fr 1fr;}
  .cm-article-card{flex-direction:column;}
  .cm-article-card img{width:100%;height:180px;}
  .cm-form-row{grid-template-columns:1fr;}
  .cm-auth-box{padding:24px 16px;}
  .cm-rdv-phone{font-size:28px;}
  .cm-stat-grid{grid-template-columns:1fr;}
  .cm-member-layout{margin-top:30px;}
}
@media(max-width:500px){
  .cm-footer-inner{grid-template-columns:1fr;}
  .cm-hero-content h1{font-size:32px;}
  .cm-nav-inner{padding:0 16px;}
}

/* ── ARTICLES GRID 3 COLONNES ───────────────────────── */
.cm-articles-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  max-width:var(--max-w);margin:0 auto;
}
.cm-article-col{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--radius);overflow:hidden;
  transition:border-color .2s,box-shadow .2s;
  display:flex;flex-direction:column;
}
.cm-article-col:hover{border-color:var(--orange);box-shadow:0 4px 24px rgba(245,166,35,.12);}
.cm-article-col img{width:100%;height:200px;object-fit:cover;flex-shrink:0;}
.cm-article-col .cm-ac-body{padding:22px;flex:1;display:flex;flex-direction:column;}
.cm-article-col h3{font-size:19px;margin-bottom:10px;}
.cm-article-col p{font-size:16px;color:var(--muted);line-height:1.7;flex:1;}
.cm-article-col .cm-ac-link{display:inline-block;margin-top:14px;font-size:15px;color:var(--orange);font-weight:600;}
@media(max-width:960px){.cm-articles-grid{grid-template-columns:1fr;}}

/* ── FOOTER TEXTE BLANC ─────────────────────────────── */
.cm-footer, .cm-footer h4, .cm-footer p, .cm-footer ul li a,
.cm-footer-brand p, .cm-footer-bottom, .cm-footer-bottom a,
.cm-footer-bottom span {
  color: #ffffff !important;
}
.cm-footer ul li a:hover { color: #FFD700 !important; }
.cm-footer-bottom a:hover { color: #FFD700 !important; }
.cm-footer { border-top: 1px solid rgba(255,255,255,0.2); }
