/* ===========================================================
   ARCHEOS – feuille de style (reconstruction fidèle du thème)
   Couleurs de marque : bleu #004489, vert lime #c4e461,
   navy #211f5e, fond bleu clair #eef6fc, texte #222020
   Titres : Open Runde · Corps : Bitter
   =========================================================== */

/* ---------- Polices ---------- */
@font-face{font-family:'Open Runde';src:url('../fonts/OpenRunde-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Open Runde';src:url('../fonts/OpenRunde-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Open Runde';src:url('../fonts/OpenRunde-Semibold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Open Runde';src:url('../fonts/OpenRunde-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Bitter';src:url('../fonts/Bitter-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Bitter';src:url('../fonts/Bitter-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Bitter';src:url('../fonts/Bitter-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Bitter';src:url('../fonts/Bitter-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Bitter';src:url('../fonts/Bitter-400italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}

/* ---------- Variables ---------- */
:root{
  --blue:#004489;
  --navy:#211f5e;
  --lime:#c4e461;
  --base:#eef6fc;
  --ink:#222020;
  --white:#fff;
  --radius:8px;
  --sp-20:.44rem; --sp-30:.67rem; --sp-40:1rem; --sp-50:1.5rem;
  --sp-60:2.25rem; --sp-70:3.38rem; --sp-80:5.06rem;
  --wide:1240px; --content:1080px;
  --head:'Open Runde',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --body:'Bitter',Georgia,'Times New Roman',serif;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--base);
  color:var(--ink);
  font-family:var(--body);
  font-size:clamp(.9375rem,.9rem + .3vw,1rem);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
sub{font-size:.7em}

h1,h2,h3,h4{font-family:var(--head);font-weight:600;line-height:1.2;letter-spacing:-.03rem;margin:0 0 .6em}
h1{font-size:clamp(1.875rem,1.4rem + 2.1vw,2.625rem)}
h2{font-size:clamp(1.5rem,1.2rem + 1.4vw,2.1rem)}
h3{font-size:clamp(1.15rem,1rem + .6vw,1.4rem)}
p{margin:0 0 1rem}
strong{font-weight:700}

/* ---------- Layout ---------- */
.container{width:100%;max-width:var(--wide);margin-inline:auto;padding-inline:1.5rem}
.narrow{max-width:var(--content)}
.section{padding-block:var(--sp-70)}
.center{text-align:center}
.justify{text-align:justify}
/* Justifie les paragraphes de contenu (pas les titres) ; préserve les éléments centrés */
.txt-justify p{text-align:justify}
.txt-justify .center p,.txt-justify p.center,.txt-justify .client-type p,.txt-justify .center{text-align:center}
/* Le texte prend toute la largeur de la page (pas de colonne étroite) */
.txt-justify .block p{max-width:none}

/* ---------- Boutons ---------- */
.btn{
  display:inline-block;font-family:var(--head);font-weight:600;
  font-size:.95rem;line-height:1;padding:.85em 1.6em;border-radius:6px;
  background:var(--lime);color:var(--ink);border:2px solid var(--lime);
  cursor:pointer;transition:.2s;text-align:center;
}
.btn:hover{background:#b2d651;border-color:#b2d651}
.btn--outline{background:transparent;color:var(--ink);border-color:var(--lime)}
.btn--outline:hover{background:var(--lime);color:var(--ink)}
.btn--sm{font-size:.8rem;padding:.7em 1.4em}

/* ===========================================================
   HEADER
   =========================================================== */
.site-header{
  background:var(--white);border-radius:4px;
  padding:.9rem 1.25rem;margin-top:1rem;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.brand{display:flex;align-items:center;gap:.6rem;min-width:0}
.brand img{width:40px;height:40px;border-radius:6px}
.brand .brand-title{
  font-family:var(--head);font-weight:700;font-size:.82rem;line-height:1.2;
  color:var(--ink);max-width:24ch;text-transform:uppercase;letter-spacing:.02em;
}
.header-right{display:flex;align-items:center;gap:1.25rem}
.main-nav ul{display:flex;gap:1.4rem;list-style:none;margin:0;padding:0}
.main-nav a{font-family:var(--head);font-weight:500;font-size:.82rem;color:var(--ink);transition:.2s}
.main-nav a:hover,.main-nav a.is-active{color:var(--blue)}
.lang-switch{display:flex;align-items:center;gap:.35rem;font-family:var(--head);font-size:.78rem;font-weight:600}
.lang-switch a{opacity:.5;letter-spacing:.02em}
.lang-switch a.is-active{opacity:1;color:var(--blue)}
.lang-switch .sep{opacity:.3}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:.25rem}
.nav-toggle svg{width:26px;height:26px}
.nav-close{display:none}

/* ===========================================================
   HERO (accueil)
   =========================================================== */
.hero{
  background-size:cover;background-position:center;
  border-radius:0;overflow:hidden;
}
.hero .container{display:flex;flex-direction:column;min-height:62vh;padding-bottom:2rem}
.hero .site-header{border-radius:4px 4px 0 0;margin-bottom:0}
.hero-card{
  background:var(--white);border-radius:0 0 4px 4px;
  max-width:640px;margin-top:0;padding:1.75rem 2.25rem 2rem;
}
.hero-card h1{margin-bottom:.5em}
.hero-card p{margin-bottom:0}

/* ===========================================================
   SECTIONS DE CONTENU
   =========================================================== */
.split{
  display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-60);
  align-items:center;margin-block:var(--sp-70);
}
.split--text-first .split-media{order:2}
.split img{border-radius:6px;width:100%;object-fit:cover}
.split .stack>*:last-child{margin-bottom:0}

.block{margin-block:var(--sp-70)}
.block p{max-width:70ch}
.eyebrow{
  font-family:var(--head);font-weight:600;font-size:.8rem;
  letter-spacing:.03rem;text-transform:uppercase;color:var(--blue);margin-bottom:.4rem;
}
.lead-cols{display:grid;grid-template-columns:1fr 3fr;gap:var(--sp-50);align-items:center;margin-bottom:1rem}
@media(max-width:781px){.lead-cols{grid-template-columns:1fr}}

/* logo flottant (co-entreprise) */
.float-left{float:left;margin:0 1.5rem 1rem 0;max-width:285px}
.clearfix::after{content:"";display:block;clear:both}

/* ---------- Cartes secteurs (notre ambition) ---------- */
.cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-block:var(--sp-50)}
.sector-card{
  background:var(--white);border-radius:var(--radius);
  padding:1.25rem;display:flex;flex-direction:column;gap:.9rem;
}
.sector-card img{border-radius:6px;aspect-ratio:3/2;object-fit:cover;width:100%}
.sector-card h3{margin:0}

/* ---------- Badges numérotés ---------- */
.client-types{display:grid;grid-template-columns:1fr 1fr;gap:2rem;max-width:760px;margin:1.5rem auto}
.client-type{text-align:center}
.badge-num{
  width:48px;height:48px;border-radius:50%;background:var(--lime);
  color:var(--ink);font-family:var(--head);font-weight:700;font-size:1.1rem;
  display:flex;align-items:center;justify-content:center;margin:0 auto .8rem;
}

/* ---------- Nouveaux marchés ---------- */
.markets{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:1.5rem}
.market img{border-radius:6px;margin-bottom:.9rem}

/* ---------- Encadré ambition (fond bleu clair) ---------- */
.panel{
  background:#dfeefb;border-radius:var(--radius);
  padding:var(--sp-60);margin-block:var(--sp-60);
}
.panel .split{margin:0}

/* ---------- 3 atouts SMR (solution) ---------- */
.feature-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-block:var(--sp-50)}
.feature-3 .item{background:var(--white);border-radius:var(--radius);padding:2rem 1.75rem}
.feature-3 h3{text-align:center}

/* ---------- Liste avantages ---------- */
.advantages{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.85rem}
.advantages li{display:flex;gap:.7rem;align-items:flex-start;font-family:var(--head);font-weight:600}
.advantages li::before{content:"•";color:var(--lime);font-size:1.6rem;line-height:1}

/* ---------- 3 piliers ---------- */
.pillars{display:flex;flex-direction:column;gap:1.75rem;margin-top:1.5rem}
.pillar{display:grid;grid-template-columns:120px 1fr;gap:1.5rem;align-items:flex-start}
.pillar img{width:100px}
.pillar h4{font-family:var(--head);font-weight:700;font-size:1.05rem;margin:0 0 .4rem;color:var(--blue)}

/* ---------- Co-entreprise (gouvernance) ---------- */
.partners{display:grid;grid-template-columns:1fr 1fr;gap:1.75rem;margin-top:1.5rem}
.partner-card{
  background:var(--white);border-radius:var(--radius);padding:var(--sp-50);
  display:flex;flex-direction:column;gap:1rem;
}
.partner-card .logo{height:96px;width:auto;border-radius:8px;object-fit:contain}
.partner-card .btn-wrap{margin-top:auto;text-align:center}

/* ===========================================================
   PAGE CONTACT
   =========================================================== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-60);align-items:stretch;margin-top:var(--sp-50)}
.contact-form-wrap{max-width:560px}
.contact-img{border-radius:var(--radius);height:100%;width:100%;object-fit:cover;min-height:420px}
.field{margin-bottom:1.1rem}
.field label{display:block;font-family:var(--head);font-weight:600;font-size:.85rem;margin-bottom:.4rem}
.field .req{color:#8a8a8a;font-weight:400;margin-left:.25rem}
.field input,.field textarea{
  width:100%;font-family:var(--body);font-size:1rem;color:var(--ink);
  padding:.7rem .85rem;border:1px solid #c5d3e0;border-radius:5px;background:#fff;
}
.field input:focus,.field textarea:focus{outline:2px solid var(--blue);border-color:var(--blue)}
.field textarea{min-height:170px;resize:vertical}
.form-note{font-size:.85rem;color:#5a6b7a;margin-top:.5rem}
.alert{padding:.9rem 1.1rem;border-radius:6px;margin-bottom:1.25rem;font-size:.95rem}
.alert--ok{background:#e3f5e9;border:1px solid #9bd6ad;color:#1c6b38}
.alert--err{background:#fdecec;border:1px solid #e6a6a6;color:#a32424}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer{background:var(--blue);color:#fff;margin-top:var(--sp-70);padding-block:var(--sp-70)}
.site-footer a{color:#fff}
.footer-logo{margin:0 auto var(--sp-60);max-width:320px}
.footer-logo img{margin:0 auto}
.footer-cols{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:1.5rem;margin-bottom:var(--sp-50)}
.footer-cols .label{
  font-family:var(--head);font-weight:600;font-size:.8rem;
  letter-spacing:.03rem;text-transform:uppercase;margin-bottom:.6rem;
}
.footer-social{display:flex;gap:.6rem}
.footer-col--social{text-align:center}
.footer-col--social .footer-social{justify-content:center}
.footer-social a{display:inline-flex}
.footer-social svg{width:26px;height:26px;fill:#fff}
.footer-bottom{
  border-top:1px dashed rgba(255,255,255,.5);padding-top:var(--sp-40);
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;
}
.footer-nav ul{display:flex;flex-wrap:wrap;gap:1.4rem;list-style:none;margin:0;padding:0;font-family:var(--head);font-size:.85rem}
.footer-nav a:hover{text-decoration:underline}
.footer-copy{font-size:.78rem;opacity:.85}
.footer-legal{
  flex-basis:100%;order:5;margin-top:1rem;padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.18);
  font-family:var(--head);font-size:.78rem;line-height:2;
}
.footer-legal a{opacity:.85}
.footer-legal a:hover{opacity:1;text-decoration:underline}
.footer-legal a:not(:last-child)::after{content:"|";margin:0 .55rem;opacity:.4;display:inline-block}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media(max-width:900px){
  .cards-grid{grid-template-columns:1fr 1fr}
  .markets{grid-template-columns:1fr}
  .feature-3{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr 1fr}
}
@media(max-width:781px){
  .split,.contact-grid,.partners{grid-template-columns:1fr}
  .split--text-first .split-media{order:0}
  .client-types{grid-template-columns:1fr}
  .pillar{grid-template-columns:80px 1fr}
  .contact-img{min-height:240px}

  .brand .brand-title{max-width:16ch}
  .nav-toggle{display:block;z-index:70}
  .header-right{
    position:fixed;inset:0;background:rgba(0,68,137,.97);z-index:60;
    display:none;flex-direction:column;justify-content:center;align-items:center;gap:2rem;
  }
  .header-right.open{display:flex}
  .main-nav{display:block}
  .main-nav ul{flex-direction:column;gap:1.75rem;text-align:center}
  .main-nav a{color:#fff;font-size:1.4rem}
  .main-nav a:hover{color:var(--lime)}
  .lang-switch{font-size:1.2rem}
  .lang-switch a{color:#fff;opacity:.7}
  .lang-switch a.is-active{color:var(--lime);opacity:1}
  .lang-switch .sep{color:#fff;opacity:.5}
  .header-right .btn{font-size:1.05rem}
  .nav-close{display:block;position:absolute;top:1.25rem;right:1.5rem;background:none;border:0;cursor:pointer}
  .nav-close svg{width:32px;height:32px;fill:#fff}
}
@media(max-width:520px){
  .cards-grid{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}

/* ===========================================================
   ACTUALITÉS — en-tête, filtres, grille de cartes
   =========================================================== */
.news-head{max-width:760px;margin-bottom:var(--sp-50)}
.news-head h1{margin-bottom:.3em}
.news-head__sub{font-size:1.05rem;color:#3a4a5a;margin:0}

.news-filters{
  display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:var(--sp-50);
}
.news-filters a{
  font-family:var(--head);font-weight:600;font-size:.82rem;
  padding:.5em 1.1em;border-radius:999px;border:1px solid #c5d3e0;
  color:var(--blue);background:#fff;transition:.2s;
}
.news-filters a:hover{border-color:var(--blue)}
.news-filters a.is-active{background:var(--blue);border-color:var(--blue);color:#fff}

.news-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;
}
.news-card{
  background:#fff;border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;
  box-shadow:0 1px 3px rgba(0,0,0,.05);transition:transform .2s,box-shadow .2s;
}
.news-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,68,137,.12)}
.news-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:#dfeefb}
.news-card__media img{width:100%;height:100%;object-fit:cover}
.news-card__body{padding:1.15rem 1.25rem 1.35rem;display:flex;flex-direction:column;gap:.55rem;flex:1}
.news-card__title{font-size:1.15rem;line-height:1.25;margin:0}
.news-card__title a:hover{color:var(--blue)}
.news-card__date{font-family:var(--head);font-size:.75rem;font-weight:600;color:#7a8a99;text-transform:uppercase;letter-spacing:.03em}
.news-card__excerpt{font-size:.9rem;line-height:1.55;margin:0;color:#3a4a5a}
.news-card__more{margin-top:auto;font-family:var(--head);font-weight:600;font-size:.85rem;color:var(--blue)}
.news-card__more:hover{text-decoration:underline}

/* Tag catégorie */
.news-cat{
  align-self:flex-start;font-family:var(--head);font-weight:700;
  font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;
  padding:.28em .7em;border-radius:4px;color:#fff;background:var(--blue);
}
.news-cat--evenement{background:var(--navy)}
.news-cat--expertise{background:#2b8a6b}

.news-empty{color:#5a6b7a;font-style:italic}

/* ===========================================================
   ARTICLE (page d'actualité)
   =========================================================== */
.article{max-width:820px;margin-inline:auto}
.article__back{
  display:inline-block;font-family:var(--head);font-weight:600;font-size:.85rem;
  color:var(--blue);margin-bottom:1.25rem;
}
.article__back:hover{text-decoration:underline}
.article__meta{display:flex;align-items:center;gap:.9rem;margin-bottom:.7rem}
.article__meta time{font-family:var(--head);font-size:.78rem;font-weight:600;color:#7a8a99;text-transform:uppercase;letter-spacing:.03em}
.article h1{margin-bottom:1.1rem}
.article__media{margin:0 0 1.75rem;border-radius:var(--radius);overflow:hidden}
.article__media img{width:100%;max-height:460px;object-fit:cover}
.article__body{max-width:none}
.article__body h2{font-size:1.35rem;margin-top:2rem}
.article__body h3{font-size:1.1rem;margin-top:1.5rem}
.article__body ul,.article__body ol{padding-left:1.25rem;margin:0 0 1.1rem}
.article__body li{margin-bottom:.5rem}

.article-nav{
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  margin-top:var(--sp-60);padding-top:var(--sp-40);border-top:1px solid #d4e2ef;
}
.article-nav a{font-family:var(--head);font-weight:600;font-size:.85rem;color:var(--blue);max-width:45%}
.article-nav a:hover{text-decoration:underline}
.article-nav .prev::before{content:"← "}
.article-nav .next::after{content:" →"}
.article-nav .next{text-align:right;margin-left:auto}

@media(max-width:900px){.news-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.news-grid{grid-template-columns:1fr}}

/* ===========================================================
   BANNIÈRE COOKIES
   =========================================================== */
.cookie-banner{
  position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:90;
  max-width:1080px;margin:0 auto;
  background:#fff;border-radius:10px;
  box-shadow:0 8px 30px rgba(0,0,0,.18);
  border:1px solid #e3ecf5;
  padding:1.1rem 1.4rem;
  display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;
  transform:translateY(150%);transition:transform .35s ease;
}
.cookie-banner.show{transform:translateY(0)}
.cookie-text{margin:0;flex:1 1 320px;font-size:.9rem;line-height:1.5;color:var(--ink)}
.cookie-text strong{font-family:var(--head);font-weight:600}
.cookie-text a{color:var(--blue);text-decoration:underline}
.cookie-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.cookie-actions .btn{white-space:nowrap}
@media(max-width:520px){
  .cookie-banner{padding:1rem;gap:.9rem}
  .cookie-actions{width:100%}
  .cookie-actions .btn{flex:1 1 auto}
}

/* Panneau « Paramètres » des cookies */
.cookie-modal{
  position:fixed;inset:0;z-index:95;display:none;
  align-items:center;justify-content:center;padding:1rem;
  background:rgba(15,12,12,.5);
}
.cookie-modal.show{display:flex}
.cookie-modal__box{
  background:#fff;border-radius:12px;max-width:560px;width:100%;
  max-height:90vh;overflow:auto;padding:1.75rem 1.9rem;
  box-shadow:0 20px 50px rgba(0,0,0,.3);
}
.cookie-modal__box h2{font-size:1.35rem;margin:0 0 .5rem}
.cookie-modal__intro{font-size:.9rem;color:#5a6b7a;margin:0 0 1rem}
.cookie-cat{display:flex;justify-content:space-between;align-items:flex-start;gap:1.2rem;padding:1.1rem 0;border-top:1px solid #e3ecf5}
.cookie-cat__info h3{font-size:1rem;margin:0 0 .25rem;font-family:var(--head);font-weight:600}
.cookie-cat__info p{font-size:.85rem;color:#5a6b7a;margin:0}
.cookie-cat__state{font-size:.78rem;font-weight:600;color:var(--blue);white-space:nowrap;padding-top:.15rem}
.cookie-modal__actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1.6rem}
.cookie-modal__actions .btn{flex:1 1 auto}
/* interrupteur */
.switch{position:relative;display:inline-block;width:46px;height:26px;flex:none}
.switch input{opacity:0;width:0;height:0}
.switch .slider{position:absolute;inset:0;background:#cfd9e3;border-radius:999px;transition:.2s;cursor:pointer}
.switch .slider::before{content:"";position:absolute;height:20px;width:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}
.switch input:checked + .slider{background:var(--blue)}
.switch input:checked + .slider::before{transform:translateX(20px)}
.switch input:disabled + .slider{background:var(--lime);cursor:not-allowed}

/* ===========================================================
   PAGES LÉGALES (contenu long-forme)
   =========================================================== */
.prose{max-width:780px}
.prose h1{margin-bottom:.4rem}
.prose h2{margin-top:2.2rem;font-size:1.3rem}
.prose h3{margin-top:1.4rem;font-size:1.05rem}
.prose p,.prose li{font-size:.95rem;line-height:1.65}
.prose ul{padding-left:1.2rem}
.prose li{margin-bottom:.4rem}
.prose a{color:var(--blue);text-decoration:underline}
.prose .updated{color:#5a6b7a;font-size:.85rem;margin-bottom:2rem}
.prose dl{margin:0}
.prose dt{font-family:var(--head);font-weight:600;margin-top:.9rem}
.prose dd{margin:0 0 .2rem}
.placeholder{
  background:#fff7e0;border:1px solid #f0d98a;border-radius:5px;
  padding:.15rem .45rem;font-size:.85rem;color:#7a5b00;font-family:var(--head);
}
.toc-list{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.4rem 2rem}
@media(max-width:600px){.toc-list{grid-template-columns:1fr}}
