/* ============================================================
   LIMA GROUPE : la structure des composants
   Vocabulaire fermé : texte, tableau, image, widget, carte.
   Aucun bloc anonyme, aucun rayon en dur, aucune couleur en dur :
   tout passe par les jetons de lima.css.
   Composants alignés sur le site Shield (référence du groupe).
   ============================================================ */

/* ---------- 1. Barre du site ----------
   Quatre entrées à plat + le bouton. Jamais de déroulant.
   Le hamburger n'apparaît qu'en dessous de 900px et déplie
   exactement ces quatre entrées. */

.bar{
  position:sticky;top:0;z-index:60;
  background:var(--bar-bg);
  backdrop-filter:saturate(140%) blur(14px);
  border-bottom:1px solid var(--line);
}
.bar-in{
  max-width:var(--w-page);margin:0 auto;
  height:68px;padding:0 24px;
  display:flex;align-items:center;gap:28px;
}
.bar-logo{display:flex;align-items:center;gap:11px;flex:none}
.bar-logo img{width:36px;height:36px}
.wordmark{
  font-family:var(--font-mark);
  font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--text);
}
/* Barre réduite : logo à gauche, hamburger à droite, à toutes les largeurs.
   Le menu déplie les entrées du site, rien d'autre. */
.bar-in{justify-content:space-between}
.bar-burger{
  display:grid;place-items:center;width:44px;height:44px;margin-right:-10px;
  background:none;border:0;border-radius:var(--r-round);
  color:var(--text);cursor:pointer;
}
.bar-burger:hover{background:var(--chip)}
.bar-burger svg{width:24px;height:24px}
.bar-nav{
  display:none;
  position:absolute;top:68px;left:0;right:0;
  flex-direction:column;
  background:var(--bg);
  border-bottom:1px solid var(--line);
  padding:8px max(24px, calc((100% - var(--w-page)) / 2 + 24px)) 20px;
}
.bar-nav.open{display:flex}
.bar-nav a{font-size:17px;color:var(--muted);padding:14px 0;border-bottom:1px solid var(--line)}
.bar-nav a:last-child{border-bottom:0}
.bar-nav a:hover{color:var(--text)}

/* ---------- 2. CTA : un seul couple, partout ----------
   Pilule orange pleine + pilule sobre. Icône à droite. Sans ombre. */

.cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--font);font-size:16px;font-weight:600;line-height:1.2;
  padding:13px 34px;
  border-radius:var(--r-pill);
  border:0;cursor:pointer;
  transition:background .2s ease,color .2s ease;
}
.btn svg{width:18px;height:18px;flex:none}
.btn--prim{background:var(--brand);color:var(--on-brand)}
.btn--sec{background:var(--card);color:var(--text);box-shadow:var(--shadow)}
.btn--sec:hover{background:var(--field)}
.btn--small{font-size:14px;padding:10px 20px;gap:8px}
.btn--small svg{width:16px;height:16px}

/* Lien d'action secondaire, en fin de bloc */
.lien{
  display:inline-flex;align-items:center;gap:8px;
  font-size:15px;font-weight:600;color:var(--text);
}
.lien svg{width:17px;height:17px;flex:none;transition:transform .2s ease}
.lien:hover svg{transform:translateX(3px)}
.lien--brand{color:var(--brand)}

/* ---------- 3. Pastilles et pilules ---------- */

.chip{
  display:inline-flex;align-items:center;gap:7px;
  font-size:13px;font-weight:500;line-height:1.3;
  padding:7px 14px;
  border-radius:var(--r-pill);
  background:var(--chip);
  color:var(--text);
}
.chip a{color:inherit}
.chip:has(a):hover{background:var(--field)}

.chip-ico{
  width:40px;height:40px;flex:none;
  display:grid;place-items:center;
  background:var(--chip);
  border-radius:var(--r-round);
  color:var(--text);
}
.chip-ico svg{width:19px;height:19px}

/* ---------- 4. Sections ----------
   Une seule peau, le noir. Le rythme vient de l'espace et du filet. */

.sec{padding:96px 24px;border-top:1px solid var(--line)}
.wrap{max-width:var(--w-page);margin:0 auto}
.sec-head{max-width:var(--w-text);margin:0 auto 44px;text-align:center}
.sec-head .chip{margin-bottom:18px}
.sec-head h2{max-width:640px;margin-left:auto;margin-right:auto}
.sec-head p{margin-top:6px}
.sec-foot{display:flex;justify-content:center;margin-top:40px}
.texte{max-width:var(--w-text);margin-left:auto;margin-right:auto}

