html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body { overscroll-behavior-y: none; transition: background-color .3s ease, color .3s ease; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; user-select: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Accordéons (FAQ) */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details .chev { transition: transform .2s ease; }
details[open] .chev { transform: rotate(180deg); }

/* Pages de texte (mentions légales, confidentialité…) */
.legal h2 { font-family: Literata, Georgia, serif; font-weight: 700; font-size: 1.35rem; line-height: 1.3; margin: 2.5rem 0 .75rem; color: rgb(var(--c-on-surface)); }
.legal h3 { font-weight: 700; font-size: 1rem; margin: 1.5rem 0 .5rem; color: rgb(var(--c-on-surface)); }
.legal p, .legal li { font-size: .95rem; line-height: 1.75; color: rgb(var(--c-on-surface-variant)); }
.legal p + p { margin-top: .75rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: .5rem 0; }
.legal li + li { margin-top: .25rem; }
.legal a { color: rgb(var(--c-primary)); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: rgb(var(--c-on-surface)); }
.legal .todo { background: rgb(var(--c-tertiary-fixed) / .6); color: rgb(var(--c-on-tertiary-fixed)); padding: 0 .3em; border-radius: .25rem; }

/* ===================================================================
   Simulation du module de réservation Doctolib
   Couleurs FIXES : le vrai module impose son propre style, il ne suit
   donc volontairement pas la palette du site.
   =================================================================== */
.dl-widget {
  --dl-blue: #107aca; --dl-blue-dark: #0b5e9e; --dl-navy: #0f2f52;
  --dl-text: #1c2b3f; --dl-muted: #5b6b7f; --dl-line: #dfe5ec; --dl-bg: #f4f6f9; --dl-slot: #e3effa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--dl-text); background: #fff; border: 1px solid var(--dl-line);
}
.dl-widget .material-symbols-outlined { font-size: 20px; }
.dl-head { background: var(--dl-blue); color: #fff; }
.dl-body { background: var(--dl-bg); }
.dl-card { background: #fff; border: 1px solid var(--dl-line); border-radius: 8px; }
.dl-rows > * + * { border-top: 1px solid var(--dl-line); }
.dl-rows .material-symbols-outlined { color: var(--dl-blue); }
.dl-title { font-size: 1.05rem; font-weight: 700; color: var(--dl-navy); }
.dl-muted { color: var(--dl-muted); }
.dl-option { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .9rem 1rem; text-align: left;
  background: #fff; border: 1px solid var(--dl-line); border-radius: 8px; transition: border-color .15s, background-color .15s; }
.dl-option:hover, .dl-option:focus-visible { border-color: var(--dl-blue); background: #f3f8fd; outline: none; }
.dl-option .material-symbols-outlined { color: var(--dl-blue); }
.dl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.1rem; border-radius: 8px;
  background: var(--dl-blue); color: #fff; font-weight: 700; font-size: .9rem; transition: background-color .15s; }
.dl-btn:hover { background: var(--dl-blue-dark); }
.dl-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.1rem; border-radius: 8px;
  border: 1px solid var(--dl-blue); color: var(--dl-blue); background: #fff; font-weight: 700; font-size: .9rem; transition: background-color .15s; }
.dl-btn-outline:hover { background: #f3f8fd; }
.dl-link { color: var(--dl-blue); font-weight: 600; font-size: .875rem; display: inline-flex; align-items: center; gap: .25rem; }
.dl-link:hover { text-decoration: underline; }
.dl-link:disabled { color: #aab5c2; text-decoration: none; cursor: default; }
.dl-slot { width: 100%; padding: .5rem 0; border-radius: 6px; background: var(--dl-slot); color: var(--dl-blue-dark);
  font-weight: 700; font-size: .85rem; transition: background-color .15s, color .15s; }
.dl-slot:hover, .dl-slot:focus-visible { background: var(--dl-blue); color: #fff; outline: none; }
.dl-noslot { width: 100%; padding: .5rem 0; text-align: center; color: #b3bdc9; font-weight: 700; }
.dl-step { display: flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.65); white-space: nowrap; }
.dl-step .dot { width: 1.35rem; height: 1.35rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: .7rem; border: 1.5px solid rgba(255,255,255,.55); }
.dl-step.is-active { color: #fff; }
.dl-step.is-active .dot { background: #fff; color: var(--dl-blue); border-color: #fff; }
.dl-step.is-done { color: #fff; }
.dl-step.is-done .dot { background: rgba(255,255,255,.25); border-color: transparent; }
