/* ==========================================================
   CONSEILS SANTÉ — V1
   Hub éditorial / listing des articles
   ========================================================== */

.health-hub{
  --health-dark:#0f2f33;
  --health-text:#041f2d;
  --health-green:#159a83;
  --health-mint:#62beaf;
  --health-muted:#60757b;
  --health-soft:#f3f8f7;
  width:100%;
  overflow:hidden;
  background:#fff;
  color:var(--health-text);
  font-family:"Roboto",Arial,sans-serif;
}

.health-hub *,
.health-hub *::before,
.health-hub *::after{box-sizing:border-box;}

.health-hub-shell{width:min(1450px,92%);margin:0 auto;}

.health-hub-eyebrow{
  margin:0 0 15px;
  color:var(--health-green);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

/* HERO */
.health-hub-hero{
  position:relative;
  padding:58px 0 84px;
  background:
    radial-gradient(circle at 85% 20%,rgba(98,190,175,.16),transparent 27%),
    linear-gradient(180deg,#fff 0%,#fbfdfd 100%);
}

.health-hub-breadcrumb{
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:64px;
  padding:10px 18px;
  border-radius:45px;
  background:#fff;
  box-shadow:0 6px 20px rgba(4,31,45,.08);
  font-size:.9rem;
  font-weight:600;
}

.health-hub-breadcrumb,
.health-hub-breadcrumb a,
.health-hub-breadcrumb span{
  color:var(--health-green);
  text-decoration:none;
}

.health-hub-hero__content{max-width:900px;}
.health-hub-hero__content h1{
  max-width:900px;
  margin:0;
  color:var(--health-text);
  font-size:clamp(3rem,5.6vw,5.6rem);
  font-weight:800;
  line-height:.96;
  letter-spacing:-.052em;
}

.health-hub-hero__content > p:last-child{
  max-width:720px;
  margin:30px 0 0;
  color:var(--health-muted);
  font-size:1.08rem;
  line-height:1.78;
}

/* TITRES */
.health-section-heading{
  display:flex;
  align-items:flex-end;
  gap:28px;
  margin-bottom:34px;
}

.health-section-heading h2,
.health-library-head h2,
.health-pharmacy-cta h2{
  margin:0;
  color:var(--health-text);
  font-size:clamp(2rem,3.2vw,3.2rem);
  font-weight:800;
  line-height:1.03;
  letter-spacing:-.038em;
}

.health-section-heading__line{
  flex:1;
  height:1px;
  margin-bottom:9px;
  background:rgba(4,31,45,.12);
}

/* ARTICLE À LA UNE */
.health-featured{padding:12px 0 96px;}

.health-featured-card{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr);
  min-height:520px;
  overflow:hidden;
  border:1px solid rgba(4,31,45,.08);
  border-radius:28px;
  background:#fff;
  box-shadow:0 20px 55px rgba(4,31,45,.08);
  color:inherit;
  text-decoration:none;
}

.health-featured-card__visual{
  position:relative;
  min-height:520px;
  overflow:hidden;
  background:#eaf4f2;
}

.health-featured-card__visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 62%,rgba(4,31,45,.16));
  pointer-events:none;
}

.health-featured-card__visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.2,.7,.2,1);
}

.health-featured-card:hover .health-featured-card__visual img{transform:scale(1.035);}

.health-featured-card__badge{
  position:absolute;
  z-index:2;
  top:24px;
  left:24px;
  padding:9px 14px;
  border-radius:999px;
  background:#fff;
  color:var(--health-green);
  box-shadow:0 8px 24px rgba(4,31,45,.12);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.health-featured-card__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:58px;
}

.health-card-category{
  margin:0 0 15px;
  color:var(--health-green);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.health-featured-card h3{
  margin:0;
  color:var(--health-text);
  font-size:clamp(2.1rem,3.2vw,3.45rem);
  font-weight:800;
  line-height:1.03;
  letter-spacing:-.04em;
}

.health-featured-card__excerpt{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  line-clamp:4;
  margin:24px 0 0;
  color:var(--health-muted);
  font-size:1rem;
  line-height:1.75;
}

.health-card-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 20px;
  margin-top:25px;
  color:#71858a;
  font-size:.8rem;
  font-weight:600;
}

.health-card-meta span{display:inline-flex;align-items:center;gap:7px;}
.health-card-meta i{color:var(--health-green);font-size:1rem;}

.health-card-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:31px;
  color:var(--health-green);
  font-size:.9rem;
  font-weight:800;
}

