/* ==========================================================================
   WP-Docteur — styles du site public
   Néo-brutalisme ludique : bordures 3px encre, ombres décalées, pastilles.
   ========================================================================== */

:root {
	--ink: #14201c;
	--paper: #fbf8f2;
	--white: #fff;
	--green: #00c48c;
	--green-dark: #007a57; /* texte vert : contraste AA sur fond clair */
	--yellow: #ffd60a;
	--coral: #ff5c4d;
	--coral-text: #c8352a; /* texte corail : contraste AA sur fond clair */
	--pink: #ff9f94;
	--mint: #c9f2e4;
	--cream: #fff6c2;
	--blush: #ffe1dd;
	--muted: #3a4a44;
	--subtle: #56655f;
	--line: #d9d4ca;
	--on-dark: #b8c4bf;
	--star: #ffb300;
	--font-display: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback', sans-serif;
	--font-body: 'Instrument Sans', 'Instrument Sans Fallback', sans-serif;
	--border: 3px solid var(--ink);
	--gutter: 32px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }
input, textarea, select, button { font: inherit; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--green); outline-offset: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--paper); }

@keyframes pop { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(4deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } }
@keyframes spin { to { transform: rotate(360deg); } }

.anim-pop { animation: pop .6s ease both; }
.anim-pop--late { animation-duration: .7s; animation-delay: .15s; }
.anim-pulse { display: inline-block; animation: pulse 1.6s ease-in-out infinite; }
.anim-beat { display: inline-block; animation: beat 1.4s ease-in-out infinite; }

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

/* ---------- Layout ---------- */

.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { display: block; }
.wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); width: 100%; }
.wrap--900 { max-width: 900px; }
.wrap--820 { max-width: 820px; }
.sec-96 { padding-top: 96px; padding-bottom: 96px; }
.sec-80 { padding-top: 80px; padding-bottom: 80px; }
.sec-72 { padding-top: 72px; padding-bottom: 72px; }
.sec-64 { padding-top: 64px; padding-bottom: 64px; }
.pb-96 { padding-bottom: 96px; }
.grid-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 280px)), 1fr)); gap: var(--gap, 24px); }
.stack { display: grid; gap: var(--gap, 16px); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

.band--white { background: var(--white); border-top: var(--border); border-bottom: var(--border); }
.band--white.band--top { border-bottom: 0; }
.band--dark { background: var(--ink); color: var(--paper); border-top: var(--border); }

.text-muted { color: var(--muted); }
.text-on-dark { color: var(--on-dark); }

/* Texte secondaire plus foncé sur les aplats verts (contraste AA). */
[style*="--bg:#00c48c"], .cta-band, .cta-inline, .contact-tile--open, .result, .paid__card { --muted: #243330; --subtle: #243330; }

/* ---------- Navigation ---------- */

.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 28px; border-bottom: var(--border); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 0; position: relative; } }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #fff; flex-shrink: 0; margin: -4px 0; }
.brand__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__text { display: grid; gap: 3px; white-space: nowrap; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.03em; line-height: 1; }
.brand__accent { color: #00a375; }
.brand__tld { font-weight: 500; font-size: 15px; color: #5f6f69; } /* #7a8a84 de la maquette, assombri pour le contraste (AA) */
.brand__tag { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5f6f69; }
@media (max-width: 640px) { .brand { gap: 10px; } .brand__avatar { width: 44px; height: 44px; margin: 0; } .brand__name { font-size: 19px; } .brand__tag, .brand__tld { display: none; } }
@media (max-width: 374px) { .brand__text { display: none; } } /* Version compacte de la maquette : l'avatar seul. */
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--green); border: var(--border); display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--ink); }
.site-nav__links { display: flex; gap: 18px; font-weight: 500; font-size: 15px; flex-wrap: wrap; }
.site-nav__links a[aria-current="page"] { border-bottom: 3px solid var(--green); }
.site-nav__cta { background: var(--ink); color: var(--paper); padding: 10px 16px; white-space: nowrap; border-radius: 999px; font-weight: 600; font-size: 15px; border: var(--border); box-shadow: 4px 4px 0 var(--green); transition: transform .15s, box-shadow .15s; }
.site-nav__cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--green); color: #fff; }