/* ---------- 5. Hero ----------
   Une seule colonne centrée. Le sceau émerge au-dessus du titre, le bas
   fondu dans le noir : l'effet de limaprotection.com, seule animation
   des sites du groupe. Le fondu est un masque (--fondu-sceau), pas une
   image retouchée : il vaut pour n'importe quel sceau et n'importe quel fond.
   Valeurs solidaires, sur une base de 300 px de sceau : le fondu finit à
   70 % (210 px), la marge de -60 px remonte le titre sous la partie
   visible. Toute modification de taille les recalcule. */

.hero{padding:40px 24px 88px;text-align:center}
.hero-in{max-width:var(--w-text);margin:0 auto;display:flex;flex-direction:column;align-items:center}
.hero-sceau{
  width:300px;margin-bottom:-60px;
  animation:sceau-emerge .5s cubic-bezier(.075,.82,.165,1) .6s both;
}
.hero-sceau img{
  width:300px;height:300px;
  -webkit-mask-image:var(--fondu-sceau);
          mask-image:var(--fondu-sceau);
}
/* Interaction Webflow « Title Animation 0.6s » relevée sur limaprotection.com :
   départ échelle 0,8, opacité 0, décalé de 40 % vers le bas ; après 600 ms,
   arrivée en 500 ms, courbe outCirc. */
@keyframes sceau-emerge{
  from{opacity:0;transform:translateY(40%) scale(.8)}
  to{opacity:1;transform:none}
}
.hero h1{margin-bottom:20px}
.hero-lede{font-size:18px;line-height:1.65;max-width:600px;margin:0 auto}
.hero .cta{justify-content:center}

/* ---------- 6. Rang des cinq sceaux ----------
   La promesse du titre, prouvée dans le premier écran. */

.seals{padding:48px 24px 80px}
.seals-row{
  max-width:var(--w-page);margin:0 auto;
  display:grid;grid-template-columns:repeat(5,1fr);gap:12px;
}
.seal{
  display:flex;flex-direction:column;align-items:center;gap:12px;
  padding:22px 12px 20px;
  border-radius:var(--r-card);
  text-align:center;
  transition:background .2s ease;
}
.seal:hover{background:var(--card)}
.seal img{width:104px;height:104px}
.seal b{font-size:15px;font-weight:600;color:var(--text)}
.seal span{font-size:13px;color:var(--faint);line-height:1.45;max-width:180px}

/* ---------- 7. Tuiles de spécification ----------
   Une donnée courte par tuile. La tuile se définit elle-même. */

.kpis{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
  align-items:stretch;margin-top:44px;
}
.spec-tile{
  display:flex;flex-direction:column;align-items:flex-start;gap:14px;
  height:100%;padding:24px;
  background:var(--card);
  border-radius:var(--r-card);
}
.spec-tile b{font-size:16px;font-weight:600;color:var(--text);line-height:1.3}
.spec-tile span{font-size:14px;color:var(--muted);line-height:1.55}

/* ---------- 8. Instrument : les trois dimensions du risque ----------
   Largeur instrument, centré. Un seul niveau : aucun encadré dans un
   encadré. Les filets séparent, les fonds ne s'empilent pas. */

