/* Cabinet dentaire Surcouf — feuille de style unique, thème « Atlantique » */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url("fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #1a4863;
  --surf: #22566f;
  --surf2: #2a6380;
  --line: #42758d;
  --line2: #6795ab;
  --text: #f3efe6;
  --mut: #d6e3e7;
  --soft: #cadce2;
  --accent: #f0b45a;
  --accent-ink: #f7c983;
  --accent-deep: #e0a043;
  --on-accent: #0c2a35;
  --alert: #ff9d85;
  --alert-bg: #573c48;
  --ok: #7fe0a3;
  --radius: 16px;
  --radius-lg: 28px;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  color: var(--text); background: transparent;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.3rem + 5vw, 5.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* Décor fixe : tours de La Rochelle, voilier, dents et implants */
.wm { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.wm svg { width: 100%; height: 100%; }
.fl, .sky, .wave, .boat { transform-box: fill-box; transform-origin: center; }
@keyframes bob { from { transform: translateY(-5px) rotate(-1.6deg); } to { transform: translateY(6px) rotate(1.6deg); } }
@keyframes rv { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes dr1 { 0% { transform: translate(0, 0) rotate(-10deg); } 50% { transform: translate(40px, -260px) rotate(16deg); } 100% { transform: translate(-30px, -90px) rotate(-8deg); } }
@keyframes dr2 { 0% { transform: translate(0, 0) rotate(12deg); } 50% { transform: translate(-50px, -180px) rotate(-14deg); } 100% { transform: translate(30px, -320px) rotate(10deg); } }
@keyframes dr3 { 0% { transform: translate(0, 0) rotate(6deg); } 50% { transform: translate(60px, -120px) rotate(-10deg); } 100% { transform: translate(-40px, -380px) rotate(14deg); } }
@keyframes skymove { from { transform: translateY(0); } to { transform: translateY(80px); } }
@keyframes wavemove { from { transform: translateX(0); } to { transform: translateX(-180px); } }
@media (prefers-reduced-motion: no-preference) {
  .boat { animation: bob 6s ease-in-out infinite alternate; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .d1 { animation: dr1 linear both; animation-timeline: scroll(root); }
    .d2 { animation: dr2 linear both; animation-timeline: scroll(root); }
    .d3 { animation: dr3 linear both; animation-timeline: scroll(root); }
    .sky { animation: skymove linear both; animation-timeline: scroll(root); }
    .wave { animation: wavemove linear both; animation-timeline: scroll(root); }
    main h2, .tiles > *, .team > *, .crew-grid > *, .tech a, .pbs > *, .cares details {
      animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 45%;
    }
  }
}

/* Bandeau de maquette */
.draft { background: #ffe9a8; color: #4a3500; font-size: 0.9rem; text-align: center; padding: 8px 16px; }
.draft[hidden] { display: none; }
.todo { background: #ffe9a8; color: #4a3500; border-radius: 4px; padding: 0 4px; }

/* Barre du haut */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgb(26 72 99 / 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em; }
.brand-sub { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.8rem; color: var(--soft); margin-top: 3px; letter-spacing: 0; }
.nav { display: none; gap: 26px; }
@media (max-width: 479px) { .brand-sub { display: none; } }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 1rem; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-ink); }
@media (min-width: 900px) { .nav { display: flex; } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #ffd08a; color: var(--on-accent); }
.btn-light { background: var(--text); color: var(--on-accent); }
.btn-light:hover { background: #fff; color: var(--on-accent); }
.btn-ghost { border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-outline { border-color: var(--accent); color: var(--accent-ink); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--on-accent); }
.btn-alert { background: var(--alert); color: #3a1208; }
.btn-alert:hover { background: #ffb8a4; color: #3a1208; }
.btn-small { min-height: 42px; padding: 0 20px; }
.btn svg, .btn svg.ico { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { position: relative; }
.hero-in { display: grid; gap: 26px; padding-block: 32px 48px; }
.hero-head h1 { max-width: 13em; }
.hero-head .lead { margin-top: 22px; font-size: 1.25rem; max-width: 36em; color: var(--mut); }
.hero-head .status { margin-bottom: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 7px 16px 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 500; font-size: 0.97rem; color: var(--soft);
}
.status i { width: 9px; height: 9px; border-radius: 50%; background: #8aa3ad; flex: none; }
.status[data-open="true"] i { background: var(--ok); box-shadow: 0 0 0 4px rgb(127 224 163 / 0.2); }
.status[data-open="true"] { color: var(--mut); }

@media (min-width: 900px) { .hero-in { gap: 40px; padding-block: 56px 64px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Assistant guidé (urgence) */
.assistant {
  max-width: 660px; background: var(--surf); color: var(--text);
  border: 1px solid var(--line2); border-radius: var(--radius-lg); padding: 28px 26px 26px;
}
.assistant h2 { font-size: 1.7rem; margin-bottom: 10px; }
.assistant .hint { color: var(--soft); font-size: 0.97rem; margin: 0 0 16px; }
.assistant .hint[hidden] { display: none; }
#as-body { margin-top: 4px; }
.assistant h2:focus { outline: none; }
.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  min-height: 56px; padding: 12px 18px; text-align: left; font: inherit; font-weight: 500; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.choice:hover { border-color: var(--accent); background: var(--surf2); }
.choice::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: rotate(45deg);
}
.result { border-radius: var(--radius); padding: 20px 20px 22px; background: var(--surf2); }
.result.is-alert { background: var(--alert-bg); border: 1.5px solid var(--alert); }
.result strong.big { display: block; font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; margin-bottom: 8px; }
.result p { margin-bottom: 14px; }
.result .cta { margin-top: 4px; }
.link-btn {
  margin-top: 14px; background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 600;
  color: var(--accent-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* Sections */
section { padding-block: 56px; }
@media (min-width: 900px) { section { padding-block: 72px; } }
.section-head { margin-bottom: 36px; }
.section-head p { margin-top: 14px; color: var(--mut); font-size: 1.1rem; }
.band { background: transparent; }
.tint { background: transparent; }

/* Équipe */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  min-height: 44px; padding: 0 20px; font: inherit; font-weight: 500; color: var(--text);
  background: transparent; border: 1.5px solid var(--line2); border-radius: 999px; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.team { display: grid; gap: 0; border-top: 1px solid var(--line); }
.doc {
  display: grid; grid-template-columns: 76px 1fr; gap: 6px 20px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line); transition: opacity 0.2s;
}
.doc.dim { opacity: 0.38; }
.doc-avatar { width: 76px; height: 76px; color: var(--accent-ink); position: relative; grid-row: span 2; }
.doc-avatar svg { overflow: visible; width: 100%; height: 100%; }
.doc-avatar span {
  position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 27px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--text);
}
.doc h3 { align-self: end; }
.doc ul { align-self: start; color: var(--mut); }
.doc li + li { margin-top: 2px; }
.doc li::before { content: ""; display: inline-block; width: 7px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
@media (min-width: 820px) {
  .team { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 20px; }
  .doc {
    grid-template-columns: 1fr; padding: 26px 24px 28px; gap: 8px; align-items: start; align-content: start;
    background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius-lg);
  }
  .doc h3 { align-self: start; }
  .doc-avatar { grid-row: auto; margin-bottom: 8px; }
}
.crew { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.crew h3 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); margin-bottom: 12px; }
.crew-lead { color: var(--mut); font-size: 1.12rem; max-width: 46em; margin-bottom: 28px; }
.crew-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .crew-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.mate { background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 28px; }
.mate-av { width: 76px; height: 76px; color: var(--accent-ink); position: relative; margin-bottom: 18px; }
.mate-av > svg { overflow: visible; width: 100%; height: 100%; }
.mate-av > span {
  position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 27px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--text);
}
.mate-av .badge {
  position: absolute; right: -14px; bottom: -4px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); border: 3px solid var(--surf);
}
.mate-av .badge svg { width: 20px; height: 20px; }
.mate h4 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.mate .role { margin: 4px 0 12px; color: var(--accent-ink); font-weight: 600; font-size: 0.97rem; }
.mate p:last-child { margin: 0; color: var(--mut); }
#filter-msg { color: var(--soft); margin: -16px 0 22px; min-height: 1.6em; font-size: 0.95rem; }

/* Soins */
.cares { border-top: 1px solid var(--line); max-width: 860px; }
.cares details { border-bottom: 1px solid var(--line); }
.cares summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.015em;
}
.cares summary::-webkit-details-marker { display: none; }
.cares summary::after {
  content: ""; width: 11px; height: 11px; flex: none;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s;
}
.cares details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.cares .body { padding: 0 4px 24px; color: var(--mut); }
.cares .who { color: var(--soft); font-size: 0.97rem; }

/* Rendez-vous */
.rdv-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .rdv-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.steps { counter-reset: s; margin-top: 26px; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 0.95rem;
}
.notice-urgent {
  margin-top: 28px; padding: 16px 18px; border-left: 4px solid var(--alert); background: var(--alert-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.notice-urgent p { margin: 0; }
.form {
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  display: grid; gap: 18px;
}
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row.two { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field .opt { font-weight: 400; color: var(--soft); }
.field small { display: block; color: var(--soft); margin-top: 5px; font-size: 0.9rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line2); border-radius: 12px;
}
select, input[type="date"] { color-scheme: dark; }
fieldset.field[hidden] { display: none; }
.days { display: grid; gap: 10px; }
.day { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.day-name { width: 6.5em; font-weight: 500; color: var(--mut); }
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #fff; outline-offset: 1px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--bg); border: 1.5px solid var(--line2); font-weight: 500;
}
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.pill input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.95rem; color: var(--mut); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.consent p { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--alert); font-weight: 500; font-size: 0.92rem; margin-top: 5px; }
.form-msg { border-radius: var(--radius); padding: 14px 16px; background: var(--surf2); }
.form-msg[hidden] { display: none; }
.form-msg.is-demo { background: #ffe9a8; color: #4a3500; }
.form-msg:focus { outline: none; }

/* Venir */
.where { display: grid; gap: 40px; }
@media (min-width: 900px) { .where { grid-template-columns: 1fr 1fr; gap: 64px; } }
address { font-style: normal; font-size: 1.2rem; line-height: 1.5; margin-bottom: 18px; }
.links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 26px; }
.map-box { border: 1.5px dashed var(--line2); border-radius: var(--radius); padding: 18px; margin-bottom: 26px; background: var(--surf); }
.map-box iframe { width: 100%; height: 300px; border: 0; border-radius: 10px; }
.map-box p { font-size: 0.93rem; color: var(--soft); }
.map-box[hidden] { display: none; }
.access h3 { margin-bottom: 10px; }
.access li + li { margin-top: 6px; }
table.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
table.hours th, table.hours td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 400; }
table.hours th { width: 40%; }
table.hours tr.today { background: var(--surf2); }
table.hours tr.today th, table.hours tr.today td { font-weight: 700; color: var(--accent-ink); }
.closed-txt { color: var(--soft); }

/* Pied de page */
footer { border-top: 1px solid var(--line); color: var(--mut); padding-block: 48px; font-size: 0.97rem; background: rgb(26 72 99 / 0.92); }
footer a { color: var(--text); }
footer a:hover { color: var(--accent-ink); }
.foot { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
footer h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: 0; }
footer p { margin: 0 0 6px; }

/* Pages de texte */
.page { padding-block: 56px 72px; }
.page h1 { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.4rem); margin-bottom: 26px; }
.page h2 { font-size: 1.6rem; margin: 38px 0 12px; }
.page ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; max-width: 62ch; }
.page li + li { margin-top: 4px; }

/* Utilitaires */
.sprite { position: absolute; width: 0; height: 0; }
.mt { margin-top: 14px; }
.mb-s { margin-bottom: 10px; }
.note { margin-top: 14px; color: var(--soft); font-size: 0.95rem; }

/* Équipement (accueil) */
.tech { border-top: 1px solid var(--line); }
.tech a {
  position: relative; display: grid; gap: 4px 28px; padding: 22px 44px 22px 6px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: background-color 0.15s, padding-left 0.2s;
}
.tech a:hover { background: var(--surf); color: var(--text); padding-left: 16px; }
.tech a::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px;
  border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: translateY(-50%) rotate(45deg);
}
.tech-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.tech-desc { color: var(--soft); }
@media (min-width: 820px) { .tech a { grid-template-columns: 0.9fr 1.1fr; align-items: baseline; } }

/* Pages équipement */
.page-head { padding-block: 40px 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 1.1rem + 4vw, 4rem); max-width: 18ch; }
.page-head .lead { margin-top: 18px; font-size: 1.25rem; color: var(--mut); max-width: 44ch; }
.crumb { margin-bottom: 22px; font-size: 0.97rem; }
.crumb a { color: var(--soft); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; }
.crumb a::before {
  content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.crumb a:hover { color: var(--accent-ink); }
.page-grid { display: grid; gap: 40px; padding-block: 48px 80px; }
@media (min-width: 900px) { .page-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } }
.page-grid h2 { font-size: 1.7rem; margin: 38px 0 12px; }
.page-grid .prose > h2:first-child { margin-top: 0; }
.page-grid ul.plain { list-style: disc; padding-left: 22px; max-width: 62ch; margin-bottom: 1em; }
.page-grid ul.plain li + li { margin-top: 6px; }
.page-grid .steps { margin-top: 8px; max-width: 62ch; }
.page-grid .steps a { font-weight: 600; }
.aside-box { background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
@media (min-width: 900px) { .aside-box { position: sticky; top: 96px; } }
.aside-box h2 { font-size: 1.3rem; margin: 0 0 10px; }
.aside-box p { margin-bottom: 18px; color: var(--mut); }
.aside-box .btn { width: 100%; }
.aside-box .tel { display: block; margin-top: 14px; text-align: center; }
.general-note { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--soft); font-size: 0.95rem; }
.related { margin-top: 40px; }
.related h2 { margin-top: 0; }
.related ul { border-top: 1px solid var(--line); }
.related li a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--text); }
.related li a:hover { background: var(--surf); color: var(--accent-ink); }

