/* ============================================================
   actualites-design.css — Styles dédiés aux pages Actualités
   (page liste = carré bleu, page article = carré orange)
   Chargé UNIQUEMENT sur actualites.php et article.php.
   Ne pas mélanger avec assets/style.css du site.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');


  :root{
    --navy:#2b3a52;
    --navy-deep:#1f2b3d;
    --gold:#d39a2c;
    --gold-soft:#e0ad48;
    --paper:#fbfaf7;
    --paper-2:#f3f0ea;
    --muted:#8a8f99;
    --line:#e6e2da;
    --mont:'Montserrat',-apple-system,sans-serif;
  }
  /* Reset scopé : uniquement les éléments du design actu (le footer garde ses styles de style.css) */
  .actu-page .d-nav-wrap *,.actu-page .d-hero *,.actu-page .d-works *,.actu-page .d-inspace *,.actu-page .d-body-wrap *,.actu-page .d-grid-section *,.actu-page .d-filters *,.actu-page .d-cadran *{box-sizing:border-box}
  .actu-page .d-hero,.actu-page .d-works,.actu-page .d-inspace,.actu-page .d-grid-section,.actu-page .d-filters{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{font-family:var(--mont);color:var(--navy);background:var(--paper);font-weight:400;line-height:1.6;-webkit-font-smoothing:antialiased}
  /* Force Montserrat sur toute la page actu, même si style.css est chargé après */
  body.actu-page{font-family:var(--mont)}
  body.actu-page .d-hero,body.actu-page .d-works,body.actu-page .d-inspace,body.actu-page .d-body-wrap,body.actu-page .d-grid-section,body.actu-page .d-filters,body.actu-page .d-nav{font-family:var(--mont)}
  a{text-decoration:none;color:inherit}
  img{display:block;max-width:100%}

  /* ---------- NAV (façon Daylight : pastille flottante) ---------- */
  .d-nav-wrap{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;justify-content:center;padding:1.1rem 1rem;pointer-events:none}
  .d-nav{pointer-events:auto;display:flex;align-items:center;gap:.5rem;background:#fff;border-radius:100px;padding:.6rem .7rem .6rem 1.8rem;box-shadow:0 8px 30px rgba(31,43,61,.14);max-width:100%}
  .d-brand{display:flex;align-items:center;margin-right:1rem}
  .d-brand img{height:54px;width:auto;display:block}
  .d-links{display:flex;align-items:center;gap:.2rem}
  .d-links a{font-size:.9rem;font-weight:500;color:var(--navy);padding:.6rem 1rem;border-radius:100px;transition:background .2s,color .2s;white-space:nowrap}
  .d-links a:hover{background:var(--paper-2)}
  .d-links a.active{background:transparent;color:#1a56db;font-weight:600;border-radius:0;border-bottom:2px solid #1a56db;padding-bottom:.35rem}
  .d-rdv{background:var(--navy)!important;color:#fff!important;padding:.7rem 1.5rem!important;font-weight:600!important;margin-left:.8rem;position:relative;animation:d-rdv-pulse 2.6s ease-in-out infinite}
  .d-rdv:hover{background:var(--navy-deep)!important;animation:none}
  @keyframes d-rdv-pulse{0%{box-shadow:0 0 0 0 rgba(43,58,82,.45)}70%{box-shadow:0 0 0 10px rgba(43,58,82,0)}100%{box-shadow:0 0 0 0 rgba(43,58,82,0)}}
  .d-rdv:hover{background:var(--navy-deep)!important}
  .d-burger{display:none;background:none;border:none;cursor:pointer;padding:.5rem .8rem;font-size:1.3rem;color:var(--navy)}

  /* ---------- HERO plein écran ---------- */
  .d-hero{position:relative;min-height:100vh;display:flex;align-items:flex-end;overflow:hidden;background:var(--navy-deep)}
  .d-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
  .d-hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(31,43,61,.35) 0%,rgba(31,43,61,.15) 40%,rgba(31,43,61,.75) 100%)}

  .d-hero-inner{position:absolute;z-index:3;left:50%;transform:translateX(-50%);top:calc(var(--sq-cy) - var(--sq)/2 + 4.2rem);width:100%;max-width:1300px;padding:0 3rem;display:block}
  .d-hero-text{max-width:52%}
  .d-eyebrow{position:absolute;z-index:5;left:50%;transform:translateX(-50%);width:100%;max-width:1300px;padding:0 3rem;box-sizing:border-box;top:calc(var(--sq-cy) - var(--sq)/2 + 2rem);font-size:.74rem;letter-spacing:.28em;text-transform:uppercase;color:#fff;font-weight:600;margin:0}
  .d-hero h1{font-size:clamp(2.2rem,4vw,4rem);line-height:1.06;font-weight:700;letter-spacing:-.02em;color:#fff;max-width:16ch;overflow-wrap:break-word}
  /* paliers automatiques selon la longueur du titre (classe posée par PHP) */
  .d-hero h1.h1-s{font-size:clamp(2rem,3.3vw,3.2rem)}
  .d-hero h1.h1-xs{font-size:clamp(1.8rem,2.8vw,2.7rem);max-width:20ch}
  .d-hero-chapo{margin-top:1.6rem;font-size:1.05rem;font-weight:400;color:rgba(255,255,255,.82);max-width:44ch;line-height:1.55}

  .d-hero-cta{position:absolute;z-index:5;right:calc(var(--sq-right) + var(--sq) - 1rem);top:calc(var(--sq-cy) + var(--sq)/2 + 4rem);transform:translateX(100%);display:flex;gap:.8rem;flex-wrap:wrap;margin:0}


  .d-hero-scroll{position:absolute;z-index:5;left:50%;transform:translateX(-50%);width:100%;max-width:1300px;padding-left:3rem;padding-right:calc(var(--sq-right) + var(--sq) + 2rem);box-sizing:border-box;top:calc(var(--sq-cy) + var(--sq)/2 - 3.4rem);display:flex;flex-direction:column;align-items:flex-end;gap:.3rem;color:#fff;text-decoration:none;font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;opacity:.9;transition:opacity .2s}
  .d-hero-scroll:hover{opacity:1}
  .d-hero-scroll svg{width:26px;height:26px;animation:d-bounce 1.8s ease-in-out infinite}
  @keyframes d-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}

  .d-btn{font-family:var(--mont);font-size:.86rem;font-weight:600;padding:.9rem 1.6rem;border-radius:8px;cursor:pointer;border:none;transition:transform .2s,box-shadow .2s}
  .d-btn:hover{transform:translateY(-2px)}
  .d-btn-light{background:#fff;color:var(--navy)}
  .d-btn-gold{background:var(--gold);color:#fff;box-shadow:0 8px 22px rgba(211,154,44,.35)}

  /* ---------- CADRAN : carré or centré à droite + traits + labels ---------- */
  .d-cadran{position:absolute;inset:0;z-index:2;pointer-events:none}
  .d-cadran .d-block,.d-cadran .d-lab{pointer-events:auto}
  /* variables de position du carré (centre-droit) */
  :root{--sq:400px;--sq-right:210px;--sq-cy:50%}
  /* le carré or uni, sans coins arrondis, sans image */
  .d-block{position:absolute;top:var(--sq-cy);right:var(--sq-right);transform:translateY(-50%);width:var(--sq);height:var(--sq);display:block;overflow:hidden;box-shadow:0 24px 60px rgba(31,43,61,.4);background:linear-gradient(150deg,var(--gold-soft) 0%,var(--gold) 48%,#c08326 100%)}
  .d-block::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(120deg,transparent 42%,rgba(255,255,255,.16) 50%,transparent 58%)}
  .d-block-inner{position:absolute;inset:0;z-index:2;padding:2rem;display:flex;flex-direction:column;justify-content:space-between;color:#fff}
  .d-block-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
  .d-block-tag{font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;font-weight:700;opacity:.95}
  .d-block-cat{font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;font-weight:500;opacity:.75}
  .d-block-foot{display:flex;flex-direction:column;gap:1.4rem}
  .d-block-big{font-size:clamp(1.1rem,1.5vw,1.55rem);font-weight:700;line-height:1.2;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .d-block-btn{align-self:flex-start;background:#fff;color:var(--gold);font-family:var(--mont);font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.8rem 1.4rem;border-radius:2px;transition:transform .2s,box-shadow .2s}
  .d-block-btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(31,43,61,.28)}

  /* traits partant des arêtes du carré vers les bords de l'écran */
  .d-line{position:absolute;background:rgba(255,255,255,.28)}
  /* horizontales : au niveau du haut et du bas du carré, partant du carré vers la gauche et la droite */
  .d-line-top{height:1px;left:0;right:0;top:calc(var(--sq-cy) - var(--sq)/2)}
  .d-line-bottom{height:1px;left:0;right:0;top:calc(var(--sq-cy) + var(--sq)/2)}
  /* verticales : au niveau des côtés gauche et droit du carré, du haut en bas de l'écran */
  .d-line-left{width:1px;top:0;bottom:0;right:calc(var(--sq-right) + var(--sq))}
  .d-line-right{width:1px;top:0;bottom:0;right:var(--sq-right)}

  /* labels aux extrémités des traits */
  .d-lab{position:absolute;color:#fff}
  .d-lab-k{font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.72);font-weight:500}
  .d-lab-v{font-size:1.05rem;font-weight:600;margin-top:.2rem}
  /* HAUT : au-dessus de la ligne du haut, aligné sur le bord GAUCHE du carré */
  .d-lab-top{right:calc(var(--sq-right) + var(--sq) - 1rem);top:calc(var(--sq-cy) - var(--sq)/2 - 3.6rem);text-align:left;width:max-content;transform:translateX(100%)}
  /* DROITE : à droite de la verticale droite, un peu au-dessus du bas du carré */
  .d-lab-right{right:calc(var(--sq-right) - 1.4rem);top:calc(var(--sq-cy) + var(--sq)/2 - 4.6rem);transform:translateX(100%);width:160px;text-align:left}
  /* BAS : sous la ligne du bas, aligné sur le bord GAUCHE du carré */
  .d-lab-bottom{right:calc(var(--sq-right) + var(--sq) - 1rem);top:calc(var(--sq-cy) + var(--sq)/2 + 1.1rem);text-align:left;width:max-content;transform:translateX(100%);display:flex;align-items:baseline;gap:.6rem}
  .d-lab-bottom .d-lab-k{margin-top:0}
  /* barre de flux dans le label droite */
  .d-lab-right .d-load-bar{margin-top:.5rem;width:100%;height:5px;background:rgba(255,255,255,.22);border-radius:100px;overflow:hidden}
  .d-lab-right .d-load-bar span{display:block;height:100%;width:35%;background:var(--gold);border-radius:100px;animation:dload 2.6s ease-in-out infinite}
  @keyframes dload{0%{width:14%}55%{width:92%}100%{width:14%}}

  /* ---------- Labels flottants (data pills) ---------- */
  .d-pill{position:absolute;z-index:3;background:rgba(31,43,61,.55);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:.6rem .9rem;color:#fff}
  .d-pill-label{font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.7);font-weight:500}
  .d-pill-val{font-size:.9rem;font-weight:600;margin-top:.15rem}

  /* ---------- CORPS d'article ---------- */
  .d-body-wrap{max-width:720px;margin:0 auto;padding:5rem 2rem;scroll-margin-top:2rem}
  .d-meta{display:flex;align-items:center;gap:.8rem;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:1.6rem}
  .d-meta::after{content:"";flex:1;height:1px;background:var(--line)}
  .d-body{font-size:1.06rem;line-height:1.75;font-weight:400;color:#3a4655}
  .d-body h2{font-size:1.7rem;font-weight:700;letter-spacing:-.01em;color:var(--navy);margin:2.6rem 0 1rem}
  .d-body h3{font-size:1.2rem;font-weight:600;color:var(--navy);margin:1.8rem 0 .6rem}
  .d-body p{margin-bottom:1.2rem;color:#495566}
  .d-lede{font-size:1.25rem;line-height:1.6;font-weight:500;color:var(--navy);margin-bottom:2rem}
  /* FAQ */
  .d-faq{max-width:720px;margin:0 auto;padding:0 0 2rem}
  .d-faq h2{font-size:1.5rem;font-weight:700;color:var(--navy);margin:2rem 0 1.2rem;letter-spacing:-.01em}
  .d-faq details{border-bottom:1px solid var(--line);padding:1rem 0}
  .d-faq summary{cursor:pointer;font-weight:600;color:var(--navy);font-size:1rem;list-style:none;display:flex;justify-content:space-between;align-items:center}
  .d-faq summary::-webkit-details-marker{display:none}
  .d-faq summary::after{content:"+";color:var(--gold);font-size:1.3rem;font-weight:400}
  .d-faq details[open] summary::after{content:"−"}
  .d-faq details p{margin-top:.8rem;color:#495566;line-height:1.6;font-size:.95rem}

  /* ---------- Bande process ---------- */
  .d-process{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin:3rem auto;max-width:900px;padding:2rem;background:#f7f9fe;border:1px solid #dce6fa;border-radius:14px}
  .d-step{display:flex;flex-direction:column;align-items:center;gap:.7rem;width:130px}
  .d-step .ph{width:100%;height:90px;background:#fff;border:1.5px solid #1a56db;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#1a56db;font-weight:700;font-size:.8rem}
  .d-step img{width:100%;height:90px;object-fit:contain;background:#fff;border:1.5px solid #1a56db;border-radius:10px;padding:.7rem;box-sizing:border-box;box-shadow:0 6px 16px rgba(26,86,219,.1)}
  .d-inspace-logos{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:2.5rem}
  .d-step figcaption{font-weight:600;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#1a56db}

  /* ---------- CTA final ---------- */
  .d-final{background:var(--navy-deep);color:#fff;text-align:center;padding:5rem 2rem}
  .d-final h2{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:700;letter-spacing:-.01em;max-width:18ch;margin:0 auto 1.6rem}
  .d-final .d-btn-gold{margin-top:.5rem}

  /* ---------- Responsive ---------- */
  /* ============ DERNIERS ARTICLES (navy, carrousel) ============ */
  .d-works{background:linear-gradient(165deg,var(--navy) 0%,var(--navy-deep) 100%);color:#fff;padding:6rem 3rem 6.5rem}
  .d-works-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:1.5rem;max-width:1300px;margin:0 auto 3rem}
  .d-works-eyebrow{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold-soft);font-weight:600;margin-bottom:.8rem}
  .d-works-title{font-size:clamp(2rem,4vw,3rem);font-weight:700;letter-spacing:-.02em;line-height:1.08}
  .d-works-arrows{display:flex;gap:.6rem}
  .d-arrow{width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;transition:background .2s,border-color .2s;display:flex;align-items:center;justify-content:center}
  .d-arrow:hover{background:var(--gold);border-color:var(--gold)}
  .d-works-viewport{max-width:1300px;margin:0 auto;overflow:hidden}
  .d-works-track{display:flex;gap:1.6rem;transition:transform .5s cubic-bezier(.22,.9,.35,1)}
  .d-work{flex:0 0 calc((100% - 3*1.6rem)/4);min-width:0;text-decoration:none;color:#fff;display:block}
  .d-work-img{aspect-ratio:4/3;border-radius:8px;background-size:cover;background-position:center;background-color:#fff;margin-bottom:1rem;transition:transform .4s}
  .d-work:hover .d-work-img{transform:translateY(-4px)}
  .d-work-cat{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-soft);font-weight:600;margin-bottom:.5rem}
  .d-work-title{font-size:1.05rem;font-weight:600;line-height:1.25;letter-spacing:-.01em;margin-bottom:.5rem}
  .d-work-txt{font-size:.86rem;line-height:1.55;color:rgba(255,255,255,.7);font-weight:400}

  /* ============ BLOC INSPACE + bouton animé ============ */
  .d-inspace{background:var(--paper);padding:5.5rem 2rem 6rem;text-align:center}
  .d-inspace-inner{max-width:900px;margin:0 auto}
  /* 3 captures d'écran du logiciel */
  .d-inspace-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin:0 auto 2.5rem;max-width:1050px}
  .d-shot{margin:0}
  .d-shot img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;border:1px solid #dce6fa;box-shadow:0 10px 30px rgba(26,86,219,.14);transition:transform .3s,box-shadow .3s;background:#fff}
  .d-shot:hover img{transform:translateY(-4px);box-shadow:0 16px 40px rgba(26,86,219,.24)}
  .d-shot figcaption{margin-top:.9rem;font-family:var(--mont);font-weight:600;font-size:.82rem;color:#1a56db;text-align:center}
  @media(max-width:820px){.d-inspace-shots{grid-template-columns:1fr;max-width:420px}}
  .d-inspace-eyebrow{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:1rem}
  .d-inspace-title{font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:700;letter-spacing:-.02em;color:var(--navy);line-height:1.1;max-width:20ch;margin:0 auto}
  .d-inspace-sub{font-size:1.05rem;color:var(--muted);margin:1.2rem auto 2.5rem;font-weight:400}
  .d-inspace-logos{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:2.5rem}
  /* bouton animé */
  .d-inspace-btn{display:inline-flex;align-items:center;gap:.7rem;background:var(--gold);color:#fff;font-family:var(--mont);font-size:.92rem;font-weight:600;letter-spacing:.02em;padding:1.1rem 2rem;border-radius:8px;position:relative;overflow:hidden;transition:transform .25s,box-shadow .25s;box-shadow:0 10px 28px rgba(211,154,44,.32)}
  .d-inspace-btn svg{width:20px;height:20px;transition:transform .3s}
  .d-inspace-btn::before{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;background:linear-gradient(115deg,transparent,rgba(255,255,255,.4),transparent);transform:skewX(-18deg);animation:dshine 2.8s ease-in-out infinite}
  .d-inspace-btn:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(211,154,44,.45)}
  .d-inspace-btn:hover svg{transform:translateX(4px)}
  @keyframes dshine{0%{left:-120%}55%{left:130%}100%{left:130%}}

  /* variante compacte (en bas d'un article) */
  .d-works-small{padding:4rem 3rem 4.5rem}
  .d-works-small .d-works-title{font-size:clamp(1.5rem,3vw,2rem)}
  .d-works-small .d-work-title{font-size:.95rem}
  .d-works-small .d-work-txt{font-size:.8rem}
  .d-works-small .d-arrow{width:42px;height:42px;font-size:1.2rem}

  @media(max-width:860px){
    .d-links{display:none;position:absolute;top:calc(100% + .6rem);right:0;left:0;background:#fff;border-radius:14px;box-shadow:0 8px 30px rgba(31,43,61,.16);flex-direction:column;padding:.6rem;gap:.2rem}
    .d-links.open{display:flex}
    .d-nav{position:relative;flex-wrap:wrap}
    .d-burger{display:block}
    .d-hero{min-height:auto}
    .d-hero-inner{position:relative;z-index:3;transform:none;top:auto;padding:9rem 1.5rem 2rem}
    .d-hero-text{max-width:100%}
    .d-eyebrow{position:relative;z-index:3;top:auto;left:auto;transform:none;padding:0;margin:0 0 1rem;max-width:100%}
    .d-hero-cta{position:relative;z-index:3;transform:none;top:auto;right:auto;margin-top:1.5rem;padding:0 1.5rem}
    .d-hero-scroll{position:static;transform:none;top:auto;right:auto;margin-top:1.2rem;padding:0 1.5rem;align-items:flex-start}
    /* cadran : on passe en flux normal sous le texte */
    .d-cadran{position:static;padding:0 1.5rem 3rem}
    .d-line{display:none}
    .d-block{position:relative;top:auto;right:auto;transform:none;width:220px;height:220px;margin:1.5rem auto 0}
    .d-lab{position:static;text-align:center;margin:.8rem auto 0;width:auto!important;transform:none!important;display:block!important;padding:0!important}
    .d-lab-right{width:180px!important;margin-left:auto;margin-right:auto}

    /* MOBILE — hero epure : le titre, le chapo, les boutons. Rien d'autre.
       Le cadran (lignes, etiquettes, carre vedette) est un decor concu pour
       le grand ecran ; sur telephone il ecrase le message et pousse le
       contenu utile hors de l'ecran. 90 % des visites viennent du mobile. */
    .d-cadran,.d-cadran .d-line,.d-cadran .d-lab,.d-cadran .d-block,.d-hero-scroll{display:none}
    .d-hero-inner{padding-bottom:1rem}
    .d-hero-cta{padding-bottom:2.5rem}
    .d-body-wrap{padding:3.5rem 1.5rem}
    .d-step{width:calc(33% - 1rem)}
    .d-works{padding:4rem 1.5rem}
    .d-work{flex:0 0 calc((100% - 1.6rem)/2)}
    .d-inspace{padding:4rem 1.5rem}
  }
  @media(max-width:560px){
    .d-work{flex:0 0 100%}
  }

/* ---------- Variante page LISTE : carré bleu ---------- */
.actu-liste .d-block{background:linear-gradient(150deg,#8ea2f5 0%,#6b82ef 48%,#5a6fe0 100%)}
.actu-liste .d-block-btn{color:#4a5fd0}
.actu-liste .d-lab-right .d-load-bar span{background:#6b82ef}

/* ============ Page LISTE : filtres + grille de cartes ============ */
.d-filters{max-width:1300px;margin:0 auto;padding:3rem 3rem 0;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}
.d-filters a{font-family:var(--mont);font-size:.82rem;font-weight:600;color:var(--navy);padding:.6rem 1.3rem;border:1px solid var(--line);border-radius:100px;transition:all .2s;text-decoration:none}
.d-filters a:hover{border-color:var(--gold);color:var(--gold)}
.d-filters a.active{background:var(--navy);border-color:var(--navy);color:#fff}
.d-grid-section{max-width:1300px;margin:0 auto;padding:2.5rem 3rem 5rem}
.d-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.d-card{text-decoration:none;color:var(--navy);display:block;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(31,43,61,.06);transition:transform .3s,box-shadow .3s}
.d-card:hover{transform:translateY(-5px);box-shadow:0 16px 40px rgba(31,43,61,.14)}
.d-card-img{aspect-ratio:16/10;background-size:cover;background-position:center;background-color:var(--paper-2)}
.d-card-body{padding:1.4rem 1.5rem 1.6rem}
.d-card-cat{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:700;margin-bottom:.6rem}
.d-card-title{font-size:1.15rem;font-weight:700;line-height:1.25;letter-spacing:-.01em;margin-bottom:.6rem}
.d-card-txt{font-size:.9rem;line-height:1.55;color:var(--muted);margin-bottom:1rem}
.d-card-link{font-size:.82rem;font-weight:600;color:var(--navy)}
.d-empty{text-align:center;color:var(--muted);padding:4rem 2rem;font-size:1.05rem}
/* (grille et filtres : voir la section RESPONSIVE en fin de fichier) */
@media(max-width:960px){.d-grid{grid-template-columns:1fr 1fr}}

/* ============ Fil d'Ariane (page article) ============ */
.d-breadcrumb{background:var(--paper);border-bottom:1px solid var(--line);padding:1rem 0;margin-top:0}
.d-breadcrumb-inner{max-width:1300px;margin:0 auto;padding:0 3rem;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:.8rem}
.d-breadcrumb-inner a{color:var(--muted);text-decoration:none;transition:color .2s}
.d-breadcrumb-inner a:hover{color:var(--gold)}
.d-breadcrumb-inner span{color:var(--line)}
.d-breadcrumb-current{color:var(--navy)!important;font-weight:600}
@media(max-width:620px){
  .d-breadcrumb-inner{padding:0 1.5rem;font-size:.74rem}
  .d-breadcrumb-current{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
}

/* ============ Bouton flottant retour site Brasa ============ */
.d-back-site{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:60;display:flex;align-items:center;gap:.5rem;background:var(--navy);color:#fff;text-decoration:none;padding:.8rem 1.1rem .8rem .8rem;border-radius:0 100px 100px 0;box-shadow:0 6px 22px rgba(31,43,61,.28);font-size:.78rem;font-weight:600;letter-spacing:.03em;transition:padding .25s,background .25s;max-width:52px;overflow:hidden;white-space:nowrap}
.d-back-site svg{width:20px;height:20px;flex:none}
.d-back-site span{opacity:0;transition:opacity .2s}
.d-back-site:hover{max-width:200px;padding-right:1.4rem;background:var(--gold)}
.d-back-site:hover span{opacity:1}
@media(max-width:620px){.d-back-site{padding:.7rem;max-width:44px}.d-back-site span{display:none}}

/* ============ Bloc InSpace : dégradé blanc→bleu + trait ============ */
.d-inspace{background:linear-gradient(180deg,#ffffff 0%,#eef3fd 100%);padding:5.5rem 2rem 6rem;text-align:center;border-top:1px solid #dce6fa;position:relative}
.d-inspace::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:80px;height:3px;background:linear-gradient(90deg,var(--gold),#1a56db);border-radius:0 0 4px 4px}


/* ============ Logos marques (article cuisine) ============ */
.art-marques{max-width:900px;margin:2.5rem auto;padding:1.8rem 2rem;background:#faf9f6;border:1px solid var(--line);border-radius:14px;text-align:center}
.art-marques-label{display:block;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:1.4rem}
.art-marques-logos{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2.5rem}
.art-marques-logos img{height:48px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.75;transition:filter .3s,opacity .3s}
.art-marques-logos img:hover{filter:grayscale(0);opacity:1}
@media(max-width:640px){.art-marques-logos{gap:1.5rem}.art-marques-logos img{height:36px}}

/* ============ Lightbox (agrandissement photos) ============ */
.gq-lightbox{position:fixed;inset:0;z-index:200;background:rgba(20,26,38,.92);display:none;align-items:center;justify-content:center;flex-direction:column;padding:2rem;cursor:zoom-out}
.gq-lightbox.open{display:flex}
.gq-lightbox img{max-width:92vw;max-height:82vh;border-radius:10px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.gq-lightbox-cap{color:#fff;font-size:.95rem;margin-top:1.2rem;max-width:700px;text-align:center;font-style:italic;opacity:.9}
.gq-lightbox-close{position:absolute;top:1.5rem;right:1.8rem;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}
.gq-lightbox-close:hover{background:rgba(255,255,255,.25)}

/* ============================================================
   Hero InSpace dans le carré — séquence de slides en fondu-zoom
   (repris de configurateur : logo → 3D → iris → Cut → slogan).
   Fond blanc, boucle infinie, sans barre ni skip.
   ============================================================ */
.d-block-inspace{background:#fff!important}
.d-block-inspace::before,.d-block-inspace::after{display:none!important}
.isp{display:flex!important;flex-direction:column;align-items:center;justify-content:space-between;height:100%;padding:1.6rem 1.4rem;text-decoration:none;text-align:center;background:#fff;overflow:hidden;pointer-events:auto!important;cursor:pointer}
.isp-stage{pointer-events:none}

/* scène : slides superposées, une seule visible */
.isp-stage{position:relative;flex:1;width:100%;min-height:0;display:flex;align-items:center;justify-content:center}
.isp-slide{position:absolute;left:50%;top:50%;width:96%;display:flex;flex-direction:column;align-items:center;gap:1rem;
  transform:translate(-50%,-50%) scale(.7);opacity:0;will-change:transform,opacity;
  transition:opacity 1.1s ease-in-out,transform 1.1s ease-in-out}
.isp-slide.show{opacity:1;transform:translate(-50%,-50%) scale(1)}
.isp-slide img{width:auto;max-width:92%;max-height:150px;object-fit:contain;display:block;margin:0 auto;
  filter:drop-shadow(0 12px 30px rgba(26,86,219,.18))}
.isp-slide.isp-big img{max-height:130px}
.isp-cap{font-weight:300;font-size:.78rem;letter-spacing:.32em;text-transform:uppercase;color:#0452f3}

/* slide finale : slogan + clin d'œil */
.isp-slogan{font-weight:400;font-size:1.05rem;line-height:1.4;letter-spacing:.02em;color:#0452f3;margin:0;text-transform:uppercase}
.isp-wink{display:inline-flex;vertical-align:middle;width:30px;height:30px;margin-left:8px}
.isp-wink svg{width:100%;height:100%}
.isp-wink-eye{transform-box:fill-box;transform-origin:center;animation:isp-wink 2.6s ease-in-out infinite;animation-delay:1s}
@keyframes isp-wink{0%,40%,100%{transform:scaleY(1)}46%,52%{transform:scaleY(.1)}58%{transform:scaleY(1)}}

/* bouton spring hover */
.isp-btn{display:inline-block;background:#1a56db;color:#fff;font-family:var(--mont);font-weight:600;font-size:.86rem;
  padding:.8rem 1.4rem;border-radius:10px;box-shadow:0 10px 26px rgba(26,86,219,.32);margin-top:.6rem;flex:none;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s}
.isp:hover .isp-btn{transform:translateY(-4px) scale(1.05);box-shadow:0 16px 36px rgba(26,86,219,.46)}
.isp-rdv-txt{display:block;font-size:.74rem;color:#5a6b82;font-weight:500;letter-spacing:.04em;margin-top:.4rem;margin-bottom:.5rem}

/* ---- Variante promo (garde le fond or) ---- */
.d-splash-promo{display:flex!important;flex-direction:column;justify-content:center;height:100%;padding:2rem 1.8rem;color:#fff;text-align:left}
.d-splash-promo-title{font-size:1.4rem;font-weight:700;line-height:1.2;letter-spacing:-.01em;display:block;margin:.7rem 0}
.d-splash-promo-sub{font-size:.92rem;opacity:.9;line-height:1.4;display:block;margin-bottom:1.4rem}


/* Deux sections consécutives ne se chevauchent jamais */
.d-body .art-bloc + .art-bloc,
.d-body .art-bloc + h2,
.d-body .art-bloc + p{clear:both}
.d-body .art-bloc h2{margin-top:0}

.d-body .art-photo{margin:0 0 1rem;cursor:zoom-in;max-width:44%}
.d-body .art-photo.left{float:left;margin-right:2.2rem}
.d-body .art-photo.right{float:right;margin-left:2.2rem}
.d-body .art-photo img{
  width:100%;border-radius:12px;display:block;
  max-height:340px;object-fit:cover;   /* la photo reste dans sa section */
  box-shadow:0 14px 40px rgba(31,43,61,.16);
  transition:transform .3s,box-shadow .3s;
}
.d-body .art-photo:hover img{transform:translateY(-4px);box-shadow:0 20px 50px rgba(31,43,61,.24)}
.d-body .art-photo figcaption{
  margin-top:.7rem;font-size:.82rem;color:var(--muted);
  font-style:italic;line-height:1.45;
}
/* Photo hors bloc (pleine largeur) */
.d-body > .art-photo{max-width:100%;float:none;margin:2.4rem 0}
.d-body > .art-photo figcaption{text-align:center}

@media(max-width:680px){
  .d-body .art-photo{float:none!important;max-width:100%;margin:0 0 1.4rem!important}
}

/* Section sans photo : le texte occupe toute la largeur, marges normales */

/* ============ Sections d'article : texte + photo côte à côte ============ */
.d-body .art-bloc{
  display:flex;
  align-items:flex-start;
  gap:2.4rem;
  margin:3rem 0;
}
/* Position de la photo : classe left (défaut) ou right sur la figure */
.d-body .art-bloc > .art-photo.left{order:0}
.d-body .art-bloc > .art-txt{order:1}
.d-body .art-bloc > .art-photo.right{order:2}

.d-body .art-bloc > .art-photo{
  flex:0 0 42%;
  max-width:42%;
  margin:0;
  cursor:zoom-in;
}
.d-body .art-bloc > .art-photo img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:12px;
  display:block;
  box-shadow:0 14px 40px rgba(31,43,61,.16);
  transition:transform .3s,box-shadow .3s;
}
.d-body .art-bloc > .art-photo:hover img{transform:translateY(-4px);box-shadow:0 20px 50px rgba(31,43,61,.24)}
.d-body .art-bloc > .art-photo figcaption{
  margin-top:.8rem;font-size:.82rem;color:var(--muted);
  font-style:italic;line-height:1.45;
}

/* La colonne de texte prend le reste */
.d-body .art-bloc > .art-txt{flex:1;min-width:0}
.d-body .art-bloc .art-txt > h2{margin-top:0}
.d-body .art-bloc .art-txt > p:last-child{margin-bottom:0}

/* Section sans photo : le texte occupe naturellement toute la largeur (flex à 1 item) */
.d-body .art-bloc > .art-txt:only-child{flex:1 1 100%}

/* Photo hors section : pleine largeur, légende centrée */
.d-body > .art-photo{margin:2.6rem 0;cursor:zoom-in}
.d-body > .art-photo img{width:100%;border-radius:12px;display:block;box-shadow:0 14px 40px rgba(31,43,61,.16)}
.d-body > .art-photo figcaption{margin-top:.8rem;font-size:.84rem;color:var(--muted);font-style:italic;text-align:center}

@media(max-width:760px){
  .d-body .art-bloc{flex-direction:column;gap:1.4rem;margin:2.2rem 0}
  .d-body .art-bloc > .art-photo,
  .d-body .art-bloc > .art-photo.left,
  .d-body .art-bloc > .art-photo.right{flex:none;max-width:100%;width:100%;order:-1}
  .d-body .art-bloc > .art-txt{order:1}
}

/* ============================================================
   RESPONSIVE — Page liste : hero, filtres, grille de cartes
   Paliers : 1024 / 860 / 640 / 480 / 380
   ============================================================ */

/* ---------- Tablette large : on resserre les marges ---------- */
@media(max-width:1024px){
  .d-hero-inner{padding:0 2rem}
  .d-filters{padding:2.5rem 2rem 0}
  .d-grid-section{padding:2rem 2rem 4rem}
  .d-grid{gap:1.6rem}
}

/* ---------- Tablette : hero en flux, 2 colonnes ---------- */
@media(max-width:860px){
  /* hauteur maîtrisée : ni écrasé, ni plein écran */
  .d-hero{min-height:auto;align-items:stretch}
  .d-hero-inner{padding:7.5rem 1.5rem 2rem}

  /* le dégradé doit rester lisible sur peu de hauteur */
  .d-hero-bg::after{background:linear-gradient(180deg,rgba(31,43,61,.55) 0%,rgba(31,43,61,.35) 45%,rgba(31,43,61,.85) 100%)}

  .d-hero h1,
  .d-hero h1.h1-s,
  .d-hero h1.h1-xs{font-size:clamp(1.8rem,5.2vw,2.6rem);max-width:100%}
  .d-hero-chapo{font-size:.98rem;margin-top:1.1rem;max-width:100%}

  .d-grid{grid-template-columns:1fr 1fr;gap:1.5rem}
}

/* ---------- Petite tablette / grand mobile ---------- */
@media(max-width:640px){
  .d-hero-inner{padding:6.5rem 1.25rem 1.75rem}
  .d-hero h1,
  .d-hero h1.h1-s,
  .d-hero h1.h1-xs{font-size:clamp(1.65rem,6.4vw,2.15rem);line-height:1.12}
  .d-hero-chapo{font-size:.94rem;line-height:1.5;margin-top:.9rem}
  .d-eyebrow{font-size:.66rem;letter-spacing:.16em}

  /* CTA pleine largeur, plus faciles à toucher */
  .d-hero-cta{padding:0 1.25rem;gap:.6rem;width:100%}
  .d-hero-cta .d-btn{flex:1 1 100%;justify-content:center;text-align:center;padding:.9rem 1.2rem;min-height:44px}
  .d-hero-scroll{padding:0 1.25rem}

  /* le carré splash s'adapte à l'écran */
  .d-block{width:min(240px,72vw);height:min(240px,72vw)}
  .d-cadran{padding:0 1.25rem 2.5rem}

  /* filtres : défilement horizontal plutôt que retour à la ligne */
  .d-filters{
    flex-wrap:nowrap;justify-content:flex-start;
    overflow-x:auto;scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    padding:2rem 1.25rem 0;gap:.5rem;
    scrollbar-width:none;
  }
  .d-filters::-webkit-scrollbar{display:none}
  .d-filters a{flex:0 0 auto;scroll-snap-align:start;padding:.55rem 1.1rem;font-size:.78rem}

  /* une seule colonne de cartes */
  .d-grid{grid-template-columns:1fr;gap:1.25rem}
  .d-grid-section{padding:1.75rem 1.25rem 3.5rem}
  .d-card-img{aspect-ratio:16/9}
  .d-card-body{padding:1.15rem 1.25rem 1.35rem}
  .d-card-title{font-size:1.06rem}
  .d-card-txt{font-size:.87rem}

  .d-breadcrumb-inner{padding-left:1.25rem;padding-right:1.25rem;font-size:.78rem}
}

/* ---------- Mobile courant ---------- */
@media(max-width:480px){
  .d-hero-inner{padding:5.75rem 1rem 1.5rem}
  .d-hero h1,
  .d-hero h1.h1-s,
  .d-hero h1.h1-xs{font-size:clamp(1.5rem,7vw,1.95rem)}
  .d-hero-chapo{font-size:.9rem}
  .d-hero-cta,.d-hero-scroll{padding:0 1rem}

  .d-block{width:min(210px,68vw);height:min(210px,68vw)}
  .d-cadran{padding:0 1rem 2rem}

  .d-filters{padding:1.75rem 1rem 0}
  .d-grid-section{padding:1.5rem 1rem 3rem}
  .d-card-body{padding:1rem 1.1rem 1.2rem}
  .d-card-title{font-size:1rem;line-height:1.3}

  .d-breadcrumb-inner{padding-left:1rem;padding-right:1rem;font-size:.74rem}
  .d-empty{padding:3rem 1rem;font-size:.95rem}
}

/* ---------- Très petits écrans ---------- */
@media(max-width:380px){
  .d-hero-inner{padding:5.25rem .9rem 1.25rem}
  .d-hero h1,
  .d-hero h1.h1-s,
  .d-hero h1.h1-xs{font-size:1.42rem}
  .d-hero-chapo{font-size:.86rem}
  .d-block{width:min(185px,66vw);height:min(185px,66vw)}
  .d-card-title{font-size:.96rem}
}

/* ---------- Écrans bas (paysage) : on évite le hero trop haut ---------- */
@media(max-height:520px) and (orientation:landscape){
  .d-hero{min-height:auto}
  .d-hero-inner{padding-top:5.5rem;padding-bottom:1.5rem}
  .d-block{width:170px;height:170px}
}

/* ============ Accès au showroom virtuel — dans la pilule de navigation ============
   Le picto InSpace figure une porte entrouverte : au survol elle pivote.
   Le halo bleu respire lentement, sans concurrencer la pulsation de « Prendre RDV ». */
.d-links a.d-showroom{display:inline-flex;align-items:center;gap:.5rem;
  margin-left:.6rem;padding:.45rem 1rem .45rem .45rem;
  border:1px solid #dce6fa;border-radius:100px;
  color:var(--navy);transition:border-color .25s,background .25s}
.d-links a.d-showroom:hover{background:#eef3fd;border-color:#1a56db}

.ds-picto{width:26px;height:26px;flex:none;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:#eef3fd;
  animation:ds-halo 4.2s ease-out infinite;perspective:60px}
.ds-picto img{width:16px;height:16px;display:block;
  transition:transform .55s cubic-bezier(.34,1.3,.64,1)}
.d-showroom:hover .ds-picto{animation-play-state:paused;background:#fff}
.d-showroom:hover .ds-picto img{transform:rotateY(180deg)}

@keyframes ds-halo{
  0%,72%,100%{box-shadow:0 0 0 0 rgba(26,86,219,.30)}
  86%{box-shadow:0 0 0 5px rgba(26,86,219,0)}
}
@media(prefers-reduced-motion:reduce){
  .ds-picto{animation:none}
  .ds-picto img,.d-showroom{transition:none}
}

/* Sous 860 px, .d-links devient un panneau vertical : le lien s'y range à plat. */
@media(max-width:860px){
  .d-links a.d-showroom{margin-left:0;justify-content:flex-start;border:0;border-radius:14px}
  .d-links a.d-showroom:hover{background:var(--paper-2);border-color:transparent}
}


/* ============================================================
   COLONNE DE DROITE DES ARTICLES + PARCOURS DE PIED D'ARTICLE
   Prefixes .ac- (article colonne) et .gz- (geo zone).
   .art- est deja pris par le contenu redactionnel : ne pas reutiliser.
   ============================================================ */

:root{--ac-gutter:3rem}

.ac-layout,.ac-layout *{box-sizing:border-box}

/* La colonne est ancree au bord droit du viewport, exactement comme le carre
   du hero : largeur --sq, retrait --sq-right. Ses deux bords tombent donc sur
   les verticales .d-line-left et .d-line-right du cadran, et les filets
   ci-dessous les prolongent dans la page.
   Le corps d'article occupe tout l'espace restant : sa gouttiere gauche
   reproduit le conteneur 1300 px de .d-breadcrumb-inner, pour demarrer sous
   le mot « Accueil » du fil d'Ariane. */
.ac-layout{display:flex;align-items:flex-start;position:relative}
.ac-layout::before,.ac-layout::after{content:"";position:absolute;top:0;bottom:3rem;width:1px;pointer-events:none;background:linear-gradient(180deg,var(--line) 0%,var(--line) 42%,rgba(230,226,218,0) 100%)}
.ac-layout::before{right:calc(var(--sq-right) + var(--sq))}
.ac-layout::after{right:var(--sq-right)}
.ac-layout .d-body-wrap{flex:1 1 auto;min-width:0;max-width:none;margin:0;padding-left:calc(max(0px,(100% - 1300px)/2) + var(--ac-gutter));padding-right:2.5rem}
.ac-layout .d-body-wrap>*{max-width:none}
/* Padding symetrique : les cartes se centrent entre les deux filets.
   min-width:0 est indispensable : par defaut un element flex vaut au moins
   sa largeur min-content, et le <select> des communes (option la plus longue :
   « La Plaine-des-Palmistes ») elargissait la colonne au-dela de --sq. */
.ac-colonne{flex:0 0 var(--sq);min-width:0;max-width:var(--sq);margin-right:var(--sq-right);display:flex;flex-direction:column;gap:1.1rem;padding:5rem 1.25rem 3rem}
.ac-colonne>*{min-width:0;max-width:100%}

/* ---------- Carte : socle commun ---------- */
.ac-carte{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.5rem 1.4rem;box-shadow:0 4px 18px rgba(31,43,61,.05);transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s}
.ac-carte:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(31,43,61,.11)}
.ac-carte-splash:hover{transform:translateY(-3px)}

.ac-eyebrow{margin:0 0 .7rem;font-family:var(--mont);font-size:.64rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--gold)}
.ac-titre{margin:0 0 .75rem;font-family:var(--mont);font-size:1.22rem;font-weight:700;letter-spacing:-.01em;line-height:1.25;color:var(--navy)}
.ac-texte{margin:0 0 1.1rem;font-family:var(--mont);font-size:.85rem;line-height:1.65;color:#5f6b7c}

/* Bouton plein dore */
/* Meme degrade que le carre du hero, plus un reflet qui balaie au survol. */
.ac-bouton{position:relative;display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.9rem 1.15rem;border-radius:10px;overflow:hidden;background:linear-gradient(150deg,#d9a53a 0%,#c0851d 50%,#a5701c 100%);font-family:var(--mont);font-size:.84rem;font-weight:700;line-height:1.3;color:#fff;text-decoration:none;box-shadow:0 6px 18px rgba(165,112,28,.34);transition:transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s}
.ac-bouton>span{flex:1;min-width:0;text-wrap:balance;hyphens:manual}
.ac-bouton::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 38%,rgba(255,255,255,.42) 50%,transparent 62%);transform:translateX(-110%);transition:transform .75s cubic-bezier(.22,1,.36,1)}
.ac-bouton:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(165,112,28,.46)}
.ac-bouton:hover::before{transform:translateX(110%)}
.ac-bouton svg{position:relative;width:19px;height:19px;flex:0 0 19px;transition:transform .3s}
.ac-bouton:hover svg{transform:translateX(5px)}

/* Lien avec fleche a droite */
.ac-lien-fleche{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding-top:.85rem;border-top:1px solid var(--line);font-family:var(--mont);font-size:.84rem;font-weight:600;color:var(--navy);text-decoration:none;transition:color .25s}
.ac-lien-fleche svg{width:19px;height:19px;flex:0 0 19px;color:var(--gold);transition:transform .25s}
.ac-lien-fleche:hover{color:var(--gold)}
.ac-lien-fleche:hover svg{transform:translateX(5px)}

/* ---------- Carte showroom / secteur ---------- */
.ac-carte-geo{display:flex;gap:0;padding:0;overflow:hidden;background:var(--navy-deep);border-color:var(--navy-deep)}
.gz-corps{flex:1 1 auto;min-width:0;padding:1.6rem 1.4rem}
.gz-photo{flex:0 0 34%;background-size:cover;background-position:center;min-height:210px}
.gz-eyebrow{margin:0 0 .7rem;font-family:var(--mont);font-size:.64rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--gold-soft)}
.gz-titre{margin:0 0 .7rem;font-family:var(--mont);font-size:1.2rem;text-wrap:balance;font-weight:700;line-height:1.25;letter-spacing:-.01em;color:#fff}
.gz-texte{margin:0 0 1.1rem;font-family:var(--mont);font-size:.83rem;line-height:1.62;color:rgba(255,255,255,.72)}
.gz-texte strong{font-weight:700;color:#fff}
.gz-liste{list-style:none;margin:0 0 1.2rem;padding:1rem 0 0;border-top:1px solid rgba(255,255,255,.14)}
.gz-liste li{display:flex;align-items:flex-start;gap:.6rem;line-height:1.4;margin-bottom:.65rem;font-family:var(--mont);font-size:.83rem;font-weight:500;color:rgba(255,255,255,.9)}
.gz-liste li:last-child{margin-bottom:0}
.gz-check{flex:0 0 18px;width:18px;height:18px;margin-top:.1rem;color:var(--gold-soft)}
.gz-check svg{width:18px;height:18px;display:block}
.ac-carte-geo .ac-bouton{margin-top:.2rem}

/* Etats poses par assets/geo-zone.js */
.gz-bloc{transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s,border-color .35s}
.gz-bloc.gz-proche{border-color:var(--gold);box-shadow:0 8px 30px rgba(211,154,44,.24)}
.gz-bloc.gz-proche .gz-eyebrow{color:var(--gold)}
.gz-bloc.gz-ile .gz-eyebrow{color:rgba(255,255,255,.6)}

/* ---------- Carte commune ---------- */
/* Degrade legerement approfondi : le blanc doit rester lisible sur l'or. */
.ac-carte-commune{position:relative;overflow:hidden;background:linear-gradient(150deg,var(--gold) 0%,#c68b21 48%,#a5701c 100%);border-color:transparent;color:#fff}
.ac-carte-commune::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 42%,rgba(255,255,255,.18) 50%,transparent 58%)}
.ac-carte-commune>*{position:relative}
.ac-carte-commune .ac-eyebrow{color:rgba(255,255,255,.86)}
.gz-select-wrap{position:relative;margin-bottom:.7rem}
.gz-select{width:100%;min-width:0;max-width:100%;padding:.78rem 2.4rem .78rem .9rem;border:1px solid rgba(255,255,255,.55);border-radius:10px;background:#fff;font-family:var(--mont);font-size:.86rem;font-weight:600;color:var(--navy);cursor:pointer;appearance:none;transition:border-color .25s,box-shadow .25s}
.gz-select:hover{border-color:#fff}
.gz-select:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.4)}
.gz-select-fleche{position:absolute;right:1rem;top:50%;width:8px;height:8px;margin-top:-6px;border-right:2px solid #a5701c;border-bottom:2px solid #a5701c;transform:rotate(45deg);pointer-events:none;transition:transform .25s}
.gz-select-wrap:hover .gz-select-fleche{transform:rotate(45deg) translate(2px,2px)}
.gz-geo{display:inline-block;padding:0;margin:0 0 .9rem;border:0;background:none;font-family:var(--mont);font-size:.78rem;font-weight:700;color:#fff;cursor:pointer;border-bottom:1px solid rgba(255,255,255,.6);transition:opacity .25s,border-color .25s}
.gz-geo:hover{opacity:.82;border-bottom-color:#fff}
.gz-geo[disabled]{color:rgba(255,255,255,.6);border-color:transparent;cursor:default}
.gz-note{margin:0 0 .8rem;font-family:var(--mont);font-size:.72rem;line-height:1.5;color:rgba(255,255,255,.82)}
.gz-seo{margin:0 0 1rem;padding-top:.9rem;border-top:1px solid rgba(255,255,255,.32);font-family:var(--mont);font-size:.82rem;font-weight:500;line-height:1.62;color:#fff}
.gz-seo strong{font-weight:700;color:#fff}
.ac-carte-commune .ac-lien-fleche{border-top-color:rgba(255,255,255,.32);color:#fff}
.ac-carte-commune .ac-lien-fleche svg{color:#fff}
.ac-carte-commune .ac-lien-fleche:hover{color:#fff;opacity:.85}

/* ---------- Carte coloris : fond blanc, les matieres doivent se lire ---------- */
.ac-fam{margin-bottom:1rem}
.ac-fam-k{margin:0 0 .5rem;font-family:var(--mont);font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.ac-nuancier{display:flex;gap:.6rem;list-style:none;margin:0;padding:0}
.ac-nuancier li{flex:1;min-width:0}
.ac-nuancier a{display:block;text-decoration:none;text-align:center}
.ac-pastille{display:block;width:100%;aspect-ratio:1/1;border-radius:50%;background-size:cover;background-position:center;box-shadow:0 3px 10px rgba(31,43,61,.16),inset 0 0 0 1px rgba(31,43,61,.12);transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s}
.ac-nuancier a:hover .ac-pastille{transform:translateY(-5px) scale(1.08);box-shadow:0 10px 22px rgba(31,43,61,.24),inset 0 0 0 2px var(--gold)}
.ac-pastille-nom{display:block;margin-top:.4rem;font-family:var(--mont);font-size:.58rem;line-height:1.25;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .25s}
.ac-nuancier a:hover .ac-pastille-nom{color:var(--navy)}

/* ---------- Carte splash InSpace + RDV ----------
   .isp est en height:100% : sans hauteur donnee au parent, la carte
   s'ecrase et le splash disparait avec son bouton RDV. */
.ac-carte-splash{position:relative;padding:0;overflow:hidden;aspect-ratio:1/1;min-height:330px}
.ac-carte-splash .isp{height:100%;border-radius:16px;padding:1.6rem 1.4rem}
.ac-carte-splash .isp-btn{transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s}
.ac-carte-splash:hover .isp-btn{transform:translateY(-3px) scale(1.04);box-shadow:0 16px 34px rgba(26,86,219,.42)}

/* ---------- Carte savoir-faire ---------- */
.ac-carte-seo{overflow:hidden}
.ac-ruban{position:absolute;left:0;top:0;width:74px;height:74px;display:flex;align-items:flex-start;justify-content:flex-start;padding:.55rem 0 0 .55rem;color:#fff;background:linear-gradient(135deg,var(--gold) 0%,var(--gold) 50%,transparent 50.5%);border-top-left-radius:16px}
.ac-ruban svg{width:21px;height:21px}
.ac-carte-seo .ac-eyebrow,.ac-carte-seo .ac-titre,.ac-carte-seo .ac-texte{padding-left:2.9rem}
.ac-carte-seo .ac-texte{padding-left:0;margin-top:.2rem}
.ac-carte-seo .ac-titre{padding-left:2.9rem}

.ac-seo-liste{margin:1rem 0 1.2rem}
.ac-seo-item{border-top:1px solid var(--line)}
.ac-seo-item:last-of-type{border-bottom:1px solid var(--line)}
.ac-seo-item>summary{display:flex;align-items:center;gap:.7rem;padding:.85rem 0;cursor:pointer;list-style:none}
.ac-seo-item>summary::-webkit-details-marker{display:none}
.ac-seo-ico{flex:0 0 19px;width:19px;height:19px;color:var(--gold);transition:transform .3s}
.ac-seo-ico svg{width:19px;height:19px;display:block}
.ac-seo-item>summary:hover .ac-seo-ico{transform:scale(1.12)}
.ac-seo-h3{flex:1;margin:0;font-family:var(--mont);font-size:.85rem;font-weight:600;line-height:1.35;color:var(--navy);transition:color .25s}
.ac-seo-item>summary:hover .ac-seo-h3{color:var(--gold)}
.ac-seo-plus{position:relative;flex:0 0 12px;width:12px;height:12px}
.ac-seo-plus::before,.ac-seo-plus::after{content:"";position:absolute;background:var(--gold);transition:transform .3s cubic-bezier(.22,1,.36,1),opacity .3s}
.ac-seo-plus::before{left:0;top:5px;width:12px;height:2px;border-radius:2px}
.ac-seo-plus::after{left:5px;top:0;width:2px;height:12px;border-radius:2px}
.ac-seo-item[open] .ac-seo-plus::after{transform:scaleY(0);opacity:0}
.ac-seo-txt{margin:0 0 .95rem;font-family:var(--mont);font-size:.81rem;line-height:1.65;color:#5f6b7c}
.ac-seo-item[open] .ac-seo-txt{animation:acOuvre .34s cubic-bezier(.22,1,.36,1)}
@keyframes acOuvre{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

.ac-seo-mots-k{margin:0 0 .55rem;font-family:var(--mont);font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.ac-seo-mots{display:flex;flex-wrap:wrap;gap:.3rem;list-style:none;margin:0 0 1.2rem;padding:0}
.ac-seo-mots li{padding:.28rem .6rem;border-radius:6px;background:var(--paper-2);font-family:var(--mont);font-size:.68rem;font-weight:500;color:#5f6b7c;transition:background .25s,color .25s,transform .25s}
.ac-seo-mots li:hover{background:var(--gold);color:#412402;transform:translateY(-2px)}

/* ---------- Apparition au defilement ----------
   .ac-anim est posee sur <html> par assets/ac-reveal.js, en tete de page.
   Sans ce script, aucune carte n'est masquee : le contenu ne depend jamais
   du JavaScript pour s'afficher. */
.ac-anim .ac-reveal{opacity:0;transform:translateY(18px);transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1)}
.ac-anim .ac-reveal.ac-vu{opacity:1;transform:none}

/* ---------- Parcours de pied d'article ---------- */
.ac-parcours{background:var(--navy-deep);padding:2.6rem 3rem}
.ac-parcours *{box-sizing:border-box}
.ac-parcours-eyebrow{max-width:1200px;margin:0 auto 1.6rem;font-family:var(--mont);font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:rgba(255,255,255,.6)}
.ac-parcours-liste{display:flex;flex-wrap:wrap;gap:1.6rem;max-width:1200px;margin:0 auto;padding:0;list-style:none}
.ac-etape{flex:1 1 170px;display:flex;flex-direction:column;gap:.28rem;padding-top:.9rem;border-top:1px solid rgba(255,255,255,.2);transition:border-color .3s}
.ac-etape:hover{border-top-color:var(--gold)}
.ac-etape-1{border-top-color:var(--gold)}
.ac-etape-num{font-family:var(--mont);font-size:.66rem;letter-spacing:.14em;font-weight:600;color:rgba(255,255,255,.5)}
.ac-etape-titre{font-family:var(--mont);font-size:.98rem;font-weight:700;letter-spacing:-.01em;color:#fff}
.ac-etape-sub{font-family:var(--mont);font-size:.79rem;font-weight:400;color:rgba(255,255,255,.66)}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .gz-photo{display:none}
}
@media(max-width:860px){
  .ac-layout{flex-direction:column}
  .ac-layout::before,.ac-layout::after{display:none}
  .ac-layout .d-body-wrap{padding-left:var(--ac-gutter);padding-right:var(--ac-gutter)}
  .ac-colonne{flex:1 1 auto;margin-right:0;padding:0 var(--ac-gutter) 3rem}
  .ac-parcours{padding:2.2rem 1.5rem}
}
@media(max-width:620px){:root{--ac-gutter:1.5rem}}
@media(max-width:560px){
  .ac-parcours-liste{gap:1.1rem}
  .ac-etape{flex:1 1 45%}
}
@media(max-width:480px){:root{--ac-gutter:1.25rem}}
@media(max-width:380px){:root{--ac-gutter:1rem}}
@media(prefers-reduced-motion:reduce){
  .ac-anim .ac-reveal{opacity:1;transform:none;transition:none}
  .ac-carte,.ac-bouton,.ac-pastille,.ac-seo-mots li{transition:none}
  .ac-bouton::before{display:none}
  .ac-nuancier a:hover .ac-pastille{transform:none}
  .ac-carte:hover,.ac-bouton:hover,.ac-carte-splash:hover .isp-btn{transform:none}
  .ac-seo-item[open] .ac-seo-txt{animation:none}
}

/* ============================================================
   CARRE DU HERO : RETABLISSEMENT DES CLICS
   .d-cadran porte pointer-events:none (les traits et labels ne doivent
   pas gener), ce qui rendait aussi le carre inerte : le lien promo et le
   bouton RDV du carre InSpace n'ont jamais ete cliquables.
   Et .d-hero-inner (z-index 3, largeur 100%) recouvre le carre : meme
   pointer-events retabli, c'est lui qui captait le clic.
   On neutralise donc .d-hero-inner la ou il n'a pas de contenu, et on
   reactive le carre. Aucun z-index touche : rendu inchange.
   ============================================================ */
/* Trois elements du hero ont une boite bien plus large que leur contenu
   visible et passent au-dessus du carre (z-index 3 et 5). Ils captaient
   ses clics : .d-hero-scroll renvoyait vers l'ancre du corps d'article.
   On les rend transparents aux clics, et on rend leur contenu reel
   cliquable a nouveau. Aucun z-index touche : rendu inchange. */
.d-hero-inner{pointer-events:none}
.d-hero-text{pointer-events:auto}
.d-hero-scroll{pointer-events:none}
.d-hero-scroll>*{pointer-events:auto}
.d-eyebrow{pointer-events:none}
.d-cadran .d-block{pointer-events:auto}

/* ============================================================
   MOBILE — HERO EPURE  (dernier bloc du fichier : rien ne le surcharge)
   Sur telephone, le hero ne montre QUE le message : surtitre, titre,
   chapo, boutons. Le cadran decoratif (carre vedette, lignes, etiquettes
   Fabrication / Articles / Conception, fleche « Decouvrir ») est concu
   pour le grand ecran ; sur mobile il rend la page illisible.
   Selecteurs volontairement specifiques (body.actu-page ...) pour passer
   devant toutes les regles precedentes, sans recourir a !important.
   ============================================================ */
@media(max-width:860px){
  /* le decor disparait entierement */
  body.actu-page .d-hero .d-cadran,
  body.actu-page .d-hero .d-line,
  body.actu-page .d-hero .d-lab,
  body.actu-page .d-hero .d-block,
  body.actu-page .d-hero .d-hero-scroll{display:none}

  /* le hero redevient un bloc simple, dans le flux */
  body.actu-page .d-hero{position:relative;display:block;min-height:0;height:auto;padding:6.25rem 1.25rem 0;overflow:hidden}
  body.actu-page .d-hero .d-hero-bg{position:absolute;inset:0;z-index:0}
  /* Voile de lecture renforce : le texte du hero est blanc, or les photos
     d'atelier sont tres lumineuses. Le degrade d'origine (15 % au niveau du
     titre) suffit sur une image sombre, pas sur une image claire — le titre
     devenait litteralement invisible. */
  body.actu-page .d-hero .d-hero-bg::after{background:linear-gradient(180deg,rgba(20,28,42,.74) 0%,rgba(20,28,42,.58) 45%,rgba(20,28,42,.86) 100%)}
  body.actu-page .d-hero .d-h1,
  body.actu-page .d-hero .d-eyebrow{text-shadow:0 2px 12px rgba(15,22,34,.45)}

  body.actu-page .d-hero .d-eyebrow{position:relative;z-index:3;transform:none;top:auto;left:auto;width:auto;max-width:100%;margin:0 0 .55rem;padding:0;font-size:.62rem;letter-spacing:.14em;line-height:1.5}
  body.actu-page .d-hero .d-hero-inner{position:relative;z-index:3;transform:none;top:auto;left:auto;width:auto;max-width:100%;padding:0 0 1.6rem}
  body.actu-page .d-hero .d-hero-text{max-width:100%}
  body.actu-page .d-hero .d-h1{font-size:clamp(1.6rem,7vw,2.1rem);line-height:1.15;margin:0}
  body.actu-page .d-hero .d-hero-chapo{font-size:.92rem;line-height:1.55;margin-top:.9rem;max-width:100%}

  /* boutons cote a cote sous le texte, jamais en colonne */
  body.actu-page .d-hero .d-hero-cta{position:relative;z-index:3;transform:none;top:auto;right:auto;display:flex;flex-direction:row;flex-wrap:wrap;gap:.55rem;width:auto;margin:0;padding:0 0 2.1rem}

  /* Actualites et article : on retire les boutons du hero. Le visiteur vient
     lire, pas naviguer — les CTA sont deja presents plus bas dans la page.
     Les pages commune, elles, les gardent : le rendez-vous y est le but. */
  body.actu-liste .d-hero .d-hero-cta,
  body.actu-article .d-hero .d-hero-cta{display:none}
  body.actu-liste .d-hero .d-hero-inner,
  body.actu-article .d-hero .d-hero-inner{padding-bottom:2.6rem}
  body.actu-page .d-hero .d-hero-cta .d-btn{flex:1 1 auto;justify-content:center;padding:.85rem 1rem;font-size:.78rem;min-height:44px;white-space:nowrap}
}
