/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --accent:       #E60B65;
  --accent-light: #f099bd;
  --pink-bg:      #FDF3F1;
  --text:         #1a1210;
  --text-soft:    #5a4040;
  --white:        #ffffff;
  --cream:        #fdf8f5;
  --transition:   0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --font-menu:    'Inter', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  --font-ui:      'DM Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img {
  display: block;
  max-width: 100%;
}

/* ============================================================
   NAV CAROUSEL
   ============================================================ */
.nav-carousel {
  top: 0;
  z-index: 100;
  background: var(--white);
  overflow: hidden;
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-carousel__track-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.nav-carousel__track {
  display: flex;
  align-items: center;
  list-style: none;
  width: max-content;
  animation: navScroll 50s linear infinite;
  will-change: transform;
}

.nav-carousel__track:hover { animation-play-state: paused; }

.nav-carousel__item {
  display: inline-block;
  white-space: nowrap;
  padding: 0 32px 0 20px;
  font-family: var(--font-menu);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-soft);
  transition: color 0.25s ease;
  position: relative;
}

.nav-carousel__item::after {
  content: '○';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-light);
  font-size: 1.6rem;
  font-weight: bold;
}

.nav-carousel__item:hover { color: var(--accent); }

@keyframes navScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS — BASE
   ============================================================ */
.section {
  padding: 25px 6vw;
  overflow: visible;
  position: relative;
}

#sourire {
  z-index: 1;
}

.section--pink {
  background: var(--pink-bg);
}

.section__inner {
  max-width: 2100px;
  margin: 0 auto;
}

.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: stretch;
}

/* ============================================================
   SECTION SOURIRE
   ============================================================ */

.section__body {
display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%; 
  min-height: 0;
  overflow: hidden;
}

.sourire__header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
}

.section__title[data-stretch] {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 0.95;
  margin: 0;
}

.section__title [data-stretch-line] {
  display: table;
  white-space: nowrap;
  font-family: var(--font-menu);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  transform-origin: left center;
}

.tag-icon {
  height: clamp(4.7rem, 6.8vw, 8rem); 
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.tag-icon img {
  height: 100%; 
  width: auto;
  object-fit: contain;
}

.section__title {
  font-family: var(--font-menu);
  font-size: 37px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0;
}

.section__title em {
  color: var(--text-soft);
}

.section__title span {
  display: block;
}

.section__title--center { text-align: center; }

.section__text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.3rem, 1.5vw, 1.65rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-soft);
}

.section__text p + p { margin-top: 16px; }

.section__text mark {
  background: none;
  color: var(--accent);
  font-weight: 400;
}

.section__text--center { text-align: center; }

.section__media {
  display: flex;
  flex-direction: column;
  height: 100%;  
  min-height: 0;
}

.media-frame {
  position: relative;
  flex: 0 0 auto;
  border-radius: 4px 24px 4px 24px;
  box-shadow: 12px 12px 0 var(--pink-bg);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: auto;       
  object-fit: unset; 
  transition: transform var(--transition);
  border-radius: 10px;
}

@media (max-width: 900px) {
  .section__inner--split {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* section__body devient transparent au layout pour que ses enfants
     (store-card, sourire__header, section__text…) participent au flux
     du flex parent et puissent être réordonnés individuellement */
  #sourire .section__inner--split {
    gap: 0;
  }

  #sourire .section__body {
    display: contents;
  }

  /* Ordre des éléments dans la colonne unique de #sourire :
     1. sourire__header + section__text  → order 1 (texte en tête)
     2. media-frame                      → order 2
     3. store-card (banner)              → order 3, collé sous l'image
     4. accompagnement-card              → order 4
  */
  #sourire .sourire__header   { order: 1; margin-bottom: 20px; }
  #sourire .section__text     { order: 2; margin-bottom: 32px; }
  #sourire .section__media    { order: 3; display: contents; }
  #sourire .media-frame       { order: 3; }
  /* store-card__img et store-banner collés directement sous media-frame */
  #sourire .store-card__img   { order: 4; display: none; }
  #sourire .store-banner      { order: 4; margin-top: 0; border-radius: 0 0 8px 8px; }
  #sourire .accompagnement-card { order: 5; margin-top: 20px; }

  .media-frame {
    border-radius: 14px 14px 0 0;
    box-shadow: none;
  }

  .media-frame img {
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .section { padding: 5vw 5vw; }

  .nav-carousel__item { padding: 0 20px; }

  .section__title { font-size: 2rem; }
}