.inst-head{max-width:var(--w-text);margin:80px auto 0;text-align:center}
.inst-head h3{font-size:22px;margin:0}
.risk-w{max-width:var(--w-inst);margin:32px auto 0}
.risk-axes{
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
  padding-bottom:28px;border-bottom:1px solid var(--line);
}
.risk-ax{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.risk-ax b{font-size:15px;font-weight:600;color:var(--text)}
.risk-line{
  display:flex;align-items:center;gap:14px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.risk-line span{font-size:15px;color:var(--muted);line-height:1.5}
.risk-line .risk-num{
  width:28px;height:28px;flex:none;
  display:grid;place-items:center;
  border-radius:var(--r-round);
  background:var(--chip);color:var(--text);
  font-size:13px;font-weight:600;
}
.risk-foot{display:flex;align-items:center;gap:12px;padding-top:20px}
.risk-foot p{margin:0;font-size:16px;color:var(--text);font-weight:500}

/* ---------- 9. Le tenant : pourquoi un groupe, et pour qui ---------- */

.tenant{max-width:var(--w-text);margin:80px auto 0;text-align:center}
.tenant-lab{font-size:13px;color:var(--faint);margin:28px 0 14px}
.publics{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:30px}

/* ---------- 10. Cartes d'entité : 3 + 2 centré ----------
   Hauteur uniforme, contenu démarrant en haut. */

.ents{
  display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:1fr;gap:16px;
  align-items:stretch;
}
.ent{
  grid-column:span 2;
  display:flex;flex-direction:column;align-items:flex-start;
  height:100%;
  padding:28px 26px 26px;
  background:var(--card);
  border:1px solid transparent;
  border-radius:var(--r-card);
  transition:border-color .2s ease;
}
.ent:nth-child(4){grid-column:2/span 2}
.ent:hover{border-color:var(--brand-line)}
.ent-seal{width:84px;height:84px;margin-bottom:20px}
.ent h3{font-size:19px;margin-bottom:4px}
.ent-role{font-size:14px;color:var(--text);opacity:.82;font-weight:500;margin:0 0 12px}
.ent p{font-size:14.5px;line-height:1.6;margin-bottom:22px}
.ent .lien{margin-top:auto}

/* ---------- 11. Citation d'autorité ----------
   Carte lavée, grand guillemet anglo-saxon orange, italique sans
   guillemets, attribution détachée dessous. */

.exergue{
  position:relative;
  max-width:var(--w-text);margin:0 auto;
  padding:30px 32px 26px 70px;
  background:var(--field);
  border-radius:var(--r-card);
}
.exergue::before{
  content:"\201C";
  position:absolute;left:24px;top:18px;
  font-family:Georgia,serif;font-size:56px;line-height:1;
  color:var(--brand);
}
.exergue p{font-size:19px;line-height:1.6;font-style:italic;color:var(--text);margin:0}
.exergue cite{display:block;margin-top:16px;font-style:normal;font-size:13px;font-weight:500;color:var(--muted)}

/* ---------- 12. Parcours en trois temps ---------- */

.steps{
  max-width:var(--w-page);margin:28px auto 0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch;
}
.step{
  display:flex;flex-direction:column;align-items:flex-start;gap:12px;
  height:100%;padding:24px;
  background:var(--card);
  border-radius:var(--r-card);
}
.step-n{
  width:34px;height:34px;flex:none;
  display:grid;place-items:center;
  border-radius:var(--r-round);
  background:var(--chip);color:var(--text);
  font-size:14px;font-weight:600;
}
.step b{font-size:16px;font-weight:600;color:var(--text);line-height:1.35}
.step span{font-size:14px;color:var(--muted);line-height:1.55}
.cta--centre{justify-content:center;margin-top:36px}

/* ---------- 13. Mur « Ils parlent de nous » ----------
   La brique du site Shield, reprise telle quelle : les neuf passages
   médias du groupe, vignettes carrées égales en couleur, grille 3 x 3.
   Sur le noir, un filet dessine le carré des vignettes à fond noir
   (France Cryptos, BlocksTV, Le Déclic) : le filet est porté par l'image
   elle-même, jamais par un cadre de plus. */

.media-wall{
  max-width:900px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px;
  align-items:center;
}
.media-cell{display:flex;align-items:center;justify-content:center;min-height:92px}
.media-cell img{
  width:72px;height:72px;object-fit:contain;
  border:1px solid var(--line);
  border-radius:var(--r-media);
  filter:grayscale(1);
  transition:border-color .2s ease;
}
.media-cell:hover img{border-color:var(--brand-line)}
/* limagroupe.com : logos en noir et blanc, comme les photos du blog (Maurice,
   2026-10-07). Exception à la norme commune §6 règle 2, qui les veut en couleur. */

/* ---------- 15. Cartes d'article ----------
   Photo en tête de carte : rayon haut uniquement. */

.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch}
.post{
  display:flex;flex-direction:column;
  height:100%;
  background:var(--card);
  border:1px solid transparent;
  border-radius:var(--r-card);
  overflow:hidden;
  transition:border-color .2s ease;
}
.post:hover{border-color:var(--brand-line)}
/* Photos du blog toujours en noir et blanc, sans retour à la couleur au survol
   (logique du site en ligne, norme commune §6 règle 4). */
.post-img{height:190px;width:100%;object-fit:cover;border-radius:var(--r-card) var(--r-card) 0 0;filter:grayscale(1)}
.post-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px 22px 22px;flex:1}
.post-rub{font-size:13px;font-weight:500;color:var(--faint)}
.post-body h3{margin:0;font-size:17px;line-height:1.35}
.post-body p{font-size:14px;line-height:1.55;margin:0}
.post-date{margin-top:auto;padding-top:12px;font-size:13px;color:var(--faint)}

