:root {
  --navy: #112f46;
  --slate: #214158;
  --blue: #a8cede;
  --paper: #fafafa;
  --white: #fff;
  --line: #d9e5eb;
  --ink: #112f46;
  --muted: #425a6b;
  font-family: Manrope, "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; top: .75rem; left: .75rem; z-index: 2; padding: .5rem 1rem; background: var(--white); }
.skip:not(:focus) { clip-path: inset(50%); }
.wrap { width: min(72rem, calc(100% - 4rem)); margin-inline: auto; }
.site-header, .hero, .dark { background: var(--navy); color: var(--white); }
.site-header { border-bottom: 1px solid rgba(168, 206, 222, .25); }
.top { display: flex; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; padding-block: .85rem; }
.brand { font-size: 1.6rem; font-weight: 750; letter-spacing: -.05em; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.brand-dot, .title-dot { color: var(--blue); }
.brand-dot, .title-dot { display: inline-block; width: .22em; height: .22em; margin-left: .09em; border-radius: 50%; background: currentColor; }
nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
nav a { color: var(--white); font-size: .93rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--blue); text-decoration: underline; }
.hero-content { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 3.6vw, 3.4rem); align-items: center; padding-block: clamp(1.85rem, 4vw, 3.75rem); }
.hero-copy { min-width: 0; container-type: inline-size; }
.hero-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
.hero-image--portrait { width: min(100%, 25rem); justify-self: center; aspect-ratio: 1 / 1; object-position: center 34%; }
.eyebrow { color: var(--slate); font-size: .88rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow, .dark .eyebrow { color: var(--blue); }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(1.65rem, 12.8cqi, 5.15rem); font-weight: 800; letter-spacing: -.066em; margin-block: .5rem .85rem; }
.title-intro { display: block; margin-bottom: .25em; font-size: .59em; letter-spacing: -.045em; }
.title-name { display: block; white-space: nowrap; }
h2 { font-size: clamp(1.95rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -.05em; margin-bottom: 1rem; }
h3 { font-size: 1.22rem; font-weight: 750; margin-bottom: .45rem; }
.hero-copy p:not(.eyebrow) { max-width: 28rem; color: #e7f1f5; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.button, .carousel-controls button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: 999px; background: var(--blue); color: var(--navy); font: inherit; font-weight: 800; text-decoration: none; }
.button { margin-top: 1rem; }
.button:hover, .carousel-controls button:hover:not(:disabled) { background: #d2e7f0; }
.practical { background: var(--slate); color: var(--white); }
.practical .three { padding-block: 1.1rem; }
.practical h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: .35rem; }
.practical a { color: var(--blue); }
address { font-style: normal; }
.section { padding-block: clamp(1.85rem, 4vw, 3.6rem); }
.section p { max-width: 65ch; }
.light { background: var(--paper); }
.three, .two, .topics { display: grid; gap: 1rem; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two, .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.two { margin-block: 1.2rem; }
.location, .intro-grid { display: grid; align-items: center; gap: clamp(1.15rem, 3vw, 2.35rem); }
.team { margin-top: 1rem; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: .9rem; background: var(--white); }
.team-portrait { display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; background: #e8f2f6; }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-details { padding: .9rem 1rem 1rem; }
.team-details p { color: var(--muted); }
.intro-grid img { width: 100%; border-radius: .9rem; }
.intro-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.intro-grid img { aspect-ratio: 16 / 10; object-fit: cover; }
#soins { padding-block: clamp(1.35rem, 3vw, 2.35rem); }
#soins h2 { margin-bottom: .75rem; }
.care { gap: .75rem; }
.care article { padding: .95rem 1rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: .75rem; }
.care article {
  background-image: linear-gradient(90deg, rgb(250 250 250 / 83%), rgb(250 250 250 / 65%)), var(--care-photo);
  background-size: cover;
  background-position: center;
}
.care-enfants { --care-photo: url("assets/soins-enfants.jpg"); }
.care-adultes { --care-photo: url("assets/soins-adultes.jpg"); }
.care-famille { --care-photo: url("assets/soins-famille.jpg"); }
.care h3 { margin: 0; }
.topics { max-width: 52rem; gap: 0 1.5rem; }
.topics ul { margin-block: .7rem 0; padding-left: 1.3em; }
.location { grid-template-columns: minmax(0, 3fr) minmax(12rem, 1fr); align-items: start; }
.location-copy { padding-block: .6rem; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; border-radius: .9rem; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
.carousel-track figure { position: relative; min-width: 0; scroll-snap-align: start; }
.carousel-track img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.carousel-track figcaption { position: absolute; bottom: .65rem; left: .65rem; padding: .3rem .75rem; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .9rem; font-weight: 700; }
.carousel-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem; margin-top: .55rem; }
.carousel-controls[hidden] { display: none; }
.carousel-controls button { cursor: pointer; background: transparent; border-color: var(--line); }
.carousel-controls button:disabled { opacity: .45; cursor: default; }
.carousel-controls output { font-variant-numeric: tabular-nums; color: var(--muted); }
.footer { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; padding-block: 1.3rem; }
summary { cursor: pointer; }
@media (max-width: 54rem) {
  .top { align-items: flex-start; flex-direction: column; }
  .hero-content { gap: 1.6rem; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-content, .intro-grid, .three, .two, .location, .topics, .footer { grid-template-columns: 1fr; }
  .hero-content { padding-block: 1.75rem; }
  .three.team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .team-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .team-details { padding: .7rem .75rem .8rem; }
  .team-details h3 { font-size: 1.06rem; }
  .team-details p { font-size: .95rem; }
  .hero-image--portrait { width: min(100%, 19rem); }
  .practical .three { gap: 1rem; }
  .carousel-controls button { min-height: 2.75rem; padding-inline: .7rem; }
}
