/* ==========================================================================
   Saade -- Apercus prives
   Feuille de style autonome, chargee uniquement sur les pages d'apercu.
   Reprend la charte du site : blanc, noir profond, sable, Helvetica Neue.
   ========================================================================== */

.sa {
  --ink: #0f0f10;
  --ink-soft: #55565a;
  --mute: #8a8b8f;
  --line: #e6e4e2;
  --sand: #e2dbd5;
  --sand-soft: #f4f1ee;
  --bg: #ffffff;
  --ff: "Helvetica Neue", Helvetica, Arial, Lucida, sans-serif;
  --gut: 64px;
  --max: 1296px;

  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.sa *, .sa *::before, .sa *::after { box-sizing: border-box; }
.sa img { max-width: 100%; height: auto; display: block; }

.sa-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sa-narrow { max-width: 760px; }

/* --- Bandeau d'apercu ---------------------------------------------------- */
.sa-flag {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px; font-weight: 300; letter-spacing: .04em;
  color: #55565a; background: #f4f1ee;
  border-bottom: 1px solid #e2dbd5;
  padding: 10px 64px; text-align: center;
}
.sa-flag span { font-weight: 600; color: #0f0f10; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }

/* --- Rythme vertical ----------------------------------------------------- */
.sa-section { padding: 104px 0; }
.sa-section--tight { padding: 72px 0; }
.sa-section + .sa-section { border-top: 1px solid var(--line); }

/* --- Typographie --------------------------------------------------------- */
.sa-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mute); margin: 0 0 22px;
}
.sa h1.sa-title {
  font-size: clamp(40px, 6.2vw, 92px); font-weight: 600; line-height: 1.02;
  letter-spacing: -.025em; color: var(--ink); margin: 0;
}
.sa h2.sa-h2 {
  font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; line-height: 1.1;
  letter-spacing: -.02em; color: var(--ink); margin: 0 0 28px;
}
.sa .sa-lede {
  font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; line-height: 1.65;
  color: var(--ink-soft); margin: 30px 0 0; max-width: 62ch;
}
.sa .sa-body { font-size: 17px; font-weight: 300; line-height: 1.78; color: var(--ink-soft); }
.sa .sa-body p { margin: 0 0 24px; }
.sa .sa-body h3 {
  font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--ink);
  letter-spacing: -.01em; margin: 44px 0 16px;
}
.sa .sa-body ul { margin: 0 0 24px; padding-left: 20px; }
.sa .sa-body li { margin: 0 0 10px; }
.sa .sa-body strong { font-weight: 600; color: var(--ink); }

/* --- En-tete de page ----------------------------------------------------- */
.sa-head { padding: 88px 0 8px; }
.sa-head .sa-rule { height: 1px; background: var(--line); margin-top: 72px; }

/* --- Filtres de categories ---------------------------------------------- */
.sa-filters { display: flex; flex-wrap: wrap; gap: 34px; align-items: baseline; margin: 0 0 56px; }
.sa-filter {
  font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mute); text-decoration: none; padding: 0 0 8px;
  border: 0; border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
  cursor: pointer; background: none; font-family: var(--ff);
}
.sa-filter:hover { color: var(--ink); }
.sa-filter.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.sa-count { font-size: 11px; color: var(--mute); letter-spacing: 0; margin-left: 6px; }

/* --- Grille d'actualites ------------------------------------------------- */
.sa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.sa-card { display: block; text-decoration: none; color: inherit; }
.sa-card__media { position: relative; overflow: hidden; background: var(--sand-soft); aspect-ratio: 4 / 3; }
.sa-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%); transition: transform .7s cubic-bezier(.2,.7,.3,1), opacity .4s ease;
}
.sa-card:hover .sa-card__media img { transform: scale(1.045); }
.sa-card__cat {
  font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute); margin: 22px 0 10px; display: block;
}
.sa-card__title {
  font-size: 21px; font-weight: 600; line-height: 1.32; letter-spacing: -.01em;
  color: var(--ink); margin: 0 0 12px;
}
.sa-card:hover .sa-card__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.sa-card__date { font-size: 12px; font-weight: 300; letter-spacing: .06em; color: var(--mute); }
.sa-card__excerpt { font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--ink-soft); margin: 12px 0 0; }