/* ============================================================
   SECTION ACCOMPAGNEMENT
   ============================================================ */
.accompagnement-card {
  margin-top: 25px; 
  background-color: #FDF3F1;
  padding: 25px 20px;
  border-radius: 10px;
}

.accompagnement-card__title {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 18px;
  text-align: center; 
}

.accompagnement-card__title span:first-child {
  display: block;
  font-family: var(--font-menu);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  font-size: clamp(1.4rem, 7.8vw, 2.5rem); 
  letter-spacing: -0.02em;
}

.accompagnement-card__title span:last-child {
  display: block;
  width: 100%;
  font-family: var(--font-menu);
  color: black;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.9;
  margin-top: 4px;
  white-space: nowrap;
  font-size: clamp(2.2rem, 12.5vw, 4.2rem); 
  letter-spacing: -0.03em;
}

.accompagnement-card__icon {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto 18px auto;
}

.accompagnement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.accompagnement-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.accompagnement-list__bullet {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.25em;
}

.accompagnement-list__label {
  display: block;
  font-family: var(--font-menu);
  font-size: clamp(1.3rem, 1.4vw, 1.55rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.accompagnement-list__desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.3rem, 1.4vw, 1.55rem);
  font-weight: 300;
  line-height: 1.5;
  color: black;
}

/* ============================================================
   STORE CARD
   ============================================================ */
.store-card {
  margin-top: 25px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  position: relative;
}

.store-card__img {
  margin-top: 25px;
  flex: 1;
  min-height: 0;
  background-image: url('assets/images/SalonMaryse1.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;

  image-rendering: high-quality;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
}

.store-banner {
  background-color: var(--accent);
  color: var(--white);
  overflow: hidden;
  padding: 16px 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 0 0 8px 8px;
}

.store-banner__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: storeBannerScroll 12s linear infinite;
  will-change: transform;
}

.store-banner__item {
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.store-banner__logo {
  height: 48px;
  width: auto;
  margin: 0 20px 0 35px;
  object-fit: contain;
}

.store-banner__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    padding: 0 15px;
}

.store-banner__text [data-stretch-line] {
    font-family: var(--font-menu);
    display: table;
    white-space: nowrap;
    transform-origin: center center;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem); 
    font-weight: 700;
    text-transform: uppercase;
}

.store-banner__text [data-stretch-line]:first-child {
    margin-bottom: 2px;
}

@keyframes storeBannerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .store-banner__logo {
    height: 38px;
    margin-right: 15px;
  }
  .store-banner__text {
    font-size: 0.85rem;
  }

  /* store-card__img masquée en mobile */
  .store-card__img {
    display: none;
  }

  /* store-banner sort du store-card et se place sous la media-frame */
  .store-card {
    margin-top: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    flex: none;
    min-height: unset;
    position: static;
  }

  /* On réordonne la section__media pour que store-banner passe sous l'image */
  .section__media {
    display: flex;
    flex-direction: column;
  }

  .media-frame {
    order: 1;
  }

  .store-card {
    order: 2;
  }

  .accompagnement-card {
    order: 3;
  }
}

/* ============================================================
   STRETCHED TITLE SYSTEM
   ============================================================ */
.stretched-title {
  display: flex;
  flex-direction: column;
  width: fit-content;
  font-family: var(--font-menu);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  overflow: visible;
}

.stretched-title--right {
  margin-left: auto;
  text-align: right;
}

.stretched-title--right [data-stretch-line] {
  transform-origin: right center;
}

[data-stretch-line] {
  display: block;
  white-space: nowrap;
  width: fit-content;
  transform-origin: left center;
}