/* ---------- 15 bis. Pages de texte (expertises, médias) ----------
   Une colonne de lecture. Du texte, des titres, une liste : ni carte,
   ni effet, ni encadré. */

.page-texte{max-width:var(--w-text);margin:0 auto;padding:72px 24px 104px}
.page-texte--large{max-width:var(--w-page)}
.page-texte h1{margin-bottom:20px}
.page-texte .lead{font-size:20px;line-height:1.55;color:var(--text);margin-bottom:40px;max-width:var(--w-text)}
.page-texte h2{margin:64px 0 20px}
.page-texte h3{margin:32px 0 8px}
.page-texte p{margin-bottom:18px}
.page-texte ul{list-style:disc;padding-left:22px;margin:8px 0 18px;color:var(--muted)}
.page-texte li{margin-bottom:8px;padding-left:4px}
.page-texte li::marker{color:var(--faint)}

/* Vidéos intégrées : le lecteur YouTube est l'objet, aucune carte autour. */
.videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 24px}
.video{margin:0}
/* nombre impair de vidéos : la première prend toute la largeur, jamais de rangée bancale */
.videos .video:first-child:nth-last-child(odd){grid-column:1/-1}
.video iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:var(--r-card);background:var(--card)}
.video figcaption{margin-top:14px;font-size:15px;color:var(--text);font-weight:500;line-height:1.45}
.video figcaption span{display:block;font-size:13px;font-weight:500;color:var(--faint);margin-bottom:4px}

/* Liens de presse : une ligne par passage, des filets, pas de cadre. */
.liens-presse{border-top:1px solid var(--line)}
.lien-presse{
  display:grid;grid-template-columns:160px minmax(0,1fr) 20px;align-items:center;gap:20px;
  padding:20px 0;border-bottom:1px solid var(--line);
}
.lien-presse span{font-size:13px;font-weight:500;color:var(--faint)}
.lien-presse--num{grid-template-columns:40px minmax(0,1fr) 20px}
.lien-presse b{font-size:16px;font-weight:500;color:var(--text);line-height:1.45}
.lien-presse b em{display:block;margin-top:4px;font-style:normal;font-weight:400;font-size:15px;color:var(--muted)}
.lien-presse svg{width:18px;height:18px;color:var(--muted);transition:transform .2s ease,color .2s ease}
.lien-presse:hover svg{color:var(--text);transform:translateX(3px)}

/* ---------- 15 ter. Blog : liste, rubriques, recherche, pages ---------- */

.blog-outils{display:flex;flex-direction:column;gap:16px;margin:8px 0 36px}
.blog-recherche{
  width:100%;max-width:520px;
  font:inherit;font-size:15px;color:var(--text);
  background:var(--field);border:1px solid transparent;border-radius:var(--r-pill);
  padding:12px 20px;outline:none;
}
.blog-recherche::placeholder{color:var(--faint)}
.blog-recherche:focus{border-color:var(--brand-line)}
.blog-rubriques{display:flex;flex-wrap:wrap;gap:8px}
.chip span{color:var(--faint);font-weight:500}
.chip.is-active{background:var(--text);color:var(--bg)}
.chip.is-active span{color:var(--bg);opacity:.6}
.blog-vide{margin-top:24px}
.blog-pages{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:40px}
.blog-pages button{
  width:40px;height:40px;border:0;cursor:pointer;
  font:inherit;font-size:14px;font-weight:600;
  border-radius:var(--r-round);background:var(--chip);color:var(--text);
}
.blog-pages button[aria-current="page"]{background:var(--text);color:var(--bg)}
.posts--2{grid-template-columns:repeat(2,1fr);max-width:var(--w-page);margin:0 auto}

/* ---------- 15 quater. Article ---------- */

