/*
  Droits Salarié — Direction éditoriale / magazine
  Objectif : moins “landing SaaS”, plus “média sérieux / guide pratique”.
*/

:root {
  --bg: #f5f0e7;
  --bg-soft: #ebe3d6;
  --paper: #fffdf8;
  --paper-alt: #fbf7ee;
  --text: #202321;
  --muted: #626863;
  --brand: #173f42;
  --brand-dark: #0f3032;
  --brand-soft: #e2eeeb;
  --accent: #8a5a32;
  --accent-soft: #f0e3d3;
  --border: #d8d0c4;
  --border-strong: #b9ad9e;
  --card: var(--paper);
  --shadow: none;
  --radius: 6px;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.narrow { max-width: 780px; }

/* Header sobre, “média” */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.035em;
}
.logo span { color: var(--brand); }
.main-nav {
  display: flex;
  gap: 26px;
  font-size: .92rem;
  color: var(--muted);
}
.main-nav a:hover { color: var(--brand); }
.header-cta {
  padding: 10px 15px;
  border-radius: 3px;
  color: #fff;
  background: var(--brand);
  font-weight: 750;
  font-size: .9rem;
  border: 1px solid var(--brand);
}
.header-cta:hover { background: var(--brand-dark); text-decoration: none; }

/* Typographie éditoriale */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--text);
  letter-spacing: -.028em;
  line-height: 1.08;
  margin: 37px 0 20px;
}
h1 {
  font-size: clamp(2.45rem, 5vw, 4.55rem);
  max-width: 900px;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 700;
}
h3 {
  font-size: 1.22rem;
  font-weight: 700;
}
p { margin-top: 0; }

.eyebrow {
  font-family: var(--sans);
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .73rem;
  margin: 0 0 12px;
}

/* Hero : plus “une de média” */
.hero {
  padding: 70px 0 48px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,253,248,.7), rgba(245,240,231,.92));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: start;
}
.hero-lead {
  font-family: var(--sans);
  font-size: 1.16rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
  margin: 24px 0 0;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 3px;
  font-family: var(--sans);
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none!important;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-soft); }
.btn-full { width: 100%; }

.trust-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-list li {
  padding: 7px 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--muted);
  font-size: .88rem;
}

.hero-card,
.hub-block,
.lead-form,
.step,
.sidebar-card,
.article-sidebar .sidebar-card,
.article-content,
.situation-card,
details,
.guide-list a {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}
.hero-card {
  padding: 24px;
  border-top: 4px solid var(--brand);
}
.hero-card h2 { font-size: 1.55rem; }
.hero-card p,
.small-note { color: var(--muted); }
.small-note { font-size: .86rem; }

/* Sections */
.section { padding: 70px 0; }
.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}
.section-heading h2 {
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 12px;
}
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Hub homepage : sommaire éditorial */
.hub-blocks,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hub-block,
.situation-card {
  padding: 22px;
}
.hub-block h3,
.situation-card h3 {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand);
  margin-bottom: 14px;
}
.hub-block a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
}
.hub-block a:hover,
.guide-list a:hover {
  color: var(--brand);
}
.situation-card span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 3px;
  font-weight: 900;
  margin-bottom: 16px;
}
.situation-card p { color: var(--muted); margin-bottom: 0; }

/* Méthode */
.split,
.form-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 46px;
  align-items: start;
}
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px;
}
.step strong {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
  font-family: var(--sans);
}
.step h3 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; }
.step p { margin: 6px 0 0; color: var(--muted); }

/* Formulaire : sérieux, non gadget */
.check-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.check-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 900;
  margin-right: 10px;
}
.lead-form {
  padding: 26px;
  display: grid;
  gap: 18px;
  border-top: 4px solid var(--brand);
}
label {
  display: grid;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 800;
  color: var(--text);
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  min-height: 46px;
  padding: 12px 13px;
  font: inherit;
  background: var(--paper-alt);
  color: var(--text);
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23,63,66,.12);
  border-color: var(--brand);
}
textarea { resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--muted);
  font-size: .95rem;
}
.consent input {
  width: auto;
  min-height: auto;
  margin-top: 6px;
}
.hp-field { display: none !important; }

/* Guides */
.guide-list { display: grid; gap: 10px; }
.guide-list a {
  padding: 16px 18px;
  font-weight: 750;
  border-left: 4px solid var(--brand-soft);
}

/* Pages articles / sniper */
.breadcrumb {
  margin: 22px 0 0;
  font-size: .92rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--brand); font-weight: 800; }