.health-card-link i{
  font-size:1.25rem;
  transition:transform .25s ease;
}

.health-featured-card:hover .health-card-link i,
.health-card:hover .health-card-link i{transform:translateX(5px);}

/* BIBLIOTHÈQUE */
.health-library{
  padding:96px 0 110px;
  background:#f7faf9;
}

.health-library-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:42px;
}

.health-filter-bar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.health-filter-bar button{
  appearance:none;
  border:1px solid rgba(4,31,45,.1);
  border-radius:999px;
  padding:10px 16px;
  background:#fff;
  color:#597075;
  font:inherit;
  font-size:.82rem;
  font-weight:700;
  cursor:pointer;
  transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease;
}

.health-filter-bar button:hover{transform:translateY(-2px);border-color:rgba(21,154,131,.35);}
.health-filter-bar button.is-active{
  border-color:var(--health-green);
  background:var(--health-green);
  color:#fff;
}

.health-articles-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.health-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(4,31,45,.075);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 32px rgba(4,31,45,.045);
  transition:transform .28s ease,box-shadow .28s ease,opacity .2s ease;
}

.health-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(4,31,45,.08);
}

.health-card[hidden]{display:none;}

.health-card__visual{
  position:relative;
  height:245px;
  overflow:hidden;
}

.health-card__visual--placeholder{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:11px;
  background:
    radial-gradient(circle at 25% 25%,rgba(255,255,255,.32),transparent 30%),
    linear-gradient(135deg,rgba(98,190,175,.42),rgba(15,47,51,.92));
  color:rgba(255,255,255,.9);
}

.health-card__visual--placeholder i{font-size:2.5rem;}
.health-card__visual--placeholder span{
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.15em;
}

.health-card__content{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:27px 27px 29px;
}

.health-card h3{
  margin:0;
  color:var(--health-text);
  font-size:1.35rem;
  font-weight:800;
  line-height:1.16;
  letter-spacing:-.022em;
}

.health-card__excerpt{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  margin:16px 0 0;
  color:var(--health-muted);
  font-size:.91rem;
  line-height:1.68;
}

.health-card .health-card-meta{margin-top:22px;}
.health-card .health-card-link{margin-top:auto;padding-top:26px;}

.health-empty-state{
  margin:40px 0 0;
  padding:24px;
  border-radius:18px;
  background:#fff;
  color:var(--health-muted);
  text-align:center;
}

/* CTA PHARMACIE */
.health-pharmacy-cta{padding:96px 0 108px;background:#fff;}

.health-pharmacy-cta__inner{
  display:grid;
  grid-template-columns:74px minmax(0,1fr) auto;
  align-items:center;
  gap:30px;
  padding:46px 50px;
  border-radius:26px;
  background:var(--health-dark);
  box-shadow:0 22px 50px rgba(4,31,45,.12);
}

.health-pharmacy-cta__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:68px;
  height:68px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--health-green),var(--health-mint));
  color:#fff;
}

