/* ClinikDental — clinique dentaire (maquette CroisierWeb) */
:root {
    --deep: #0b3b3c; --deep2: #0f4f50; --mint: #10b981; --mint-d: #059669; --mint-l: #d1fae5; --tint: #f1f8f6;
    --ink: #0f2526; --muted: #5b7172; --line: #dfeae7; --white: #fff;
    --display: "Montserrat", system-ui, sans-serif; --body: "Source Sans", system-ui, sans-serif;
    --mk-accent: #059669; --mk-accent-fg: #fff; --mk-surface: #fff; --mk-fg: #0f2526; --mk-radius: 18px; --mk-font: "Source Sans", system-ui, sans-serif;
    --mk-back: #10b981; --mk-back-fg: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.08rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
svg { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
:focus-visible { outline: 3px solid rgba(16, 185, 129, .5); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 .98rem var(--display); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint-d); color: #fff; box-shadow: 0 10px 24px -10px rgba(5, 150, 105, .7); }
.btn-mint:hover { background: #047857; }
.btn-soft { background: var(--mint-l); color: var(--deep); }
.btn-white { background: #fff; color: var(--deep); }
.btn-ghost-w { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--mint-d); font-weight: 600; text-decoration: none; font-family: var(--display); font-size: .95rem; }
.eyebrow { font: 700 .78rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mint-d); margin-bottom: 14px; }

/* Barre supérieure + en-tête */
.topbar { background: var(--deep); color: rgba(255, 255, 255, .85); font-size: .88rem; }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 40px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar-addr { margin-left: auto; opacity: .7; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-right: 8px; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: live 2s infinite; vertical-align: middle; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher a { padding: 2px 7px; border-radius: 6px; font-size: .76rem; opacity: .6; }
.lang-switcher a.active { opacity: 1; background: rgba(255, 255, 255, .14); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 30px -12px rgba(11, 59, 60, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(140deg, var(--mint), var(--deep2)); color: #fff; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-text strong { display: block; font: 800 1.3rem/1 var(--display); letter-spacing: -.03em; color: var(--deep); }
.brand-text b { color: var(--mint-d); font-weight: 800; }
.brand-text small { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav > a:not(.btn) { padding: 9px 16px; border-radius: 999px; text-decoration: none; font: 600 .95rem var(--display); color: var(--muted); transition: background .2s, color .2s; }
.main-nav > a:not(.btn):hover, .main-nav > a[aria-current="page"]:not(.btn) { background: var(--tint); color: var(--deep); }
.nav-cta { margin-left: 8px; min-height: 46px; padding: 0 22px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--tint); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--deep); transition: transform .3s; }
.nav-toggle span:first-child { top: 20px; } .nav-toggle span:last-child { top: 27px; }
.mk-nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mk-nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 110px); background: linear-gradient(180deg, var(--tint), #fff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px -6px rgba(11, 59, 60, .2); font: 600 .88rem var(--display); color: var(--deep); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; color: var(--deep); margin: 22px 0 20px; }
.hero h1 span { background: linear-gradient(90deg, var(--mint-d), #14b8a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.badges { list-style: none; margin: 36px 0 0; padding: 0; display: flex; gap: 34px; flex-wrap: wrap; }
.badges strong { display: block; font: 800 1.6rem var(--display); color: var(--deep); }
.badges span { font-size: .9rem; color: var(--muted); }

.hero-visual { position: relative; min-height: 480px; }
.blob { position: absolute; inset: 0 0 0 10%; border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; background: linear-gradient(150deg, #a7f3d0, var(--mint) 55%, var(--deep2)); animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { to { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; transform: rotate(6deg); } }
.tooth-big { position: absolute; left: 38%; top: 9%; width: 42%; color: rgba(255, 255, 255, .95); filter: drop-shadow(0 30px 40px rgba(11, 59, 60, .35)); }
.tooth-big svg { width: 100%; height: auto; }
.spark { position: absolute; width: 18px; height: 18px; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: twinkle 2.4s ease-in-out infinite; }
.s1 { right: -6%; top: 6%; } .s2 { left: -8%; top: 40%; width: 12px; height: 12px; animation-delay: .8s; } .s3 { right: 6%; bottom: 20%; width: 10px; height: 10px; animation-delay: 1.4s; }
@keyframes twinkle { 50% { transform: scale(.4) rotate(45deg); opacity: .4; } }
.booking { position: absolute; left: 0; bottom: 0; width: min(330px, 80%); padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -20px rgba(11, 59, 60, .4); }
.booking-h { font: 700 1rem var(--display); color: var(--deep); margin-bottom: 6px; }
.booking-care { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.booking-care svg { width: 18px; height: 18px; color: var(--mint-d); }
.days, .slots { display: grid; gap: 6px; margin-bottom: 10px; }
.days { grid-template-columns: repeat(5, 1fr); }
.slots { grid-template-columns: repeat(4, 1fr); margin-bottom: 16px; }
.day, .slot { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 7px 0; font: 600 .82rem var(--display); color: var(--deep); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.day span { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
.day b { font-size: 1.05rem; }
.day.on, .slot.on { background: var(--deep); border-color: var(--deep); color: #fff; }
.day.on span { color: rgba(255, 255, 255, .7); }
.booking .btn { min-height: 46px; }

/* Sections */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2, .tech-intro h2, .ins h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--deep); }
.h-sm { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--deep); margin-bottom: 30px; }

.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.srv-card { display: flex; flex-direction: column; padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: #fff; text-decoration: none; transition: transform .3s, box-shadow .3s, border-color .3s; }
.srv-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 26px 50px -24px rgba(11, 59, 60, .35); }
.srv-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--mint-l); color: var(--mint-d); margin-bottom: 22px; transition: background .3s, color .3s; }
.srv-icon svg { width: 28px; height: 28px; }
.srv-card:hover .srv-icon { background: var(--mint-d); color: #fff; }
.srv-card h3 { font-size: 1.25rem; color: var(--deep); }
.srv-card p { color: var(--muted); flex: 1; }
.price { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--tint); font: 700 .85rem var(--display); color: var(--deep); }

.tech { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tech-item { padding: 26px; border-radius: 22px; background: #fff; }
.num { font: 800 .85rem var(--display); color: var(--mint-d); }
.tech-item h3 { font-size: 1.1rem; margin: 12px 0 8px; color: var(--deep); }
.tech-item p { margin: 0; color: var(--muted); font-size: .98rem; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 30px; border-radius: 24px; background: var(--tint); }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1.1rem; color: var(--ink); }
.review figcaption { font: 700 .92rem var(--display); color: var(--deep); }

.cta-band { padding: 0 0 clamp(70px, 9vw, 110px); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: clamp(36px, 5vw, 60px); border-radius: 32px; background: radial-gradient(circle at 90% 0%, rgba(52, 211, 153, .45), transparent 50%), var(--deep); color: #fff; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; }
.cta-inner p { margin: 0; opacity: .8; }

/* Pages intérieures */
.page-hero { padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 60px); background: linear-gradient(180deg, var(--tint), #fff); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; color: var(--deep); }
.page-hero .lead { margin: 0; }

.srv-list { display: grid; gap: 18px; }
.srv-row { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 30px; border-radius: 24px; border: 1px solid var(--line); scroll-margin-top: 110px; }
.srv-icon.lg { width: 72px; height: 72px; margin: 0; }
.srv-row h2 { font-size: 1.5rem; color: var(--deep); margin-bottom: 6px; }
.srv-row p { margin-bottom: 12px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 12px; border-radius: 999px; background: var(--tint); font-size: .86rem; color: var(--deep); }
.srv-price { text-align: right; display: grid; gap: 2px; min-width: 140px; }
.srv-price small { color: var(--muted); }
.srv-price strong { font: 800 1.5rem var(--display); color: var(--deep); margin-bottom: 8px; }
.ins { max-width: 760px; }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.member { display: grid; grid-template-columns: 180px 1fr; gap: 26px; padding: 22px; border-radius: 28px; background: var(--tint); }
.member-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; display: grid; place-items: end start; padding: 14px; }
.member-ph::before { content: ""; position: absolute; left: 50%; top: 18%; width: 44%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, .35); box-shadow: 0 110px 0 38px rgba(255, 255, 255, .25); }
.member-ph span { position: relative; font: 800 1.4rem var(--display); color: #fff; }
.m0 { background: linear-gradient(160deg, #34d399, #0f4f50); } .m1 { background: linear-gradient(160deg, #5eead4, #155e75); } .m2 { background: linear-gradient(160deg, #a7f3d0, #047857); } .m3 { background: linear-gradient(160deg, #99f6e4, #0b3b3c); }
.member h2 { font-size: 1.35rem; color: var(--deep); margin: 6px 0 4px; }
.role { font: 700 .85rem var(--display); color: var(--mint-d); margin-bottom: 4px; }
.spec { font-size: .95rem; margin-bottom: 10px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 28px; border-radius: 24px; border: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint-d); color: #fff; font: 800 1rem var(--display); margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; color: var(--deep); }
.steps p { margin: 0; }
.patients-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.faq details { border-radius: 18px; background: #fff; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font: 700 1.02rem var(--display); color: var(--deep); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mint-l); color: var(--mint-d); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }
.info-cards { display: grid; gap: 16px; }
.info-card { display: block; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.info-card h3 { font-size: 1.1rem; color: var(--deep); }
.info-card p:last-child { margin-bottom: 0; }
.info-card a { color: var(--mint-d); }
.hours-row { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 8px; }
.info-card.urgent { background: var(--deep); color: #fff; border: 0; }
.info-card.urgent span { display: block; opacity: .8; font-size: .95rem; }
.info-card.urgent strong { font: 800 1.6rem var(--display); color: #6ee7b7; }

/* Formulaire */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--tint); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: block; margin-bottom: 18px; }
.f > span, .choice legend { display: block; font: 700 .88rem var(--display); color: var(--deep); margin-bottom: 8px; }
.f input, .f select, .f textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.choice { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .95rem; transition: background .2s, color .2s; }
.choice input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid rgba(16, 185, 129, .5); }
.check { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--mint-d); }

/* Pied de page */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .75); padding: 70px 0 28px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text b { color: #6ee7b7; }
.site-footer .brand-text small { color: rgba(255, 255, 255, .6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 44px; }
.footer-desc { margin-top: 18px; max-width: 280px; }
.footer-h { font: 700 .8rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: #6ee7b7; margin-bottom: 12px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-nav { display: grid; gap: 6px; align-content: start; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.mk-legal a { color: var(--mint-d); }

@media (prefers-reduced-motion: reduce) { .blob, .spark, .live { animation: none; } }