.article-hero {
  padding: 58px 0 36px;
  border-bottom: 1px solid var(--border);
}
.article-section { padding-top: 42px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}
.article-content {
  padding: clamp(28px, 5vw, 56px);
  border-top: 4px solid var(--brand);
}
.article-content p,
.article-content li {
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.78;
  color: var(--text);
}
.article-content h2 {
  margin-top: 36px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}
.article-content h3 { margin-top: 24px; }
.article-content ul,
.article-content ol { padding-left: 1.25rem; }
.inline-cta {
  margin: 32px 0;
  padding: 24px;
  background: var(--brand-soft);
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: 0;
}
.inline-cta h2,
.inline-cta h3 { margin-top: 0; border-bottom: 0; padding-bottom: 0; }
.sidebar-card,
.article-sidebar {
  position: sticky;
  top: 96px;
}
.sidebar-card {
  padding: 22px;
  border-top: 4px solid var(--brand);
}
.sidebar-card p { color: var(--muted); }
.related-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.related-links a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  color: var(--brand);
  font-weight: 750;
}
.article-form-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.faq-list details { margin-bottom: 12px; }
details {
  padding: 16px 18px;
}
summary {
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 850;
}
details p { color: var(--muted); margin-bottom: 0; }

/* Footer */
.site-footer {
  background: #172527;
  color: #fff;
  padding: 56px 0 80px;
  border-top: 6px solid var(--brand-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 42px;
}
.site-footer p,
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a { display: block; margin-top: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
  color: #fff;
}
.footer-logo {
  color: #fff;
  display: inline-block;
  margin-bottom: 14px;
}
.mobile-sticky-cta { display: none; }

/* RGPD button fallback inherited from site style */
.ds-cookie-btn { font-family: var(--sans); }

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .hero-grid,
  .split,
  .form-layout,
  .footer-grid,
  .hub-blocks,
  .cards-grid,
  .article-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .section { padding: 54px 0; }
  .article-sidebar,
  .sidebar-card { position: static; }
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 3px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(0,0,0,.18);
  }
  body { padding-bottom: 76px; }
}

/* === Patch V2 — Hero éditorial enrichi pour pages sniper ===
   Objectif : moins “mur de titre”, plus “une de magazine / fiche dossier”.
   Fonctionne sans modifier les PHP existants : la carte de droite est générée en CSS.
*/
.article-hero {
  position: relative;
  padding: 64px 0 50px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23,63,66,.055) 0 1px, transparent 1px),
    linear-gradient(180deg, #fffdf8 0%, #f6f1e8 100%);
  background-size: 42px 42px, auto;
  border-bottom: 1px solid var(--border);
}

.article-hero::before {
  content: "";
  position: absolute;
  right: min(7vw, 90px);
  top: 34px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(23,63,66,.12);
  border-radius: 50%;
  opacity: .55;
  pointer-events: none;
}

.article-hero .container.narrow {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center;
}

.article-hero .container.narrow > * {
  grid-column: 1;
}

.article-hero .container.narrow::after {
  content: "À retenir\A\A• Documenter les faits\A• Garder les preuves\A• Éviter les réponses impulsives\A• Demander un avis si délai court";
  grid-column: 2;
  grid-row: 1 / span 5;
  white-space: pre-line;
  align-self: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 5px solid var(--brand);
  padding: 28px 30px;
  min-height: 250px;
  display: flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  box-shadow: 0 18px 45px rgba(23,63,66,.06);
}

.article-hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.5vw, 4.15rem);
  line-height: 1.04;
}

.article-hero .hero-lead {
  max-width: 720px;
  margin-top: 22px;
  font-size: 1.12rem;
}

.article-hero .btn {
  margin-top: 24px;
}

@media (max-width: 940px) {
  .article-hero .container.narrow {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-hero .container.narrow::after {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
  }

  .article-hero::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .article-hero {
    padding: 46px 0 38px;
  }

  .article-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .article-hero .container.narrow::after {
    padding: 22px;
    font-size: .96rem;
  }
}

/* === PATCH FORMULAIRE CALME ÉDITORIAL === */

.lead-form {
  border: 1px solid #d7d0c5;
  box-shadow: none !important;
}

.lead-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2d3436;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  font-size: 1rem;
  font-weight: 400 !important;
  color: #1f1f1f;
  background: #fcfbf8;
  border: 1px solid #cfc6b8;
  box-shadow: none;
}

.lead-form textarea {
  line-height: 1.55;
}