/* --- Article d'actualite ------------------------------------------------- */
.sa-crumb { font-size: 12px; font-weight: 300; letter-spacing: .06em; color: var(--mute); margin: 0 0 40px; }
.sa-crumb a { color: var(--mute); text-decoration: none; border-bottom: 1px solid var(--line); }
.sa-crumb a:hover { color: var(--ink); }
.sa-figure { margin: 56px 0; }
.sa-figure img { width: 100%; filter: grayscale(100%); }
.sa-figure figcaption { font-size: 12px; font-weight: 300; color: var(--mute); margin-top: 14px; }
.sa-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; margin: 26px 0 0;
  font-size: 12px; letter-spacing: .06em; color: var(--mute); font-weight: 300; }

/* --- Avis patients ------------------------------------------------------- */
.sa-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sa-quote { border-top: 2px solid var(--sand); padding-top: 34px; }
.sa-quote blockquote {
  margin: 0 0 28px; font-size: 19px; font-weight: 300; line-height: 1.62; color: var(--ink);
  letter-spacing: -.005em;
}
.sa-quote blockquote::before { content: "\201C"; display: block; font-size: 44px; line-height: .6; color: var(--sand); margin-bottom: 16px; }
.sa-quote__who { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.sa-quote__when { font-size: 12px; font-weight: 300; color: var(--mute); margin-top: 5px; }
.sa-note {
  font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--mute);
  border-left: 2px solid var(--sand); padding-left: 20px; margin: 64px 0 0; max-width: 70ch;
}

/* --- Notre equipe -------------------------------------------------------- */
.sa-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 40px; }
.sa-member__mono {
  width: 72px; height: 72px; background: var(--sand-soft); border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; letter-spacing: .06em; color: var(--ink); margin-bottom: 24px;
}
.sa-member__name { font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; }
.sa-member__role {
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute); margin: 0 0 16px;
}
.sa-member__bio { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--ink-soft); margin: 0; }

/* --- Bloc large avec image ---------------------------------------------- */
.sa-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sa-split img { filter: grayscale(100%); width: 100%; }

/* --- Sommaire de l'apercu ------------------------------------------------ */
.sa-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.sa-index a {
  display: block; text-decoration: none; color: inherit;
  border-top: 2px solid var(--ink); padding-top: 26px; transition: border-color .3s ease;
}
.sa-index a:hover { border-top-color: var(--sand); }
.sa-index__num { font-size: 11px; letter-spacing: .2em; color: var(--mute); display: block; margin-bottom: 14px; }
.sa-index__t { font-size: 24px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 10px; }
.sa-index__d { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .sa { --gut: 40px; }
  .sa-grid, .sa-quotes, .sa-team, .sa-index { grid-template-columns: repeat(2, 1fr); }
  .sa-split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .sa { --gut: 24px; }
  .sa-section { padding: 64px 0; }
  .sa-head { padding: 56px 0 4px; }
  .sa-head .sa-rule { margin-top: 48px; }
  .sa-grid, .sa-quotes, .sa-team, .sa-index { grid-template-columns: 1fr; gap: 48px; }
  .sa-flag { padding: 10px 24px; font-size: 11px; }
  .sa-filters { gap: 22px; margin-bottom: 40px; }
  .sa-meta { gap: 8px 20px; }
  .sa-quote blockquote { font-size: 18px; }
}

/* --- Neutralisation du gabarit du theme sur les pages d'apercu ------------ */
body.sa-apercu #main-content .container { width: 100%; max-width: none; padding: 0; }
body.sa-apercu #main-content .container::before { display: none; }
body.sa-apercu #left-area { width: 100%; float: none; padding: 0; }
body.sa-apercu #sidebar, body.sa-apercu .et_pb_widget_area,
body.sa-apercu .fbc-page, body.sa-apercu .flexy-breadcrumb,
body.sa-apercu .entry-title, body.sa-apercu .post-meta { display: none; }
body.sa-apercu article.page { padding: 0; }
body.sa-apercu .entry-content { padding-top: 0; }

/* --- Neutralisation des styles par defaut du theme ------------------------ */
.sa blockquote { border: 0 !important; padding: 0 !important; margin: 0 0 28px !important; font-style: normal; }
.sa h1, .sa h2, .sa h3, .sa h4 { padding: 0; }
.sa p:last-child { padding-bottom: 0; }
.sa .sa-body ul { list-style: disc; }
.sa .sa-body ul li { list-style: disc; }
.sa a { transition: color .2s ease; }
