/* MHC Medical Health and Care — Refonte visuelle */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../assets/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("../assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../assets/fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../assets/fonts/figtree-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../assets/fonts/figtree-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../assets/fonts/figtree-latin-700-normal.woff2") format("woff2");
}

:root {
  --encre: #12303f;
  --bleu: #0b4f8a;
  --turquoise: #18b6ae;
  --turquoise-clair: #d9f0ee;
  --framboise: #e0356e;
  --fond: #f2f7f6;
  --r: 28px;

  /* Alias legacy (pages non refondues) */
  --blue: var(--bleu);
  --blue-dark: #083d6b;
  --teal: var(--turquoise);
  --teal-light: var(--turquoise-clair);

  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #dde4ec;
  --gray-600: #5c6b7a;
  --gray-800: #2d3744;
  --text: var(--encre);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font: "Figtree", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(11, 79, 138, 0.08);
  --shadow-lg: 0 16px 48px rgba(18, 48, 63, 0.12);
  --max: 1320px;
}

.accent-strong {
  color: var(--framboise);
  font-weight: 700;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
}

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ── Top bar ── */
.top-bar {
  background: var(--encre);
  color: var(--white);
  font-size: 15px;
  padding: 10px 0;
}
.top-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  text-align: center;
}
.top-bar a { color: var(--white); text-decoration: none; font-weight: 600; }
.top-bar a:hover { color: var(--turquoise-clair); }
.top-bar__phone {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.top-bar__sep { opacity: 0.4; }

/* ── Header ── */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img { height: 52px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  min-width: 44px;
}

.nav { display: flex; gap: 4px; flex-wrap: nowrap; align-items: center; }
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav a:hover {
  background: var(--turquoise-clair);
  color: var(--bleu);
}
.nav a[aria-current="page"] {
  color: var(--bleu);
  box-shadow: inset 0 -3px 0 var(--turquoise);
}

/* Nav groups (submenus) */
.nav-group { position: relative; }
.nav-group__toggle {
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-group__toggle::after {
  content: "▾";
  font-size: 11px;
  opacity: 0.6;
}
.nav-group__menu {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 12px;
  display: none;
}
.nav-group.is-open .nav-group__menu { display: block; }
.nav-group__menu a {
  display: block;
  padding: 8px 14px;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  min-height: 40px;
}
.nav-group__menu a:hover {
  background: var(--turquoise-clair);
  color: var(--bleu);
}
.nav-group__menu a[aria-current="page"] {
  color: var(--bleu);
  box-shadow: inset 3px 0 0 var(--turquoise);
}

@media (min-width: 901px) and (max-width: 1350px) {
  .header__inner { padding: 10px 16px; gap: 10px; }
  .logo img { height: 44px; }
  .nav { gap: 2px; }
  .nav a,
  .nav-group__toggle {
    font-size: 16.5px;
    padding: 8px 9px;
  }
  .top-bar__inner { font-size: 14px; gap: 8px 14px; }
  .top-bar__phone { font-size: 22px; }
}

@media (min-width: 901px) {
  .nav-group { position: relative; }
  .nav-group__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    min-width: 240px;
    z-index: 200;
  }
  .nav-group:hover .nav-group__menu,
  .nav-group.is-open .nav-group__menu { display: block; }
  .nav-group__menu { padding-left: 8px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav > a, .nav-group { width: 100%; }
  .nav-group__toggle { width: 100%; justify-content: space-between; }
}

/* Breadcrumbs */
.breadcrumbs { padding: 12px 0 0; }
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
  color: var(--gray-600);
}
.breadcrumbs li::after { content: "›"; margin-left: 8px; opacity: 0.5; }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs li:last-child { color: var(--text); font-weight: 600; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 40px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-top: 48px;
}
.cta-band p { font-size: 19px; margin: 0 0 20px; }

/* Guide cards */
.guide-list { display: grid; gap: 20px; margin: 32px 0; }
.guide-list--equip {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.guide-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.guide-item:hover { box-shadow: var(--shadow); border-color: var(--teal); color: inherit; }
.guide-item__icon { font-size: 32px; flex-shrink: 0; }
.guide-item__title { font-size: 20px; font-weight: 700; color: var(--blue); margin: 0 0 6px; }
.category-photo {
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.category-photo img { width: 100%; height: auto; display: block; }

.guide-item__img {
  width: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  align-self: center;
}
.guide-item__img img { width: 100%; height: 100px; object-fit: cover; display: block; }

.guide-list--equip .guide-item {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.guide-list--equip .guide-item__img {
  width: 100%;
  align-self: stretch;
  border-radius: 0;
}
.guide-list--equip .guide-item__img img { height: 200px; }
.guide-list--equip .guide-item > div:last-child { padding: 20px 24px 24px; }

@media (max-width: 600px) {
  .guide-item { flex-direction: column; }
  .guide-item__img { width: 100%; }
  .guide-item__img img { height: 160px; }
  .guide-list--equip .guide-item__img img { height: 180px; }
}

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  text-align: center;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--teal-light);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--blue);
}
.team-card__name { font-weight: 700; color: var(--blue); margin: 0 0 4px; }
.team-card__role { font-size: 15px; color: var(--gray-600); margin: 0; }

/* 404 */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 72px; color: var(--blue); margin: 0; }
.error-page p { font-size: 20px; color: var(--gray-600); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--bleu); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--bleu); border-color: var(--bleu); }
.btn--secondary:hover { background: var(--turquoise-clair); color: var(--bleu); }
.btn--teal { background: var(--turquoise); color: var(--white); }
.btn--teal:hover { background: #14a39c; color: var(--white); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--gray-100); color: var(--blue); }

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--gray { background: var(--gray-50); }
.section--blue { background: var(--blue); color: var(--white); }
.section--teal { background: var(--teal-light); }

.section__title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 12px;
  line-height: 1.25;
}
.section--blue .section__title,
.section--blue h2 { color: var(--white); }
.section__subtitle {
  font-size: 18px;
  color: var(--gray-600);
  margin: 0 0 40px;
  max-width: 640px;
}
.section--blue .section__subtitle { color: rgba(255,255,255,0.85); }