.lead-form ::placeholder {
  color: #7a7a7a !important;
  font-weight: 400 !important;
  opacity: 1;
}

.lead-form .consent,
.lead-form .consent label {
  font-size: 0.95rem;
  font-weight: 400 !important;
  color: #4e5658;
}

.lead-form button,
.lead-form .btn-primary {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 14px 18px;
  box-shadow: none;
}

.lead-form .small-note {
  font-size: 0.86rem;
  color: #6b6f72;
}



/* === PATCH HP HERO : image cover en voile léger === */

.hero-home {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 248, 0.96) 0%,
      rgba(255, 253, 248, 0.92) 42%,
      rgba(255, 253, 248, 0.72) 100%
    ),
    url("/assets/img/office-hero.jpg") center center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 63, 66, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 63, 66, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.hero-home .container {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-home h1 {
  max-width: 900px;
}

.hero-home .hero-lead {
  max-width: 760px;
}

/* === PATCH RESPONSIVE HERO COVER === */

/* Défaut : en dessous de 1400px */
.hero-home {
  background:
    linear-gradient(
      90deg,
      rgb(255 255 255 / 91%) 0%,
      rgba(255, 253, 248, 0.92) 42%,
      rgba(255, 253, 248, 0.72) 100%
    ),
    url("/assets/img/office-hero.jpg") center center / cover no-repeat;
}

/* Au-dessus de 1400px */
@media (min-width: 1400px) {
  .hero-home {
    background:
      linear-gradient(
        90deg,
        rgb(255 255 255 / 18%) 0%,
        rgba(255, 253, 248, 0.92) 12%,
        rgba(255, 253, 248, 0.72) 100%
      ),
      url("/assets/img/office-hero.jpg") center center / cover no-repeat;
  }
}

/* Au-dessus de 1670px */
@media (min-width: 1670px) {
  .hero-home {
    background:
      linear-gradient(
        90deg,
        rgb(255 255 255 / 18%) 0%,
        rgba(255, 253, 248, 0.92) 22%,
        rgba(255, 253, 248, 0.72) 100%
      ),
      url("/assets/img/office-hero.jpg") center center / cover no-repeat;
  }
}


/* === PATCH HP : blocs situations plus lisibles / attractifs === */

.hero-home + .section {
  background: #f4efe6;
}

.hero-home + .section .container {
  padding-top: 18px;
}

.hero-home + .section h2 {
  margin-bottom: 28px;
}

.hero-home + .section .grid,
.hero-home + .section .grid-3,
.hero-home + .section .hub-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.hero-home + .section .hub-block {
  position: relative;
  padding: 30px 28px 26px;
  border-radius: 4px;
  border: 1px solid #d8d0c4;
  background: #fffdf8;
  box-shadow: none;
  min-height: 230px;
}

.hero-home + .section .hub-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--brand);
}

.hero-home + .section .hub-block:nth-child(2)::before {
  background: #8a5a32;
}

.hero-home + .section .hub-block:nth-child(3)::before {
  background: #5f6462;
}

.hero-home + .section .hub-block h3 {
  margin: 0 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d8d0c4;
  color: var(--brand);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-home + .section .hub-block a {
  display: block;
  position: relative;
  padding: 16px 0 16px 28px;
  border-top: none;
  border-bottom: 1px solid #e3dcd1;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  color: #202020;
}

.hero-home + .section .hub-block a:last-child {
  border-bottom: 0;
}

.hero-home + .section .hub-block a::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--accent);
  font-weight: 800;
}

.hero-home + .section .hub-block a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Variante responsive */
@media (max-width: 960px) {
  .hero-home + .section .grid,
  .hero-home + .section .grid-3,
  .hero-home + .section .hub-blocks {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-home + .section .hub-block {
    min-height: auto;
  }
}

/* === PATCH HP : Guides utiles en fiches / dossiers de lecture === */

#guides {
  background: #f4efe6;
}

#guides h2 {
  margin-bottom: 28px;
}

/* Grille des deux dossiers */
#guides .grid,
#guides .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* Carte dossier */
#guides .hub-block {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 260px;
  border: 1px solid #d8d0c4;
  border-radius: 4px;
  background: #fffdf8;
  box-shadow: none;
}

/* Onglet haut façon folder */
#guides .hub-block::before {
  content: "Dossier pratique";
  display: block;
  width: fit-content;
  min-width: 160px;
  padding: 10px 18px 9px;
  margin: 0 0 0 24px;
  background: var(--brand);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 0 0 4px 4px;
}

