/* ==========================================================================
   Vitruviana : echographie.css (page /le-cabinet/echographie/)
   ========================================================================== */

/* Hero plein cadre */
.hero--echographie { min-height: 75vh; }
.hero--echographie .hero-title { margin-bottom: 0; }

/* Introduction + réel */
.echo-intro__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.echo-intro__text p {
  color: var(--color-text-secondary);
  font-weight: 300;
  line-height: 1.8;
  margin: 0;
}
.echo-video {
  max-width: 360px;
  margin: 3rem auto 0;
}
.echo-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
}

/* Deux usages côte à côte */
/* overflow : l'animation reveal-left/right décale les blocs de 60px avant leur apparition */
.echo-uses { overflow-x: clip; }
.echo-uses__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-grid-lg) 4rem;
  align-items: start;
}
/* Titre, texte puis image (affichée en entier, sans recadrage) : les titres restent alignés avec ou sans image */
.echo-use__figure {
  margin: 2rem 0 0;
  background: var(--color-bg-card);
}
.echo-use__image {
  display: block;
  width: 100%;
  height: auto;
}
.echo-use .gold-line { margin-bottom: 1.5rem; }
.echo-use p,
.echo-use li {
  color: var(--color-text-secondary);
  font-weight: 300;
  line-height: 1.8;
}
.echo-use p + p { margin-top: 1rem; }
.echo-use ul { margin: 1rem 0 0; padding-left: 1.25rem; }
.echo-use li + li { margin-top: 0.5rem; }
.echo-use li::marker { color: var(--color-gold); }

/* L'appareil : bande sobre */
.echo-device__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.echo-device__inner .gold-line { margin-bottom: 1.5rem; }
.echo-device__inner p {
  color: var(--color-text-secondary);
  font-weight: 300;
  line-height: 1.8;
  margin: 0;
}

/* Déroulement : 4 étapes */
.echo-steps__list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-grid-lg);
}
.echo-steps__item {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}
.echo-steps__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.echo-steps__item p {
  color: var(--color-text-secondary);
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

/* Limites (section role="note") */
.echo-note-wrap { padding-bottom: 0; }
.echo-note {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background: var(--color-bg-card);
  border-left: 2px solid var(--color-gold);
}
.echo-note__title {
  font-size: var(--text-h3);
  font-style: italic;
  margin: 0 0 1rem;
}
.echo-note p {
  color: var(--color-text-secondary);
  font-weight: 300;
  line-height: 1.8;
  margin: 0;
}

/* Tarif */
.echo-tarif__wrap { margin-top: 2rem; max-width: 860px; }
.echo-tarif__table {
  width: 100%;
  border-collapse: collapse;
}
.echo-tarif__table th,
.echo-tarif__table td {
  text-align: left;
  padding: 1.25rem 1rem 1.25rem 0;
  border-bottom: 1px solid var(--color-border-divider);
  vertical-align: top;
}
.echo-tarif__table thead th {
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  border-bottom-color: var(--color-border);
}
.echo-tarif__table tbody th {
  font-weight: 300;
  color: var(--color-text-primary);
  line-height: 1.6;
}
.echo-tarif__table td {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold);
  white-space: nowrap;
  padding-right: 0;
}

/* Traitements liés */
.echo-linked__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-grid);
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1023px) {
  /* Photo 21:9 recadrée en portrait : centrer sur la sonde (47 à 83 % de la largeur), embout et logo visibles */
  .hero--echographie .hero__background { background-position: 70% center; }
  .echo-steps__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hero--echographie { min-height: 60vh; }
  .echo-uses__grid { grid-template-columns: 1fr; gap: 4rem; }
  .echo-steps__list { grid-template-columns: 1fr; }
  .echo-note { padding: 1.5rem; }
  .echo-tarif__table thead { display: none; }
  .echo-tarif__table tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--color-border-divider); }
  .echo-tarif__table th,
  .echo-tarif__table td { display: block; border: 0; padding: 0; white-space: normal; }
  .echo-tarif__table td { margin-top: 0.5rem; }
  .echo-linked__grid { grid-template-columns: 1fr; }
}