/* ── Hero ── */
.hero {
  background: var(--fond);
  color: var(--encre);
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 40px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--encre);
  letter-spacing: -0.02em;
}
.hero__text {
  font-size: 19px;
  color: var(--gray-600);
  margin: 0 0 16px;
  line-height: 1.65;
  max-width: 34ch;
}
.hero__claim {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--encre);
  margin: 0 0 32px;
  padding-bottom: 10px;
  border-bottom: 5px solid var(--framboise);
  display: inline-block;
  line-height: 1.2;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual {
  position: relative;
}
.hero__photo {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(18, 48, 63, 0.08);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__medallion {
  position: absolute;
  left: -28px;
  bottom: 48px;
  width: 38%;
  max-width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 8px 32px rgba(18, 48, 63, 0.18);
  z-index: 2;
}
.hero__medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__caption {
  font-size: 13px;
  color: var(--gray-600);
  margin: 14px 0 0;
  line-height: 1.45;
  max-width: 90%;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.store-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.store-photo img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__text { max-width: none; }
  .hero__medallion {
    left: 16px;
    bottom: 32px;
    width: 120px;
  }
  .hero__caption { max-width: none; }
}

/* ── Cards grid ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.cards--doors .card {
  padding: 0;
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--turquoise);
  transform: translateY(-2px);
  color: inherit;
}
.card__photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
}
.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.card:hover .card__photo img { transform: scale(1.03); }
.card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__icon {
  width: 56px;
  height: 56px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--bleu);
  margin: 0 0 8px;
  line-height: 1.2;
}
.card__text { font-size: 17px; color: var(--gray-600); margin: 0 0 16px; flex: 1; }
.card__link { font-weight: 600; color: var(--turquoise); font-size: 16px; }

@media (max-width: 768px) {
  .cards { grid-template-columns: 1fr; }
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}
@media (min-width: 769px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    background: var(--turquoise);
    z-index: 0;
    border-radius: 2px;
  }
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--bleu);
  border: 3px solid var(--turquoise);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 4px var(--fond);
}
.section--gray .step::before {
  box-shadow: 0 0 0 4px var(--gray-50);
}
.step__title { font-size: 19px; font-weight: 700; color: var(--bleu); margin: 0 0 8px; }
.step__text { font-size: 16px; color: var(--gray-600); margin: 0; }
.steps-highlight {
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--bleu);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

/* ── Equipment mosaic ── */
.equip-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
}
.equip-mosaic__card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.equip-mosaic__card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--turquoise);
  transform: translateY(-2px);
  color: inherit;
}
.equip-mosaic__img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.equip-mosaic__card--featured .equip-mosaic__img {
  aspect-ratio: auto;
  min-height: 320px;
  flex: 1;
}
.equip-mosaic__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.equip-mosaic__body {
  padding: 20px 22px 24px;
}
.equip-mosaic__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--bleu);
  margin: 0 0 6px;
}
.equip-mosaic__card--featured .equip-mosaic__title { font-size: 24px; }
.equip-mosaic__text {
  font-size: 16px;
  color: var(--gray-600);
  margin: 0 0 14px;
}
.equip-mosaic__link {
  font-weight: 600;
  color: var(--turquoise);
  font-size: 16px;
}
.equip-mosaic__card--featured {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.equip-mosaic__card:nth-child(2) { grid-column: 3; grid-row: 1; }
.equip-mosaic__card:nth-child(3) { grid-column: 3; grid-row: 2; }
.equip-mosaic__card:nth-child(4) { grid-column: 1; grid-row: 3; }
.equip-mosaic__card:nth-child(5) { grid-column: 2 / 4; grid-row: 3; }

@media (max-width: 900px) {
  .equip-mosaic {
    grid-template-columns: 1fr;
  }
  .equip-mosaic__card--featured,
  .equip-mosaic__card:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }
  .equip-mosaic__card--featured .equip-mosaic__img {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }
}