/* Accueil : tuiles de parcours (bento) */
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
.tiles[hidden], .assistant[hidden] { display: none; }
@media (min-width: 600px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile-wide, .tile-primary { grid-column: span 2; }
}
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 190px; padding: 26px; text-align: left; font: inherit; color: var(--text); text-decoration: none; cursor: pointer;
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: background-color 0.15s, border-color 0.15s, transform 0.2s;
}
.tile-ico { width: 34px; height: 34px; color: var(--accent-ink); }
.tile-title { display: block; font-family: var(--display); font-weight: 700; font-size: 1.55rem; line-height: 1.12; letter-spacing: -0.02em; }
.tile-desc { display: block; margin-top: 8px; font-size: 0.98rem; line-height: 1.4; color: var(--mut); }
.tile:hover { background: var(--surf2); border-color: var(--accent); color: var(--text); }
.tile-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); min-height: 220px; }
.tile-primary .tile-ico { color: var(--on-accent); }
.tile-primary .tile-title { font-size: 2.1rem; }
.tile-primary .tile-desc { color: #1d3b45; }
.tile-primary:hover { background: #ffd08a; border-color: #ffd08a; color: var(--on-accent); }
.tile-urgent { background: var(--alert-bg); border: 1px solid var(--alert); }
.tile-urgent .tile-title, .tile-urgent .tile-ico { color: var(--alert); }
.tile-urgent .tile-desc { color: var(--text); }
.tile-urgent:hover { background: #66464f; border-color: var(--alert); }
@media (min-width: 980px) { .tile-primary, .tile-wide { grid-column: span 2; } }
.hero-foot { margin: 0; color: var(--mut); }
.hero-foot a { color: var(--accent-ink); font-weight: 600; }

/* ---------- Conseils après une intervention ---------- */
.page-head .status { margin-top: 20px; margin-bottom: 0; }
.todo-note { margin-top: 24px; }
.read-first { margin-top: 28px; padding: 22px 24px; border: 1.5px solid var(--accent); border-radius: var(--radius); background: var(--surf); }
.read-first h2 { font-size: 1.4rem; margin: 0 0 10px; }
.read-first p + p { margin-top: 10px; }
.pick-title { font-size: 1.6rem; margin: 40px 0 14px; }
.pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pick a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border: 1.5px solid var(--line2); border-radius: 999px; background: transparent; color: var(--text); font-weight: 600; text-decoration: none; }
.pick a:hover { border-color: var(--accent); color: var(--text); }
.pick a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pick-hint { margin-top: 18px; color: var(--soft); }
.postop-sec { margin-top: 40px; scroll-margin-top: 96px; }
.postop-sec[hidden] { display: none; }
.postop-sec h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.sec-intro { margin-top: 10px; max-width: 62ch; color: var(--mut); font-size: 1.1rem; }
.pbs { display: grid; gap: 16px; margin-top: 24px; }
.pb { padding: 22px 24px; background: var(--surf); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); }
.pb.ok { border-top-color: var(--ok); }
.pb.avoid { border-top-color: var(--alert); }
.pb h3 { font-size: 1.2rem; margin: 0 0 8px; }
.pb ul.plain { margin: 0; padding-left: 1.1em; list-style: disc; color: var(--mut); }
.pb li + li { margin-top: 6px; }
.alert-box { margin-top: 20px; padding: 20px 24px; border-left: 5px solid var(--alert); border-radius: 0 var(--radius) var(--radius) 0; background: var(--alert-bg); }
.alert-box h3 { font-size: 1.25rem; margin: 0 0 8px; color: var(--alert); }
.alert-box ul.plain { margin: 0 0 14px; padding-left: 1.1em; list-style: disc; }
.alert-box li + li { margin-top: 6px; }
.postop-end { margin-top: 40px; padding-bottom: 40px; }
.postop-end .btn { margin-bottom: 8px; }
@media (min-width: 760px) { .pbs { grid-template-columns: 1fr 1fr; } }

/* Impression : fond blanc, texte noir, sans décor */
@media print {
  .wm, .draft, .bar, footer, .skip, .pick-title, .pick, .pick-hint, #print-btn, .related, .crumb, .status, .todo-note, .alert-box .btn, .assistant, .filters { display: none !important; }
  html, body { background: #fff; color: #000; }
  .page-head { border: 0; padding: 0; }
  .page-head h1, .page-head .lead, h2, h3, .sec-intro, .pb ul.plain { color: #000; }
  .pbs { grid-template-columns: 1fr 1fr; }
  .pb, .alert-box, .read-first { background: #fff; color: #000; border-color: #999; break-inside: avoid; }
  .alert-box h3 { color: #000; }
  main h2, .pbs > *, .tiles > * { animation: none !important; opacity: 1 !important; }
}

/* Logo de l'Ordre */
.ordre { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surf); }
.ordre-logo { width: 78px; height: auto; flex: none; }
.ordre p { margin: 0; color: var(--mut); }
.ordre a { color: var(--text); }
.ordre + .crew { margin-top: 40px; }
.ordre-mini { display: block; width: 35px; height: auto; margin-bottom: 12px; opacity: 0.85; }

/* Pages soins / équipement */
.care { padding-block: 8px 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.care:last-of-type { border-bottom: 0; }
.care h2 { margin-top: 0; }
.care .who { color: var(--soft); }
/* Accueil : bloc compact soins + équipement */
.hub { display: grid; gap: 20px; }
@media (min-width: 820px) { .hub { grid-template-columns: 1fr 1fr; gap: 24px; } }
.hub-card { background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 28px; }
.hub-card h3 { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 14px; }
.hub-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-card li a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.97rem; }
.hub-card li a:hover { border-color: var(--accent); color: var(--accent-ink); }
.hub-card .more { font-weight: 600; color: var(--accent-ink); }

.ordre-note { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; color: var(--soft); font-size: 0.93rem; }
.ordre-note img { width: 38px; height: auto; flex: none; }

/* ---- Passe ergonomie (nov. 2026) ---- */
/* Menu mobile */
.menu-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--text); cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform 0.2s, background-color 0.2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.bar.is-open .menu-btn span { background: transparent; }
.bar.is-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.bar.is-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 899px) {
  .bar-in { justify-content: flex-start; gap: 10px; }
  .brand { margin-right: auto; }
  .bar.is-open .nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; box-shadow: 0 18px 30px rgb(0 0 0 / 0.35);
  }
  .bar.is-open .nav a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .bar.is-open .nav a:last-child { border-bottom: 0; }
}
@media (min-width: 900px) { .menu-btn { display: none; } }
@media (max-width: 379px) { .bar .btn-small { padding: 0 14px; } }

/* Accueil : statut + logo */
.hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-head .hero-meta .status { margin: 0; }
.hero-ordre { width: 34px; height: auto; flex: none; }

/* Tuiles plus compactes */
.tile { min-height: 160px; gap: 20px; }
.tile-primary { min-height: 180px; }
@media (max-width: 599px) {
  .tiles { gap: 10px; }
  .tile, .tile-primary {
    display: grid; grid-template-columns: 30px 1fr; column-gap: 16px; row-gap: 2px; align-items: center;
    min-height: 0; padding: 16px 18px; border-radius: 20px;
  }
  .tile-ico { width: 28px; height: 28px; grid-row: span 2; }
  .tile-title, .tile-primary .tile-title { font-size: 1.2rem; }
  .tile-primary .tile-title { font-size: 1.35rem; }
  .tile-desc { margin-top: 0; font-size: 0.93rem; }
}

/* Formulaire : la colonne d'explication reste visible */
@media (min-width: 900px) { .rdv-grid > :first-child { position: sticky; top: 96px; } }

/* Horaires plus lisibles sur mobile */
@media (max-width: 599px) {
  table.hours { font-size: 0.97rem; }
  table.hours th, table.hours td { padding: 10px 6px; }
  table.hours th { width: 32%; }
}

/* Ancres : ne pas passer sous la barre du haut */
[id] { scroll-margin-top: 84px; }

/* ==== Pavillons et liste des besoins (nov. 2026) ==== */
.flags {
  position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px;
  max-width: 470px; margin-bottom: 30px; padding-top: 10px;
}
.flags::before { /* la drisse */
  content: ""; position: absolute; left: -12px; right: -12px; top: 3px; height: 1.5px;
  background: var(--line2); border-radius: 2px;
}
.flag { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.flag::before { /* attache */
  content: ""; position: absolute; top: -8px; left: 50%; width: 1.5px; height: 8px; background: var(--line2);
}
.flag svg { display: block; width: 100%; height: auto; border-radius: 2px; transform-origin: 0 50%; box-shadow: 0 4px 12px rgb(0 0 0 / 0.25); transition: transform 0.25s; }
.flag b { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; color: var(--soft); letter-spacing: 0.04em; }
.flag::after { /* infobulle */
  content: attr(data-name); position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translate(-50%, 4px);
  white-space: nowrap; padding: 5px 9px; border-radius: 8px; background: var(--text); color: var(--on-accent);
  font-size: 0.78rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s;
}
.flag:hover::after { opacity: 1; transform: translate(-50%, 0); }
.flag { transition: transform 0.25s; }
.flag:hover { transform: translateY(-4px); }
@media (max-width: 599px) { .flags { gap: 6px; max-width: 100%; margin-bottom: 24px; } }

.needs { margin-top: 4px; }
.needs-title {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--soft); margin: 0 0 12px;
}
.needs-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surf); }
.needs-list li + li { border-top: 1px solid var(--line); }
.need {
  position: relative; isolation: isolate; width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr) 30px;
  gap: 20px; align-items: center; padding: 22px 26px; text-align: left; font: inherit; color: var(--text);
  text-decoration: none; background: transparent; border: 0; cursor: pointer;
}
.need::before { /* balayage au survol */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--surf2);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.need:hover::before, .need:focus-visible::before { transform: scaleX(1); }
.need-n { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.need-t { font-family: var(--display); font-weight: 700; font-size: 1.65rem; line-height: 1.1; letter-spacing: -0.02em; }
.need-d { color: var(--mut); font-size: 1rem; line-height: 1.4; }
.need-arrow { width: 26px; height: 26px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; }
.need:hover .need-arrow, .need:focus-visible .need-arrow { transform: translateX(6px); }
.need:hover { color: var(--text); }
.need-primary { background: var(--accent); color: var(--on-accent); }
.need-primary::before { background: #ffd08a; }
.need-primary .need-n, .need-primary:hover { color: var(--on-accent); }
.need-primary .need-d { color: #1d3b45; }
.need-primary .need-arrow { stroke: var(--on-accent); }
.need-urgent { background: var(--alert-bg); }
.need-urgent::before { background: #66464f; }
.need-urgent .need-n, .need-urgent .need-t { color: var(--alert); }
.need-urgent .need-d { color: var(--text); }
.need-urgent .need-arrow { stroke: var(--alert); }
@media (max-width: 759px) {
  .need { grid-template-columns: 30px minmax(0, 1fr) 22px; gap: 4px 12px; padding: 16px 18px; }
  .need-n { grid-row: span 2; align-self: start; padding-top: 4px; }
  .need-t { font-size: 1.25rem; }
  .need-d { grid-column: 2; grid-row: 2; font-size: 0.93rem; }
  .need-arrow { grid-column: 3; grid-row: 1 / span 2; width: 22px; height: 22px; }
}

/* ==== Animations (désactivées si l'utilisateur réduit les animations) ==== */
@media (prefers-reduced-motion: no-preference) {
  /* pavillons hissés un par un, puis qui flottent */
  .flag svg { animation: hoist 0.7s cubic-bezier(.2,.8,.25,1.2) both, flutter 3.6s ease-in-out 1.4s infinite; }
  .flag:nth-child(2) svg { animation-delay: 0.08s, 1.6s; }
  .flag:nth-child(3) svg { animation-delay: 0.16s, 1.8s; }
  .flag:nth-child(4) svg { animation-delay: 0.24s, 2.0s; }
  .flag:nth-child(5) svg { animation-delay: 0.32s, 2.2s; }
  .flag:nth-child(6) svg { animation-delay: 0.40s, 2.4s; }
  .flag:nth-child(7) svg { animation-delay: 0.48s, 2.6s; }
  .flag:hover svg { animation-play-state: paused; }
  @keyframes hoist { from { opacity: 0; transform: translateY(-26px) rotate(-8deg); } to { opacity: 1; transform: none; } }
  @keyframes flutter {
    0%, 100% { transform: skewY(0) scaleX(1); }
    30% { transform: skewY(-2.5deg) scaleX(0.97); }
    60% { transform: skewY(1.5deg) scaleX(0.99); }
  }

  /* la liste arrive ligne par ligne */
  .needs-list li { animation: needIn 0.55s cubic-bezier(.2,.7,.2,1) both; }
  .needs-list li:nth-child(1) { animation-delay: 0.35s; }
  .needs-list li:nth-child(2) { animation-delay: 0.43s; }
  .needs-list li:nth-child(3) { animation-delay: 0.51s; }
  .needs-list li:nth-child(4) { animation-delay: 0.59s; }
  .needs-list li:nth-child(5) { animation-delay: 0.67s; }
  .needs-list li:nth-child(6) { animation-delay: 0.75s; }
  @keyframes needIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

  /* point « ouvert » qui pulse */
  .status[data-open="true"] i { animation: pulse 2.2s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(127 224 163 / 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgb(127 224 163 / 0); } }

  /* cartes qui se soulèvent */
  .doc, .mate, .hub-card { transition: transform 0.25s, border-color 0.25s; }
  .doc:hover, .mate:hover, .hub-card:hover { transform: translateY(-4px); border-color: var(--line2); }
  .mate:hover .badge { animation: wiggle 0.5s ease-in-out; }
  @keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(10deg); } }
  .doc:hover .doc-avatar svg, .mate:hover .mate-av > svg { animation: bob 0.6s ease-in-out; }
  @keyframes bob { 50% { transform: translateY(-5px); } }

  /* barre de progression de lecture, sous la barre du haut */
  @supports (animation-timeline: scroll()) {
    .bar::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent);
      transform-origin: 0 50%; transform: scaleX(0);
      animation: progress linear both; animation-timeline: scroll(root);
    }
    @keyframes progress { to { transform: scaleX(1); } }
  }
}