.stretched-title__line1,
.stretched-title__line-sm {
  font-family: var(--font-menu);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.05;
}

.stretched-title__line2,
.stretched-title__line-lg {
  font-family: var(--font-menu);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.stretched-title__line-md {
  font-family: var(--font-menu);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
}

.stretched-title__line-md a {
  color: var(--accent);
  text-decoration: none;
}

.stretched-title__line-md a:hover {
  text-decoration: underline;
}

.stretched-title__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stretched-title__line1--accent {
  color: var(--accent);
}

/* ============================================================
   SECTION PROTHÈSES
   ============================================================ */
.protheses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.protheses-grid__item {
  border-radius: 12px;
  overflow: hidden;
  background: #e8e0dc;
  position: relative;
  height: 100%;
  width: 100%;
}

.protheses-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: transform 0.6s ease; */
}

.protheses-grid__item:hover img {
  transform: scale(1.05);
}

.protheses-grid__item--1 {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: 12px 4px 4px 12px;
}

.protheses-grid__item--1 img {
  transition: opacity 1s ease-in-out; /* override la règle générique */
}

.protheses-slideshow__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 300ms ease-in-out; /* uniquement opacity, pas transform */
  z-index: 0;
}

.protheses-slideshow__img.is-active {
  opacity: 1;
  z-index: 1;
}

.protheses-slideshow__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.protheses-grid__item--2 {
  grid-column: 2;
  grid-row: 1;
  border-radius: 4px;
}

.protheses-grid__item--3 {
  grid-column: 3;
  grid-row: 1;
  border-radius: 4px 12px 4px 4px;
}

.protheses-grid__item--4 {
  grid-column: 2;
  grid-row: 2;
  border-radius: 4px;
}

.protheses-grid__item--5 {
  grid-column: 3;
  grid-row: 2;
  border-radius: 4px 4px 12px 4px;
}

.protheses-list {
  list-style: disc;
  padding-left: 24px;
  margin-top: 12px;
}

.protheses-list li {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 1.5vw, 1.65rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-soft);
}

.protheses-list li mark {
  background: none;
  color: var(--accent);
  font-weight: 500;
}

.protheses-text p strong {
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   SECTION TARIFS & REMBOURSEMENTS
   ============================================================ */

.tarifs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.tarifs-header {
  margin-bottom: 20px;
}

.tarifs-title .stretched-title__line1--accent {
  font-weight: 700;
  font-size: clamp(2.2rem, 12.5vw, 4.2rem);;
}

.tarifs-title .stretched-title__line2 {
  font-weight: 700;
  font-size: clamp(1.1rem, 8vw, 3rem);
  color: var(--text);
  margin-top: 2px;
}

.tarifs-header__icon {
  width: 50px;
  height: auto;
  flex-shrink: 0;
}

.tarifs-text p {
  margin-bottom: 12px;
}

.tarifs-list {
  padding-left: 24px;
  margin-bottom: 12px;
}

.appel-composite {
  position: relative;
  width: 100%;
  height: 100%;
}

.appel-block {
  display: none;
}

.appel-star {
  font-family: var(--font-menu);
  position: absolute;
  top: -80px;
  right: -80px;
  z-index: 5;
  width: clamp(180px, 16vw, 260px);
  height: clamp(160px, 16vw, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 14px rgba(230, 11, 101, 0.35));
  will-change: filter;
}

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.appel-star__shape {
  animation: slowRotate 20s linear infinite;
  transform-origin: center center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.appel-star__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70%;
  text-align: center;
  line-height: 1.1;
}

.appel-star__text [data-stretch-line] {
  transform-origin: center center !important;
  display: block;
  white-space: nowrap;
}

.appel-star__text span {
  display: block;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.appel-star__text .appel-star__sm {
  font-size: clamp(0.7rem, 1.2vw, 1rem); 
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}

.appel-star__text .appel-star__lg {
  font-size: clamp(1rem, 1.6vw, 1.5rem); 
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-transform: uppercase;
}

.appel-star__text .appel-star__md a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 1.3vw, 1.1rem);
}