.retour{margin-bottom:28px;color:var(--muted);background:none;border:0;padding:0;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.retour:hover{color:var(--text)}
.retour svg{width:17px;height:17px}
.retour:hover svg{transform:translateX(-3px)}
.article-meta{font-size:14px;color:var(--faint);margin-bottom:32px}
.article-meta span{color:var(--muted)}
.article-image{margin:0 0 40px}
.article-image img,.prose figure img{width:100%;border-radius:var(--r-card);filter:grayscale(1)}
.article-image figcaption,.prose figcaption{margin-top:10px;font-size:13px;color:var(--faint)}
.prose figure{margin:32px 0}
.prose h2{font-size:26px;margin:52px 0 16px}
.prose h3{font-size:19px;margin:36px 0 10px}
.prose h4{font-size:16px;margin:28px 0 8px}
.prose p,.prose li{font-size:17px;line-height:1.7}
.prose strong{color:var(--text)}
.prose ul,.prose ol{padding-left:22px;margin:8px 0 20px;color:var(--muted)}
.prose ul{list-style:disc}
.prose li{margin-bottom:8px}
.prose li::marker{color:var(--faint)}
.prose blockquote{margin:32px 0;padding:0 0 0 22px;border-left:2px solid var(--brand)}
.prose blockquote p{font-style:italic;color:var(--text)}
.prose hr{border:0;border-top:1px solid var(--line);margin:40px 0}
.prose table{width:100%;border-collapse:collapse;margin:24px 0;font-size:15px}
.prose th,.prose td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);color:var(--muted)}
.prose th{color:var(--text);font-weight:600}
.page-texte a:not(.lien):not(.btn):not(.chip):not(.lien-presse),
.prose a{color:var(--text);text-decoration:underline;text-decoration-color:var(--brand-line);text-underline-offset:3px}
.page-texte a:not(.lien):not(.btn):not(.chip):not(.lien-presse):hover,
.prose a:hover{text-decoration-color:var(--brand)}
.post h3 a{text-decoration:none !important;color:var(--text) !important}
/* Une carte d'article garde son dessin partout : les marges des pages de texte ne l'atteignent pas. */
.page-texte .post-body h3,.page-texte .post-body p{margin:0}

/* ---------- 15 quinquies. News, direction, contact ---------- */

.jalons{list-style:none;padding:0;margin:8px 0 0;border-top:1px solid var(--line)}
.jalon{display:grid;grid-template-columns:80px minmax(0,1fr);gap:20px;padding:28px 0;border-bottom:1px solid var(--line)}
.jalon-annee{font-size:15px;font-weight:600;color:var(--faint);padding-top:2px}
.jalon h3{margin:0 0 8px}
.jalon p{margin-bottom:10px}

