/* ------------------------------------------------------------------
   Modules de page intervention — demandés par le Dr Hayot
   Chargé après styles.css / premium.css / nav.css.
   Charte : Tenor Sans / Raleway / mauve #AF9CAD (docteur-bernard-hayot.com).

   PARTI PRIS RÉDACTIONNEL — aucune valeur chiffrée.
   Le site du Dr Hayot n'en donne aucune : « le type d'anesthésie est
   déterminé en fonction de la technique et de la situation du patient »,
   « la reprise est progressive, son calendrier varie ». Ces modules
   reprennent ce registre : ils structurent l'information sans engager
   de durée, de délai ni de promesse de résultat.
   ------------------------------------------------------------------ */

/* ---- 1. Fiche technique ---- */
.fiche-technique {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line, #e4dee3);
  border: 1px solid var(--line, #e4dee3);
  margin: clamp(28px, 4vw, 44px) 0;
}
.fiche-technique > div {
  background: #fff;
  padding: 22px 20px;
}
.fiche-technique dt {
  font-family: var(--body, "Raleway", Arial, sans-serif);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mauve-dark, #8e778a);
  margin: 0 0 10px;
}
.fiche-technique dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink, #1e1916);
}
@media (max-width: 900px) {
  .fiche-technique { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .fiche-technique { grid-template-columns: 1fr; }
}

/* ---- 2. Bloc anatomie ---- */
.anatomie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 34px);
  margin: clamp(28px, 4vw, 44px) 0;
}
.anatomie article {
  border-top: 1px solid var(--mauve, #af9cad);
  padding-top: 18px;
}
.anatomie h3 {
  font-family: var(--display, "Tenor Sans", system-ui, sans-serif);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 10px;
}
.anatomie p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .anatomie { grid-template-columns: 1fr; }
}

/* ---- 3. Tableau comparatif ---- */
.tableau-comparatif {
  width: 100%;
  border-collapse: collapse;
  margin: clamp(28px, 4vw, 44px) 0;
  font-size: 14.5px;
}
.tableau-comparatif caption {
  text-align: left;
  font-family: var(--body, "Raleway", Arial, sans-serif);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mauve-dark, #8e778a);
  padding-bottom: 14px;
}
.tableau-comparatif th,
.tableau-comparatif td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line, #e4dee3);
  vertical-align: top;
  line-height: 1.55;
}
.tableau-comparatif thead th {
  font-family: var(--display, "Tenor Sans", system-ui, sans-serif);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink, #1e1916);
}
.tableau-comparatif tbody th {
  font-weight: 600;
  color: var(--mauve-dark, #8e778a);
  width: 26%;
  font-size: 13px;
}
/* Note explicative hors du tableau : elle reste lisible sur mobile
   sans avoir à faire défiler la zone tabulaire. */
.t-note-out {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted, #6e6469);
  max-width: 62ch;
}
/* Le tableau défile seul plutôt que de faire déborder la page.
   min-width:0 sur le conteneur : sans lui, un enfant d'une grille CSS
   refuse de rétrécir sous sa largeur intrinsèque et pousse la page. */
.article-content { min-width: 0; }
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 620px) {
  .tableau-comparatif { min-width: 480px; }
}

/* ---- 4. Frise des suites ---- */
.frise {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}
.frise li {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line, #e4dee3);
}
.frise li::before {
  content: "";
  position: absolute;
  top: -4.5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mauve, #af9cad);
}
.frise h3 {
  font-family: var(--display, "Tenor Sans", system-ui, sans-serif);
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.45;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 10px;
  min-height: 2.9em;   /* aligne les intitulés sur 1 ou 2 lignes */
}
.frise p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink, #1e1916);
}
@media (max-width: 1150px) {
  .frise { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .frise h3 { min-height: 0; }
}
@media (max-width: 480px) {
  .frise { grid-template-columns: 1fr; }
}

/* ---- 5. Bandeau d'appel collant ----
   NON IMPLÉMENTÉ ICI : la page dispose déjà de `.mobile-actions`
   (styles.css:1113), avec icônes et lien Doctolib. Un second bandeau
   aurait fait doublon. Rien à ajouter. */

/* Section « intitulé + filet », alignée sur les section-heading existantes. */
/* Respiration franche au-dessus de chaque module, et filet de séparation :
   sans cela le titre se colle au bloc précédent. */
.module-title {
  font-family: var(--display, "Tenor Sans", system-ui, sans-serif);
  font-size: clamp(19px, 2.2vw, 24px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  margin: clamp(54px, 6.5vw, 86px) 0 18px;
  padding-top: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid var(--line, #e4dee3);
}
/* Dans la section « Suites & risques » (fond teinté), pas de filet : le bloc
   a déjà son propre fond, un trait ferait doublon. */
.risk-section .module-title { border-top: 0; padding-top: 0; margin-top: clamp(34px, 4vw, 52px); }