/* Variante second dossier */
#guides .hub-block:nth-child(2)::before {
  content: "Repères utiles";
  background: #8a5a32;
}

/* Faux liseré dossier */
#guides .hub-block::after {
  content: "";
  position: absolute;
  top: 46px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: #d8d0c4;
}

/* Liens en fiches de lecture */
#guides .hub-block a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 24px;
  border: 0;
  border-bottom: 1px solid #e3dcd1;
  color: #202020;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

#guides .hub-block a:first-of-type {
  margin-top: 16px;
}

#guides .hub-block a:last-child {
  border-bottom: 0;
}

/* Icône document */
#guides .hub-block a::before {
  content: "▣";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 38px;
  border: 1px solid #d8d0c4;
  background: #f6f1e8;
  color: var(--brand);
  font-size: .9rem;
  line-height: 1;
}

/* Effet lecture */
#guides .hub-block a:hover {
  background: #f8f4ed;
  color: var(--brand);
  text-decoration: none;
}

#guides .hub-block a:hover::before {
  border-color: var(--brand);
  background: var(--brand-soft, #e6efed);
}

/* Responsive */
@media (max-width: 860px) {
  #guides .grid,
  #guides .grid-2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #guides .hub-block {
    min-height: auto;
  }
}

/* === Pastilles catégories HP === */

.cat-icon{
  width:46px;
  height:46px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:20px;
  font-weight:800;
  margin-right:12px;
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  vertical-align:middle;
}

.cat-icon-urgence{
  background:#d96552;
}

.cat-icon-pression{
  background:#3f706b;
}

.cat-icon-degradee{
  background:#6f7678;
}

.cat-icon-urgence::before{
  content:"!";
}

.cat-icon-pression::before{
  content:"☁";
  font-size:19px;
}

.cat-icon-degradee::before{
  content:"▱";
  transform:translateY(-1px);
}ransform:translateY(-1px);
}

/* === Assets PNG sous cartes situations fréquentes — zone basse dédiée === */

.hero-home + .section .hub-block {
  position: relative;
  min-height: 360px;
  padding-bottom: 150px !important;
  overflow: visible;
}

.hero-home + .section .hub-block .hub-asset {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  opacity: .98;
}

.hero-home + .section .hub-block .hub-asset img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-home + .section .hub-block h3,
.hero-home + .section .hub-block a {
  position: relative;
  z-index: 2;
}

/* tailles par illustration */
.hero-home + .section .hub-block:nth-child(1) .hub-asset {
  width: 92px;
}

.hero-home + .section .hub-block:nth-child(2) .hub-asset {
  width: 145px;
}

.hero-home + .section .hub-block:nth-child(3) .hub-asset {
  width: 132px;
}

/* espace après le dernier lien, avant l’image */
.hero-home + .section .hub-block a:last-of-type {
  margin-bottom: 110px;
}

/* responsive */
@media (max-width: 960px) {
  .hero-home + .section .hub-block {
    min-height: 330px;
    padding-bottom: 130px !important;
  }

  .hero-home + .section .hub-block a:last-of-type {
    margin-bottom: 90px;
  }

  .hero-home + .section .hub-block:nth-child(1) .hub-asset {
    width: 82px;
  }

  .hero-home + .section .hub-block:nth-child(2) .hub-asset {
    width: 124px;
  }

  .hero-home + .section .hub-block:nth-child(3) .hub-asset {
    width: 112px;
  }
}

.preform-reassurance {
  max-width: 780px;
  margin: 0 0 22px;
  padding: 18px 22px;
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid rgba(86, 64, 42, 0.18);
  border-left: 3px solid rgba(142, 94, 44, 0.62);
  border-radius: 8px;
  color: #1d2b2a;
}

.preform-reassurance p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.65;
}

.preform-reassurance p:last-child {
  margin-bottom: 0;
}

.preform-reassurance__note {
  font-size: 0.92rem !important;
  color: #5f5145;
  font-style: italic;
}

@media (max-width: 768px) {
  .preform-reassurance {
    margin-bottom: 18px;
    padding: 16px;
  }

  .preform-reassurance p {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

/* === PATCH flèches liens situations : icône ronde sobre === */

.hero-home + .section .hub-block a::before {
  content: "→";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #cbbba5;
  background: #fffdf8;
  color: #8a5a32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  margin-right: 12px;
  position: static;
  transform: none;
  flex: 0 0 26px;
}

.hero-home + .section .hub-block a {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 0 !important;
}