.deux-col{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:64px;align-items:start}
.deux-col--contact{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.portrait{margin:0;position:sticky;top:100px}
.portrait img{width:100%;border-radius:var(--r-card)}
.portrait figcaption,.signature{margin-top:16px;font-size:14px;color:var(--muted)}
.portrait b,.signature b{display:block;font-size:17px;color:var(--text);font-weight:600;margin-bottom:2px}
.signature{margin:28px 0 8px}

.page-texte .points{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:14px}
.page-texte .points li{display:flex;align-items:center;gap:14px;color:var(--text);font-size:15px;margin:0;padding:0}

.cform{min-width:0}
.cform-progres{height:3px;border-radius:var(--r-pill);background:var(--chip);overflow:hidden;margin-bottom:32px}
.cform-progres span{display:block;height:100%;width:25%;background:var(--brand);transition:width .3s ease}
.cform-etape{border:0;padding:0;margin:0;min-width:0}
.cform-etape legend{padding:0;font-size:22px;font-weight:600;color:var(--text);margin-bottom:20px}
.choix-liste{display:flex;flex-wrap:wrap;gap:10px}
.choix{position:relative;cursor:pointer}
.choix input{position:absolute;opacity:0;pointer-events:none}
.choix span{
  display:inline-flex;align-items:center;
  padding:12px 20px;border-radius:var(--r-pill);
  background:var(--chip);color:var(--text);font-size:15px;font-weight:500;
  border:1px solid transparent;transition:background .2s ease,border-color .2s ease;
}
.choix:hover span{background:var(--field)}
.choix input:checked + span{background:var(--text);color:var(--bg)}
.choix input:focus-visible + span{border-color:var(--brand)}
.champs{display:flex;flex-direction:column;gap:16px}
.champs label{display:flex;flex-direction:column;gap:8px}
.champs span{font-size:14px;color:var(--muted)}
.champs b{color:var(--brand);font-weight:600}
.champs input,.champs textarea{
  font:inherit;font-size:16px;color:var(--text);
  background:var(--field);border:1px solid transparent;border-radius:var(--r-inner);
  padding:13px 16px;outline:none;resize:vertical;
}
.champs input:focus,.champs textarea:focus{border-color:var(--brand-line)}
.piege{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
#cformSuite[disabled]{opacity:.6;cursor:wait}
.cform-note{font-size:13px;color:var(--faint);margin-top:16px}
.cform-fin h2{margin:0 0 12px}
.cform-alerte{min-height:22px;margin:16px 0 0;font-size:14px;color:var(--alarm)}
.cform-nav{display:flex;align-items:center;gap:16px;margin-top:20px}
.cform-nav .retour{margin:0}
.cform-compte{margin-left:auto;font-size:14px;color:var(--faint)}

/* ---------- 15 sexies. Page d'erreur 404 : tout au milieu de l'écran ---------- */

.erreur{
  min-height:calc(100svh - 68px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:64px 24px;
}
.erreur-code{font-size:15px;font-weight:600;letter-spacing:.2em;color:var(--faint);margin:0 0 12px}
.erreur h1{margin-bottom:14px}
.erreur p:not(.erreur-code){max-width:460px;margin:0 auto 32px}

/* ---------- 15 septies. Cartes entièrement cliquables ----------
   Le lien de la carte (« Découvrir », titre d'article) s'étend sur toute la
   carte : un clic n'importe où suit le lien. Un seul lien par carte, donc
   aucune ambiguïté de destination. */

.ent,.post{position:relative;cursor:pointer}
.ent .lien::after,.post h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:1}
.ent:hover .lien svg{transform:translateX(3px)}
.post:hover h3 a{text-decoration:underline !important;text-decoration-color:var(--brand-line) !important;text-underline-offset:3px}

/* ---------- 15 octies. FAQ : le composant de la page de vente Lima Shield ----------
   Une question par ligne, filet dessous, « + » à droite qui devient « − »
   à l'ouverture, réponse en encre secondaire. Aucun fond, aucune carte. */

.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  list-style:none;cursor:pointer;position:relative;
  padding:18px 36px 18px 0;
  font-size:16px;font-weight:600;line-height:1.45;color:var(--text);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::marker{content:""}
.faq summary::after{
  content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);
  font-size:20px;font-weight:400;color:var(--faint);
}
.faq details[open] summary::after{content:"\2212"}
.faq summary:hover::after{color:var(--text)}
.page-texte .faq details p{margin:0 0 20px;color:var(--muted)}

/* ---------- 15 nonies. Mode clair du blog : le bouton, en haut à droite ----------
   Dans la barre, juste avant le menu. Une icône : soleil pour passer en clair,
   lune pour revenir en sombre. Même gabarit que le hamburger. */

.bar-droite{display:flex;align-items:center;gap:4px}
.bascule-theme{
  display:grid;place-items:center;width:44px;height:44px;flex:none;
  background:none;border:0;border-radius:var(--r-round);
  color:var(--text);cursor:pointer;
}
.bascule-theme:hover{background:var(--chip)}
.bascule-theme svg{width:21px;height:21px}
.bascule-theme .ico-sombre,html[data-theme="clair"] .bascule-theme .ico-clair{display:none}
html[data-theme="clair"] .bascule-theme .ico-sombre{display:block}
html[data-theme="clair"] main .post{box-shadow:var(--shadow)}

/* ---------- 16. Pied de page : le plan du site ---------- */

.foot{padding:72px 24px 32px;border-top:1px solid var(--line)}
.foot-in{max-width:var(--w-page);margin:0 auto}
.foot-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:44px}
.foot-top > *{min-width:0}
.foot-brand{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.foot-brand img{width:40px;height:40px}
.foot-top p{font-size:14px;line-height:1.6;max-width:320px}
.foot-col h4{font-size:14px;font-weight:600;color:var(--text);margin:0 0 16px}
.foot-col li{margin-bottom:10px}
.foot-links{margin-top:12px}
.foot-col a,.foot-col address{font-size:14px;color:var(--muted);font-style:normal;line-height:1.6}
.foot-col a:hover{color:var(--text)}
.foot-soc{display:flex;gap:8px;margin-top:20px}
.foot-soc a{
  width:36px;height:36px;display:grid;place-items:center;
  background:var(--chip);border-radius:var(--r-round);
  color:var(--muted);
}
.foot-soc a:hover{color:var(--text)}
.foot-soc svg{width:16px;height:16px}
.foot-bot{
  display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;
  padding-top:24px;border-top:1px solid var(--line);
  font-size:13px;color:var(--faint);
}
.foot-bot .sep{margin-left:auto}
.foot-langue{font-weight:600;color:var(--muted);border-bottom:1px solid var(--line)}
.foot-langue:hover{color:var(--text)}

/* ---------- 16 bis. Bandeau cookies, en bas à droite ----------
   Une seule carte, aucun encadré dedans. Le couple de boutons du site. */

.cookies{
  position:fixed;right:20px;bottom:20px;z-index:80;
  width:min(360px, calc(100vw - 32px));
  padding:20px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-card);
}
.cookies p{font-size:14px;line-height:1.55;margin:0 0 16px}
.cookies a{color:var(--text);text-decoration:underline;text-decoration-color:var(--brand-line);text-underline-offset:3px}
.cookies-choix{display:flex;justify-content:flex-end;gap:8px}
.cookies .btn--sec{background:var(--field)}
.foot-cookies{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.foot-cookies:hover{color:var(--text)}

/* ---------- 17. Points de rupture ---------- */

@media (max-width:1080px){
  .kpis{grid-template-columns:repeat(2,1fr)}
  .foot-top{grid-template-columns:1fr 1fr 1fr;gap:30px}
}

@media (max-width:900px){
  .deux-col,.deux-col--contact{grid-template-columns:1fr;gap:48px}
  .portrait{position:static;max-width:320px}
  .seals-row{grid-template-columns:repeat(3,1fr);gap:4px}
  .ents{grid-template-columns:repeat(2,1fr)}
  .ent,.ent:nth-child(4){grid-column:span 1}
  .ent:last-child{grid-column:1/-1}
  .posts{grid-template-columns:1fr;max-width:var(--w-text);margin:0 auto}
  .steps{grid-template-columns:1fr}
}

@media (max-width:700px){
  .cookies{right:16px;left:16px;bottom:16px;width:auto}
  .posts--2,.deux-col,.deux-col--contact{grid-template-columns:1fr}
  .deux-col{gap:40px}
  .portrait{position:static;max-width:260px}
  .jalon{grid-template-columns:1fr;gap:6px}
  .prose p,.prose li{font-size:16px}
  .page-texte{padding:48px 16px 72px}
  .page-texte .lead{font-size:18px}
  .videos{grid-template-columns:1fr;gap:32px}
  .lien-presse{grid-template-columns:minmax(0,1fr) 20px;gap:4px 16px}
  .lien-presse span{grid-column:1/-1}
  .lien-presse--num{grid-template-columns:32px minmax(0,1fr) 20px}
  .lien-presse--num span{grid-column:auto}
  /* Cartes d'entité sur mobile : le sceau coupé en son milieu, collé au bord
     gauche de la carte qui le rogne ; le texte occupe la colonne de droite. */
  .ent{position:relative;overflow:hidden;padding:24px 20px 22px 104px;min-height:180px}
  .ent-seal{
    position:absolute;left:-70px;top:50%;
    width:140px;height:140px;margin:0;
    transform:translateY(-50%);
  }
  .ent h3{font-size:18px}
  .ent p{font-size:14px;margin-bottom:16px}
  .sec{padding:64px 16px}
  .hero{padding:40px 16px 56px}
  .seals{padding:32px 16px 56px}
  .bar-in{padding:0 16px}
  h1{font-size:34px}
  h2{font-size:24px}
  .hero-lede{font-size:17px}
  .hero-sceau,.hero-sceau img{width:240px;height:240px}
  .hero-sceau{margin-bottom:-48px}
  .kpis,.ents,.posts{grid-template-columns:1fr}
  .seals-row{grid-template-columns:repeat(2,1fr)}
  .seal:last-child{grid-column:1/-1}
  .media-wall{gap:8px}
  .media-cell{min-height:80px}
  .exergue{padding:24px 20px 22px}
  .exergue::before{position:static;display:block;font-size:46px;margin-bottom:-8px}
  .foot{padding:56px 16px 28px}
  .foot-top{grid-template-columns:1fr 1fr;gap:24px}
  .foot-top > :first-child{grid-column:1/-1}
  .foot-bot .sep{margin-left:0;width:100%}
}
