/*
 * Charte du site vitrine calducee.fr (refonte 2026, version A « Clair & produit »).
 * Reprend la plaquette A5 v2 : vert profond, Plus Jakarta Sans.
 * Toutes les classes sont préfixées « cx- » pour ne pas entrer en collision avec Tailwind.
 */
:root {
    --cx-bg: #f3f7f5;
    --cx-surface: #ffffff;
    --cx-ink: #0d1f1b;
    --cx-muted: #4e625c;
    --cx-line: #dce7e2;
    --cx-brand: #148a58;
    --cx-brand-2: #2fbf7c;
    --cx-brand-light: #58d39b;
    --cx-soft: #e3f6ed;
    --cx-tint: #e9f2ee;
    --cx-dark: #071d1c;
    --cx-dark-2: #0e2b27;
    --cx-hot: #ff6b4a;
    --cx-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body.cx-body {
    background: var(--cx-bg);
    color: var(--cx-ink);
    font-family: var(--cx-font);
    -webkit-font-smoothing: antialiased;
}

.cx-in { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* ---------- boutons ---------- */
.cx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 10px; padding: 12px 20px; font-weight: 700; font-size: 15px; line-height: 1.2;
    white-space: nowrap; text-decoration: none; transition: background-color .15s, border-color .15s, transform .15s;
}
.cx-btn:focus-visible, .cx-nav a:focus-visible, .cx-tour-tab:focus-visible, .cx-faq summary:focus-visible {
    outline: 2px solid var(--cx-brand); outline-offset: 2px;
}
.cx-btn-pri { background: var(--cx-dark); color: #fff; }
.cx-btn-pri:hover { background: #12322e; }
.cx-btn-sec { background: var(--cx-surface); border: 1px solid var(--cx-line); color: var(--cx-ink); }
.cx-btn-sec:hover { border-color: var(--cx-brand); }
.cx-btn-light { background: var(--cx-brand-light); color: #04201a; }
.cx-btn-light:hover { background: #7ae0b2; }

/* ---------- en-tête ---------- */
.cx-header { position: sticky; top: 0; z-index: 40; background: rgba(243, 247, 245, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.cx-header.is-scrolled { border-bottom-color: var(--cx-line); }
.cx-nav { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; font-size: 15px; font-weight: 600; }
.cx-nav img { height: 34px; width: auto; }
.cx-nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.cx-nav-links a { color: var(--cx-muted); text-decoration: none; }
.cx-nav-links a:hover { color: var(--cx-ink); }
.cx-nav-links .cx-patient { color: var(--cx-brand); display: inline-flex; gap: 6px; align-items: center; }
.cx-burger { margin-left: auto; display: none; background: none; border: 0; color: var(--cx-ink); font-size: 22px; padding: 6px; cursor: pointer; }
.cx-drawer { position: fixed; inset: 0; z-index: 60; background: rgba(7, 29, 28, .55); }
.cx-drawer-panel { position: absolute; top: 0; right: 0; width: min(320px, 86vw); height: 100%; background: var(--cx-surface); padding: 24px; display: flex; flex-direction: column; gap: 18px; font-weight: 600; }
.cx-drawer-panel a { color: var(--cx-ink); text-decoration: none; }
.cx-drawer-close { align-self: flex-end; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--cx-ink); }

/* ---------- hero ---------- */
.cx-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 80px; }
.cx-chip { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--cx-line); background: var(--cx-surface); border-radius: 999px; padding: 5px 14px 5px 5px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.cx-tag-new { display: inline-block; background: var(--cx-hot); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.cx-hero h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.cx-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--cx-brand), var(--cx-brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-lead { color: var(--cx-muted); font-size: 18px; line-height: 1.6; max-width: 48ch; margin-top: 20px; }
.cx-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cx-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; color: var(--cx-muted); font-weight: 600; }
.cx-trust span::before { content: "✓"; color: var(--cx-brand); margin-right: 6px; font-weight: 800; }
.cx-stage { min-width: 0; position: relative; padding: 12px 0 44px 48px; }
.cx-stage .cx-phone { position: absolute; left: -8px; bottom: -12px; width: 180px; z-index: 2; }
.cx-stage .cx-toast { position: absolute; z-index: 3; }
.cx-stage .cx-toast-ia { right: -8px; top: -18px; }
.cx-stage .cx-toast-sms { right: 24px; bottom: 4px; }

/* ---------- bandeau métiers ---------- */
.cx-metiers { border-top: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); background: var(--cx-surface); }
.cx-metiers .cx-in { display: flex; gap: 10px 30px; flex-wrap: wrap; align-items: center; padding-top: 20px; padding-bottom: 20px; font-weight: 700; color: var(--cx-muted); font-size: 15px; }
.cx-metiers small { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-brand); }

/* ---------- sections ---------- */
.cx-section { padding-top: 88px; padding-bottom: 88px; scroll-margin-top: 70px; }
.cx-section-tint { background: var(--cx-tint); }
.cx-sh { display: grid; gap: 12px; margin-bottom: 36px; max-width: 680px; }
.cx-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-brand); }
.cx-sh h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.cx-sh p { color: var(--cx-muted); font-size: 17px; line-height: 1.6; }

/* ---------- grille de fonctionnalités ---------- */
.cx-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cx-bx { background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.cx-bx h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.cx-bx p { color: var(--cx-muted); font-size: 15px; line-height: 1.55; }
.cx-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--cx-soft); color: var(--cx-brand); display: grid; place-items: center; font-size: 18px; }
.cx-s2 { grid-column: span 2; } .cx-s4 { grid-column: span 4; }
.cx-bx-dark { background: linear-gradient(135deg, #0b2a26, #0f3d34); color: #e9f6f1; border-color: transparent; }
.cx-bx-dark p { color: #b7d3ca; }
.cx-bx-dark .cx-ico { background: rgba(88, 211, 155, .15); color: var(--cx-brand-light); }
.cx-tag-opt { display: inline-block; border: 1px solid var(--cx-brand-light); color: var(--cx-brand-light); border-radius: 6px; padding: 2px 9px; font-size: 12px; font-weight: 700; width: max-content; }
.cx-big { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cx-bx-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.cx-wave { display: flex; gap: 3px; align-items: center; height: 56px; color: var(--cx-brand-light); }
.cx-wave i { display: block; width: 3px; border-radius: 2px; background: currentColor; }

/* ---------- visite guidée ---------- */
.cx-tour { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.cx-tour-tabs { display: grid; gap: 6px; }
.cx-tour-tab { all: unset; box-sizing: border-box; cursor: pointer; border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; border: 1px solid transparent; }
.cx-tour-tab b { font-size: 16px; }
.cx-tour-tab span { font-size: 14px; color: var(--cx-muted); }
.cx-tour-tab:hover { background: rgba(255, 255, 255, .5); }
.cx-tour-tab[aria-selected="true"] { background: var(--cx-surface); border-color: var(--cx-line); box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .3); }
.cx-tour-panel { min-width: 0; }
.cx-tour-panel figcaption { margin-top: 14px; color: var(--cx-muted); font-size: 15px; }
.cx-tour-phone { display: flex; justify-content: center; padding: 10px; }
.cx-tour-phone .cx-phone { width: 250px; }
.cx-capture { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 30px 60px -25px rgba(5, 30, 25, .45); }

/* ---------- pourquoi ---------- */
.cx-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cx-why div { border-top: 2px solid var(--cx-ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.cx-why b { font-size: 17px; }
.cx-why p { color: var(--cx-muted); font-size: 15px; line-height: 1.55; }

/* ---------- tarif ---------- */
.cx-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 26px; overflow: hidden; background: var(--cx-dark); color: #eaf6f1; }
.cx-price > div { padding: 40px; display: grid; gap: 16px; align-content: start; }
.cx-price .cx-eyebrow { color: var(--cx-brand-light); }
.cx-amount { font-size: 76px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cx-amount small { font-size: 19px; font-weight: 600; letter-spacing: 0; color: #b7d3ca; }
.cx-price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; }
.cx-price li::before { content: "✓"; color: var(--cx-brand-light); margin-right: 10px; font-weight: 800; }
.cx-price-right { background: var(--cx-dark-2); border-left: 1px solid #1b4640; }
.cx-price-right h3 { font-size: 24px; font-weight: 800; }
.cx-price-right p { color: #b7d3ca; }
.cx-price-right small { color: #8fb2a7; }

/* ---------- avis ---------- */
.cx-rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--cx-muted); font-weight: 600; }
.cx-rating b { font-size: 28px; color: var(--cx-ink); }
.cx-stars { color: #f5b301; letter-spacing: 2px; }
.cx-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-rv { background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cx-rv-head { display: flex; gap: 12px; align-items: center; }
.cx-rv-head img, .cx-rv-initial { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.cx-rv-initial { background: var(--cx-soft); color: var(--cx-brand); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.cx-rv-head b { display: block; font-size: 15px; }
.cx-rv p { color: var(--cx-muted); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.cx-rv-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--cx-muted); border-top: 1px solid var(--cx-line); padding-top: 12px; }
.cx-rv-foot img { height: 18px; opacity: .6; }

/* ---------- FAQ ---------- */
.cx-faq { display: grid; gap: 10px; max-width: 860px; }
.cx-faq details { background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 14px; padding: 16px 20px; }
.cx-faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::after { content: "+"; color: var(--cx-brand); font-weight: 800; font-size: 20px; line-height: 1; }
.cx-faq details[open] summary::after { content: "−"; }
.cx-faq details p { color: var(--cx-muted); margin-top: 10px; font-size: 15.5px; line-height: 1.6; }

/* ---------- contact ---------- */
.cx-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 26px; padding: 40px; }
.cx-contact h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.cx-contact p { color: var(--cx-muted); }
.cx-tel { font-size: 32px; font-weight: 800; color: var(--cx-brand); letter-spacing: -.01em; text-decoration: none; }
.cx-contact-actions { display: grid; gap: 10px; }

/* ---------- pied de page ---------- */
.cx-footer { background: var(--cx-dark); color: #a9c4bc; font-size: 14.5px; }
.cx-footer .cx-in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-top: 52px; padding-bottom: 40px; }
.cx-footer b { color: #fff; display: block; margin-bottom: 10px; }
.cx-footer a { color: inherit; display: block; text-decoration: none; margin-bottom: 6px; }
.cx-footer a:hover { color: #fff; }
.cx-footer img { height: 30px; width: auto; margin-bottom: 12px; }
.cx-footer-bottom { border-top: 1px solid #16332f; }
.cx-footer-bottom .cx-in { display: block; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }

/* ---------- bandeau cookies ---------- */
.cx-cookie { position: fixed; bottom: 16px; right: 16px; left: auto; max-width: 380px; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); z-index: 70; padding: 20px; flex-direction: column; gap: 14px; font-size: 14.5px; }
.cx-cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cx-cookie .cx-btn { padding: 9px 16px; font-size: 14px; }

/* =====================================================================
 * Écrans de l'application redessinés (en attendant / en complément des captures)
 * ===================================================================== */
.cx-ui { --u-ink: #18262a; --u-muted: #6b7a7e; --u-line: #e3e8ea; --u-top: #151a1c; --u-brand: #2f9be0;
    font-family: 'Inter', system-ui, sans-serif; color: var(--u-ink); background: #fff; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 30px 60px -25px rgba(5, 30, 25, .45); font-size: 11.5px; line-height: 1.35; text-align: left; }
.cx-ui-chrome { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #eef1f2; border-bottom: 1px solid var(--u-line); }
.cx-ui-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6d9; display: inline-block; }
.cx-ui-chrome span { margin-left: 8px; background: #fff; border-radius: 5px; padding: 2px 10px; color: var(--u-muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-ui-top { display: flex; align-items: center; gap: 10px; background: var(--u-top); color: #fff; padding: 9px 12px; }
.cx-ui-top img { height: 18px; width: auto; }
.cx-ui-top .cx-ui-cab { font-weight: 700; font-size: 12px; white-space: nowrap; }
.cx-ui-top .cx-ui-search { flex: 1; min-width: 0; background: #f1f3f4; color: #7b878b; border-radius: 4px; padding: 4px 8px; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-ui-top .cx-ui-burger { width: 22px; height: 22px; border-radius: 5px; background: var(--u-brand); flex: none; }
.cx-ui-tool { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--u-line); flex-wrap: wrap; }
.cx-ui-btn { border: 1px solid var(--u-line); border-radius: 5px; padding: 3px 8px; font-size: 10.5px; background: #fff; white-space: nowrap; }
.cx-ui-btn.is-on { background: #e8f4fc; border-color: #9fd0f1; color: #1874b3; }
.cx-ui-date { font-weight: 700; font-size: 12.5px; margin: 0 auto; }
.cx-ui-seg { display: flex; background: #eef1f2; border-radius: 6px; padding: 2px; }
.cx-ui-seg span { padding: 2px 7px; border-radius: 4px; font-size: 10.5px; color: var(--u-muted); }
.cx-ui-seg span.is-on { background: #fff; color: var(--u-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.cx-ui-scroll { overflow-x: auto; }
.cx-ag { display: grid; grid-template-columns: 38px repeat(5, minmax(92px, 1fr)); min-width: 520px; }
.cx-ag-h { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--u-line); border-left: 1px solid var(--u-line); font-size: 11px; color: var(--u-muted); }
.cx-ag-h b { color: var(--u-ink); font-size: 12px; margin-left: 3px; }
.cx-ag-h.is-today b { background: var(--u-brand); color: #fff; border-radius: 50%; display: inline-grid; place-items: center; width: 21px; height: 21px; }
.cx-ag-h small { display: block; color: var(--u-ink); font-weight: 600; font-size: 10px; margin-top: 2px; }
.cx-ag-hours { display: grid; grid-template-rows: repeat(6, 1fr); height: 264px; font-size: 9.5px; color: var(--u-muted); text-align: right; padding-right: 4px; }
.cx-ag-col { position: relative; height: 264px; border-left: 1px solid var(--u-line); background: repeating-linear-gradient(to bottom, transparent 0 43px, var(--u-line) 43px 44px); }
.cx-ev { position: absolute; left: 4px; right: 4px; border-radius: 4px; padding: 3px 5px; font-size: 10px; color: #1d2b28; overflow: hidden; border-left: 3px solid rgba(0, 0, 0, .18); }
.cx-ev b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-ev span { opacity: .75; }
.cx-ev-mint { background: #d6f5e6; border-left-color: #3cb37c; } .cx-ev-sky { background: #d4eef8; border-left-color: #3a9fd0; }
.cx-ev-sand { background: #fff0c4; border-left-color: #d6a21e; } .cx-ev-lilac { background: #e6e3fd; border-left-color: #7d6ee6; }
.cx-ev-rose { background: #ffe0d6; border-left-color: #e2765a; }
.cx-ev-off { background: repeating-linear-gradient(135deg, #eef1f2 0 6px, #e2e7e9 6px 12px); border-left-color: #aab5b9; }
.cx-ui-pad { padding: 12px; display: grid; gap: 10px; background: #f7f9fb; }
.cx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cx-tile { border-radius: 8px; color: #fff; padding: 10px; display: grid; gap: 1px; }
.cx-tile small { opacity: .88; font-size: 10px; }
.cx-tile b { font-size: 22px; font-family: var(--cx-font); }
.cx-t1 { background: linear-gradient(135deg, #3b82f6, #2563eb); } .cx-t2 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.cx-t3 { background: linear-gradient(135deg, #22c55e, #059669); } .cx-t4 { background: linear-gradient(135deg, #a855f7, #6d28d9); }
.cx-ui-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cx-ui-card { background: #fff; border: 1px solid var(--u-line); border-radius: 8px; padding: 10px; display: grid; gap: 6px; min-width: 0; align-content: start; }
.cx-ui-card h5 { margin: 0; font: 700 11.5px var(--cx-font); }
.cx-wr { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--u-line); padding-top: 6px; }
.cx-wr div { flex: 1; min-width: 0; }
.cx-wr small { color: var(--u-muted); display: block; font-size: 9.5px; }
.cx-pill { border-radius: 999px; padding: 1px 7px; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.cx-p-violet { background: #efe9ff; color: #6d28d9; } .cx-p-red { background: #fde4e4; color: #c62828; }
.cx-p-green { background: #ddf7e8; color: #16794a; } .cx-p-amber { background: #fff1d6; color: #a35b00; } .cx-p-blue { background: #e2efff; color: #1d5fbf; }
.cx-p-grey { background: #eef1f2; color: #4b5a5e; }
.cx-mini-btn { border: 1px solid var(--u-line); border-radius: 4px; padding: 2px 6px; font-size: 9.5px; font-weight: 600; background: #fff; white-space: nowrap; }
.cx-mini-btn.is-blue { background: #3a9fd8; color: #fff; border-color: #3a9fd8; }
.cx-mini-btn.is-amber { background: #f59e0b; color: #fff; border-color: #f59e0b; width: max-content; }
.cx-flow { display: flex; gap: 4px; flex-wrap: wrap; }
.cx-flow span { font-size: 9.5px; border-radius: 4px; padding: 3px 6px; background: #eef3ff; }
.cx-phone { width: 210px; max-width: 100%; border-radius: 30px; background: #0b1513; padding: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.cx-phone-in { border-radius: 23px; overflow: hidden; background: #fff; font-family: 'Inter', system-ui, sans-serif; font-size: 11px; color: #14211e; }
.cx-phone-head { background: #0d2b28; color: #fff; padding: 24px 14px 14px; display: grid; gap: 3px; }
.cx-phone-head small { color: var(--cx-brand-light); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.cx-phone-head b { font-size: 14px; }
.cx-phone-head span { color: #b5c9c4; font-size: 10px; }
.cx-phone-body { padding: 12px; display: grid; gap: 8px; }
.cx-phone-lbl { font-size: 9px; font-weight: 700; letter-spacing: .1em; color: #5e6f6b; }
.cx-days, .cx-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.cx-slots { grid-template-columns: repeat(3, 1fr); }
.cx-days span, .cx-slots span { border: 1px solid #dfe6e3; border-radius: 6px; text-align: center; padding: 4px 0; font-weight: 600; }
.cx-days span small { display: block; font-weight: 400; color: #6b7a77; font-size: 8.5px; }
.cx-days span.is-on { background: #0d2b28; color: #fff; border-color: #0d2b28; }
.cx-days span.is-on small { color: #b5c9c4; }
.cx-slots span.is-on { background: var(--cx-brand-2); color: #fff; border-color: var(--cx-brand-2); }
.cx-slots span.is-taken { color: #b9c3c0; text-decoration: line-through; }
.cx-phone-cta { background: #0d2b28; color: #fff; text-align: center; border-radius: 8px; padding: 9px; font-weight: 700; }
.cx-toast { display: flex; gap: 10px; align-items: center; background: #fff; color: #14211e; border-radius: 12px; padding: 10px 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .4); font-size: 12px; max-width: 260px; }
.cx-toast-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.cx-toast b { display: block; font-size: 13px; }
.cx-toast small { color: #5e6f6b; }
.cx-sms { background: #e9edf0; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 13px; color: #14211e; line-height: 1.45; }
.cx-vit-hero { background: linear-gradient(120deg, #0d3b36, #14695a); color: #fff; padding: 20px 16px; display: grid; gap: 4px; }
.cx-vit-hero b { font-size: 16px; font-family: var(--cx-font); }
.cx-vit-hero span { color: #cfe7df; font-size: 11px; }
.cx-vit-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; padding: 14px 16px; font-size: 11px; }
.cx-vit-blk { display: grid; gap: 5px; align-content: start; }
.cx-vit-blk small { color: #6b7a77; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.cx-vit-cta { background: var(--cx-brand-2); color: #fff; border-radius: 6px; padding: 7px 10px; font-weight: 700; text-align: center; }
.cx-abs-banner { background: #fde9b8; border-radius: 6px; padding: 8px 10px; display: flex; gap: 6px; align-items: center; font-size: 11px; flex-wrap: wrap; }
.cx-abs-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--u-line); border-radius: 6px; padding: 7px 9px; }
.cx-abs-row small { color: var(--u-muted); }
.cx-abs-actions { display: flex; gap: 6px; justify-content: flex-end; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .cx-nav-links { display: none; }
    .cx-burger { display: block; }
    .cx-nav .cx-btn { display: none; }
}
@media (max-width: 900px) {
    .cx-hero { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
    .cx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cx-s2, .cx-s4 { grid-column: span 2; }
    .cx-bento .cx-half { grid-column: span 1; }
    .cx-bx-row { grid-template-columns: minmax(0, 1fr); }
    .cx-tour { grid-template-columns: minmax(0, 1fr); }
    .cx-tour-tabs { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .cx-why { grid-template-columns: 1fr 1fr; }
    .cx-price, .cx-contact { grid-template-columns: minmax(0, 1fr); }
    .cx-price-right { border-left: 0; border-top: 1px solid #1b4640; }
    .cx-reviews { grid-template-columns: 1fr 1fr; }
    .cx-footer .cx-in { grid-template-columns: 1fr 1fr; }
    .cx-section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 600px) {
    .cx-in { padding-left: 16px; padding-right: 16px; }
    .cx-bento .cx-half { grid-column: span 2; }
    .cx-why, .cx-reviews { grid-template-columns: minmax(0, 1fr); }
    .cx-stage { padding-left: 0; }
    .cx-stage .cx-phone, .cx-stage .cx-toast { display: none; }
    .cx-price > div, .cx-contact { padding: 26px; }
    .cx-amount { font-size: 58px; }
    .cx-tiles { grid-template-columns: 1fr 1fr; }
    .cx-ui-row, .cx-vit-body { grid-template-columns: 1fr; }
    .cx-footer .cx-in { grid-template-columns: 1fr; }
    .cx-cookie { left: 16px; right: 16px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .cx-btn { transition: none; }
}

/* =====================================================================
 * Annuaire : formulaire de recherche et page de résultats (/praticiens)
 * ===================================================================== */
.cx-btn-ghost { background: transparent; color: var(--cx-brand); padding-left: 10px; padding-right: 10px; }
.cx-btn-ghost:hover { background: var(--cx-soft); }

.cx-results-top { background: var(--cx-dark); padding-top: 22px; padding-bottom: 26px; }
.cx-crumbs { font-size: 13px; color: #8fb2a7; margin-bottom: 14px; }
.cx-crumbs a { color: #cfe7df; text-decoration: none; }
.cx-crumbs a:hover { text-decoration: underline; }

.cx-search { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 130px auto; gap: 8px; align-items: end; background: var(--cx-surface); border-radius: 16px; padding: 10px; }
.cx-field { display: grid; gap: 4px; position: relative; min-width: 0; }
.cx-field label { font-size: 12px; font-weight: 700; color: var(--cx-muted); padding-left: 4px; }
.cx-field input, .cx-field select { width: 100%; border: 1px solid var(--cx-line); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--cx-ink); background: #fff; }
.cx-field input:focus, .cx-field select:focus { outline: 2px solid var(--cx-brand); outline-offset: 0; border-color: transparent; }
.cx-search .cx-btn { height: 46px; }
.cx-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--cx-line); border-radius: 10px; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .35); }
.cx-suggest li { padding: 9px 10px; border-radius: 7px; cursor: pointer; font-size: 14.5px; }
.cx-suggest li:hover { background: var(--cx-soft); }
.cx-search-error { grid-column: 1 / -1; margin: 0; color: #b42318; font-size: 14px; font-weight: 600; padding-left: 4px; }

.cx-results { padding-top: 28px; padding-bottom: 60px; display: grid; gap: 28px; }
.cx-results-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.cx-results-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.cx-results-head h1 span { display: block; font-size: 15px; font-weight: 600; color: var(--cx-muted); letter-spacing: 0; margin-top: 4px; }
.cx-view-toggle { display: none; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 10px; padding: 3px; }
.cx-view-toggle button { border: 0; background: none; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 8px; cursor: pointer; color: var(--cx-muted); }
.cx-view-toggle button[aria-pressed="true"] { background: var(--cx-dark); color: #fff; }

.cx-results-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.cx-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.cx-pcard { position: relative; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 18px; padding: 20px 20px 18px; display: grid; gap: 14px; transition: border-color .15s, box-shadow .15s; scroll-margin-top: 90px; }
.cx-pcard.is-active { border-color: var(--cx-brand); box-shadow: 0 12px 30px -20px rgba(20, 138, 88, .7); }
.cx-pnum { position: absolute; top: -9px; left: -9px; width: 28px; height: 28px; border-radius: 50%; background: var(--cx-dark); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; border: 3px solid var(--cx-bg); }
.cx-pcard.is-active .cx-pnum { background: var(--cx-brand); }
.cx-pcard-head { display: flex; gap: 14px; align-items: flex-start; }
.cx-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; border: 2px solid var(--cx-soft); }
.cx-avatar-init { display: grid; place-items: center; background: var(--cx-soft); color: var(--cx-brand); font-weight: 800; font-size: 20px; }
.cx-pcard-id { flex: 1; min-width: 0; display: grid; gap: 6px; }
.cx-pcard-id h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.cx-pcard-id h2 a { color: var(--cx-ink); text-decoration: none; }
.cx-pcard-id h2 a:hover { color: var(--cx-brand); }
.cx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-chips span { background: var(--cx-soft); color: #0f6b44; border-radius: 6px; padding: 2px 8px; font-size: 13px; font-weight: 600; }
.cx-dist { flex: none; font-size: 13px; font-weight: 700; color: var(--cx-muted); background: var(--cx-bg); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.cx-pinfo { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14.5px; color: var(--cx-muted); }
.cx-pinfo i { width: 16px; color: var(--cx-brand); text-align: center; margin-right: 4px; }
.cx-pinfo a { color: inherit; }
.cx-slots-box { background: var(--cx-bg); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
.cx-slots-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cx-brand); }
.cx-slot-day { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; }
.cx-slot-date { font-size: 14px; font-weight: 700; }
.cx-slot-list { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-slot { background: #fff; border: 1px solid var(--cx-line); color: var(--cx-ink); border-radius: 8px; padding: 4px 9px; font-size: 13.5px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
a.cx-slot:hover { background: var(--cx-brand); border-color: var(--cx-brand); color: #fff; }
.cx-slot-more { font-size: 13px; color: var(--cx-muted); font-weight: 600; align-self: center; }
.cx-noslot { font-size: 14px; color: var(--cx-muted); margin: 0; }
.cx-pcard-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-pcard-actions .cx-btn { padding: 10px 16px; font-size: 14px; }

.cx-map-wrap { position: sticky; top: 84px; }
.cx-map { height: calc(100vh - 110px); min-height: 420px; max-height: 760px; border-radius: 18px; border: 1px solid var(--cx-line); overflow: hidden; z-index: 0; }
.cx-marker { background: none; border: 0; }
.cx-marker span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--cx-dark); border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); color: #fff; font: 800 13px var(--cx-font); }
.cx-marker.is-active span { background: var(--cx-brand); width: 40px; height: 40px; margin: -6px 0 0 -3px; }
.cx-marker b { transform: rotate(45deg); }
.cx-popup-nom { font-weight: 800; color: var(--cx-ink); font-size: 14px; display: block; margin-bottom: 2px; }
.cx-popup-ville { color: var(--cx-muted); }

.cx-empty { background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 18px; padding: 44px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.cx-empty > i { font-size: 30px; color: var(--cx-brand); }
.cx-empty h1, .cx-empty h2 { font-size: 24px; font-weight: 800; }
.cx-empty p { color: var(--cx-muted); max-width: 48ch; }

.cx-pro-banner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--cx-dark); color: #e9f6f1; border-radius: 18px; padding: 22px 26px; }
.cx-pro-banner div { display: grid; gap: 4px; }
.cx-pro-banner span { color: #b7d3ca; font-size: 15px; }

@media (max-width: 960px) {
    .cx-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .cx-search .cx-field-ville { grid-column: span 2; order: -1; }
    .cx-view-toggle { display: flex; }
    .cx-results-grid { grid-template-columns: minmax(0, 1fr); }
    .cx-results-grid[data-vue-active="liste"] .cx-map-wrap { display: none; }
    .cx-results-grid[data-vue-active="carte"] .cx-cards { display: none; }
    .cx-map-wrap { position: static; }
    .cx-map { height: 70vh; }
}
@media (max-width: 600px) {
    .cx-search { grid-template-columns: minmax(0, 1fr); }
    .cx-search .cx-field-ville { grid-column: auto; }
    .cx-results-head h1 { font-size: 23px; }
    .cx-slot-day { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .cx-pcard-head { flex-wrap: wrap; }
}

/* ---------- annuaire (/annuaire) ---------- */
.cx-field-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cx-locate { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--cx-brand); cursor: pointer; padding: 0 4px; }
.cx-locate:hover { text-decoration: underline; }
.cx-locate:disabled { opacity: .5; cursor: wait; }
.cx-annuaire-hero { background: var(--cx-dark); color: #e9f6f1; padding-top: 56px; padding-bottom: 64px;
    background-image: radial-gradient(800px 420px at 90% -20%, rgba(88, 211, 155, .22), transparent 60%); }
.cx-annuaire-hero .cx-in { display: grid; gap: 14px; }
.cx-annuaire-hero .cx-eyebrow { color: var(--cx-brand-light); }
.cx-annuaire-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; max-width: 18ch; text-wrap: balance; }
.cx-annuaire-hero p { color: #b7d3ca; font-size: 17px; max-width: 58ch; margin-bottom: 12px; }
.cx-section-compact { padding-top: 64px; padding-bottom: 64px; }
.cx-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cx-spec { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 12px; padding: 14px 16px; font: inherit; font-weight: 700; font-size: 15px; color: var(--cx-ink); cursor: pointer; }
.cx-spec i { color: var(--cx-brand); font-size: 13px; transition: transform .15s; }
.cx-spec:hover { border-color: var(--cx-brand); }
.cx-spec:hover i { transform: translateX(3px); }
.cx-spec:focus-visible { outline: 2px solid var(--cx-brand); outline-offset: 2px; }
.cx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-steps li { background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.cx-step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--cx-dark); color: #fff; display: grid; place-items: center; font-weight: 800; }
.cx-steps h3 { font-size: 18px; font-weight: 800; }
.cx-steps p { color: var(--cx-muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .cx-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- fiche praticien (/praticien/…) ---------- */
.cx-btn-outline-light { border: 1px solid #2f5b53; color: #e9f6f1; }
.cx-btn-outline-light:hover { border-color: var(--cx-brand-light); }
.cx-fiche-top { background: var(--cx-dark); color: #e9f6f1; padding-top: 22px; padding-bottom: 34px;
    background-image: radial-gradient(700px 380px at 95% -30%, rgba(88, 211, 155, .2), transparent 60%); }
.cx-fiche-id { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.cx-fiche-avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; border: 3px solid rgba(255, 255, 255, .15); font-size: 34px; }
.cx-fiche-txt { flex: 1; min-width: 240px; display: grid; gap: 8px; }
.cx-fiche-txt h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.cx-fiche-txt .cx-chips span { background: rgba(88, 211, 155, .15); color: #bff0d8; }
.cx-fiche-txt p { color: #b7d3ca; }
.cx-fiche-txt p i { color: var(--cx-brand-light); margin-right: 4px; }
.cx-fiche-cta { display: flex; flex-direction: column; gap: 8px; }
.cx-fiche { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 28px; padding-bottom: 40px; }
.cx-fiche-main, .cx-fiche-side { display: grid; gap: 20px; min-width: 0; }
.cx-fiche-side { position: sticky; top: 84px; }
.cx-panel { background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 18px; padding: 24px; display: grid; gap: 16px; min-width: 0; }
.cx-panel h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.cx-dispo-bloc { display: grid; gap: 10px; }
.cx-dispo-bloc + .cx-dispo-bloc { border-top: 1px solid var(--cx-line); padding-top: 16px; }
.cx-dispo-bloc h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cx-brand); }
.cx-dispo-bloc .cx-slot-day { grid-template-columns: 110px minmax(0, 1fr); }
.cx-note { color: var(--cx-muted); font-size: 14px; }
.cx-nodispo { display: flex; gap: 14px; align-items: flex-start; background: var(--cx-bg); border-radius: 12px; padding: 16px; }
.cx-nodispo > i { font-size: 24px; color: var(--cx-brand); margin-top: 2px; }
.cx-nodispo div { display: grid; gap: 4px; }
.cx-nodispo span { color: var(--cx-muted); }
.cx-nodispo a { color: var(--cx-brand); font-weight: 700; }
.cx-fiche-map { height: 240px; border-radius: 12px; overflow: hidden; z-index: 0; }
.cx-coords li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.cx-coords li i { margin-top: 4px; }
.cx-coords a { color: var(--cx-ink); font-weight: 600; overflow-wrap: anywhere; }
.cx-back { color: var(--cx-brand); font-weight: 700; text-decoration: none; padding-left: 4px; }
.cx-back:hover { text-decoration: underline; }
.cx-voisins { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cx-voisins a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--cx-line); border-radius: 12px; text-decoration: none; color: var(--cx-ink); }
.cx-voisins a:hover { border-color: var(--cx-brand); }
.cx-avatar-sm { width: 42px; height: 42px; font-size: 15px; }
.cx-voisin-txt { flex: 1; min-width: 0; display: grid; }
.cx-voisin-txt small { color: var(--cx-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-marker i { font-size: 14px; }
@media (max-width: 900px) {
    .cx-fiche { grid-template-columns: minmax(0, 1fr); }
    .cx-fiche-side { position: static; }
    .cx-fiche-cta { flex-direction: row; flex-wrap: wrap; width: 100%; }
}
@media (max-width: 600px) {
    .cx-fiche-avatar { width: 76px; height: 76px; font-size: 26px; }
    .cx-dispo-bloc .cx-slot-day { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .cx-panel { padding: 18px; }
}