/* ==== Pavillon de l'initiale à côté des noms ==== */
.nflag { position: relative; display: inline-block; width: 30px; margin-left: 10px; vertical-align: 0.05em; }
.nflag svg { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 2px 6px rgb(0 0 0 / 0.25); }
.nflag::after {
  content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px);
  white-space: nowrap; padding: 4px 8px; border-radius: 8px; background: var(--text); color: var(--on-accent);
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0; opacity: 0; pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
}
.nflag:hover::after { opacity: 1; transform: translate(-50%, 0); }

/* ==== Filtre des praticiens : ceux qui ne correspondent pas s'estompent ==== */
.doc.dim { animation: none; opacity: 0.3; filter: saturate(0.4); }
.doc.match { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 30px rgb(0 0 0 / 0.22); }
@media (prefers-reduced-motion: no-preference) {
  .doc { transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s cubic-bezier(.2,.7,.2,1), border-color 0.3s, box-shadow 0.3s; }
  .doc.dim { filter: saturate(0.4) blur(1.5px); transform: scale(0.95); }
  .doc.dim:hover { transform: scale(0.95); }
  .doc.match { animation: matchPop 0.5s cubic-bezier(.2,.7,.2,1.3); transform: translateY(-4px); }
  @keyframes matchPop { 0% { transform: none; } 55% { transform: translateY(-6px) scale(1.025); } 100% { transform: translateY(-4px); } }
  .nflag svg { transform-origin: 0 50%; }
  .doc:hover .nflag svg, .mate:hover .nflag svg { animation: flutter 1.2s ease-in-out 2; }
}