.appel-star__text .appel-star__md a:hover {
  text-decoration: underline;
}

.appel-text {
  display: flex;
  flex-direction: column;
  width: fit-content;
  font-family: var(--font-menu);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  overflow: visible;
}

.appel-text [data-stretch-line] {
  display: block;
  white-space: nowrap;
  width: fit-content;
  transform-origin: left center;
}

.appel-text__sm {
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  color: var(--text);
}

.appel-text__lg {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--text);
  font-weight: 700;
}

.appel-text__md {
  font-size: clamp(1.1rem, 2.6vw, 1.55rem);
  color: var(--text);
}

.appel-text__md a {
  color: var(--accent);
  text-decoration: none;
}

.appel-text__md a:hover {
  text-decoration: underline;
}

.appel-images__img1,
.appel-images__img2 {
  position: absolute;
  border-radius: 10px;
}

.appel-images__img1 {
  overflow: hidden;
  width: 55%;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.appel-images__img2 {
  width: 55%;
  right: 5%;
  top: 10%;
  bottom: -10%;
  z-index: 2;
  border: 10px solid var(--white);
  border-radius: 14px;
  overflow: visible;
}

.appel-images__img1 img,
.appel-images__img2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* ============================================================
   INLINE TITLE SYSTEM
   ============================================================ */
.inline-title {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  font-family: var(--font-menu);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  white-space: nowrap;
}

.inline-title__word {
  color: var(--text);
}

.inline-title__word--accent {
  color: var(--accent);
}

.protheses-title-inline {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.contacts-title-inline {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

@media (max-width: 900px) {
  .tarifs-row {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .appel-text {
    margin-left: auto;
    margin-right: auto;
  }

  .tarifs-col--center {
    order: -1;
  }

  /* Texte au-dessus, images en dessous */
  #protheses .section__body  { order: 1; }

  /* protheses-grid est en position:absolute — il faut que son parent
     ait une hauteur explicite entre 600 et 900px */
  #protheses .section__media {
    order: 2;
    position: relative;
    min-height: 420px;
  }
}

/* ============================================================
   SECTION CONTACTS
   ============================================================ */

.contacts-split {
  gap: 40px;
  align-items: stretch;
}

.contacts-map {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.map-embed {
  width: 100%;
  height: 100%;
}

.map-bubble {
  position: absolute;
  top: 20px;
  right: 20px;
  margin-left: 20px;
  left: auto;
  transform: none;
  background: var(--accent);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(230, 11, 101, 0.3);
}

.map-bubble__text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
}

.map-bubble__text strong {
  font-weight: 700;
}

.map-bubble__close {
  background: none;
  border: none;
  color: white;
  margin-bottom: -2px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 5px;
  font-weight: 300;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.map-bubble__close:hover {
  opacity: 1;
}

.map-address-banner {
position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px 10px 0px;
  z-index: 10;
  text-align: right;
  border-top-left-radius: 15px; 
  
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.map-address-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30px;
  bottom: 0;
  width: 300px;
  background: var(--accent);
  transform: skewX(-50deg); 
  transform-origin: top right;
  border-top-left-radius: 15px; 
  z-index: -1;
}

.map-address-banner__name {
  font-family: var(--font-menu);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
  transform-origin: right center;
  position: relative;
}

.map-address-banner__address {
  font-family: var(--font-body);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
  transform-origin: right center;
  position: relative;
}

.horaires-table {
  flex: 1;
  width: 100%;
  border-collapse: collapse;
}

.horaires-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.horaires-table tr:last-child {
  border-bottom: none;
}

.horaires-table td {
  padding: 14px 0;
  font-family: var(--font-menu);
  font-size: clamp(1.3rem, 1.4vw, 1.55rem);
  vertical-align: middle;
}

.horaires-table__day {
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  width: 45%;
}

.horaires-table__time {
  font-weight: 400;
  color: var(--accent);
  text-align: right;
}

.horaires-table__time--closed em {
  color: var(--accent);
}

@media (max-width: 900px) {
  .contacts-split {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .store-banner {
    margin-top: 0;
  }


  .map-wrapper {
    height: 300px;
  }

  .map-bubble {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

  .contacts-title {
    text-align: center;
  }

  .horaires-table {
    margin: 0 auto;
  }

  /* Masquer l'étoile d'appel en mobile */
  .appel-star {
    display: none;
  }

  /* contacts-info et contacts-map en pleine largeur, carte en dessous */
  .contacts-info,
  .contacts-map {
    width: 100%;
  }

  /* contacts-info en premier, carte en dessous */
  .contacts-info {
    order: 1;
  }

  .contacts-map {
    order: 2;
  }
}

@media (max-width: 600px) {
  .protheses-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    min-height: 350px;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
  }

  /* La section__media dans protheses doit contenir le grid */
  #protheses .section__media {
    position: relative;
    height: auto;
    min-height: 350px;
  }

  .protheses-grid__item--1 {
    display: none;
  }

  .protheses-grid__item--2 { grid-column: 1; grid-row: 2; border-radius: 4px; min-height: 350px;}
  .protheses-grid__item--3 { grid-column: 2; grid-row: 2; border-radius: 4px; min-height: 350px;}
  .protheses-grid__item--4 { grid-column: 1; grid-row: 3; border-radius: 4px 4px 4px 12px; min-height: 350px;}
  .protheses-grid__item--5 { grid-column: 2; grid-row: 3; border-radius: 4px 4px 12px 4px; min-height: 350px;}

  .map-bubble {
    white-space: normal;
    right: 10px;
    transform: none;
  }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal--delay {
  transition-delay: 0.2s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}














/* ============================================================
   COLLABORATEUR ROW — sous la grille prothèses
   ============================================================ */
.collaborateur-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
  align-items: stretch;
}

.collaborateur-row__logo-link {
  display: inline-block;
}

.collaborateur-row__logo {
  justify-content: center;
  height: 60px;
  width: 100%;
  object-fit: contain;
}

.collaborateur-row__video {
  position: relative;
}

.collaborateur-row__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

@media (max-width: 700px) {
  .collaborateur-row {
    grid-template-columns: 1fr;
  }

  .collaborateur-row__video {
    aspect-ratio: 16 / 9;
  }
}

/* ============================================================
   TABLEAU DES REMBOURSEMENTS
   ============================================================ */
.section--remboursements {
  padding-top: 40px; /* Colle visuellement à #tarifs */
}

.remboursements-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.remboursements-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 1.5vw, 1.65rem);
  background: var(--white);
}

.remboursements-table thead tr {
  background: var(--accent);
  color: var(--white);
  font-weight: bolder;
}

.remboursements-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 1.5vw, 1.65rem);
}

