/* ADC — base: tokens, reset, shared components, nav, footer, transition overlay */

:root {
  --purple: #4a1f55;
  --purple-2: #6d3380;
  --purple-3: #884898;
  --teal: #0898a8;
  --teal-dark: #06525c;
  --teal-light: #5fd3dc;
  --ink: #1d1b20;
  --muted: #5c5c66;
  --muted-2: #6f6f78;
  --placeholder: #9a9aa3;
  --line: #e4e4e7;
  --lilac: #f6f1f8;
  --white: #fff;
  --font: 'Outfit', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 14px 34px rgba(0, 0, 0, .12);
  --shadow-dark: 0 14px 34px rgba(0, 0, 0, .25);
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --nav-h: 88px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
input, textarea, select, button { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul[class], ol[class], .site-nav ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
.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; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

@keyframes adcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* ---------- typography ---------- */
.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-title em, .serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 62px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .25s, color .25s, opacity .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--white { background: var(--white); color: var(--teal); box-shadow: var(--shadow-dark); padding-right: 8px; }
.btn--white:hover { background: var(--teal); color: var(--white); }
.btn--white:hover .btn__icon { background: var(--white); color: var(--teal); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); color: var(--white); }
.btn--teal.btn--with-icon { padding-right: 8px; }
.btn--teal .btn__icon { background: var(--white); color: var(--teal); }
.btn--outline { border: 1.5px solid var(--white); color: var(--white); font-weight: 500; }
.btn--outline:hover { background: var(--white); color: var(--purple); }
.btn--outline-dark { border: 1.5px solid var(--ink); color: var(--ink); font-weight: 500; }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.btn--sm { height: 50px; padding: 0 22px; font-size: 14px; }
.btn__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  flex: none;
  transition: background .25s, color .25s;
}
.btn__icon svg { width: 16px; height: 16px; }
.btn--sm .btn__icon { width: 36px; height: 36px; }

/* pill badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.pill__dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--teal); color: var(--white); }
.pill__dot svg { width: 12px; height: 12px; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity .2s, background .2s, color .2s;
}
.chip:hover { opacity: .85; }
.chip[aria-pressed="true"] { background: var(--white); color: var(--purple); }
.chips--dark .chip { border-color: var(--ink); color: var(--ink); }
.chips--dark .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 4.4vw, 64px);
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s, color .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.site-header__brand { display: inline-flex; align-items: center; justify-self: start; }
.site-header__brand img { height: 48px; width: auto; }
.site-header__brand .logo-dark { display: none; }
.site-header.is-scrolled .logo-white, .site-header.is-open .logo-white { display: none; }
.site-header.is-scrolled .logo-dark, .site-header.is-open .logo-dark { display: block; }
.site-nav ul { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.site-nav a { display: block; padding: 6px 0; border-bottom: 2px solid transparent; transition: opacity .2s; }
.site-nav a:hover { opacity: .7; color: inherit; }
.site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-header.is-scrolled .site-nav a[aria-current="page"] { border-bottom-color: var(--teal); }
.site-header__actions { display: flex; align-items: center; justify-self: end; gap: 28px; white-space: nowrap; }
.site-header__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.site-header__phone:hover { opacity: .7; color: inherit; }
.site-header__phone svg { width: 16px; height: 16px; }
.site-header__cta {
  display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--white); color: var(--teal); font-size: 14px; font-weight: 600; transition: opacity .2s, background .3s, color .3s;
}
.site-header__cta:hover { opacity: .9; color: var(--teal); }
.site-header.is-scrolled .site-header__cta { background: var(--teal); color: var(--white); }
.site-header__burger { display: none; width: 44px; height: 44px; border-radius: 999px; place-items: center; justify-self: end; color: inherit; }
.site-header__burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }
.site-header.is-open .site-header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .site-header__burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .site-header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header__burger { display: grid; }
  .site-header__actions .site-header__phone { display: none; }
  .site-header__actions { gap: 12px; }
  .site-nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; padding: 24px clamp(20px, 5vw, 64px) 32px;
    background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s;
  }
  .site-header.is-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; font-size: 20px; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--line); }
  .site-nav .site-nav__mobile-extra { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; font-size: 16px; }
}
@media (min-width: 1200px) { .site-nav__mobile-extra { display: none; } }
@media (max-width: 767px) {
  :root { --nav-h: 72px; }
  .site-header__brand img { height: 40px; }
  .site-header__cta { height: 42px; padding: 0 16px; font-size: 13px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--white); color: var(--ink); border-top: 1px solid var(--line); }
.site-footer__inner { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 32px; } /* keep .container side gutters */
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}
.site-footer__brand img { height: 60px; width: auto; }
.site-footer__brand p { margin: 20px 0 0; max-width: 340px; color: var(--muted); }
.site-footer__contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.site-footer__contacts a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color .2s;
}
.site-footer__contacts a:hover { border-color: var(--ink); color: var(--ink); }
.site-footer__col p.eyebrow { margin-bottom: 12px; }
.site-footer__col ul { display: grid; gap: 2px; }
.site-footer__hours { border-collapse: collapse; width: 100%; }
.site-footer__hours th { text-align: left; font-weight: 400; padding: 0 16px 2px 0; }
.site-footer__hours td { padding: 0 0 2px; font-weight: 600; }
.site-footer__hours td.closed { font-weight: 400; color: var(--muted-2); }
.site-footer__address { margin: 18px 0 0; }
.site-footer__map { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--teal); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 13px; color: var(--muted-2); flex-wrap: wrap; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px 28px; }
@media (max-width: 1199px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- page transition overlay ---------- */
#adc-transition {
  position: fixed; inset: 0; z-index: 2147483000; background: var(--purple);
  display: flex; align-items: center; justify-content: center; pointer-events: none; will-change: transform, clip-path;
}
#adc-transition .adc-t-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
#adc-transition img { height: 110px; width: auto; filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .35)); }
#adc-transition .adc-t-line { width: 120px; height: 3px; border-radius: 99px; background: var(--teal); transform-origin: 0 50%; }
#adc-transition .adc-t-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(8, 152, 168, .33) 0%, transparent 62%); pointer-events: none; }
.no-js #adc-transition { display: none; }

/* ---------- generic page (single post, 404, default page) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--purple) 0%, var(--purple-2) 55%, var(--purple-3) 100%); color: var(--white); padding: calc(var(--nav-h) + 80px) 0 80px; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.page-hero .eyebrow { color: var(--teal-light); }
.page-hero p.lead { color: rgba(255, 255, 255, .85); max-width: 640px; margin-top: 22px; }
.prose { max-width: 760px; margin-inline: auto; padding: 72px 0 96px; font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 30px; margin: 40px 0 14px; letter-spacing: -.01em; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose img { border-radius: var(--radius); }
.prose a { color: var(--teal); text-decoration: underline; }
.prose__meta { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--muted-2); margin-bottom: 28px; }
.prose__figure { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.prose__figure img { width: 100%; height: 100%; object-fit: cover; }
.prose__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; color: var(--teal); }

/* notices */
.notice { padding: 16px 20px; border-radius: var(--radius-sm); background: #e6f6f8; color: var(--teal-dark); font-weight: 500; }
.notice--error { background: #fdecec; color: #8a1f1f; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* second phone number */
.home-rdv__phone--2, .clin-access__phone--2, .rdv-facts__phone--2 { font-size: 17px; font-weight: 500; }

/* Social icon buttons (Facebook, Instagram…) */
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.social__link svg { width: 18px; height: 18px; }
.social__link:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateY(-2px); }
.social--footer { margin-top: 16px; }
