:root {
  --bg: #F4F8F6;
  --white: #FFFFFF;
  --green: #0E9F6E;
  --green-d: #0A5B44;
  --mint: #D9F2E7;
  --ink: #0F2A22;
  --muted: #5C7068;
  --line: rgba(15, 42, 34, .1);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pill-tag { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--mint); color: var(--green-d); font-size: 13px; font-weight: 600; }
.pill-tag.light { background: rgba(255, 255, 255, .15); color: #fff; }
.title { font-weight: 800; font-size: clamp(36px, 4.6vw, 70px); line-height: 1.04; letter-spacing: -.035em; margin-top: 16px; }
.title.light { color: #fff; }
.hl, .title em { font-style: normal; color: var(--green); }
[hidden] { display: none !important; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: 14px; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; transition: background .3s, transform .3s; }
.btn:hover { background: var(--green-d); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--mint); }
.cross { position: relative; width: 26px; height: 26px; flex: none; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--green); border-radius: 3px; }
.cross::before { left: 9px; top: 1px; width: 8px; height: 24px; }
.cross::after { left: 1px; top: 9px; width: 24px; height: 8px; }

.header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px var(--gutter); background: rgba(244, 248, 246, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--green); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
.status.closed i { background: #C0C9C5; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 159, 110, .5); } 100% { box-shadow: 0 0 0 10px rgba(14, 159, 110, 0); } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5vw; padding: 110px var(--gutter) 60px; overflow: hidden; }
.molecules { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-text, .hero-visual { position: relative; z-index: 1; }
.hero-title { font-weight: 800; font-size: clamp(44px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -.04em; margin-top: 20px; }
.hero-lead { margin-top: 20px; max-width: 44ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-img { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: var(--white); box-shadow: 0 20px 40px -16px rgba(15, 42, 34, .25); font-size: 13px; color: var(--muted); }
.float-card b { color: var(--ink); font-size: 15px; }
.fc1 { left: -34px; top: 18%; }
.fc2 { right: -18px; bottom: 14%; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.fc2 .led { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }

/* Ordonnance */
.rx { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; padding: clamp(90px, 11vw, 150px) var(--gutter); background: var(--white); }
.rx-steps { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.rx-steps li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; }
.rx-steps b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--green-d); }
.rx-card { padding: 22px; border-radius: 28px; background: var(--bg); min-height: 380px; display: grid; }
.drop { display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; border: 2px dashed rgba(14, 159, 110, .4); border-radius: 22px; color: var(--green); cursor: pointer; transition: background .3s, border-color .3s; }
.drop:hover, .drop.is-over { background: var(--mint); border-color: var(--green); }
.drop svg { width: 60px; height: 60px; }
.drop b { color: var(--ink); font-size: 18px; }
.drop span { color: var(--muted); font-size: 14px; }
.tracker { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 20px; }
.tracker[hidden] { display: none; }
.ring { position: relative; width: 150px; }
.ring svg { width: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring .bg { stroke: var(--mint); }
.ring .fg { stroke: var(--green); stroke-dasharray: 327; stroke-dashoffset: 327; }
.ring-txt { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 28px; }
.track-steps { list-style: none; display: grid; gap: 14px; }
.track-steps li { position: relative; padding-left: 30px; color: var(--muted); font-weight: 500; transition: color .4s; }
.track-steps li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px #C0C9C5; transition: all .4s; }
.track-steps li.done { color: var(--ink); }
.track-steps li.done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }

/* Services */
.services { padding: clamp(90px, 11vw, 150px) var(--gutter); }
.svc-head { margin-bottom: 40px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc { position: relative; padding: 26px; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.svc:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--green), 0 24px 40px -24px rgba(14, 159, 110, .45); }
.svc-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mint); font-size: 24px; }
.svc h3 { margin-top: 18px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.svc p { margin-top: 8px; color: var(--muted); line-height: 1.55; font-size: 15px; }
.svc small { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 600; color: var(--green-d); }

/* Conseils */
.tips { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5vw; align-items: center; padding: 0 var(--gutter) clamp(90px, 11vw, 150px); }
.tips-img { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; }
.tips-img img { width: 100%; height: 100%; object-fit: cover; }
.accordion { margin-top: 26px; display: grid; gap: 10px; }
.acc { border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.acc button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; text-align: left; font-weight: 700; font-size: 16px; }
.acc button i { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--mint); color: var(--green-d); display: grid; place-items: center; font-style: normal; transition: transform .4s var(--ease); }
.acc.is-open button i { transform: rotate(45deg); }
.acc-body { height: 0; overflow: hidden; }
.acc-body p { padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }

/* Garde */
.garde { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 0 var(--gutter) clamp(90px, 11vw, 150px); padding: clamp(28px, 5vw, 60px); border-radius: 32px; background: linear-gradient(135deg, var(--green), var(--green-d)); color: #fff; }
.garde p:not(.pill-tag) { margin-top: 16px; max-width: 40ch; line-height: 1.6; opacity: .9; }
.hours { display: grid; gap: 6px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .1); }
.hours div { display: flex; justify-content: space-between; padding: 6px 4px; font-size: 15px; }
.hours div.today { font-weight: 800; }

.pbc-loyalty { --pbc-bg: var(--white); --pbc-fg: var(--ink); --pbc-muted: var(--muted); --pbc-line: var(--line); --pbc-body-font: var(--body); --pbc-title-font: var(--body); --pbc-accent: var(--green); --pbc-accent-fg: #fff; }
.pbc-loyalty .pbc-title { font-weight: 800; letter-spacing: -.04em; }

.footer { padding: 40px var(--gutter) 24px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); }
.footer-inner .logo { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 20px; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .rx, .tips, .garde { grid-template-columns: 1fr; }
  .hero-visual { width: min(88%, 420px); justify-self: center; }
  .fc1 { left: -16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .tracker { grid-template-columns: 1fr; justify-items: center; }
  .logo { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
