/* ============================================================
   DPE Artois — CSS commun (extrait automatiquement)
   Regroupe nav, footer, boutons, bandeau sticky, chat, reset
   ============================================================ */

.nav-links a{color:rgba(255,255,255,0.82);text-decoration:none;font-size:0.82rem;font-weight:500;letter-spacing:0.04em;text-transform:uppercase;transition:color 0.2s;}
.nav-links a:hover{color:var(--or);}
footer a{color:rgba(255,255,255,0.55);text-decoration:none;font-size:0.86rem;display:block;margin-bottom:0.4rem;transition:color 0.2s;}
.footer-brand{font-family:'Playfair Display',serif;font-size:1.05rem;color:var(--or);margin-bottom:0.8rem;}
#hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;padding:8px;background:none;border:none;outline:none;}
.nav-logo span{color:#fff;font-weight:300;}
.content strong{color:var(--bleu);font-weight:600;}
nav{background:var(--bleu);padding:0 2rem;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;min-height:64px;box-shadow:0 2px 16px rgba(0,0,0,0.2);}
body{font-family:'DM Sans',sans-serif;background:var(--blanc);color:var(--bleu);line-height:1.7;}
#hamburger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}
.breadcrumb a{color:var(--or);text-decoration:none;}
footer h4{color:#fff;font-size:0.8rem;letter-spacing:0.1em;text-transform:uppercase;margin-bottom:1rem;}
.content h2:first-child{margin-top:0;}
.nav-links{display:flex;gap:1.2rem;list-style:none;flex-wrap:wrap;}
.nav-logo{font-family:'Playfair Display',serif;font-size:1.1rem;font-weight:700;color:var(--or);text-decoration:none;}
footer a:hover{color:var(--or);}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
#hamburger.open span:nth-child(2){opacity:0;}
.footer-grid{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;margin-bottom:2.5rem;}
@media(min-width:769px){#hamburger{display:none!important;}#mobileMenu{display:none!important;}}
.footer-bottom{max-width:1080px;margin:0 auto;border-top:1px solid rgba(255,255,255,0.08);padding-top:1.5rem;font-size:0.78rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:0.5rem;}
.nav-cta{background:var(--or)!important;color:var(--bleu)!important;padding:0.4rem 1rem;border-radius:4px;font-weight:700!important;}
.content ul{color:#444;padding-left:1.5rem;margin-bottom:1.2rem;font-weight:300;line-height:2.1;}
.content ul li::marker{color:var(--or);}
.content p{color:#444;margin-bottom:1rem;font-weight:300;line-height:1.85;}
#hamburger.open span:nth-child(1){transform:translateY(8px) rotate(45deg);}
:root{--bleu:#0d2b4e;--bleu-clair:#1a4a7a;--or:#c8a44a;--or-clair:#f0d080;--blanc:#f8f6f1;--gris:#6b7280;--ombre:0 4px 32px rgba(13,43,78,0.10);}
.tel-link{font-size:1.7rem;font-weight:700;color:var(--or);text-decoration:none;display:block;margin-bottom:1.2rem;}
@keyframes pulse-notif { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.4);opacity:0.7;} }
#sticky-cta-inner { display:flex; align-items:center; gap:1.5rem; flex:1; min-width:0; }
#hamburger span {
      display: block;
      width: 25px;
      height: 3px;
      background: #ffffff;
      border-radius: 3px;
      transition: all 0.3s ease;
    }
.contact-box p{color:rgba(255,255,255,0.68);margin-bottom:1.5rem;}
:root { --bleu:#0d2b4e; --bleu-clair:#1a4a7a; --or:#c8a44a; --or-clair:#f0d080; --sticky-h:64px; }
.breadcrumb{font-size:0.8rem;color:rgba(255,255,255,0.5);margin-bottom:1rem;}
.hamburger span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:all 0.3s;}
footer{padding-bottom:calc(2rem + var(--sticky-h));}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.mobile-menu.open{display:block;}
#sticky-chat-btn:hover { background:var(--or-clair); transform:translateY(-1px); }
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.contact-box{background:var(--bleu);color:#fff;border-radius:14px;padding:2.5rem 2rem;margin-top:3rem;text-align:center;}
footer{background:#0a1f38;color:rgba(255,255,255,0.6);padding:3rem 2rem 2rem;}
.mobile-cta-wrap{padding:1rem 2rem;}
#chat-popup-header { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:var(--bleu); color:#fff; flex-shrink:0; font-family:inherit; }
.mobile-menu{display:none;position:fixed;top:64px;left:0;right:0;background:var(--bleu);z-index:99;padding:1rem 0;box-shadow:0 8px 24px rgba(0,0,0,0.3);max-height:calc(100vh - 64px);overflow-y:auto;}
#sticky-cta-text span { color:rgba(255,255,255,0.65); font-size:0.78rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#sticky-cta { position:fixed; bottom:0; left:0; right:0; height:var(--sticky-h); background:var(--bleu); border-top:2px solid var(--or); display:flex; align-items:center; justify-content:space-between; padding:0 1.5rem; z-index:9990; box-shadow:0 -4px 24px rgba(13,43,78,0.25); transition:transform 0.35s ease,opacity 0.35s ease; }
#sticky-close { background:none; border:none; color:rgba(255,255,255,0.4); font-size:1rem; cursor:pointer; padding:0 0 0 0.75rem; line-height:1; flex-shrink:0; transition:color 0.2s; }
#chat-close-btn { background:none; border:none; color:rgba(255,255,255,0.7); font-size:18px; cursor:pointer; padding:0 2px; line-height:1; transition:color 0.15s; }
#sticky-cta.hidden { transform:translateY(100%); opacity:0; pointer-events:none; }
#sticky-chat-btn { background:var(--or); color:var(--bleu); border:none; border-radius:6px; padding:10px 20px; font-size:0.88rem; font-weight:700; cursor:pointer; font-family:inherit; transition:background 0.2s,transform 0.15s; white-space:nowrap; }
#chat-close-btn:hover { color:#fff; }
.mobile-menu a{display:block;color:rgba(255,255,255,0.85);text-decoration:none;font-size:0.95rem;font-weight:500;padding:0.9rem 2rem;border-bottom:1px solid rgba(255,255,255,0.06);transition:background 0.2s,color 0.2s;}
#chat-popup { display:none; position:fixed; bottom:calc(var(--sticky-h) + 80px); right:24px; width:420px; height:600px; background:#fff; border-radius:16px; box-shadow:0 8px 48px rgba(13,43,78,0.25); z-index:9998; flex-direction:column; overflow:hidden; border:1px solid rgba(200,164,74,0.3); transition:bottom 0.35s ease; }
.mobile-cta{display:block;background:var(--or);color:var(--bleu)!important;font-weight:700;padding:0.9rem 1rem;border-radius:6px;text-align:center;border:none;text-decoration:none;}
.mobile-menu a:hover{background:rgba(255,255,255,0.05);color:var(--or);}
#sticky-tel-btn:hover { border-color:var(--or); color:var(--or); }
#chat-btn-notif { width:8px; height:8px; background:var(--or); border-radius:50%; border:2px solid var(--bleu); animation:pulse-notif 2s infinite; flex-shrink:0; }
.mobile-section{font-size:0.7rem;letter-spacing:0.12em;text-transform:uppercase;color:rgba(255,255,255,0.3);padding:0.8rem 2rem 0.3rem;font-weight:600;}
#sticky-cta-text { display:flex; flex-direction:column; line-height:1.35; min-width:0; }
@media (max-width:600px) {
    :root { --sticky-h:58px; }
    /* Bandeau : texte secondaire et téléphone masqués, bouton CTA centré */
    #sticky-cta-text { display:none; }
    #sticky-tel-btn { display:none; }
    #sticky-cta-inner { justify-content:center; }
    #sticky-chat-btn { padding:12px 28px; font-size:0.9rem; width:100%; max-width:280px; text-align:center; }
    /* Bulle flottante masquée sur mobile — le bandeau suffit */
    #chat-open-btn { display:none !important; }
    #chat-popup { width:100%; height:100%; bottom:0; right:0; border-radius:0; border:none; }
  }
#chat-popup iframe { width:100%; flex:1; border:none; height:calc(100% - 56px); }
#chat-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:9997; backdrop-filter:blur(2px); }
#sticky-tel-btn { color:rgba(255,255,255,0.82); text-decoration:none; font-size:0.85rem; font-weight:600; white-space:nowrap; padding:10px 14px; border:1px solid rgba(200,164,74,0.4); border-radius:6px; transition:border-color 0.2s,color 0.2s; }
#chat-open-btn.sticky-hidden { bottom:24px; }
#chat-avatar { width:32px; height:32px; border-radius:50%; background:var(--or); color:var(--bleu); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.9rem; flex-shrink:0; }
#sticky-cta-text strong { color:var(--or); font-size:0.92rem; font-weight:700; white-space:nowrap; }
.contact-box h3{font-family:'Playfair Display',serif;font-size:1.5rem;margin-bottom:0.5rem;}
#chat-open-btn:hover { background:var(--bleu-clair); transform:translateY(-2px); }
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none;}
#chat-open-btn { position:fixed; bottom:calc(var(--sticky-h) + 16px); right:24px; background:var(--bleu); color:#fff; border:2px solid var(--or); border-radius:50px; padding:12px 20px 12px 16px; font-size:0.88rem; font-weight:700; cursor:pointer; box-shadow:0 4px 20px rgba(13,43,78,0.35); z-index:9995; display:flex; align-items:center; gap:8px; transition:background 0.2s,transform 0.15s,bottom 0.35s ease; font-family:inherit; }
#sticky-cta-actions { display:flex; align-items:center; gap:0.75rem; flex-shrink:0; }
#sticky-close:hover { color:rgba(255,255,255,0.8); }
@media(max-width:768px){.nav-links{display:none!important;}#hamburger{display:flex;}.footer-grid{grid-template-columns:1fr;gap:2rem;}}
.hero{background:linear-gradient(135deg,var(--bleu) 0%,var(--bleu-clair) 60%,#1e5f9a 100%);color:#fff;padding:4.5rem 2rem 3.5rem;text-align:center;position:relative;overflow:hidden;}
.content{max-width:860px;margin:0 auto;padding:3.5rem 2rem;}
.btn-primary{background:var(--or);color:var(--bleu);font-weight:700;padding:0.85rem 2rem;border-radius:6px;text-decoration:none;font-size:1rem;transition:background 0.2s,transform 0.15s;display:inline-block;}
.hero p{color:rgba(255,255,255,0.78);max-width:560px;margin:0 auto 2rem;font-weight:300;font-size:1.02rem;}
.hero-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;}
.btn-outline{border:2px solid rgba(255,255,255,0.5);color:#fff;font-weight:600;padding:0.85rem 2rem;border-radius:6px;text-decoration:none;font-size:1rem;display:inline-block;}
.hero h1 em{color:var(--or);font-style:normal;}
.hero h1{font-family:'Playfair Display',serif;font-size:clamp(1.8rem,4vw,2.8rem);font-weight:900;line-height:1.2;margin-bottom:1rem;}
.content h2{font-family:'Playfair Display',serif;font-size:1.5rem;color:var(--bleu);margin:2.5rem 0 0.8rem;border-left:4px solid var(--or);padding-left:0.9rem;}
.btn-primary:hover{background:var(--or-clair);transform:translateY(-2px);}