/* ---------- Pied de page ---------- */

.site-footer { border-top: var(--border); padding: 40px 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--green-dark); }
.site-footer__brand { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 18px; display: flex; align-items: center; gap: 12px; }
.site-footer__mascot { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .site-footer__staff { color: var(--subtle); }

/* ---------- Typographie ---------- */

.sticker { display: inline-block; background: var(--bg, var(--yellow)); color: var(--ink); border: var(--border); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transform: rotate(var(--rot, -2deg)); }
.sticker--coral { --bg: var(--coral); }
.sticker--green { --bg: var(--green); }
.h-hero { font-family: var(--font-display); font-weight: 800; font-size: var(--fs, clamp(44px, 6.5vw, 84px)); line-height: var(--lh, .95); letter-spacing: -0.04em; margin: var(--m, 20px 0 18px); text-wrap: balance; }
.h-section { font-family: var(--font-display); font-weight: 800; font-size: var(--fs, clamp(34px, 4.5vw, 56px)); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.h-section--sm { --fs: clamp(28px, 3.5vw, 40px); margin-bottom: 20px; }
.h-small { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; margin: 0 0 24px; }
.lead { font-size: 20px; line-height: 1.5; max-width: 560px; margin: 0; color: var(--muted); }
.lead--home { max-width: 520px; margin-bottom: 32px; }
.kicker { font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.eyebrow--muted { color: var(--muted); }
.link-u { font-weight: 600; border-bottom: 3px solid var(--green); padding-bottom: 2px; }
.link-u--start { align-self: flex-start; padding-bottom: 0; }
.link-ink { font-weight: 600; border-bottom: 3px solid var(--ink); }
.back-link { font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 24px; }

.page-head { padding-top: 88px; padding-bottom: 56px; }
.page-head--tight { padding-bottom: 48px; }
.page-head--split { padding-bottom: 64px; }

/* ---------- Boutons ---------- */

.btn { display: inline-block; padding: 16px 26px; border-radius: 14px; font-weight: 600; font-size: 17px; border: var(--border); cursor: pointer; color: var(--ink); background: var(--paper); transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.btn--green { background: var(--green); box-shadow: 6px 6px 0 var(--ink); }
.btn--green:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); padding: 18px 32px; font-size: 18px; box-shadow: 6px 6px 0 var(--paper); }
.btn--dark:hover { transform: translate(-2px, -2px); color: #fff; }
.btn--green-light { background: var(--green); border-color: var(--green); padding: 16px 28px; box-shadow: 6px 6px 0 var(--paper); }
.btn--green-light:hover { transform: translate(-2px, -2px); color: var(--ink); }
.btn--small { background: var(--paper); border-radius: 12px; padding: 12px 20px; font-size: 16px; }
.btn--small:hover { color: var(--ink); background: #fff; }
.btn--compact { border-radius: 12px; padding: 14px 22px; font-size: 16px; box-shadow: 4px 4px 0 var(--ink); }
.btn--compact:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn--submit { width: 100%; padding: 18px; font-size: 18px; box-shadow: 5px 5px 0 var(--ink); }
.btn--submit:hover { box-shadow: 7px 7px 0 var(--ink); }
.btn--submit:disabled { opacity: .6; cursor: progress; transform: none; }
.btn--nowrap { white-space: nowrap; padding: 16px 28px; font-size: 17px; }

/* ---------- Cartes ---------- */

.card { display: flex; flex-direction: column; background: var(--bg, #fff); border: var(--border); border-radius: 24px; box-shadow: var(--sh, 6px) var(--sh, 6px) 0 var(--ink); color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card--lift:hover { transform: translate(-3px, -3px); box-shadow: calc(var(--sh, 6px) + 3px) calc(var(--sh, 6px) + 3px) 0 var(--ink); color: var(--ink); }
.box { background: var(--bg, #fff); border: var(--border); border-radius: 20px; padding: 28px; }
.box__title { font-family: var(--font-display); font-size: 22px; display: block; margin-bottom: 8px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tag { border: 2px solid var(--ink); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.tag--glass { padding: 4px 12px; background: rgba(255, 255, 255, .6); }
.price-pill { font-family: var(--font-display); font-weight: 800; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.price-pill--sm { padding: 5px 12px; font-size: 13px; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 16px; }

/* ---------- Accueil ---------- */

.home-hero { position: relative; overflow: hidden; padding-top: 96px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; align-items: center; }
.fever { color: var(--green-dark); text-decoration: underline wavy var(--coral); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.patient-card { position: relative; min-height: 380px; }
.patient-card__back, .patient-card__front { position: absolute; inset: 8% 6%; border: var(--border); border-radius: 28px; }
.patient-card__back { background: var(--coral); transform: rotate(-4deg); }
.patient-card__front { background: #fff; transform: rotate(3deg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.dots { display: flex; gap: 8px; }
.dots span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--coral); }
.dots span:nth-child(2) { background: var(--yellow); }
.dots span:nth-child(3) { background: var(--green); }
.patient-card .eyebrow { font-size: 15px; }
.patient-card__row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px dashed var(--line); padding: 10px 0; }
.patient-card__row:nth-last-child(2) { border-bottom: 0; }
.is-bad { color: var(--coral-text); }
.is-good { color: var(--green-dark); }
.rx-card .is-good { color: var(--ink); text-decoration: underline 3px var(--green); text-underline-offset: 3px; }
.patient-card__rx { margin-top: auto; background: var(--green); border: var(--border); border-radius: 12px; padding: 12px 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.patient-card__badge { position: absolute; top: -6px; right: -4px; width: 96px; height: 96px; border-radius: 50%; background: var(--yellow); border: var(--border); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 1.05; animation: wobble 3s ease-in-out infinite; }

.ticker { background: var(--ink); color: var(--paper); padding: 18px 0; border-top: var(--border); border-bottom: var(--border); overflow: hidden; }
.ticker__inner { display: flex; gap: 56px; justify-content: center; flex-wrap: wrap; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; padding: 0 24px; }

.plan-teaser { gap: 14px; padding: 30px; --sh: 8px; }
.plan-teaser__icon { font-size: 36px; }
.plan-teaser__name { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; line-height: 1; }
.plan-teaser__desc { color: var(--muted); line-height: 1.5; flex: 1; }
.plan-teaser__price { font-family: var(--font-display); font-weight: 800; font-size: 28px; }

.steps { list-style: none; margin: 0; padding: 0; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step__n { width: 56px; height: 56px; border-radius: 50%; background: var(--bg, var(--yellow)); border: var(--border); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.step__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; margin: 6px 0 0; }
.step__text { margin: 0; color: var(--muted); line-height: 1.55; }

.quote-card { margin: 0; background: var(--bg, #fff); border: var(--border); border-radius: 20px; padding: 24px; box-shadow: 6px 6px 0 var(--accent); }
.quote-card blockquote { margin: 0 0 12px; font-size: 17px; line-height: 1.5; }
.quote-card figcaption { font-weight: 600; font-size: 14px; color: var(--muted); }
.quote-card--stars { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.quote-card--stars blockquote { margin: 0; flex: 1; }

.cta-band { margin: 0 var(--gutter) 96px; background: var(--green); border: var(--border); border-radius: 32px; padding: 64px 40px; text-align: center; box-shadow: 10px 10px 0 var(--ink); }
.cta-band__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1; margin: 0 0 16px; text-wrap: balance; }
.cta-band__text { font-size: 18px; margin: 0 auto 32px; max-width: 520px; line-height: 1.5; }
.cta-band--md { padding: 56px 40px; }
.cta-band--md .cta-band__title { font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 24px; }
.cta-band--service { margin-bottom: 64px; padding: 56px 40px; }
.cta-band--service .cta-band__title { font-size: clamp(30px, 4.5vw, 56px); margin-bottom: 14px; }
.cta-band--service .cta-band__text { margin-bottom: 28px; }

/* ---------- Services ---------- */

.service-card { gap: 14px; padding: 30px; }
.service-card__top { display: flex; justify-content: space-between; align-items: center; }
.service-card__icon { font-size: 38px; }
.service-card__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.service-card__text { margin: 0; line-height: 1.55; color: var(--muted); flex: 1; }
.service-card__more { font-weight: 600; border-bottom: 3px solid var(--ink); align-self: flex-start; margin-top: 6px; }
.note-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 28px; border: 3px solid var(--paper); transform: rotate(1.5deg); }
.note-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 500; }
.note-card--quote { margin: 0; transform: rotate(-1.5deg); }
.note-card--quote blockquote { margin: 12px 0; font-size: 19px; line-height: 1.45; font-weight: 500; }
.note-card--quote figcaption { font-weight: 600; font-size: 14px; color: var(--muted); }

.service-hero { padding-top: 72px; padding-bottom: 64px; }
.rx-card { background: var(--bg, var(--yellow)); border: var(--border); border-radius: 28px; padding: 32px; box-shadow: 10px 10px 0 var(--ink); transform: rotate(2deg); display: flex; flex-direction: column; gap: 18px; }
.rx-card__emoji { font-size: 72px; line-height: 1; }
.rx-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rx-card__price > span:first-child { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-size: 56px; }
.rx-card__unit { font-weight: 600; color: var(--muted); }
.rx-card__row { display: flex; justify-content: space-between; gap: 12px; }
.rx-card__row--first { border-top: 2px dashed rgba(20, 32, 28, .3); padding-top: 14px; }
.symptom { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: var(--border); border-radius: 14px; padding: 14px 18px; line-height: 1.4; }
.symptom__cross { color: var(--coral-text); font-weight: 800; }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.included li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; padding: 6px 0; }
.included__tick { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.huge-stat { font-family: var(--font-display); font-weight: 800; line-height: 1; font-size: clamp(56px, 8vw, 110px); letter-spacing: -0.05em; color: var(--green); }
.huge-stat__label { margin-top: 8px; color: var(--on-dark); font-size: 18px; max-width: 380px; line-height: 1.4; }
.qa { background: #fff; border: var(--border); border-radius: 18px; padding: 24px 26px; }
.qa__q { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; display: block; margin-bottom: 10px; }
.qa__a { margin: 0; line-height: 1.6; color: var(--muted); font-size: 17px; }
.mini-card { gap: 10px; padding: 24px; border-radius: 20px; }
.mini-card__icon { font-size: 34px; }
.mini-card__title { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; line-height: 1.1; }

/* ---------- Tarifs ---------- */

.billing-toggle { display: inline-flex; border: var(--border); border-radius: 999px; padding: 4px; background: #fff; gap: 4px; }
.billing-toggle button { border: 0; cursor: pointer; font-weight: 600; padding: 10px 20px; border-radius: 999px; background: transparent; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed="true"] { background: var(--green); }
.billing-toggle__badge { font-size: 12px; background: var(--coral); color: var(--ink); border-radius: 999px; padding: 2px 8px; }
.plan { gap: 18px; padding: 34px; border-radius: 28px; --sh: 8px; position: relative; }
.plan__badge { position: absolute; top: -18px; right: 24px; background: var(--coral); color: var(--ink); border: var(--border); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 13px; transform: rotate(3deg); }
.plan__icon { font-size: 40px; }
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; line-height: 1; margin: 0; }
.plan__desc { margin: 0; color: var(--muted); line-height: 1.5; }
.plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__amount { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: -0.03em; line-height: 1; }
.plan__unit { font-weight: 600; color: var(--muted); }
.plan__items { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-direction: column; gap: 10px; border-top: 2px dashed rgba(20, 32, 28, .3); }
.plan__items li { display: flex; gap: 10px; line-height: 1.4; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.plan__cta { margin-top: 8px; display: block; text-align: center; background: var(--ink); color: var(--paper); padding: 16px; border-radius: 14px; font-weight: 600; border: var(--border); transition: background .15s, color .15s; }
.plan__cta:hover { background: var(--paper); color: var(--ink); }
.price-table { border: var(--border); border-radius: 20px; overflow: hidden; }
.price-table__row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 26px; background: #fff; border-bottom: 2px solid var(--ink); }
.price-table__row:nth-child(even) { background: var(--paper); }
.price-table__row:last-child { border-bottom: 0; }
.price-table__row strong { font-size: 17px; }
.price-table__desc { color: var(--muted); font-size: 15px; margin-top: 2px; }
.price-table__price { font-family: var(--font-display); font-weight: 800; font-size: 22px; white-space: nowrap; }

/* ---------- Paiement en ligne ---------- */

.plan__form { display: grid; gap: 12px; margin-top: 8px; }
.plan__form .plan__cta { margin-top: 0; width: 100%; cursor: pointer; font: inherit; font-weight: 600; }
.plan__option { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; cursor: pointer; }
.plan__option input { width: 20px; height: 20px; accent-color: var(--ink); }
.plan__alt { text-align: center; font-weight: 600; font-size: 14px; border-bottom: 2px solid var(--ink); justify-self: center; align-self: center; margin-top: -4px; }
.plan__alt--muted { border: 0; color: var(--muted); font-weight: 500; }
.price-table__row--buy { grid-template-columns: 1fr auto auto; }
.price-table__form { margin: 0; }
.price-table__buy { font-weight: 600; font-size: 14px; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; background: var(--green); color: var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.price-table__buy:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.rx-card__form { display: grid; gap: 10px; border-top: 2px dashed rgba(20, 32, 28, .3); padding-top: 16px; }
.rx-card__buy { font-weight: 600; font-size: 17px; border: var(--border); border-radius: 14px; padding: 14px 20px; background: var(--ink); color: var(--paper); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.rx-card__buy:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--paper); }
.notice-bar { background: var(--cream); border-bottom: var(--border); padding: 14px 32px; font-weight: 600; text-align: center; }
.notice-bar--error { background: var(--blush); }
.notice-bar a { border-bottom: 2px solid var(--ink); }
.sticker--static { transform: none; }
.paid { padding-top: 72px; padding-bottom: 96px; }
.paid__card { background: #fff; border: var(--border); border-radius: 28px; padding: 48px 40px; box-shadow: 10px 10px 0 var(--green); text-align: center; }
.paid__icon { font-size: 64px; margin-bottom: 12px; animation: beat 1.6s ease-in-out infinite; display: inline-block; }
.paid__line { font-size: 20px; margin: 0 0 24px; }
.paid__text { font-size: 17px; line-height: 1.55; color: var(--muted); margin: 0 auto 24px; max-width: 560px; }
.paid__steps { text-align: left; max-width: 520px; margin: 0 auto 32px; padding-left: 1.3em; display: grid; gap: 10px; line-height: 1.5; font-size: 17px; }
@media (max-width: 640px) {
	.price-table__row--buy { grid-template-columns: 1fr auto; }
	.price-table__form { grid-column: 1 / -1; }
	.paid__card { padding: 36px 22px; }
}

/* ---------- Le cabinet ---------- */

.team-card { background: #fff; border: var(--border); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: 5px 5px 0 var(--accent); transform: rotate(var(--rot)); }
.team-card__avatar { aspect-ratio: 1; border-radius: 14px; background: var(--accent); border: var(--border); display: grid; place-items: center; font-size: 44px; }
.team-card__name { font-family: var(--font-display); font-size: 18px; }
.team-card__role { font-size: 13px; color: var(--muted); line-height: 1.4; }
.big-stat { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; color: var(--green); }
.big-stat__label { margin-top: 8px; color: var(--on-dark); font-weight: 500; }
.value { display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.value__icon { font-size: 30px; }
.value__title { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; }
.rating-pill { background: var(--yellow); border: var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }

/* ---------- FAQ ---------- */

.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--bg, #fff); border: var(--border); border-radius: 18px; overflow: hidden; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: 6px 6px 0 var(--ink); }
.faq__q { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 20px; font-family: var(--font-body); font-weight: 400; transition: transform .25s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 26px 24px; line-height: 1.6; color: var(--muted); font-size: 17px; }

/* ---------- Formulaires ---------- */

.diag { padding-top: 88px; padding-bottom: 96px; }
.contact-tile { display: flex; gap: 14px; align-items: center; background: #fff; border: var(--border); border-radius: 16px; padding: 16px 20px; }
.contact-tile--open { background: var(--yellow); }
.contact-tile__icon { font-size: 26px; }
.contact-tile__sub { font-size: 14px; color: var(--muted); }
.form-card { background: #fff; border: var(--border); border-radius: 28px; padding: 36px; box-shadow: 10px 10px 0 var(--ink); display: grid; gap: 20px; }
.form-card__notice { margin: 0; font-size: 18px; line-height: 1.5; }
.form-card__legal { font-size: 13px; color: var(--subtle); text-align: center; }
.form-card__legal a { color: var(--subtle); text-decoration: underline; }
.form-error { margin: 0; background: var(--blush); border: 2px solid var(--coral); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.field { display: grid; gap: 8px; font-weight: 600; margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field { gap: 10px; }
.field legend { padding: 0; margin-bottom: 10px; }
.field__hint { font-weight: 500; color: var(--subtle); }
.field__row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.field__row--ends { font-size: 13px; font-weight: 500; color: var(--subtle); }
.input { border: var(--border); border-radius: 12px; padding: 14px 16px; background: var(--paper); color: var(--ink); width: 100%; }
textarea.input { resize: vertical; }
.input--sm { padding: 12px 14px; flex: 1; min-width: 140px; width: auto; }
.input--wide { flex: 2; min-width: 200px; }
.range { width: 100%; accent-color: var(--green); cursor: pointer; }
.skill-pill { background: var(--bg); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; }

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill > span { display: flex; gap: 8px; align-items: center; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; background: var(--paper); color: var(--ink); transition: background .12s, color .12s; }
.pill--lg > span { border-width: 3px; padding: 10px 16px; font-size: 16px; }
.pill input:checked + span { background: var(--on, var(--ink)); }
.pill--ink input:checked + span { background: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.pill:hover > span { box-shadow: 3px 3px 0 var(--ink); }

.diag-sent { background: var(--green); border: var(--border); border-radius: 28px; padding: 48px 36px; box-shadow: 10px 10px 0 var(--ink); text-align: center; }
.diag-sent__icon { font-size: 64px; margin-bottom: 12px; }
.diag-sent__title { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -0.03em; line-height: 1; margin: 0 0 14px; }
.diag-sent__text { font-size: 18px; line-height: 1.5; margin: 0 0 24px; }

/* ---------- Auto-test ---------- */

.test-head { padding-top: 80px; padding-bottom: 40px; text-align: center; }
.test-card { padding: 32px; border-radius: 28px; --sh: 8px; display: block; }
.test-card.stack { display: grid; }
.test-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.test-card__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin: 0; }
.test-card__note { font-size: 13px; font-weight: 600; color: var(--subtle); }
.test-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 2px dashed var(--line); padding-top: 20px; }
.speed-form { display: flex; gap: 10px; flex-wrap: wrap; }
.speed-form .input { flex: 1; min-width: 220px; width: auto; }
.speed-running { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-weight: 600; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--green); animation: spin .8s linear infinite; display: inline-block; }
.speed-result { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--bg, var(--mint)); border: var(--border); border-radius: 18px; padding: 20px 24px; }
.speed-result__value { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: -0.04em; line-height: 1; }
.speed-result__unit { font-size: 22px; }
.speed-result__title { font-size: 18px; display: block; }
.psi { margin: 14px 0 0; font-weight: 600; line-height: 1.45; }
.psi--running::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: spin .8s linear infinite; }
.psi--muted { color: var(--subtle); font-weight: 500; }
.speed-disclaimer { font-size: 13px; color: var(--subtle); margin: 12px 0 0; line-height: 1.5; }
.question { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.question__head { display: flex; gap: 12px; align-items: flex-start; padding: 0; float: left; width: 100%; margin-bottom: 12px; }
.question__head strong { font-size: 18px; line-height: 1.35; padding-top: 3px; }
.question__n { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--yellow); border: var(--border); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.question__options { clear: both; padding-left: 42px; }
.btn--result { background: var(--green); box-shadow: 5px 5px 0 var(--ink); }
.btn--result:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn--result:disabled { background: var(--paper); opacity: .5; cursor: not-allowed; }
.result { background: var(--bg, var(--green)); border: var(--border); border-radius: 28px; padding: 36px; box-shadow: 10px 10px 0 var(--ink); animation: pop .5s ease both; display: grid; gap: 22px; }
.result:focus { outline: none; }
.result__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.result__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.03em; line-height: 1; margin: 8px 0 0; }
.result__emoji { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: var(--border); display: grid; place-items: center; font-size: 48px; animation: beat 1.6s ease-in-out infinite; }
.result__score-row { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; }
.meter { height: 22px; border: var(--border); border-radius: 999px; background: #fff; overflow: hidden; }
.meter__bar { height: 100%; width: 0; background: var(--ink); transition: width .8s ease; }
.result__text { margin: 0; font-size: 18px; line-height: 1.5; }
.issue { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: var(--border); border-radius: 14px; padding: 14px 18px; line-height: 1.4; }
.issue::before { content: '✚'; color: var(--coral-text); font-weight: 800; }
.result__rx { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.result__rx-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--on-dark); }
.result__rx-plan { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; }
.btn-rx { background: var(--green); color: var(--ink); padding: 14px 22px; border-radius: 12px; font-weight: 600; border: 3px solid var(--green); }
.btn-rx:hover { background: #fff; border-color: #fff; color: var(--ink); }
.report-form { background: #fff; border: var(--border); border-radius: 18px; padding: 20px 22px; display: grid; gap: 12px; }
.report-form__title { font-size: 17px; }
.report-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--ink-sm { background: var(--ink); color: var(--paper); border-radius: 12px; padding: 12px 20px; font-size: 16px; }
.btn--ink-sm:hover { color: #fff; }
.report-done { background: #fff; border: var(--border); border-radius: 18px; padding: 18px 22px; font-weight: 600; }
.result__alt { text-align: center; justify-self: center; }

/* ---------- Blog ---------- */

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; background: #fff; color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); color: var(--paper); }
.chip:hover { color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.chip[aria-current="page"]:hover { color: var(--paper); }
.post-card { overflow: hidden; }
.post-card__visual { background: var(--bg); border-bottom: var(--border); height: 160px; display: grid; place-items: center; font-size: 64px; overflow: hidden; }
.post-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.post-card__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.post-card__excerpt { margin: 0; color: var(--muted); line-height: 1.5; flex: 1; }
.post-card--compact { border-radius: 20px; }
.post-card--compact .post-card__visual { height: 110px; font-size: 48px; }
.post-card--compact .post-card__body { padding: 20px; gap: 8px; }
.post-card__title--sm { font-size: 20px; letter-spacing: -0.01em; line-height: 1.15; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; font-weight: 600; }
.pagination .page-numbers { border: var(--border); border-radius: 999px; padding: 8px 16px; background: #fff; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }
.newsletter { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__input { border: 3px solid var(--paper); border-radius: 12px; padding: 14px 16px; background: var(--ink); color: var(--paper); min-width: 240px; }
.newsletter__input::placeholder { color: var(--on-dark); }
.newsletter__btn { font-weight: 600; border: 3px solid var(--green); background: var(--green); color: var(--ink); border-radius: 12px; padding: 14px 22px; cursor: pointer; }
.newsletter__btn:hover { background: var(--paper); border-color: var(--paper); }
.newsletter__done { flex-basis: 100%; margin: 0; color: var(--green); font-weight: 600; }

/* ---------- Article ---------- */

.article-head { padding-top: 72px; padding-bottom: 40px; }
.article-head .back-link { margin-bottom: 28px; }
.article-head__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.article-head__date { font-weight: 600; font-size: 14px; color: var(--muted); }
.article-head__lead { font-size: 21px; line-height: 1.5; color: var(--muted); margin: 0 0 28px; }
.byline { display: flex; gap: 12px; align-items: center; border-top: var(--border); border-bottom: var(--border); padding: 16px 0; }
.byline__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: var(--border); display: grid; place-items: center; font-size: 24px; overflow: hidden; flex: none; }
.byline__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.byline__role { font-size: 14px; color: var(--muted); }
.article-hero { background: var(--bg, var(--pink)); border: var(--border); border-radius: 24px; height: 280px; display: grid; place-items: center; font-size: 110px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1deg); overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.entry { max-width: 720px; margin: 0 auto; padding: 56px 32px 80px; font-size: 18px; line-height: 1.7; color: #24312c; }
.entry--page { padding-top: 0; }
.entry > * { margin: 0 0 24px; }
.entry h2 { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; line-height: 1.1; margin: 48px 0 16px; color: var(--ink); }
.entry h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin: 36px 0 12px; color: var(--ink); }
.entry a { color: var(--ink); border-bottom: 3px solid var(--green); }
.entry a:hover { color: var(--green-dark); }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry .is-style-remede { background: var(--mint); border: var(--border); border-radius: 18px; padding: 22px 26px; }
.entry .is-style-remede > strong:first-child { display: block; margin-bottom: 6px; color: var(--ink); }
.entry blockquote, .entry .wp-block-quote { margin: 48px 0; padding: 28px 32px; background: var(--yellow); border: var(--border); border-radius: 20px; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.entry blockquote p { margin: 0; }
.entry blockquote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-size: 15px; font-weight: 600; font-style: normal; }
.entry figure img { border: var(--border); border-radius: 18px; }
.toc { background: #fff; border: var(--border); border-radius: 18px; padding: 22px 26px; margin-bottom: 40px !important; }
.toc__title { font-family: var(--font-display); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); display: block; margin-bottom: 10px; }
.toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-weight: 600; font-size: 16px; line-height: 1.5; }
.entry .toc a { border: 0; }
.entry__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 2px dashed var(--line); }
.entry .entry__tags .tag { border: 2px solid var(--ink); line-height: 1.4; }
.cta-inline { margin: 0 auto 64px; max-width: 1136px; background: var(--green); border: var(--border); border-radius: 28px; padding: 48px 40px; box-shadow: 10px 10px 0 var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
@media (max-width: 1200px) { .cta-inline { margin-left: var(--gutter); margin-right: var(--gutter); } }
.cta-inline__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1; margin: 0 0 10px; }
.cta-inline__text { margin: 0; font-size: 17px; }

/* ---------- Petits écrans ---------- */

@media (max-width: 640px) {
	:root { --gutter: 18px; }
	.site-nav { padding: 14px var(--gutter); gap: 12px; }
	.site-nav__links { gap: 16px; order: 3; width: 100%; }
	.site-nav__cta { padding: 9px 12px; font-size: 14px; box-shadow: 3px 3px 0 var(--green); }
	.site-footer { padding: 32px var(--gutter); }
	.cta-band, .cta-inline { padding: 40px 22px; border-radius: 24px; }
	.form-card, .result, .test-card { padding: 24px 20px; }
	.question__options { padding-left: 0; }
	.patient-card { min-height: 400px; }
	.patient-card__front { padding: 22px; }
	.speed-result { grid-template-columns: 1fr; }
	.ticker__inner { gap: 12px 28px; font-size: 16px; }
}