/* Legacy equip grid (pages intérieures) */
.equip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.equip-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.equip-card__icon { font-size: 36px; margin-bottom: 12px; }
.equip-card__title { font-size: 17px; font-weight: 700; color: var(--blue); margin: 0 0 8px; }
.equip-card__text { font-size: 15px; color: var(--gray-600); margin: 0 0 16px; }

/* ── Reassurance ── */
.reassure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reassure__item { text-align: center; }
.reassure__icon {
  width: 64px;
  height: 64px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}
.reassure__title { font-size: 16px; font-weight: 700; color: var(--blue); margin: 0 0 4px; }
.reassure__text { font-size: 14px; color: var(--gray-600); margin: 0; }

@media (max-width: 768px) {
  .reassure { grid-template-columns: 1fr 1fr; }
}

/* ── Pro banner ── */
.section--flush {
  padding-top: 0;
  padding-bottom: 0;
}
.pro-banner {
  background: linear-gradient(120deg, var(--bleu) 0%, #0a3d6e 55%, var(--encre) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pro-banner--full {
  border-radius: 0;
  width: 100%;
  padding: 0;
}
.pro-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.pro-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 12px;
  color: var(--white);
}
.pro-banner p { margin: 0; opacity: 0.92; font-size: 19px; max-width: 560px; }
.pro-banner__img {
  flex: 0 0 min(300px, 100%);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.pro-banner__img img { width: 100%; height: auto; display: block; }
.pro-banner__content { flex: 1 1 320px; }

/* ── Parcours patient (étapes illustrées) ── */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}
.journey-step h3 {
  font-size: 19px;
  color: var(--blue);
  margin: 12px 0 6px;
}
.journey-step p {
  font-size: 15px;
  color: var(--gray-600);
  margin: 0;
}
.journey-step .category-photo { margin-bottom: 0; }

/* ── Page parapharmacie ── */
.parapharma-section {
  margin: 40px 0;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.parapharma-section:first-of-type { border-top: none; padding-top: 0; }
.parapharma-section h2 { color: var(--blue); margin-top: 0; }

@media (max-width: 900px) {
  .journey-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .journey-steps { grid-template-columns: 1fr; }
  .pro-banner,
  .pro-banner__inner { flex-direction: column; align-items: flex-start; }
}

/* ── Store section ── */
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.store-info { font-size: 17px; }
.store-info h3 { color: var(--blue); margin: 24px 0 8px; font-size: 18px; }
.store-info h3:first-child { margin-top: 0; }
.store-info p { margin: 0 0 8px; }
.store-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); min-height: 320px; }
.store-map iframe { width: 100%; height: 320px; border: 0; }

@media (max-width: 768px) {
  .store-grid { grid-template-columns: 1fr; }
}

/* ── Page content ── */
.page-hero {
  background: var(--fond);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero--photo {
  position: relative;
  padding: 0;
  min-height: clamp(220px, 32vw, 360px);
  display: flex;
  align-items: flex-end;
  border-bottom: none;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 48, 63, 0.15) 0%, rgba(18, 48, 63, 0.82) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 48px 20px 40px;
  color: var(--white);
}
.page-hero__content .breadcrumbs a,
.page-hero__content .breadcrumbs li { color: rgba(255, 255, 255, 0.85); }
.page-hero__content .breadcrumbs li:last-child { color: var(--white); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--bleu);
  margin: 0 0 8px;
}
.page-hero--photo h1 { color: var(--white); }
.page-hero p {
  font-size: 19px;
  color: var(--gray-600);
  margin: 0;
  max-width: 640px;
}
.page-hero--photo p { color: rgba(255, 255, 255, 0.92); }

