/* =====================================================================
   Dentelle Tunisie — site public
   Reproduction des maquettes (bleu dentaire, cartes blanches arrondies,
   titres Poppins, textes Inter, touches manuscrites Caveat).
   Mobile first : styles de base pour mobile, puis min-width 640 / 900 / 1100 px.
   Les variables peuvent être remplacées par le thème du site builder (ThemeService).
   ===================================================================== */
:root {
    --primary: #1677f0;
    --primary-600: #0f63d6;
    --primary-700: #0b4fae;
    --primary-300: #7cb6fa;
    --primary-100: #dcebfe;
    --primary-50: #eef5ff;
    --primary-rgb: 22, 119, 240;
    --sky: #4fb3ff;
    --navy: #0b2350;
    --navy-2: #0b4596;
    --navy-rgb: 11, 35, 80;
    --hero-1: #0a3683;
    --hero-2: #1677f0;
    --text: #23395d;
    --muted: #6b7a99;
    --line: #e2ebf8;
    --bg: #ffffff;
    --bg-soft: #f4f8fe;
    --bg-soft-2: #eaf2fe;
    --gold: #fbbf24;
    --green: #16a36a;
    --red: #e0475b;
    --orange: #e98a16;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(11, 35, 80, .05);
    --shadow: 0 12px 32px -14px rgba(11, 35, 80, .22);
    --shadow-lg: 0 30px 60px -24px rgba(11, 35, 80, .35);
    --container: 1200px;
    --font-size: 16px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-title: "Poppins", "Inter", system-ui, sans-serif;
    --font-hand: "Caveat", "Segoe Print", cursive;
    --ease: cubic-bezier(.22, .8, .28, 1);
    --header-h: 76px;
    --mobile-bar: calc(64px + env(safe-area-inset-bottom)); /* barre du bas de l'iPhone, surtout dans l'application installée */
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: var(--font-size); line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: var(--mobile-bar); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--navy); margin: 0 0 .5em; line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .45); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.container { width: 100%; max-width: calc(var(--container) + 32px); margin-inline: auto; padding-inline: 16px; }
.section { padding-block: 64px; }
.section-soft { background: var(--bg-soft); }
.text-accent { color: var(--primary); }
.muted { color: var(--muted); }
.small { font-size: .85em; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }

/* ---------------- Boutons ---------------- */
.btn {
    --b-bg: var(--primary); --b-fg: #fff; --b-bd: var(--primary);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 11px 24px; border-radius: 999px; border: 1.5px solid var(--b-bd);
    background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: 14.5px; line-height: 1.2; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
    white-space: nowrap; text-align: center;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { color: var(--b-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(var(--primary-rgb), .55); }
.btn:hover .ico-arrow-right { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-primary { --b-bg: var(--primary); --b-bd: var(--primary); }
.btn-primary:hover { --b-bg: var(--primary-600); --b-bd: var(--primary-600); }
.btn-white { --b-bg: #fff; --b-fg: var(--navy); --b-bd: #fff; }
.btn-white:hover { --b-fg: var(--primary); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.btn-white .ico { color: var(--primary); }
.btn-ghost-light { --b-bg: rgba(255, 255, 255, .06); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --b-bg: rgba(255, 255, 255, .16); --b-bd: #fff; box-shadow: none; }
.btn-outline { --b-bg: #fff; --b-fg: var(--primary); --b-bd: var(--primary); }
.btn-outline:hover { --b-bg: var(--primary); --b-fg: #fff; }
.btn-navy { --b-bg: var(--navy-2); --b-bd: var(--navy-2); }
.btn-navy:hover { --b-bg: var(--navy); --b-bd: var(--navy); }
.btn-sm { min-height: 38px; padding: 8px 18px; font-size: 13.5px; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.play-dot { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-inline-start: -10px; border-radius: 50%; background: #fff; color: var(--primary); }
.play-dot .ico { width: 13px; height: 13px; margin-inline-start: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--primary); }
.link-arrow .ico { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------------- Surtitres et titres de section ---------------- */
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.section-title { font-size: clamp(28px, 4.2vw, 40px); font-weight: 700; }
.section-title .accent, .accent { color: var(--primary); }
.section-head { display: grid; gap: 18px; margin-bottom: 36px; }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0; }
.section-head .btn { justify-self: start; }

/* ---------------- Bandeau d'annonce ---------------- */
.annonce { position: relative; z-index: 60; background: var(--navy); color: #fff; font-size: 13px; text-align: center; padding: 8px 16px; }
.annonce a { color: #fff; text-decoration: underline; }

/* ---------------- En-tête ---------------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s, box-shadow .3s, transform .35s var(--ease); }
.site-header.is-sticky { position: fixed; background: rgba(10, 46, 112, .92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-name { display: block; font-family: var(--font-title); font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.brand-name span { color: var(--sky); }
.brand-tag { display: block; margin-top: 4px; font-size: 10.5px; opacity: .85; letter-spacing: .01em; }
.nav { display: none; }
.nav a { position: relative; display: block; padding: 8px 2px; white-space: nowrap; color: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 500; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-call { display: none; align-items: center; gap: 10px; color: #fff; }
.header-call:hover { color: #fff; }
.header-call .ico { width: 22px; height: 22px; }
.header-call small { display: block; font-size: 11px; opacity: .85; line-height: 1.2; }
.header-call strong { display: block; white-space: nowrap; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.header-cta { display: none; }
.header-cta .ico { color: var(--primary); }
.burger { margin-inline-start: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.burger .ico { width: 22px; height: 22px; }

/* Menu mobile (tiroir) */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(6, 20, 48, .55); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; padding: 18px 20px 24px; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-head .brand { color: var(--navy); }
.drawer-head .brand-tag { color: var(--muted); }
.drawer-close { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 16px; }
.drawer nav a.is-active { color: var(--primary); }
.drawer nav a .ico { width: 16px; height: 16px; color: var(--muted); }
.drawer-foot { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.drawer-foot .btn-outline { --b-bg: transparent; }

/* Barre fixe mobile : appel + rendez-vous toujours visibles */
.mobile-bar { position: fixed; inset: auto 0 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; height: var(--mobile-bar); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -12px rgba(11, 35, 80, .28); border-top: 1px solid var(--line); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 14px; font-weight: 600; font-size: 13px; }
.mobile-bar .mb-call { background: var(--bg-soft); color: var(--navy); }
.mobile-bar .mb-wa { background: #e8f8ef; color: #128c4a; }
.mobile-bar .mb-rdv { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -8px rgba(var(--primary-rgb), .8); }
.mobile-bar .ico { width: 18px; height: 18px; }

/* ---------------- Héros (accueil) ---------------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 34px) 0 0;
    background:
        radial-gradient(60% 70% at 78% 40%, rgba(80, 170, 255, .55) 0%, rgba(80, 170, 255, 0) 60%),
        radial-gradient(40% 50% at 10% 90%, rgba(10, 60, 160, .6) 0%, rgba(10, 60, 160, 0) 70%),
        linear-gradient(120deg, var(--hero-1) 0%, #0d4fbf 45%, var(--hero-2) 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, rgba(0,0,0,.6), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 28px; align-items: end; }
.hero-text { padding-bottom: 8px; }
.hero .eyebrow { color: #bfe1ff; font-size: 10.5px; letter-spacing: .14em; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.hero h1 { color: #fff; font-size: clamp(40px, 9vw, 66px); line-height: 1.04; font-weight: 600; letter-spacing: -.025em; margin-bottom: 18px; }
.hero h1 .l2 { display: block; color: var(--sky); }
.hero-lead { max-width: 440px; color: rgba(255, 255, 255, .9); font-size: 15px; line-height: 1.65; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-inline-start: -10px; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.avatars img:first-child { margin-inline-start: 0; }
.trust strong { display: block; font-size: 14px; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); vertical-align: middle; }
.stars .ico { width: 15px; height: 15px; fill: currentColor; }
.stars .ico.off { color: #d5dcea; }
.trust small { font-size: 12px; opacity: .9; margin-inline-start: 6px; }
.hero-visual { position: relative; min-height: 340px; margin-inline: -16px; }
.hero-photo { position: relative; z-index: 1; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 270 / 308; object-fit: cover; object-position: center top;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%);
    mask-composite: intersect; }
.hero-hand { position: absolute; z-index: 3; top: 6%; right: 6%; font-family: var(--font-hand); font-size: clamp(22px, 4vw, 34px); line-height: 1.05; text-align: center; transform: rotate(-6deg); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); white-space: pre-line; max-width: 9ch; }
.hero-hand svg { width: 34px; height: 22px; margin: 4px auto 0; }
.hero-pills { position: relative; z-index: 3; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -30px 0 24px; padding: 0 16px; }
.hero-pill { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: var(--navy); font-size: 12px; font-weight: 600; box-shadow: 0 12px 26px -12px rgba(0, 20, 60, .5); transition: transform .3s var(--ease); }
.hero-pill:hover { transform: translateX(-4px); }
.hero-pill .pi { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--primary-100); color: var(--primary); flex-shrink: 0; }
.hero-pill .pi .ico { width: 14px; height: 14px; }
.hero-wave { position: absolute; inset: auto 0 -1px; height: 40px; background: linear-gradient(180deg, transparent, rgba(244, 248, 254, .0)); }

/* ---------------- Bandeau des atouts ---------------- */
.atouts { position: relative; z-index: 5; background: #f5f9ff; border-bottom: 1px solid var(--line); }
.atouts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.atout { display: flex; align-items: center; gap: 12px; padding: 20px 10px; }
.atout + .atout { position: relative; }
.atout .ai { color: var(--primary); }
.atout .ai .ico { width: 34px; height: 34px; stroke-width: 1.5; }
.atout strong { display: block; color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.3; font-family: var(--font-title); }
.atout small { display: block; color: var(--muted); font-size: 12px; }

/* ---------------- Cartes de soins ---------------- */
.soins-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.soin-card { position: relative; display: flex; flex-direction: column; padding: 18px 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden; }
.soin-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.soin-card:hover { color: inherit; transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--primary-100); }
.soin-card:hover::after { transform: scaleX(1); }
.soin-visual { position: relative; display: grid; place-items: center; height: 96px; margin-bottom: 14px; }
.soin-visual::before { content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle, #e3efff 0%, #f2f7ff 60%, transparent 72%); transition: transform .5s var(--ease); }
.soin-visual img { position: relative; max-height: 92px; width: auto; object-fit: contain; transition: transform .5s var(--ease); mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.soin-card:hover .soin-visual img { transform: scale(1.08) rotate(-3deg); }
.soin-card:hover .soin-visual::before { transform: scale(1.15); }
.soin-card h3 { font-size: 15px; margin-bottom: 6px; }
.soin-card p { color: var(--muted); font-size: 12.5px; line-height: 1.55; margin-bottom: 14px; }
.soin-card .link-arrow { margin-top: auto; font-size: 12.5px; }
.soin-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 30px; background: var(--primary-50); color: var(--primary-700); font-size: 11.5px; font-weight: 600; }
.chip .ico { width: 13px; height: 13px; }
.chip-green { background: #e5f7ee; color: #0d7a4c; }
.chip-orange { background: #fff1de; color: #a95d00; }
.chip-red { background: #fde8ec; color: #b5223a; }
.chip-gray { background: #eef1f6; color: #55617a; }

/* ---------------- À propos ---------------- */
.about-grid { display: grid; gap: 34px; align-items: center; }
.about-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 500; font-size: 14.5px; }
.checks .ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-2); color: #fff; flex-shrink: 0; }
.checks .ck .ico { width: 13px; height: 13px; stroke-width: 3; }
.img-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.img-frame:hover img { transform: scale(1.04); }
.img-badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.img-badge .ico { color: var(--primary); }

/* ---------------- Compteurs ---------------- */
.stats { background: linear-gradient(100deg, #0a3d8f 0%, var(--navy-2) 50%, #0d55b4 100%); color: #fff; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 10px; }
.stat:nth-child(odd) { border-inline-end: 1px solid rgba(255, 255, 255, .14); }
.stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.stat .si { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); margin-bottom: 12px; }
.stat .si .ico { width: 22px; height: 22px; }
.stat strong { font-family: var(--font-title); font-size: clamp(26px, 5vw, 34px); font-weight: 600; line-height: 1.1; }
.stat > span:last-child { font-size: 13px; opacity: .85; }

/* ---------------- Pourquoi nous choisir ---------------- */
.why-grid { display: grid; gap: 34px; align-items: center; }
.why-features { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
.why-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid transparent; transition: transform .3s var(--ease), background-color .3s, border-color .3s, box-shadow .3s; }
.why-card:hover { transform: translateY(-4px); background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.why-card .wi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--navy-2); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.why-card strong { display: block; color: var(--navy); font-size: 14px; font-family: var(--font-title); }
.why-card small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* ---------------- Avis ---------------- */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review .q { color: var(--primary-100); }
.review .q .ico { width: 30px; height: 30px; }
.review p { color: var(--text); font-size: 14px; flex: 1; margin: 10px 0 18px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author img, .review-author .initiales { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.initiales { display: grid; place-items: center; background: var(--primary-50); color: var(--primary-700); font-weight: 700; font-family: var(--font-title); }
.review-author strong { display: block; color: var(--navy); font-size: 14px; }
.review-author small { display: block; color: var(--muted); font-size: 12px; }
.review-reply { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 13px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: #c9daf3; cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.dots button.is-active { width: 22px; background: var(--primary); }
.rating-summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rating-summary .big { font-family: var(--font-title); font-size: 46px; font-weight: 700; color: var(--navy); line-height: 1; }

/* ---------------- Bandeau rendez-vous ---------------- */
.cta-rdv { position: relative; overflow: hidden; color: #fff; padding-block: 56px;
    background: radial-gradient(50% 80% at 12% 50%, rgba(90, 180, 255, .55), transparent 70%), linear-gradient(110deg, #0b47b4 0%, var(--primary) 55%, #2b8cff 100%); }
.cta-grid { position: relative; display: grid; gap: 30px; align-items: center; }
.cta-visual { display: none; }
.cta-visual img { width: 100%; max-width: 230px; border-radius: 50%; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%); }
.cta-text .eyebrow { color: #cde6ff; }
.cta-text h2 { color: #fff; font-size: clamp(26px, 4vw, 34px); font-weight: 600; }
.cta-text h2 .accent { color: #9fd4ff; }
.cta-text p { color: rgba(255, 255, 255, .9); font-size: 14.5px; }
.cta-features { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 20px; font-size: 13px; }
.cta-features span { display: inline-flex; align-items: center; gap: 8px; }
.cta-features .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); }
.quick-form { padding: 22px; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.quick-form .grid2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.quick-form .note { margin: 12px 0 0; text-align: center; color: var(--navy); font-size: 13px; font-weight: 600; }
.quick-form .note .ico { display: inline; width: 14px; height: 14px; vertical-align: -2px; color: var(--primary); }

/* ---------------- Formulaires ---------------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field .req { color: var(--red); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid #d6e4f8; background: var(--bg-soft);
    color: var(--navy); font-size: 14.5px; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b2350' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .14); }
.input::placeholder, .field ::placeholder { color: #8a9ab8; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fff6f7; }
.field-error { color: var(--red); font-size: 12.5px; font-weight: 500; }
.field-hint { color: var(--muted); font-size: 12.5px; }
.form-grid { display: grid; gap: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); flex-shrink: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented label { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px; border-radius: var(--radius-sm); border: 1.5px solid #d6e4f8; background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { border-color: var(--primary); background: var(--primary-50); color: var(--primary-700); }
.segmented label:has(input:focus-visible) { outline: 3px solid rgba(var(--primary-rgb), .4); }
.captcha { display: grid; gap: 8px; }
.captcha-label { font-size: 13px; font-weight: 600; color: var(--navy); }
.captcha-row { display: flex; align-items: center; gap: 8px; }
.captcha-row img { border-radius: 10px; border: 1px solid #d6e4f8; }
.captcha-row input { max-width: 120px; min-height: 46px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid #d6e4f8; background: var(--bg-soft); font-size: 16px; font-weight: 600; text-align: center; }
.captcha-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .14); }
.captcha-refresh { width: 40px; height: 46px; border-radius: 10px; border: 1px solid #d6e4f8; background: #fff; color: var(--primary); font-size: 20px; cursor: pointer; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14px; border: 1px solid transparent; }
.alert .ico { margin-top: 2px; }
.alert-success { background: #e8f8f0; border-color: #bfe9d3; color: #0b6b42; }
.alert-error { background: #fdecef; border-color: #f7c6cf; color: #a3182f; }
.alert-info { background: var(--primary-50); border-color: var(--primary-100); color: var(--primary-700); }
.alert-warn { background: #fff5e6; border-color: #fbdcaa; color: #94540a; }

/* ---------------- Blog ---------------- */
.posts { display: grid; gap: 16px; }
.post-card { display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { color: inherit; transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.08); }
.post-date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; margin-bottom: 6px; }
.post-date .ico { width: 14px; height: 14px; padding: 1px; color: var(--navy-2); }
.post-card h3 { font-size: 15px; line-height: 1.35; margin-bottom: 8px; }
.post-card .link-arrow { font-size: 12.5px; }
.post-card-v { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card-v:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-v .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-v .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card-v:hover .thumb img { transform: scale(1.06); }
.post-card-v .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card-v h3 { font-size: 18px; }
.post-card-v p { color: var(--muted); font-size: 14px; }
.post-card-v .link-arrow { margin-top: auto; }
.cards-3 { display: grid; gap: 20px; }

/* ---------------- Pied de page ---------------- */
.site-footer { position: relative; overflow: hidden; padding: 56px 0 0; background: linear-gradient(180deg, #f2f7ff 0%, #e6f0fd 100%); color: var(--text); }
.site-footer::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--primary-rgb), .14), transparent 65%); }
.footer-grid { position: relative; display: grid; gap: 34px; }
.site-footer .brand { color: var(--navy); }
.site-footer .brand-name span { color: var(--primary); }
.site-footer .brand-tag { color: var(--muted); }
.footer-about p { color: var(--muted); font-size: 13.5px; margin: 16px 0 18px; max-width: 30ch; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #cfdcf0; color: var(--navy); background: rgba(255, 255, 255, .6); transition: background-color .25s, color .25s, transform .25s var(--ease), border-color .25s; }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.socials .ico { width: 16px; height: 16px; }
.footer-col h3 { font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 13.5px; }
.footer-col a:hover { color: var(--primary); padding-inline-start: 2px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 13.5px; }
.contact-list .ico { width: 18px; height: 18px; color: var(--primary); margin-top: 2px; }
.newsletter { display: flex; align-items: center; margin-top: 14px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 14px; font-size: 13.5px; }
.newsletter input:focus { outline: none; }
.newsletter button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; cursor: pointer; transition: transform .25s var(--ease), background-color .2s; }
.newsletter button:hover { transform: scale(1.06) rotate(-8deg); background: var(--primary-600); }
.newsletter button .ico { width: 18px; height: 18px; }
.footer-hand { position: absolute; right: 24px; bottom: 74px; font-family: var(--font-hand); color: var(--primary-600); font-size: 28px; line-height: 1; text-align: center; transform: rotate(-8deg); display: none; max-width: 8ch; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding: 18px 0 22px; border-top: 1px solid #d3e0f3; color: var(--muted); font-size: 12.5px; }
.footer-bottom nav { display: flex; gap: 14px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--primary); }
.chat-fab { position: fixed; right: 16px; bottom: calc(var(--mobile-bar) + 14px); z-index: 80; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 14px 28px -10px rgba(var(--primary-rgb), .8); transition: transform .3s var(--ease); }
.chat-fab:hover { color: #fff; transform: scale(1.08); }
.chat-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--primary); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.chat-fab .ico { width: 24px; height: 24px; }
.to-top { position: fixed; left: 16px; bottom: calc(var(--mobile-bar) + 14px); z-index: 80; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------------- Pages intérieures ---------------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 40px) 0 54px;
    background: radial-gradient(50% 90% at 85% 30%, rgba(90, 180, 255, .5), transparent 70%), linear-gradient(115deg, var(--hero-1) 0%, #0d4fbf 50%, var(--hero-2) 100%); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: linear-gradient(0deg, rgba(255,255,255,.08), transparent); }
.page-hero .eyebrow { color: #bfe1ff; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 6vw, 50px); font-weight: 600; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .9); max-width: 62ch; font-size: 15.5px; margin: 0; }
.page-hero .hero-tooth { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .12; color: #fff; display: none; }
.page-hero .hero-tooth svg { width: 100%; height: auto; stroke-width: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.breadcrumb a { color: rgba(255, 255, 255, .9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.prose { color: var(--text); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--primary); }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-inline-start: 4px solid var(--primary); background: var(--bg-soft); border-radius: 0 12px 12px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card-soft { background: var(--bg-soft); border-color: transparent; box-shadow: none; }
.side-card { position: sticky; top: 100px; }
.two-cols { display: grid; gap: 32px; }
.feature-list { display: grid; gap: 14px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); flex-shrink: 0; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.feature-item:hover .fi { transform: rotate(-6deg) scale(1.06); background: var(--primary); color: #fff; }
.feature-item strong { display: block; color: var(--navy); font-family: var(--font-title); }
.feature-item p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.grid-4 { display: grid; gap: 16px; }
.value-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .fi { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--sky)); color: #fff; margin-bottom: 16px; }
.value-card h3 { font-size: 17px; margin-bottom: 6px; }
.value-card p { color: var(--muted); font-size: 14px; margin: 0; }
.team-card { text-align: center; padding: 26px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.team-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 4px solid var(--primary-50); }
.team-card h3 { font-size: 17px; margin-bottom: 2px; }
.diplomas { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.diplomas li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.diplomas .ico { color: var(--primary); margin-top: 3px; }
.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: step; position: relative; padding: 16px 16px 16px 64px; border-radius: 14px; background: var(--bg-soft); }
.steps-list li::before { content: counter(step); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-family: var(--font-title); }
.steps-list strong { display: block; color: var(--navy); }
.steps-list span { color: var(--muted); font-size: 14px; }
.price-box { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-family: var(--font-title); color: var(--navy); }
.price-box .from { font-size: 13px; color: var(--muted); font-family: var(--font); }
.price-box .amount { font-size: 28px; font-weight: 700; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button, .filters a { flex-shrink: 0; padding: 9px 18px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all .2s; }
.filters .is-active, .filters button:hover, .filters a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; }
.pagination .is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* FAQ (accordéon) */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { border-color: var(--primary-100); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); font-family: var(--font-title); font-size: 15.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-50); flex-shrink: 0; transition: background-color .3s, transform .3s var(--ease); }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--primary); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .3s; }
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .pm { background: var(--primary); transform: rotate(180deg); }
.faq-item[open] summary .pm::before, .faq-item[open] summary .pm::after { background: #fff; }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }

/* Galerie avant / après (comparateur à glissière) */
.ba-grid { display: grid; gap: 22px; }
.ba-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: pan-y; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba .ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .3); pointer-events: none; }
.ba .ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--primary); font-weight: 700; box-shadow: var(--shadow); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba .tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 20px; background: rgba(11, 35, 80, .7); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.ba .tag-before { left: 12px; }
.ba .tag-after { right: 12px; background: var(--primary); }
.ba-card .body { padding: 16px 18px 18px; }
.ba-card h3 { font-size: 16px; margin-bottom: 4px; }

/* Contact */
.map-frame { width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-soft); }
.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--navy); font-weight: 600; }
.hours tr.is-today td { color: var(--primary); font-weight: 700; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 30px; font-size: 12.5px; font-weight: 600; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { background: #e5f7ee; color: #0d7a4c; }
.open-badge.is-closed { background: #fde8ec; color: #b5223a; }
.info-tiles { display: grid; gap: 14px; }
.info-tile { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
.info-tile:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); }
.info-tile .fi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary-50); color: var(--primary); flex-shrink: 0; }
.info-tile small { display: block; color: var(--muted); font-size: 12.5px; }
.info-tile strong { display: block; color: var(--navy); }

/* ---------------- Prise de rendez-vous ---------------- */
.booking { display: grid; gap: 24px; align-items: start; }
.booking-main { min-width: 0; }
.stepper { display: flex; gap: 6px; margin-bottom: 22px; list-style: none; padding: 0; counter-reset: s; }
.stepper li { flex: 1; counter-increment: s; }
.stepper button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 600; cursor: default; text-align: start; }
.stepper button::before { content: ""; width: 100%; height: 5px; border-radius: 5px; background: var(--line); transition: background-color .3s; }
.stepper .is-done button, .stepper .is-current button { color: var(--navy); }
.stepper .is-done button { cursor: pointer; }
.stepper .is-done button::before, .stepper .is-current button::before { background: var(--primary); }
.stepper .n::before { content: counter(s) ". "; }
.step-panel { display: none; animation: stepIn .45s var(--ease); }
.step-panel.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.step-title { font-size: 22px; margin-bottom: 6px; }
.step-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.soin-choices { display: grid; gap: 10px; }
.soin-choice { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.soin-choice:hover { border-color: var(--primary-300); transform: translateY(-2px); }
.soin-choice input { position: absolute; opacity: 0; pointer-events: none; }
.soin-choice:has(input:checked) { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .14); }
.soin-choice:has(input:focus-visible) { outline: 3px solid rgba(var(--primary-rgb), .45); }
.soin-choice .sc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--bg-soft); flex-shrink: 0; overflow: hidden; }
.soin-choice .sc-ico img { max-height: 48px; width: auto; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.soin-choice strong { display: block; color: var(--navy); font-size: 15px; }
.soin-choice small { display: block; color: var(--muted); font-size: 12.5px; }
.soin-choice .sc-check { margin-inline-start: auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.soin-choice:has(input:checked) .sc-check { background: var(--primary); border-color: var(--primary); }
.soin-choice .sc-check .ico { width: 14px; height: 14px; stroke-width: 3; }
.days-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.days-head strong { color: var(--navy); text-transform: capitalize; font-family: var(--font-title); }
.days-nav { display: flex; gap: 6px; }
.days-nav button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.days-nav button:disabled { opacity: .35; cursor: default; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 8px) / 5.4); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.day small { font-size: 11px; text-transform: capitalize; color: var(--muted); font-weight: 600; }
.day strong { font-size: 20px; font-family: var(--font-title); line-height: 1.1; }
.day em { font-style: normal; font-size: 10.5px; color: var(--green); font-weight: 600; }
.day:hover:not(:disabled) { border-color: var(--primary-300); transform: translateY(-2px); }
.day.is-selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.day.is-selected small, .day.is-selected em { color: rgba(255, 255, 255, .9); }
.day:disabled { cursor: not-allowed; background: var(--bg-soft); color: #a7b3c9; border-color: transparent; }
.day:disabled em { color: #a7b3c9; }
.slots-wrap { margin-top: 20px; min-height: 140px; }
.slots-group + .slots-group { margin-top: 16px; }
.slots-group h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-family: var(--font); font-weight: 600; margin-bottom: 10px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: 12px; border: 1.5px solid var(--primary-100); background: #fff; color: var(--primary-700); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .2s var(--ease); }
.slot:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-50); transform: translateY(-2px); }
.slot.is-selected { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 18px -8px rgba(var(--primary-rgb), .8); }
.slot:disabled { background: var(--bg-soft); border-color: transparent; color: #b3bfd3; text-decoration: line-through; cursor: not-allowed; }
.slots-empty { padding: 26px; text-align: center; border-radius: 14px; background: var(--bg-soft); color: var(--muted); }
.skeleton { height: 46px; border-radius: 12px; background: linear-gradient(90deg, var(--bg-soft) 25%, #e3ecf9 50%, var(--bg-soft) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 600; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.step-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 24px; }
.booking-summary { padding: 22px; border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.booking-summary h3 { color: #fff; font-size: 17px; }
.booking-summary dl { margin: 0; display: grid; gap: 12px; }
.booking-summary dt { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.booking-summary dd { margin: 2px 0 0; font-weight: 600; }
.booking-summary .bs-help { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; opacity: .9; }
.booking-summary .bs-help a { color: #9fd4ff; font-weight: 600; }
.confirm-box { text-align: center; padding: 34px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.confirm-check { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: #e5f7ee; color: var(--green); }
.confirm-check .ico { width: 42px; height: 42px; stroke-width: 2.4; }
.confirm-check.is-pending { background: #fff5e6; color: var(--orange); }
.confirm-check svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.recap { display: grid; gap: 0; margin: 22px 0; text-align: start; border-radius: 14px; background: var(--bg-soft); overflow: hidden; }
.recap div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; font-size: 14.5px; }
.recap div + div { border-top: 1px solid #dfe9f8; }
.recap span { color: var(--muted); }
.recap strong { color: var(--navy); text-align: end; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Espace patient */
.account-grid { display: grid; gap: 24px; }
.rdv-list { display: grid; gap: 12px; }
.rdv-item { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.rdv-date { display: grid; place-items: center; width: 64px; height: 68px; border-radius: 12px; background: var(--primary-50); color: var(--primary-700); flex-shrink: 0; text-align: center; line-height: 1.1; }
.rdv-date strong { font-size: 22px; font-family: var(--font-title); }
.rdv-date small { font-size: 11px; text-transform: uppercase; font-weight: 600; }
.rdv-item .body { flex: 1; min-width: 0; }
.rdv-item .body strong { color: var(--navy); display: block; }
.rdv-item .body small { color: var(--muted); }
.auth-box { max-width: 460px; margin: 0 auto; }
.tabs-line { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs-line a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-line a.is-active { color: var(--primary); border-color: var(--primary); }

/* Vidéo (modale) */
.video-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(4, 16, 40, .85); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal .vm-box { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; transform: scale(.94); transition: transform .35s var(--ease); }
.video-modal.is-open .vm-box { transform: none; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
.video-modal .vm-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 18px; cursor: pointer; }

/* Bandeau cookies */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--mobile-bar) + 12px); z-index: 120; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 13px; box-shadow: var(--shadow-lg); }
.cookie-bar p { margin: 0; flex: 1 1 260px; }
.cookie-bar a { color: #9fd4ff; }

/* Erreurs */
.error-page { text-align: center; padding: 40px 0; }
.error-page .code { font-family: var(--font-title); font-size: clamp(80px, 20vw, 160px); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- Animations au défilement (activées par front.js) ---------------- */
.js [data-anim] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
    .js [data-anim] { opacity: 1 !important; transform: none !important; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Tablette
   ===================================================================== */
@media (min-width: 640px) {
    .container { padding-inline: 24px; }
    .section { padding-block: 80px; }
    .soins-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .atouts-grid { grid-template-columns: repeat(4, 1fr); }
    .atout { justify-content: center; }
    .atout + .atout::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: #d6e2f3; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .stat, .stat:nth-child(odd), .stat:nth-child(-n+2) { border: 0; }
    .stat + .stat { border-inline-start: 1px solid rgba(255, 255, 255, .14) !important; }
    .why-features { grid-template-columns: 1fr 1fr; }
    .reviews { grid-auto-columns: calc((100% - 16px) / 2); }
    .quick-form .grid2 { grid-template-columns: 1fr 1fr; }
    .posts { grid-template-columns: 1fr 1fr; }
    .cards-3, .ba-grid { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
    .form-grid .full { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-pills { grid-template-columns: repeat(4, 1fr); }
    .info-tiles { grid-template-columns: repeat(3, 1fr); }
    .soin-choices { grid-template-columns: 1fr 1fr; }
    .days { grid-auto-columns: calc((100% - 6 * 8px) / 7); }
    .post-card { grid-template-columns: 130px 1fr; }
    .cookie-bar { left: auto; max-width: 520px; }
}

/* =====================================================================
   Ordinateur
   ===================================================================== */
@media (min-width: 1024px) {
    body { padding-bottom: 0; }
    .mobile-bar { display: none; }
    .chat-fab { bottom: 24px; right: 24px; }
    .to-top { bottom: 24px; left: 24px; }
    .cookie-bar { bottom: 24px; }
    .section { padding-block: 92px; }
    .burger { display: none; }
    .nav { display: flex; gap: clamp(14px, 1.6vw, 26px); margin-inline: auto; }
    .header-call { display: flex; }
    .header-cta { display: inline-flex; min-height: 44px; padding: 10px 22px; font-size: 13.5px; }
    .header-inner { gap: 28px; }

    .hero { padding-top: calc(var(--header-h) + 8px); }
    .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 0; min-height: 560px; }
    .hero-text { padding-block: 50px 64px; align-self: center; }
    .hero-visual { margin: 0; align-self: stretch; display: flex; align-items: flex-end; }
    .hero-photo { max-width: none; width: 100%; height: 100%; max-height: 600px; margin: 0; object-position: left top; }
    .hero-hand { right: 4%; top: -1%; font-size: 30px; }
    .hero-pills { position: absolute; right: 0; top: 60%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; width: 210px; }
    .hero-pill { padding: 12px 14px; font-size: 12.5px; }

    .atout { padding: 26px 10px; }
    .section-head { grid-template-columns: 1.5fr 1fr auto; align-items: end; gap: 40px; }
    .section-head .btn { justify-self: end; }
    .soins-grid { grid-template-columns: repeat(6, 1fr); }
    .soins-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .soins-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
    .about-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; }
    .about-grid .img-frame { aspect-ratio: 391 / 255; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
    .why-grid .img-frame { aspect-ratio: 325 / 208; }
    .reviews { grid-auto-columns: calc((100% - 32px) / 3); }
    .cta-grid { grid-template-columns: 230px 1fr 1.05fr; gap: 40px; }
    .cta-visual { display: block; }
    .posts { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .ba-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1.35fr .8fr .95fr 1.15fr 1.25fr; gap: 30px; }
    .footer-hand { display: block; }
    .page-hero { padding: calc(var(--header-h) + 64px) 0 76px; }
    .page-hero .hero-tooth { display: block; }
    .two-cols { grid-template-columns: 1.6fr 1fr; gap: 48px; }
    .two-cols.even { grid-template-columns: 1fr 1fr; }
    .booking { grid-template-columns: 1fr 340px; gap: 32px; }
    .booking-summary { position: sticky; top: 100px; }
    .account-grid { grid-template-columns: 1.6fr 1fr; }
    .days { grid-auto-columns: calc((100% - 6 * 8px) / 7); }
}

@media (min-width: 1280px) {
    .hero h1 { font-size: 68px; }
    .hero-pills { right: -12px; }
}

/* Écrans d'ordinateur étroits : le numéro de téléphone cède la place au menu */
@media (min-width: 1024px) and (max-width: 1260px) {
    .header-call { display: none; }
    .nav a { font-size: 13.5px; }
}

/* Corrections mobiles du parcours de réservation */
.booking { grid-template-columns: minmax(0, 1fr); }
.step-panel { min-width: 0; }
.step-title { display: block; padding: 0; font-family: var(--font-title); font-weight: 700; color: var(--navy); font-size: 22px; line-height: 1.25; }
.step-title:focus { outline: none; }
@media (min-width: 1024px) { .booking { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (max-width: 1023px) { .chat-fab { display: none; } }

/* =====================================================================
   Multilingue : sélecteur de langue, police arabe, mise en page de droite à gauche (dir="rtl")
   ===================================================================== */
.lang-switch { position: relative; display: none; flex-shrink: 0; }
.lang-current { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font: 600 13px/1 var(--font); cursor: pointer; transition: background-color .2s; }
.lang-current:hover, .lang-switch.is-open .lang-current { background: rgba(255, 255, 255, .18); }
.lang-current .ico { width: 17px; height: 17px; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 150px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg, 0 18px 40px -12px rgba(11, 35, 80, .35)); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--navy); font-size: 14px; font-weight: 500; }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a.is-active { color: var(--primary); font-weight: 700; }
.drawer-langs { display: flex; gap: 8px; margin-top: 18px; }
.drawer-langs a { flex: 1; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); color: var(--navy); font-size: 14px; font-weight: 600; text-align: center; }
.drawer-langs a.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
@media (min-width: 1024px) { .lang-switch { display: block; } }

/* Arabe : police lisible (Cairo), pas d'espacement négatif des titres, écriture « manuscrite » adaptée */
[dir="rtl"] { --font: "Cairo", "Inter", system-ui, "Segoe UI", Tahoma, sans-serif; --font-title: "Cairo", "Poppins", system-ui, sans-serif; --font-hand: "Aref Ruqaa", "Cairo", serif; }
[dir="rtl"] body { line-height: 1.75; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .brand-name { letter-spacing: 0; }
[dir="rtl"] .brand-name, [dir="rtl"] .brand-tag { direction: rtl; }

/* Droite à gauche : éléments positionnés et transformations orientées */
[dir="rtl"] .skip-link { left: auto; right: 12px; }
[dir="rtl"] .ico-arrow-right, [dir="rtl"] .ico-arrow-left, [dir="rtl"] .ico-chevron-right, [dir="rtl"] .ico-chevron-left, [dir="rtl"] .ico-send { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ico-arrow-right, [dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .nav a::after, [dir="rtl"] .soin-card::after { transform-origin: right; }
[dir="rtl"] .drawer-panel { inset: 0 auto 0 0; transform: translateX(-100%); }
[dir="rtl"] .drawer.is-open .drawer-panel { transform: none; }
[dir="rtl"] .hero-hand { right: auto; left: 6%; transform: rotate(6deg); }
[dir="rtl"] .hero-pill:hover { transform: translateX(4px); }
[dir="rtl"] .img-badge { left: auto; right: 16px; }
[dir="rtl"] .field select { background-position: left 14px center; padding-right: 14px; padding-left: 40px; }
[dir="rtl"] .site-footer::before { right: auto; left: -120px; }
[dir="rtl"] .footer-hand { right: auto; left: 24px; transform: rotate(8deg); }
[dir="rtl"] .chat-fab { right: auto; left: 16px; }
[dir="rtl"] .to-top { left: auto; right: 16px; }
[dir="rtl"] .page-hero .hero-tooth { right: auto; left: -40px; }
[dir="rtl"] .steps-list li { padding: 16px 64px 16px 16px; }
[dir="rtl"] .steps-list li::before { left: auto; right: 16px; }
[dir="rtl"] .hours td:last-child { text-align: left; }
[dir="rtl"] .video-modal .vm-close { right: auto; left: 0; }
[dir="rtl"] .newsletter button:hover { transform: scale(1.06) rotate(8deg); }
@media (min-width: 640px) {
    [dir="rtl"] .atout + .atout::before { left: auto; right: 0; }
}
@media (min-width: 1024px) {
    [dir="rtl"] .chat-fab { right: auto; left: 24px; }
    [dir="rtl"] .to-top { left: auto; right: 24px; }
    [dir="rtl"] .hero-hand { right: auto; left: 4%; }
    [dir="rtl"] .hero-pills { right: auto; left: 0; }
    [dir="rtl"] .hero-photo { object-position: right top; }
}
@media (min-width: 1280px) {
    [dir="rtl"] .hero-pills { right: auto; left: -12px; }
}

/* =====================================================================
   Réservation : choix facultatif d'un technicien
   ===================================================================== */
.soin-choice[hidden], .booking-summary dl > div[hidden] { display: none; }
.tech-choice .sc-ico { border-radius: 50%; color: var(--primary); }
.tech-choice .sc-ico img { width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; }
.tech-choice .sc-ico .ico { width: 26px; height: 26px; }

/* =====================================================================
   Smartphone
   ===================================================================== */
/* Les animations d'entrée décalent des blocs vers la droite : pas de défilement horizontal pendant ce temps */
html, body { overflow-x: clip; }
.btn[hidden] { display: none; }
.account-grid > * { min-width: 0; }
@media (max-width: 640px) {
    /* Sous 16 px, iOS zoome sur le champ à chaque saisie */
    .input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { font-size: 16px; }
    .rdv-item { flex-wrap: wrap; gap: 12px; }
    .rdv-item .body { flex: 1 1 calc(100% - 76px); }
    .rdv-item .btn { margin-inline-start: auto; }
}