.remboursements-table td {
  padding: 0.875rem 1.25rem;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  vertical-align: middle;
  color: var(--text-soft);
}

.remboursements-table__class {
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent);
}

.remboursements-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.025);
}

.remboursements-table tbody tr:last-child td {
  border-bottom: none;
}

.remboursements-table tbody tr:hover {
  background: var(--pink-bg);
  transition: background 0.2s ease;
}

.remboursements-note {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #999;
  line-height: 1.6;
  font-style: italic;
}

@media (max-width: 640px) {
  .remboursements-table th,
  .remboursements-table td {
    padding: 0.65rem 0.75rem;
  }
}








.collaborateur-row__text {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 1.5vw, 1.65rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.collaborateur-row__text strong {
  color: var(--text);
  font-weight: 600;
}

/* Header logo + nom sur la même ligne */
.collaborateur-row__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}


.collaborateur-row__logo {
  height: 70px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.collaborateur-row__header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.collaborateur-row__label {
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 600;
  line-height: 1.1rem;

  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.collaborateur-row__name {
  font-family: var(--font-menu);
  font-size: clamp(1.3rem, 1.6vw, 1.65rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

/* Vidéo : même border-top que le texte pour cohérence */
.collaborateur-row__video {
  position: relative;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: #000;
}

.collaborateur-row__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}