.content { padding: 48px 0 64px; }
.content h2 {
  font-size: 24px;
  color: var(--blue);
  margin: 40px 0 12px;
}
.content h2:first-child { margin-top: 0; }
.content p, .content li { font-size: 19px; }
.content ul, .content ol { padding-left: 24px; }
.content .note {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 16px;
}

/* ── Contact form ── */
.form { max-width: 560px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 16px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 19px;
  font-family: var(--font);
  min-height: 48px;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,181,173,0.2);
}
.form-hint { font-size: 14px; color: var(--gray-600); margin-top: 6px; }

/* ── Formulaire prescripteurs ── */
.prescriber-form {
  margin-top: 48px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.prescriber-form h2 {
  font-family: var(--font-display);
  color: var(--bleu);
  margin: 0 0 8px;
}
.prescriber-form__intro {
  color: var(--gray-600);
  margin: 0 0 24px;
  max-width: 640px;
}
.prescriber-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.prescriber-form__grid .form-group--full {
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  .prescriber-form { padding: 24px 20px; }
  .prescriber-form__grid { grid-template-columns: 1fr; }
}

/* ── Footer ── */
.footer {
  background: var(--encre);
  color: rgba(255, 255, 255, 0.88);
  padding: 56px 0 28px;
  font-size: 16px;
}
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--turquoise-clair); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer__title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
}
.footer__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-top: 8px;
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 8px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 16px;
  z-index: 1000;
  display: none;
}
body.cookie-banner-open { padding-bottom: 100px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-banner p { margin: 0; font-size: 14px; flex: 1; min-width: 200px; line-height: 1.45; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; min-height: 44px; }

@media (max-width: 600px) {
  body.cookie-banner-open { padding-bottom: 130px; }
  .cookie-banner { padding: 12px 14px; }
  .cookie-banner p { font-size: 13px; min-width: 0; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner .btn { flex: 1; padding: 10px 12px; font-size: 14px; }
}

/* ── Assistant IA (chat) ── */
.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
}
body.cookie-banner-open .chat-widget {
  bottom: 110px;
}
.chat-widget[hidden] {
  display: none;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--turquoise), var(--bleu));
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-toggle:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 36px rgba(11, 79, 138, 0.28);
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 140px));
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel[hidden] {
  display: none;
}
.chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--encre);
  color: var(--white);
}
.chat-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.chat-panel__subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: 0.85;
}
.chat-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--fond);
}
.chat-msg {
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
}
.chat-msg p { margin: 0; }
.chat-msg__note {
  margin-top: 8px !important;
  font-size: 13px;
  opacity: 0.85;
}
.chat-msg--bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 6px;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--turquoise-clair);
  border: 1px solid rgba(24, 182, 174, 0.25);
  border-bottom-right-radius: 6px;
}
.chat-consent {
  padding: 20px 16px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}
.chat-consent a { color: var(--bleu); }
.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.chat-form input {
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
  min-height: 44px;
}
.chat-form input:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(24, 182, 174, 0.15);
}
.chat-form button {
  border: none;
  border-radius: 999px;
  background: var(--turquoise);
  color: var(--white);
  font-weight: 600;
  padding: 0 18px;
  min-height: 44px;
  cursor: pointer;
}
.chat-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.chat-widget.is-busy .chat-form button::after {
  content: "…";
}
.chat-widget.is-locked .chat-form {
  display: none;
}

@media (max-width: 600px) {
  .chat-widget {
    right: 14px;
    bottom: 14px;
  }
  body.cookie-banner-open .chat-widget {
    bottom: 124px;
  }
  .chat-panel {
    width: calc(100vw - 28px);
    max-height: min(460px, calc(100vh - 160px));
  }
}

/* ── Mobile 390px polish ── */
@media (max-width: 390px) {
  body { font-size: 18px; }
  .top-bar__inner { font-size: 13px; gap: 6px 10px; }
  .top-bar__phone { font-size: 20px; }
  .header__inner { padding: 10px 14px; }
  .logo img { height: 40px; }
  .hero__title { font-size: 28px; }
  .hero__claim { font-size: 26px; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 48px 0; }
  .section__title { font-size: 26px; }
  .card__title { font-size: 20px; }
  .page-hero__content { padding: 40px 16px 32px; }
  .page-hero--photo h1 { font-size: 26px; }
  .btn { font-size: 17px; padding: 12px 22px; }
  .cookie-banner__inner { padding: 0 2px; }
  .footer { padding: 40px 0 24px; }
  .footer__phone { font-size: 20px; }
}
