/* cmeapp.fr - accueil de la prise de rendez-vous du Centre Medical Europe.
   Charte de centre-medical-europe.fr/dentaire et /orthodontie (bleu CME, fonds bleu pale, pilules, angles arrondis).
   Les 6 cartes de rendez-vous sont le coeur de la page ; aucun bouton ne renvoie vers la page elle-meme. */

@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/raleway-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/raleway-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+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: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/open-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/open-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+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 {
  --navy: #12305a;
  --blue: #324f85;
  --blue-dark: #263f6e;
  --sky: #829bc8;
  --line: #d5dfef;
  --pale: #e9eff8;
  --paler: #f4f7fb;
  --accent: #21cdb4;
  --accent-dark: #17b39c;
  --accent-ink: #0a6a5d;
  --ink: #16294a;
  --text: #46536b;
  --muted: #5b6a85;
  --white: #fff;
  --title: "Raleway", "Segoe UI", system-ui, sans-serif;
  --body: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 24px 48px -28px rgba(18, 48, 90, .38);
  --shadow-sm: 0 10px 24px -16px rgba(18, 48, 90, .35);
  --pad: clamp(20px, 5vw, 72px);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--title); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: calc(860px + 2 * var(--pad)); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }


body { font-size: 18px; color: #36435c; }

/* ---------- Bandeau et en-tete ---------- */
.topbar { background: var(--navy); color: #c9d6ec; font-size: 14px; line-height: 1.4; }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .ico { width: 17px; height: 17px; }
.topbar__note { opacity: .8; }
.topbar__place { margin-left: auto; }
.topbar__place .ico { color: var(--accent); }

.header { background: #fff; border-bottom: 1px solid var(--pale); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand__logo { width: 100px; height: auto; border-radius: 6px; }
.brand__name { display: flex; flex-direction: column; gap: 3px; }
.brand__name strong { font-family: var(--title); font-weight: 800; font-size: 19px; line-height: 1.15; color: var(--navy); }
.brand__name span { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { padding: 11px 18px; border-radius: 999px; font-family: var(--title); font-weight: 700; font-size: 16px; color: var(--navy); text-decoration: none; transition: background-color .15s ease; }
.nav__link:hover { background: var(--pale); color: var(--navy); }

/* ---------- Titre ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(24px, 2.6vw, 40px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(1100px 520px at 88% -8%, #dbe6f6 0, rgba(219, 230, 246, 0) 62%), linear-gradient(180deg, var(--paler) 0, #fff 100%); }
.hero > .wrap { position: relative; }
.hero__head { margin-bottom: clamp(20px, 2.2vw, 30px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--title); font-weight: 700; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.hero h1 { font-size: clamp(31px, 3.7vw, 52px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.nw { white-space: nowrap; }
.lead { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); }

/* ---------- Message de suspension (bascule Easydoct -> Doctolib) ---------- */
.notice { display: flex; gap: 20px; margin-bottom: clamp(20px, 2.2vw, 30px); padding: 24px 28px; background: #fff6e6; border: 2px solid #eda33b; border-radius: 24px; color: var(--ink); font-size: 17.5px; line-height: 1.55; }
.notice p { margin: 0 0 .5em; }
.notice p:last-child { margin-bottom: 0; }
.notice__title { font-family: var(--title); font-weight: 800; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.25; color: var(--navy); }
.notice__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #eda33b; color: #fff; }
.notice__icon .ico { width: 28px; height: 28px; stroke-width: 2.2; }

/* ---------- Les 6 cartes de rendez-vous ---------- */
.rdv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; }
.rdv > li { display: flex; }
.spe { --tint: var(--pale); display: flex; flex-direction: column; width: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 20px 38px -24px rgba(18, 48, 90, .5); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.spe:hover { transform: translateY(-6px); border-color: var(--sky); box-shadow: 0 32px 56px -26px rgba(18, 48, 90, .6); color: inherit; }
.spe--medical { --tint: #bcdefe; }
.spe--dentaire { --tint: #72d0cc; }
.spe--orthodontie { --tint: #cbb3e7; }
.spe--pedodontie { --tint: #fcbbc2; }
.spe--parodontie { --tint: #fce8dc; }
.spe--implantologie { --tint: #ced8dd; }
.spe__media { display: grid; place-items: center; height: 150px; background: var(--tint); }
.spe__media img { width: 150px; height: 150px; -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); transition: transform .25s ease; }
a.spe:hover .spe__media img { transform: scale(1.08); }
.spe__body { display: flex; flex-direction: column; align-items: center; padding: 18px 20px 0; text-align: center; }
.spe__label { font-family: var(--title); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.spe__name { font-family: var(--title); font-weight: 800; font-size: 30px; line-height: 1.15; color: var(--navy); }
.spe__desc { margin-top: 4px; font-size: 16px; line-height: 1.4; color: #46536b; }
.spe__cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin: auto 20px 20px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--navy); font-family: var(--title); font-weight: 800; font-size: 17px; white-space: nowrap; box-shadow: 0 14px 26px -14px rgba(33, 205, 180, .9); transition: background-color .18s ease; }
.spe__body + .spe__cta, .spe__body + .spe__status { margin-top: 16px; }
.spe__cta .ico--arrow { display: none; }
a.spe:hover .spe__cta { background: var(--accent-dark); }
.spe.is-off { cursor: not-allowed; background: #f3f5f8; box-shadow: none; }
.spe.is-off .spe__media { filter: grayscale(1); opacity: .6; }
.spe.is-off .spe__name, .spe.is-off .spe__label { color: var(--muted); }
.spe__status { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; margin: auto 20px 20px; padding: 0 16px; border-radius: 999px; background: #fdeccd; color: #7a4206; font-family: var(--title); font-weight: 800; font-size: 16px; white-space: nowrap; }
.spe__status .ico { width: 20px; height: 20px; }

/* ---------- Points cles ---------- */
.keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; list-style: none; background: #fff; border: 1px solid var(--pale); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.keys li { display: flex; gap: 14px; padding: 22px 22px; font-size: 15.5px; line-height: 1.45; }
.keys li + li { border-left: 1px solid var(--pale); }
.keys .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--paler); color: var(--blue); }
.keys strong { display: block; margin-bottom: 2px; font-family: var(--title); font-size: 17px; color: var(--navy); }

/* ---------- Le centre ---------- */
.section { padding: clamp(52px, 6vw, 88px) 0; }
.section--pale { background: var(--paler); }
.h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.section__intro { max-width: 78ch; margin-bottom: 34px; }
.section__intro strong { color: var(--ink); }
.poles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pole { padding: 28px 28px 32px; background: var(--paler); border: 1px solid var(--pale); border-radius: 26px 26px 80px 26px; }
.pole h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 22px; font-weight: 800; }
.pole h3 .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: #fff; color: var(--blue); }
.pole p { margin: 0; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.taglist li { padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--navy); }

/* ---------- Acces ---------- */
.access { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.access__card { padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; font-size: 17px; }
.access__card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 21px; font-weight: 800; }
.access__card h3 .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--pale); color: var(--blue); }
.access__card strong { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 8px 22px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); font-family: var(--title); font-weight: 700; font-size: 16px; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.btn:hover { border-color: var(--blue); color: var(--navy); transform: translateY(-2px); }
.lines { display: grid; gap: 8px; margin: 0; }
.lines div { display: flex; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.lines dt { flex: none; width: 66px; color: var(--muted); }
.lines dd { margin: 0; font-weight: 600; color: var(--ink); }
.lines--wide div { justify-content: space-between; }
.lines--wide dt { width: auto; }
.lines a { color: var(--navy); font-weight: 700; text-decoration: none; }
.lines a:hover { text-decoration: underline; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy); color: #c3d0e7; font-size: 16px; padding: clamp(44px, 5vw, 64px) 0 0; }
.footer a { color: #e9eff9; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer__name { font-family: var(--title); font-weight: 800; font-size: 20px; line-height: 1.25; color: #fff; }
.footer__title { margin-bottom: 14px; font-family: var(--title); font-weight: 700; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.footer ul { display: grid; gap: 9px; list-style: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; }
.footer__bottom p { margin: 0; }

/* ---------- Ecrans moyens ---------- */
@media (max-width: 1060px) {
  .topbar__note { display: none; }
  .rdv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keys li:nth-child(3) { border-left: 0; }
  .keys li:nth-child(n + 3) { border-top: 1px solid var(--pale); }
  .access { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Telephones : une carte par ligne, logo a gauche ---------- */
@media (max-width: 680px) {
  :root { --pad: 16px; }
  body { font-size: 17px; }
  .topbar__note, .topbar .topbar__place { display: none; }
  .topbar__in { min-height: 36px; }
  .header__in { min-height: 66px; }
  .brand__logo { width: 72px; }
  .brand__name strong { font-size: 16.5px; }
  .brand__name span { font-size: 11.5px; }
  .nav { display: none; }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: clamp(24px, 7.6vw, 30px); }
  .lead { font-size: 17px; }
  .notice { flex-direction: column; gap: 12px; padding: 18px; font-size: 16.5px; border-radius: 20px; }
  .notice__icon { width: 44px; height: 44px; }
  .rdv { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .spe { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; border-radius: 22px; }
  .spe__media { align-self: stretch; height: auto; min-height: 104px; }
  .spe__media img { width: 92px; height: 92px; }
  .spe__body { align-items: flex-start; padding: 12px 8px 12px 16px; text-align: left; }
  .spe__label { font-size: 11.5px; }
  .spe__name { font-size: 23px; }
  .spe__desc { margin-top: 2px; font-size: 15px; line-height: 1.3; }
  .spe__cta, .spe__body + .spe__cta { width: 48px; height: 48px; min-height: 0; margin: 0 14px 0 4px; padding: 0; border-radius: 50%; }
  .spe__cta > span, .spe__cta .ico--cal { display: none; }
  .spe__cta .ico--arrow { display: block; width: 24px; height: 24px; stroke-width: 2.2; }
  .spe.is-off { grid-template-columns: 92px minmax(0, 1fr); }
  .spe.is-off .spe__media { grid-row: span 2; }
  .spe.is-off .spe__body { padding-bottom: 8px; }
  .spe__status, .spe__body + .spe__status { grid-column: 2; justify-self: start; min-height: 34px; margin: 0 12px 12px 16px; padding: 0 12px; font-size: 14px; }
  .keys { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .keys li { padding: 16px 18px; }
  .keys li + li { border-left: 0; border-top: 1px solid var(--pale); }
  .poles, .access, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .pole { padding: 22px 20px 26px; border-radius: 22px 22px 64px 22px; }
  .pole h3 { font-size: 20px; }
  .taglist li { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .header, .footer { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .hero, .section--pale { background: none; }
}