/* ==== Pavillons ailleurs dans le site ==== */
.flagset { display: inline-flex; gap: 4px; margin-left: 10px; vertical-align: 0.05em; }
.flagset .nflag { margin-left: 0; width: 26px; }
.flagset.kick { display: flex; gap: 6px; margin: 0 0 14px; }
.flagset.kick .nflag { width: 40px; }
.care h2 .flagset { margin: 0 12px 0 0; vertical-align: 0.12em; }
.care h2 .flagset .nflag { width: 30px; }
.foot-flags { display: flex; gap: 5px; margin: 0 0 28px; grid-column: 1 / -1; }
.foot-flags .nflag { width: 30px; }
.page-head h1 .flagset.kick { margin-bottom: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .flagset.kick .nflag svg { transform-origin: 0 50%; animation: hoist 0.7s cubic-bezier(.2,.8,.25,1.2) both, flutter 3.6s ease-in-out 1s infinite; }
  .foot-flags .nflag svg { transform-origin: 0 50%; animation: flutter 4s ease-in-out infinite; }
  .foot-flags .nflag:nth-child(2n) svg { animation-delay: 0.6s; }
  .foot-flags .nflag:nth-child(3n) svg { animation-delay: 1.2s; }
}

/* ==== Diplômes des praticiens ==== */
.dipl-btn {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 9px; margin-top: 10px;
  min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid var(--line2);
  background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.dipl-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.dipl-btn[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.dipl-ico, .dipl-chev { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dipl-chev { width: 16px; height: 16px; }
.dipl { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; visibility: hidden; }
.dipl-in { overflow: hidden; min-height: 0; }
.doc.is-open .dipl { grid-template-rows: 1fr; visibility: visible; }
.dipl-list { list-style: none; margin: 0; padding: 14px 0 2px; display: flex; flex-direction: column; gap: 8px; }
.dipl-list li {
  position: relative; padding: 11px 14px 11px 40px; border-radius: 14px; background: var(--surf2);
  color: var(--text); font-size: 0.97rem; line-height: 1.4;
}
.dipl-list li::before { /* petit sceau */
  content: ""; position: absolute; left: 14px; top: 15px; margin: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgb(240 180 90 / 0.25);
}
@media (prefers-reduced-motion: no-preference) {
  .dipl { transition: grid-template-rows 0.5s cubic-bezier(.2,.7,.2,1), visibility 0s linear 0.5s; }
  .doc.is-open .dipl { transition: grid-template-rows 0.5s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  .dipl-chev { transition: transform 0.3s; }
  .dipl-btn[aria-expanded="true"] .dipl-chev { transform: rotate(180deg); }
  .dipl-list li { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.3s, transform 0.35s cubic-bezier(.2,.7,.2,1.2); }
  .doc.is-open .dipl-list li { opacity: 1; transform: none; }
  .doc.is-open .dipl-list li:nth-child(1) { transition-delay: 0.12s; }
  .doc.is-open .dipl-list li:nth-child(2) { transition-delay: 0.22s; }
  .doc.is-open .dipl-list li:nth-child(3) { transition-delay: 0.32s; }
  .dipl-btn[aria-expanded="true"] .dipl-ico { animation: capToss 0.6s cubic-bezier(.2,.7,.2,1.3); }
  @keyframes capToss { 0% { transform: none; } 40% { transform: translateY(-7px) rotate(-18deg); } 100% { transform: none; } }
}

/* ==== Mentions légales : praticiens en colonnes ==== */
.ml-docs { display: grid; gap: 16px; margin: 18px 0 8px; }
@media (min-width: 760px) { .ml-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ml-doc { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surf); }
.ml-doc h3 { font-size: 1.2rem; margin: 0 0 12px; }
.ml-doc dl { margin: 0; display: grid; gap: 2px; }
.ml-doc dt { font-size: 0.85rem; color: var(--soft); margin-top: 8px; }
.ml-doc dd { margin: 0; }
@media (min-width: 820px) { .team { align-items: start; } }