.health-pharmacy-cta__icon i{font-size:1.7rem;}
.health-pharmacy-cta .health-hub-eyebrow{color:#79d3c5;}
.health-pharmacy-cta h2{max-width:720px;color:#fff;font-size:clamp(1.8rem,2.8vw,2.75rem);}
.health-pharmacy-cta__inner > div:nth-child(2) > p:last-child{
  max-width:760px;
  margin:16px 0 0;
  color:rgba(255,255,255,.68);
  font-size:.94rem;
  line-height:1.7;
}

.health-pharmacy-cta__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  padding:14px 19px;
  border-radius:999px;
  background:#fff;
  color:var(--health-dark);
  font-size:.86rem;
  font-weight:800;
  text-decoration:none;
  transition:transform .25s ease,box-shadow .25s ease;
}

.health-pharmacy-cta__link:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.health-pharmacy-cta__link i{font-size:1.2rem;}

/* RESPONSIVE */
@media(max-width:1100px){
  .health-featured-card{grid-template-columns:1.08fr .92fr;}
  .health-featured-card__content{padding:42px;}
  .health-articles-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .health-library-head{align-items:flex-start;flex-direction:column;}
  .health-filter-bar{justify-content:flex-start;}
  .health-pharmacy-cta__inner{grid-template-columns:68px minmax(0,1fr);}
  .health-pharmacy-cta__link{grid-column:2;justify-self:start;}
}

@media(max-width:800px){
  .health-hub-hero{padding:40px 0 62px;}
  .health-hub-breadcrumb{margin-bottom:48px;}
  .health-featured{padding-bottom:72px;}
  .health-featured-card{grid-template-columns:1fr;}
  .health-featured-card__visual{min-height:0;height:420px;}
  .health-featured-card__content{padding:38px;}
  .health-library{padding:72px 0 82px;}
  .health-pharmacy-cta{padding:72px 0 82px;}
}

@media(max-width:650px){
  .health-hub-shell{width:calc(100% - 36px);}
  .health-hub-hero{padding:34px 0 52px;}
  .health-hub-breadcrumb{margin-bottom:40px;padding:9px 16px;font-size:.78rem;}
  .health-hub-hero__content h1{font-size:clamp(2.55rem,12vw,3.55rem);line-height:.98;}
  .health-hub-hero__content > p:last-child{margin-top:23px;font-size:.97rem;line-height:1.68;}

  .health-section-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:26px;}
  .health-section-heading__line{width:100%;flex:none;margin:0;}

  .health-featured{padding:4px 0 62px;}
  .health-featured-card{border-radius:20px;}
  .health-featured-card__visual{height:285px;}
  .health-featured-card__badge{top:16px;left:16px;}
  .health-featured-card__content{padding:28px 25px 31px;}
  .health-featured-card h3{font-size:2rem;}
  .health-featured-card__excerpt{font-size:.94rem;line-height:1.68;}

  .health-library{padding:62px 0 72px;}
  .health-library-head{gap:28px;margin-bottom:32px;}
  .health-filter-bar{
    width:100%;
    max-width:100%;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:8px;
    overflow:visible;
    padding:0;
  }

  .health-filter-bar button{
    flex:0 1 auto;
    max-width:100%;
    padding:9px 13px;
    font-size:.78rem;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:anywhere;
    text-align:center;
  }
  .health-articles-grid{grid-template-columns:1fr;gap:18px;}
  .health-card__visual{height:230px;}

  .health-pharmacy-cta{padding:62px 0 72px;}
  .health-pharmacy-cta__inner{
    display:block;
    padding:32px 27px;
    border-radius:22px;
  }
  .health-pharmacy-cta__icon{width:58px;height:58px;margin-bottom:25px;}
  .health-pharmacy-cta__link{margin-top:27px;}
}


/* ==========================================================
   V2 — HERO PLUS COMPACT
   Échelle typographique harmonisée avec la page article V5
   ========================================================== */

.health-hub-hero{
  padding:58px 0 54px;
}

.health-hub-breadcrumb{
  margin-bottom:48px;
}

.health-hub-hero__content{
  max-width:1000px;
  margin:0 auto;
  text-align:center;
}

.health-hub-hero__content h1{
  max-width:980px;
  margin:0 auto;
  font-size:clamp(2.7rem,5.2vw,5rem);
  font-weight:800;
  line-height:.99;
  letter-spacing:-.045em;
}

.health-hub-hero__content > p:last-child{
  max-width:760px;
  margin:28px auto 0;
  font-size:1.05rem;
  line-height:1.75;
}

.health-featured{
  padding:18px 0 82px;
}

@media(max-width:900px){
  .health-hub-hero__content{
    text-align:left;
  }

  .health-hub-hero__content h1,
  .health-hub-hero__content > p:last-child{
    margin-left:0;
    margin-right:0;
  }
}

@media(max-width:700px){
  .health-hub-hero{
    padding:36px 0 38px;
  }

  .health-hub-breadcrumb{
    margin-bottom:42px;
  }

  .health-hub-hero__content h1{
    font-size:clamp(2.35rem,11vw,3.25rem);
    line-height:1.01;
  }

  .health-hub-hero__content > p:last-child{
    margin-top:22px;
    font-size:.98rem;
    line-height:1.68;
  }

  .health-featured{
    padding-top:12px;
  }
}


/* Correction liens des cartes Conseils santé — pas de soulignement hérité */
.health-featured-card,
.health-card,
.health-featured-card:hover,
.health-card:hover,
.health-featured-card:focus,
.health-card:focus,
.health-featured-card:visited,
.health-card:visited{
  text-decoration:none;
}

.health-featured-card h3,
.health-featured-card__excerpt,
.health-featured-card .health-card-category,
.health-featured-card .health-card-link,
.health-card h3,
.health-card__excerpt,
.health-card .health-card-category,
.health-card .health-card-link{
  text-decoration:none;
}
