/* ==========================================================================
   Cabinet Dentaire Drs Maurer et Schwab — feuille de style commune
   Palette : teal du logo + tons « porcelaine » (blanc émail légèrement froid)
   Typo : Instrument Serif (titres) + Hanken Grotesk (texte), auto-hébergées
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Couleurs */
  --ink: #06393a;          /* teal très profond : titres, pied de page */
  --primary: #006d6e;      /* teal du logo */
  --primary-dark: #004f50;
  --lagoon: #3bb8ad;       /* teal lumineux : lueurs, accents */
  --accent: #1f9f9b;
  --mist: #e6f2f0;         /* fond de section doux */
  --primary-light: #e6f2f0;
  --porcelain: #f6faf9;    /* fond de page */
  --white: #ffffff;
  --line: #d8e6e3;
  --text: #15302f;
  --text-light: #4a6260;
  --muted: #6c8381;
  --amber: #a8620a;
  --amber-bg: #fdf3e0;
  --red: #b42318;
  --red-bg: #fdecea;
  --green: #0f7a55;
  --green-bg: #e5f5ee;
  --blue: #0b6a9a;
  --blue-bg: #e9f4fb;

  /* Typo */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Formes */
  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(6, 57, 58, .06), 0 2px 8px -2px rgba(6, 57, 58, .08);
  --shadow: 0 1px 2px rgba(6, 57, 58, .05), 0 14px 34px -14px rgba(6, 57, 58, .22);
  --shadow-lg: 0 2px 4px rgba(6, 57, 58, .05), 0 30px 60px -24px rgba(6, 57, 58, .32);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
strong { font-weight: 650; }
::selection { background: rgba(59, 184, 173, .28); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section[id], main[id], [id].procedure, #carte { scroll-margin-top: calc(var(--header-h) + 24px); }

h1, h2, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; color: var(--ink); }
h3, h4 { font-family: var(--sans); color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }

/* Icônes (sprite inline) */
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em;
     fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

/* ---------- Barre de progression de lecture ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300;
  background: linear-gradient(90deg, var(--lagoon), var(--primary));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.86); font-size: .9rem; }
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 9px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px;
}
.topbar-info { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info .i { color: var(--lagoon); }
.topbar-info a { color: #fff; font-weight: 600; }
.topbar-info a:hover { color: var(--lagoon); }
.topbar-address a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; font-weight: 500; }

/* ---------- En-tête ---------- */
.site-top { position: sticky; top: 0; z-index: 100; }
body > header, .site-top > header { position: sticky; top: 0; z-index: 100; }
.site-top > header { position: relative; }
header {
  background: rgba(246, 250, 249, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(216, 230, 227, .7);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
header.scrolled, .site-top.scrolled header { background: rgba(255,255,255,.9); box-shadow: 0 10px 30px -18px rgba(6,57,58,.35); }
.nav {
  max-width: 1200px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: padding .35s var(--ease);
}
.container.nav { padding: 14px 28px; max-width: 1200px; }
.nav-links a { white-space: nowrap; }
.scrolled .nav, header.scrolled .nav { padding-top: 9px; padding-bottom: 9px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 650; font-size: 1.02rem; line-height: 1.15; }
.logo:hover { color: var(--ink); }
.logo small { display: block; font-weight: 450 !important; color: var(--muted) !important; font-size: .82rem !important; margin-top: 2px; }
.logo-icon { width: 46px; height: 46px; display: grid; place-items: center; transition: transform .5s var(--ease), width .35s var(--ease), height .35s var(--ease); }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.06); }
.scrolled .logo-icon { width: 40px; height: 40px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 8px 13px; border-radius: 999px;
  color: var(--text); font-weight: 550; font-size: .95rem; transition: color .2s, background .25s;
}
.nav-links a:hover { color: var(--primary); background: rgba(0,109,110,.07); }
.nav-links a.active, .nav-links a.is-current { color: var(--primary-dark); background: var(--mist); }
.nav-quick-actions { display: none; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; place-items: center; font-size: 0;
  transition: background .2s, transform .2s;
}
.menu-toggle .i { width: 22px; height: 22px; }
.menu-toggle:active { transform: scale(.95); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline-block; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid var(--primary);
  background: var(--primary); color: #fff; font: 600 .97rem/1.2 var(--sans); letter-spacing: .005em;
  cursor: pointer; text-align: center;
  box-shadow: 0 8px 20px -10px rgba(0,109,110,.7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn::after { /* reflet qui balaie le bouton au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,79,80,.75); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--primary-dark); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn .i { width: 1.1em; height: 1.1em; }
.nav-cta { padding: 11px 22px; }

/* ---------- Révélation au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { --d: .08s; } .reveal.delay-2 { --d: .16s; } .reveal.delay-3 { --d: .24s; }

/* ---------- Effet « projecteur » sur les cartes (suivi du pointeur) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59,184,173,.16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 22px;
  padding: 6px 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb span { margin: 0 2px; }

/* ---------- Héros de pages intérieures ---------- */
.page-hero, body.p-article .hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 84px 0 76px;
  background: linear-gradient(180deg, #eef7f5 0%, var(--porcelain) 100%);
}
.page-hero::before, body.p-article .hero::before, .aurora::before, .aurora::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.page-hero::before, body.p-article .hero::before {
  width: 640px; height: 640px; right: -180px; top: -320px;
  background: radial-gradient(circle, rgba(59,184,173,.32), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.page-hero::after, body.p-article .hero::after { /* motif du logo, en filigrane */
  content: ""; position: absolute; z-index: -1; right: 4%; bottom: -60px; width: 300px; height: 260px;
  background: url("logo-icon.png") center / contain no-repeat; opacity: .06; pointer-events: none;
  transform: rotate(-8deg);
}
.page-hero h1, body.p-article .hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 15ch; margin-bottom: 20px; }
.page-hero .lead, body.p-article .hero .subtitle { font-size: 1.18rem; color: var(--text-light); max-width: 62ch; line-height: 1.6; }
.hero-badges, body.p-article .hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-badges span, body.p-article .hero .badge, body.p-article .hero .signature {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line); color: var(--ink);
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.hero-badges .i, body.p-article .hero .badge .i, body.p-article .hero .signature .i { color: var(--primary); }
body.p-article .hero .signature { margin-top: 26px; font-weight: 500; color: var(--text-light); }
body.p-article .hero .signature strong { color: var(--ink); }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }

/* ---------- En-têtes de sections ---------- */
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head .kicker, .section-tag, .kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 650; font-size: .95rem; margin-bottom: 14px;
}
.section-head .kicker::before, .section-tag::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55; }
.section-head h2, .section-header h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section-head p, .section-header p { color: var(--text-light); margin-top: 16px; font-size: 1.1rem; max-width: 62ch; }

/* ---------- Encadrés ---------- */
.warning, .disclaimer, .form-warnings {
  display: block; border-radius: var(--r-lg); padding: 22px 26px; margin-top: 32px;
  background: var(--amber-bg); color: #5d3a06; border: 1px solid #f3dfb5; font-size: 1rem;
}
.warning > strong:first-child, .disclaimer > strong:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-size: 1.02rem; margin-bottom: 4px; }

/* ---------- Bloc « Voir aussi » ---------- */
.seealso-wrap { padding: 0; background: transparent; }
.seealso { border-top: 1px solid var(--line); padding: 34px 0 56px; }
.seealso .seealso-label { color: var(--muted); font-size: .95rem; font-weight: 600; margin-bottom: 14px; }
.seealso-links { display: flex; flex-wrap: wrap; gap: 10px; }
.seealso-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.seealso-links a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Pied de page ---------- */
footer { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: rgba(226, 241, 239, .78); padding: 72px 0 28px; }
footer::before { /* grand logo en filigrane */
  content: ""; position: absolute; z-index: -1; right: -60px; bottom: -80px; width: 420px; height: 360px;
  background: url("logo-icon.png") center / contain no-repeat; opacity: .07; filter: brightness(0) invert(1);
}
footer::after {
  content: ""; position: absolute; z-index: -1; left: -200px; top: -260px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,184,173,.22), transparent 65%); filter: blur(40px);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
footer h4 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: 1.6rem; line-height: 1.15; margin-bottom: 18px; letter-spacing: 0; }
footer p, footer li { font-size: .97rem; line-height: 1.75; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 6px; }
footer a { color: rgba(226,241,239,.88); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .35s var(--ease); }
footer a:hover { color: #fff; background-size: 100% 1px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .88rem; color: rgba(226,241,239,.6); text-align: center; }
.footer-bottom > span + span { margin-left: 14px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; text-align: center; font-size: .97rem; }
.footer-inner strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: #fff !important; display: inline-block; margin-bottom: 6px; }
.footer-divider { border-top: 1px solid rgba(255,255,255,.12); margin: 22px auto; max-width: 560px; }

/* ---------- Bouton retour en haut ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 89; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); cursor: pointer; font-size: 0;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .2s;
}
.back-to-top .i { width: 22px; height: 22px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); }
.back-to-top svg.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.back-to-top svg.ring circle { fill: none; stroke: var(--lagoon); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); stroke-linecap: round; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 680px; margin: 0 auto;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 18px 22px; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; animation: slideUp .6s var(--ease); }
.cookie-banner p { flex: 1; min-width: 220px; font-size: .92rem; color: var(--text-light); line-height: 1.5; }
.cookie-banner p a { text-decoration: underline; }
.cookie-banner .cookie-accept { padding: 11px 22px; white-space: nowrap; }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   ACCUEIL
   ========================================================================== */

/* Splash : le logo se dessine */
.splash {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eaf5f3 70%);
  animation: splashOut .7s var(--ease) 1.9s forwards;
}
.splash-mark { width: min(220px, 52vw); }
.splash-mark svg { width: 100%; height: auto; overflow: visible; }
.splash.splash-skip { display: none; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }

.draw-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s var(--ease) forwards; }
.draw-path.p2 { animation-delay: .35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Héros */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0 96px; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #eaf5f3 0%, var(--porcelain) 85%); }
.aurora::before { width: 720px; height: 720px; left: -220px; top: -280px; background: radial-gradient(circle, rgba(59,184,173,.38), transparent 62%); animation: drift 16s ease-in-out infinite alternate; }
.aurora::after { width: 620px; height: 620px; right: -160px; bottom: -300px; background: radial-gradient(circle, rgba(0,109,110,.22), transparent 62%); animation: drift 21s ease-in-out infinite alternate-reverse; }
.aurora .grain { position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(6,57,58,.07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }

.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line); color: var(--primary-dark); font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; }
.hero-eyebrow .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 0 rgba(59,184,173,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(59,184,173,0); } 100% { box-shadow: 0 0 0 0 rgba(59,184,173,0); } }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: 1; margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .12s + var(--intro, 0s)); }
@keyframes rise { to { transform: none; } }
.hero .lead { font-size: 1.2rem; color: var(--text-light); max-width: 50ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { padding: 15px 28px; font-size: 1rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.badge { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.badge .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--primary); color: #fff; stroke-width: 2.4; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + var(--intro, 0s)); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Carte du logo dans le héros */
.hero-visual { position: relative; perspective: 1000px; }
.hero-card {
  position: relative; border-radius: var(--r-xl); padding: 46px 40px 34px; text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.62));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.hero-card .logo-draw { width: 100%; max-width: 340px; margin: 0 auto; transform: translateZ(40px); }
.hero-card .logo-draw svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-card .addr { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--text-light); font-size: .97rem; transform: translateZ(24px); }
.hero-card .addr .i { color: var(--primary); }
.hero-card .shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.75), transparent 40%); mix-blend-mode: soft-light; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(0,109,110,.22); pointer-events: none; }
.orbit.o1 { inset: -26px; animation: spin 60s linear infinite; }
.orbit.o2 { inset: -58px; border-style: solid; border-color: rgba(0,109,110,.08); }
.orbit .sat { position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 6px rgba(59,184,173,.18); }
@keyframes spin { to { transform: rotate(360deg); } }


/* Sections de l'accueil */
.p-home section { padding: 112px 0; }
.p-home .hero { padding: 72px 0 104px; }
.section-header { max-width: 780px; margin: 0 0 56px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center p { margin-left: auto; margin-right: auto; }

#presentation { background: #fff; border-radius: 48px 48px 0 0; position: relative; }
.section-header.center .section-tag::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55; }
.about-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.about-intro p { color: var(--text-light); font-size: 1.12rem; margin-bottom: 18px; }
.about-intro p:first-child { font-size: 1.24rem; color: var(--ink); line-height: 1.6; }
.about-features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px auto 0; max-width: 900px; text-align: left; }
.about-features li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--porcelain); border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 1rem; transition: transform .4s var(--ease), border-color .25s, background .25s, box-shadow .4s var(--ease); }
.about-features li:hover { transform: translateY(-3px); border-color: transparent; background: #fff; box-shadow: var(--shadow); }
.about-features li .i { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mist); color: var(--primary); transition: background .3s, color .3s; }
.about-features li:hover .i { background: var(--primary); color: #fff; }

.team-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--ink); margin: 96px 0 30px; letter-spacing: -0.01em; text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doctor-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; background: #fff; }
.doctor-avatar {
  position: relative; width: 84px; height: 84px; border-radius: 26px; margin-bottom: 18px;
  display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 2.1rem; letter-spacing: .02em;
  background: linear-gradient(140deg, var(--lagoon), var(--primary) 55%, var(--ink));
  box-shadow: 0 14px 30px -14px rgba(0,109,110,.8);
  transition: border-radius .6s var(--ease), transform .6s var(--ease);
}
.doctor-card:hover .doctor-avatar { border-radius: 50%; transform: rotate(-6deg); }
.doctor-card h3 { font-size: 1.35rem; }
.doctor-card .role { color: var(--primary); font-weight: 600; font-size: .93rem; margin-bottom: 14px; }
.doctor-card p { color: var(--text-light); font-size: .98rem; margin-bottom: 22px; flex: 1; }
.doctor-card .btn-rdv { width: 100%; padding: 13px 18px; }
.doctor-card .btn-rdv.phone { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.doctor-card .btn-rdv.phone:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.doctor-card .new-patients { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); font-size: .82rem; font-weight: 650; }
.doctor-card .new-patients::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.doctor-card .rdv-phone, .doctor-card .rdv-note { display: block; margin-top: 10px; font-size: .9rem; color: var(--text-light); }
.doctor-card .rdv-note { font-style: normal; color: var(--muted); }
.doctor-card .rdv-phone a { color: var(--ink); font-weight: 650; border-bottom: 1.5px solid var(--lagoon); }

.staff-subtitle { font-family: var(--sans); font-size: 1.1rem; font-weight: 650; color: var(--ink); margin: 56px 0 18px; text-align: center; }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.staff-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.staff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.staff-avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--primary-dark); font-family: var(--serif); font-size: 1.35rem; }
.staff-name { font-weight: 650; color: var(--ink); line-height: 1.25; }
.staff-role { font-size: .87rem; color: var(--muted); }
.team-note { margin: 26px auto 0; color: var(--text-light); font-size: .98rem; text-align: center; max-width: 720px; }

/* Technologies : grille « bento » */
#technologies { background: var(--porcelain); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tech-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tech-card.featured { background: var(--ink); border-color: var(--ink); color: rgba(230,244,242,.86); }
.tech-card.featured.full-width { grid-column: 1 / -1; }
.tech-card.featured::after { content: ""; position: absolute; z-index: -1; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(59,184,173,.45), transparent 65%); transition: transform .8s var(--ease); }
.tech-card.featured:hover::after { transform: translate(-40px, 40px) scale(1.15); }
.tech-card.featured.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59,184,173,.28), transparent 45%); }
.tech-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: var(--mist); color: var(--primary); transition: transform .6s var(--ease); }
.tech-icon .i { width: 28px; height: 28px; stroke-width: 1.6; }
.tech-card:hover .tech-icon { transform: rotate(-8deg) scale(1.08); }
.tech-card.featured .tech-icon { background: rgba(255,255,255,.1); color: var(--lagoon); border: 1px solid rgba(255,255,255,.14); }
.tech-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; margin-bottom: 12px; letter-spacing: 0; }
.tech-card.featured h3 { color: #fff; }
.tech-card p { color: var(--text-light); font-size: 1rem; }
.tech-card.featured p { color: rgba(230,244,242,.82); max-width: 62ch; }
.tech-card.featured strong { color: #fff; }
.tech-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; font-weight: 650; color: var(--primary); }
.tech-card.featured .tech-link { color: var(--lagoon); }
.tech-link .arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: currentColor; transition: transform .4s var(--ease); }
.tech-link .arrow .i { color: #fff; width: 16px; height: 16px; }
.tech-card.featured .tech-link .arrow .i { color: var(--ink); }
.tech-link:hover { color: #fff; }
.tech-card:not(.featured) .tech-link:hover { color: var(--primary-dark); }
.tech-link:hover .arrow { transform: translateX(5px) rotate(-45deg); }

/* Soins : liste éditoriale en grille */
#soins { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.service-card { position: relative; padding: 34px 30px 32px; background: #fff; transition: background .4s var(--ease); }
.service-card:hover { background: var(--porcelain); }
.service-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--primary); background: var(--mist); transition: background .35s, color .35s, transform .6s var(--ease); }
.service-icon .i { width: 24px; height: 24px; }
.service-card:hover .service-icon { background: var(--primary); color: #fff; transform: rotate(-10deg); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--text-light); font-size: .98rem; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 650; color: var(--primary); font-size: .95rem; }
.service-link .arrow { transition: transform .35s var(--ease); }
.service-link:hover .arrow { transform: translateX(5px); }

/* Rendez-vous */
#rdv { padding: 40px 0 112px; background: #fff; }
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: 84px 48px; text-align: center; color: rgba(230,244,242,.88);
  background: var(--ink);
}
.cta-banner::before { content: ""; position: absolute; z-index: -1; inset: -40%; background: conic-gradient(from 0deg, transparent 0 60%, rgba(59,184,173,.35) 75%, transparent 90%); animation: spin 14s linear infinite; }
.cta-banner::after { content: ""; position: absolute; z-index: -1; inset: 1px; border-radius: 39px; background: radial-gradient(circle at 50% 0%, #0b4d4e, var(--ink) 70%); }
.cta-banner h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 20px; }
.cta-banner p { max-width: 640px; margin: 0 auto 36px; font-size: 1.12rem; }
.cta-banner p strong { color: #fff; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-banner .btn { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.cta-banner .btn:hover { background: var(--lagoon); border-color: var(--lagoon); color: var(--ink); }
.cta-banner .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-banner .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Contact */
#contact { background: var(--porcelain); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.contact-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 24px; letter-spacing: 0; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-icon { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--primary); }
.info-icon .i { width: 22px; height: 22px; }
.info-row strong { display: block; color: var(--ink); font-size: .98rem; }
.info-row span, .info-row a { color: var(--text-light); font-size: .98rem; }
.info-row a { color: var(--primary); font-weight: 650; font-size: 1.1rem; }
.schedule { list-style: none; }
.schedule li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 13px 14px; margin: 0 -14px; font-size: .98rem; transition: background .3s; }
.schedule li + li { border-top: 1px solid var(--line); }
.schedule .day { font-weight: 600; color: var(--ink); }
.schedule .hours { color: var(--text-light); font-variant-numeric: tabular-nums; text-align: right; }
.schedule .closed { color: var(--red); }
.schedule li.today { background: var(--mist); border-top-color: transparent; border-radius: 12px; }
.schedule li.today + li { border-top-color: transparent; }
.schedule li.today .day::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-radius: 50%; background: var(--lagoon); vertical-align: middle; animation: pulse 2.4s infinite; }

.map-wrapper { margin-top: 22px; border-radius: var(--r-lg); overflow: hidden; height: 440px; border: 1px solid var(--line); background: #fff; }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(59,184,173,.14), transparent 60%), repeating-linear-gradient(0deg, transparent 0 39px, rgba(0,109,110,.07) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(0,109,110,.07) 39px 40px), var(--porcelain); }
.map-placeholder p { color: var(--ink); }
.map-placeholder .map-privacy { color: var(--text-light); font-size: .92rem; max-width: 440px; }
.map-placeholder .map-privacy a { text-decoration: underline; }
.map-links { text-align: center; margin-top: 18px; font-size: .97rem; }
.map-links a { font-weight: 600; }

/* Formulaire */
.contact-form-section { background: #fff; }
.contact-form-section .container { max-width: 900px; }
.contact-form-section h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 14px; }
.contact-form-section .lead { color: var(--text-light); font-size: 1.12rem; max-width: 62ch; margin-bottom: 30px; }
.form-warnings { margin: 0 0 26px; }
.form-warnings > strong:first-child { display: flex; align-items: center; gap: 8px; color: var(--amber); margin-bottom: 8px; }
.form-warnings ul { margin: 6px 0 0 20px; }
.form-warnings li { margin-bottom: 4px; }
.form-warnings a { color: #6b3f00; font-weight: 650; text-decoration: underline; }
.contact-form { background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 650; color: var(--ink); font-size: .95rem; margin-bottom: 8px; }
.required { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .25s, box-shadow .25s, transform .25s;
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: #b9d3cf; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 5px rgba(59,184,173,.18); }
.form-group select { cursor: pointer; appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006d6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e") no-repeat right 16px center / 18px; }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group .hint { display: block; font-size: .86rem; color: var(--muted); margin-top: 6px; }
.form-rgpd { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 24px; font-size: .92rem; color: var(--text-light); line-height: 1.5; cursor: pointer; }
.form-rgpd input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--primary); cursor: pointer; }
.form-rgpd a { text-decoration: underline; }
.form-submit { width: 100%; padding: 16px 24px; font-size: 1.02rem; }
.form-success { display: none; border-radius: var(--r-lg); padding: 26px 28px; background: var(--green-bg); color: #0b4a34; border: 1px solid #bfe5d3; }
.form-success.show { display: block; animation: slideUp .6s var(--ease); }
.form-success h3 { color: #0b4a34; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }

/* ==========================================================================
   PAGE IMPLANTS
   ========================================================================== */
.p-implants .container { max-width: 1140px; }
section.block { padding: 104px 0; }
section.block.soft, section.block.alt { background: #fff; }
.toc-wrap { position: relative; z-index: 2; margin-top: -30px; }
.toc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.toc-label { color: var(--muted); font-size: .9rem; font-weight: 600; padding: 0 10px 0 12px; }
.toc a { padding: 8px 16px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .92rem; transition: background .25s, color .25s; white-space: nowrap; }
.toc a:hover, .toc a.is-current { background: var(--ink); color: #fff; }

.anatomy-grid { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.anatomy-figure { position: relative; border-radius: var(--r-xl); padding: 34px; background: linear-gradient(160deg, var(--mist), #fff); border: 1px solid var(--line); }
.anatomy-figure svg { width: 100%; height: auto; }
.anatomy-items { display: flex; flex-direction: column; gap: 6px; }
.anatomy-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); transition: background .35s; }
.anatomy-item:hover { background: #fff; box-shadow: var(--shadow-sm); }
.anatomy-dot { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; margin-top: 6px; box-shadow: 0 0 0 6px rgba(0,109,110,.08); }
.anatomy-item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.1; margin-bottom: 6px; letter-spacing: 0; }
.anatomy-item p { color: var(--text-light); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--porcelain); }
.stat-card { padding: 36px 26px; border-right: 1px solid var(--line); }
.stat-card:last-child { border-right: 0; }
.stat-card .num { font-family: var(--serif); font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat-card .lbl { color: var(--text-light); margin-top: 12px; font-size: .98rem; }

.guided { position: relative; overflow: hidden; isolation: isolate; background: var(--ink) !important; color: rgba(230,244,242,.86); border-radius: 48px; margin: 0 16px; }
.guided::before { content: ""; position: absolute; z-index: -1; left: -200px; top: -200px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(59,184,173,.3), transparent 62%); filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; }
.guided .section-head .kicker { color: var(--lagoon); }
.guided .section-head h2 { color: #fff; }
.guided .section-head p { color: rgba(230,244,242,.8); }
.guided .section-head p strong { color: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: background .4s, transform .5s var(--ease), border-color .4s; }
.step-card:hover { background: rgba(255,255,255,.09); transform: translateY(-5px); border-color: rgba(59,184,173,.5); }
.step-card .step-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--lagoon); margin-bottom: 18px; }
.step-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.step-card p { color: rgba(230,244,242,.78); font-size: .97rem; flex: 1; }
.step-card .equip { align-self: flex-start; margin-top: 18px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--lagoon); background: rgba(59,184,173,.12); border: 1px solid rgba(59,184,173,.35); }
.steps-grid .step-card:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -17px; width: 18px; height: 1px; background: rgba(59,184,173,.5); }

.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit-card { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--primary); }
.benefit-icon .i { width: 26px; height: 26px; }
.benefit-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.benefit-card p { color: var(--text-light); font-size: .98rem; }

.timeline { position: relative; max-width: 780px; padding-left: 56px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline .tl-fill { position: absolute; left: 15px; top: 10px; width: 2px; height: calc(100% - 20px); background: linear-gradient(var(--lagoon), var(--primary)); border-radius: 2px; transform-origin: top; transform: scaleY(var(--fill, 0)); }
.t-item { position: relative; padding: 0 0 40px; }
.t-item:last-child { padding-bottom: 0; }
.t-item::before { content: ""; position: absolute; left: -49px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); transition: border-color .5s, background .5s, box-shadow .5s; z-index: 1; }
.t-item.lit::before { border-color: var(--primary); background: var(--lagoon); box-shadow: 0 0 0 7px rgba(59,184,173,.18); }
.t-item .when { font-size: .92rem; font-weight: 650; color: var(--primary); }
.t-item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin: 4px 0 8px; letter-spacing: 0; }
.t-item p { color: var(--text-light); }

details.faq, details.procedure { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; transition: border-color .3s, box-shadow .4s var(--ease); }
details.faq[open], details.procedure[open] { border-color: rgba(0,109,110,.35); box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; font-weight: 650; font-size: 1.08rem; color: var(--ink); transition: background .25s; }
details.faq summary:hover { background: var(--porcelain); }
details summary::-webkit-details-marker { display: none; }
details.faq summary::after, details.procedure summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006d6e' stroke-width='2.2' stroke-linecap='round'%3e%3cpath d='M12 6v12M6 12h12'/%3e%3c/svg%3e") center / 16px no-repeat;
  transition: transform .45s var(--ease), background-color .3s;
}
details[open] > summary::after { transform: rotate(135deg); background-color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
details.faq .faq-body { padding: 0 26px 24px; color: var(--text-light); max-width: 72ch; }
.details-anim { overflow: hidden; transition: height .45s var(--ease); }

.cta-block { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 56px 52px; border-radius: 40px; background: var(--ink); color: rgba(230,244,242,.86); }
.cta-block::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(59,184,173,.4), transparent 62%); animation: drift 16s ease-in-out infinite alternate; }
.cta-block h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.cta-block p strong { color: #fff; }
.cta-block .cta-actions { flex-direction: column; align-items: stretch; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.cta-block .tel { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--serif); font-size: 2.3rem !important; color: #fff; white-space: nowrap; }
.cta-block .tel .i { width: .8em; height: .8em; color: var(--lagoon); }
.cta-block .tel:hover { color: var(--lagoon); }
.disclaimer-note { margin-top: 26px; color: var(--muted); font-size: .88rem; max-width: 80ch; }

/* ==========================================================================
   PAGES ARTICLES (PRF, impression 3D, éclaircissement)
   ========================================================================== */
.p-article .container { max-width: 1040px; }
.p-article .hero { text-align: left; }
.p-article .hero h1 { max-width: 17ch; }
.section-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.section-subtitle { color: var(--text-light); font-size: 1.12rem; max-width: 64ch; margin-bottom: 48px; }

.reco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reco-card { padding: 28px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
section.block.alt .reco-card, section.block:not(.alt) .reco-card { background: #fff; }
section.block:not(.alt):not(.soft) { background: var(--porcelain); }
.reco-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.reco-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; background: var(--mist); color: var(--primary); font-size: 0; transition: transform .6s var(--ease), background .3s, color .3s; }
.reco-icon .i { width: 25px; height: 25px; }
.reco-card:hover .reco-icon { transform: rotate(-10deg); background: var(--primary); color: #fff; }
.reco-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.reco-card p { color: var(--text-light); font-size: .98rem; line-height: 1.6; }
.p-article .warning[style] { background: var(--mist) !important; border: 1px solid #c9e3df !important; color: var(--text) !important; }
.p-article .warning[style] > strong:first-child { color: var(--primary-dark) !important; }

.steps { position: relative; display: flex; flex-direction: column; gap: 88px; }
.step { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.step.reverse .step-visual { order: 2; }
.step-visual { position: relative; }
.step-image { position: relative; aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-xl); overflow: hidden; background: var(--mist); box-shadow: var(--shadow-lg); transition: transform 1s var(--ease); }
.step-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 1.4s var(--ease); }
.js .step:not(.visible) .step-image img { transform: scale(1.08); }
.step-image svg { width: 100%; height: 100%; display: block; }
.step-number {
  position: absolute; top: 18px; left: 18px; z-index: 2; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; color: var(--ink);
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow);
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) .25s;
}
.js .step:not(.visible) .step-number { transform: scale(0) rotate(-90deg); }
.step-label { display: inline-flex; padding: 5px 14px; border-radius: 999px; background: var(--mist); color: var(--primary-dark); font-weight: 650; font-size: .88rem; margin-bottom: 14px; }
.step-content h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.05; margin-bottom: 16px; letter-spacing: 0; }
.step-content p { color: var(--text-light); font-size: 1.06rem; margin-bottom: 10px; }
.step-content strong { color: var(--ink); }

.final-cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; margin-top: 56px; padding: 64px 32px; border-radius: 36px; background: var(--ink); color: rgba(230,244,242,.85); }
.final-cta::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 620px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(59,184,173,.38), transparent 62%); }
.final-cta h3 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin-bottom: 14px; letter-spacing: 0; }
.final-cta p { max-width: 560px; margin: 0 auto 28px; }
.final-cta p strong { color: #fff; }
.final-cta .btn { background: #fff; color: var(--ink); border-color: #fff; font-size: 1.08rem; padding: 15px 30px; }
.final-cta .btn:hover { background: var(--lagoon); border-color: var(--lagoon); color: var(--ink); }

/* ==========================================================================
   CONSEILS POST-OPÉRATOIRES
   ========================================================================== */
.post-op-content { padding: 64px 0 104px; background: var(--porcelain); }
.post-op-content .container { max-width: 960px; }
.disclaimer { margin: 0 0 22px; }
.disclaimer strong { color: #6b3f00; }
.emergency-block { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin: 0 0 48px; padding: 28px 30px; border-radius: var(--r-lg); background: var(--ink); color: rgba(230,244,242,.82); box-shadow: var(--shadow-lg); }
.emergency-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #ffb4a6; font-size: 0; }
.emergency-icon .i { width: 30px; height: 30px; }
.emergency-block h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.emergency-phone { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 1.08rem; white-space: nowrap; transition: background .25s, transform .35s var(--ease); }
.emergency-phone:hover { background: var(--lagoon); color: var(--ink); transform: translateY(-2px); }
.procedure summary { list-style: none; cursor: pointer; user-select: none; display: flex; align-items: center; gap: 18px; padding: 20px 24px; font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; color: var(--ink); transition: background .25s; }
.procedure summary:hover { background: var(--porcelain); }
.procedure summary::after { margin-left: auto; }
.procedure summary .icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--primary); font-size: 0; transition: background .3s, color .3s, transform .6s var(--ease); }
.procedure summary .icon .i { width: 26px; height: 26px; }
.procedure[open] summary .icon { background: var(--primary); color: #fff; transform: rotate(-8deg); }
.procedure-body { padding: 6px 26px 28px; }
.procedure-body p.intro { color: var(--text-light); font-size: 1.05rem; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.info-block { border-radius: var(--r-md); padding: 18px 22px; margin-bottom: 12px; border: 1px solid transparent; }
.info-block h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 10px; }
.info-block h4 .i { width: 20px; height: 20px; }
.info-block ul { list-style: none; }
.info-block li { position: relative; padding: 5px 0 5px 26px; color: var(--text-light); font-size: .99rem; line-height: 1.55; }
.info-block li::before { position: absolute; left: 0; top: 5px; width: 18px; text-align: center; font-weight: 800; }
.info-block p { color: var(--text-light); font-size: .97rem; margin-top: 8px; }
.info-block .timing { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 600; }
.info-normal { background: var(--blue-bg); border-color: #d3e8f5; } .info-normal h4 { color: #0a4f73; } .info-normal li::before { content: "•"; color: var(--blue); }
.info-do { background: var(--green-bg); border-color: #cdebdc; } .info-do h4 { color: #0b4a34; } .info-do li::before { content: "✓"; color: var(--green); }
.info-dont { background: var(--amber-bg); border-color: #f3dfb5; } .info-dont h4 { color: #6b3f00; } .info-dont li::before { content: "✕"; color: var(--amber); }
.info-alert { background: var(--red-bg); border-color: #f6cfca; } .info-alert h4 { color: #7a1a12; } .info-alert li::before { content: "!"; color: var(--red); }
.post-op-content .final-cta .btn { font-size: 1.05rem; }

/* ==========================================================================
   PAGES LÉGALES
   ========================================================================== */
.legal-page { padding: 64px 0 104px; background: linear-gradient(180deg, #eef7f5, var(--porcelain) 320px); }
.legal-page .container { max-width: 900px; }
.legal-page h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 14px; }
.legal-page .subtitle { color: var(--text-light); margin-bottom: 36px; max-width: 70ch; }
.legal-page .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: transform .35s var(--ease); }
.legal-page .back-link:hover { transform: translateX(-4px); }
.legal-page article { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 56px; box-shadow: var(--shadow-sm); }
.legal-page h2 { font-size: 2rem; margin: 48px 0 14px; line-height: 1.15; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.legal-page p { color: var(--text-light); margin-bottom: 14px; }
.legal-page ul { margin: 0 0 16px 22px; }
.legal-page ul li { color: var(--text-light); margin-bottom: 6px; }
.legal-page ul li::marker { color: var(--lagoon); }
.legal-page strong { color: var(--ink); }
.legal-page .toc { display: block; width: auto; border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 44px; background: var(--porcelain); border: 1px solid var(--line); box-shadow: none; }
.legal-page .toc strong { display: block; margin-bottom: 10px; color: var(--ink); }
.legal-page .toc ol { margin-left: 22px; columns: 2; column-gap: 32px; }
.legal-page .toc li { margin-bottom: 6px; font-size: .97rem; break-inside: avoid; }
.legal-page .toc a { padding: 0; border-radius: 0; background: none; font-weight: 550; white-space: normal; color: var(--primary); }
.legal-page .toc a:hover { background: none; color: var(--primary-dark); text-decoration: underline; }
.legal-page table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 14px 0 26px; font-size: .95rem; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.legal-page th, .legal-page td { text-align: left; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-page tr:last-child td { border-bottom: 0; }
.legal-page th { background: var(--mist); color: var(--ink); font-weight: 650; }
.legal-page td { color: var(--text-light); }
.legal-page .info-box { background: var(--mist); border-radius: var(--r-md); padding: 16px 20px; margin: 18px 0; border: 1px solid #c9e3df; }
.legal-page .info-box p { margin: 0; color: var(--primary-dark); }
.legal-page .placeholder { background: var(--amber-bg); padding: 2px 8px; border-radius: 6px; color: var(--amber); font-size: .9em; font-weight: 600; }

/* ==========================================================================
   ESPACE PATIENTS (QR codes)
   ========================================================================== */
body.p-portal { min-height: 100vh; padding: 36px 20px 40px; background: var(--porcelain); position: relative; overflow-x: hidden; }
body.p-portal::before { content: ""; position: fixed; z-index: -1; left: 50%; top: -340px; width: 760px; height: 640px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(59,184,173,.35), transparent 62%); filter: blur(30px); animation: breathe 10s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translateX(-50%) scale(1.15); opacity: .8; } }
.p-portal .container { max-width: 500px; padding: 0; }
.p-portal .header { text-align: center; margin-bottom: 36px; }
.p-portal .header > * { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.p-portal .header > *:nth-child(2) { animation-delay: .08s; } .p-portal .header > *:nth-child(3) { animation-delay: .16s; } .p-portal .header > *:nth-child(4) { animation-delay: .24s; }
.p-portal .logo-icon { width: 78px; height: 78px; margin: 0 auto 22px; display: block; }
.p-portal .kicker { justify-content: center; margin-bottom: 10px; font-size: .95rem; }
.p-portal h1 { font-size: clamp(2.4rem, 9vw, 3.1rem); line-height: 1.02; margin-bottom: 12px; }
.p-portal .subtitle { color: var(--text-light); font-size: 1.02rem; }
.practitioner-avatar { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 30px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 2.3rem; background: linear-gradient(140deg, var(--lagoon), var(--primary) 55%, var(--ink)); box-shadow: 0 18px 36px -16px rgba(0,109,110,.8); }
.p-portal .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line); color: var(--primary-dark); font-size: .9rem; font-weight: 600; }
.practitioners, .actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.practitioner-card, .action-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: inherit;
  box-shadow: var(--shadow-sm); opacity: 0; animation: fadeUp .8s var(--ease) forwards; animation-delay: calc(.25s + var(--n, 0) * .07s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.practitioner-card:hover, .action-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.practitioner-card:active, .action-card:active { transform: scale(.98); }
.avatar { width: 56px; height: 56px; flex: none; border-radius: 18px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 1.5rem; background: linear-gradient(140deg, var(--lagoon), var(--primary) 55%, var(--ink)); transition: border-radius .5s var(--ease); }
.practitioner-card:hover .avatar { border-radius: 50%; }
.practitioner-content, .action-content { flex: 1; min-width: 0; }
.practitioner-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.action-title { font-weight: 650; color: var(--ink); font-size: 1.04rem; line-height: 1.3; margin-bottom: 3px; }
.action-desc { color: var(--text-light); font-size: .9rem; line-height: 1.4; }
.practitioner-arrow, .action-arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--primary); font-size: 0; transition: transform .4s var(--ease), background .3s, color .3s; }
.practitioner-arrow .i, .action-arrow .i { width: 18px; height: 18px; }
.practitioner-card:hover .practitioner-arrow, .action-card:hover .action-arrow { background: var(--primary); color: #fff; transform: translateX(3px); }
.action-icon { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 0; }
.action-icon .i { width: 26px; height: 26px; }
.action-icon.mail { background: var(--mist); color: var(--primary-dark); }
.action-icon.postop { background: var(--blue-bg); color: var(--blue); }
.action-icon.contact { background: #eef0fb; color: #3c4fa8; }
.action-icon.review { background: var(--amber-bg); color: #c98a06; }
.action-icon.review .i { fill: currentColor; stroke: none; }
.stars { color: #f2b01e; font-size: .9rem; letter-spacing: 2px; margin-top: 3px; }
.cabinet-info { text-align: center; padding: 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.cabinet-name { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); margin-bottom: 8px; line-height: 1.15; }
.cabinet-line { color: var(--text-light); font-size: .94rem; margin: 3px 0; }
.cabinet-line a { font-weight: 650; }
.p-portal .footer, .page-footer { text-align: center; margin-top: 28px; font-size: .9rem; }
.page-footer a { color: var(--muted); font-weight: 550; }
.page-footer a:hover { color: var(--primary); }
.page-footer .sep { color: var(--line); margin: 0 8px; }

/* ==========================================================================
   404
   ========================================================================== */
body.p-404 { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; background: var(--porcelain); position: relative; overflow: hidden; }
body.p-404::before { content: ""; position: fixed; z-index: -1; inset: auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(59,184,173,.32), transparent 62%); animation: breathe 9s ease-in-out infinite alternate; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.p-404 .box { max-width: 520px; }
.p-404 .box > * { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.p-404 .box > *:nth-child(2) { animation-delay: .1s; } .p-404 .box > *:nth-child(3) { animation-delay: .2s; } .p-404 .box > *:nth-child(4) { animation-delay: .3s; } .p-404 .box > *:nth-child(5) { animation-delay: .4s; }
.p-404 img { width: 170px; margin: 0 auto 30px; animation: fadeUp .9s var(--ease) forwards, bob 5s ease-in-out 1s infinite !important; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }
.p-404 h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); margin-bottom: 14px; }
.p-404 p { color: var(--text-light); margin-bottom: 28px; font-size: 1.08rem; }
.p-404 .tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 650; }
.p-404 .box > .tel { display: flex; justify-content: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; font-size: .92rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid .step-card::after { display: none; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .topbar { display: none; }
  .menu-toggle { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px; border-radius: var(--r-lg); background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 100px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top center;
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links li { opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(2) { transition-delay: .03s; } .nav-links.open li:nth-child(3) { transition-delay: .06s; } .nav-links.open li:nth-child(4) { transition-delay: .09s; }
  .nav-links.open li:nth-child(5) { transition-delay: .12s; } .nav-links.open li:nth-child(6) { transition-delay: .15s; } .nav-links.open li:nth-child(7) { transition-delay: .18s; } .nav-links.open li:nth-child(8) { transition-delay: .21s; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 14px; }
  .nav-quick-actions { display: flex; gap: 8px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
  .nav-links a.nav-quick-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; font-weight: 650; font-size: .97rem; }
  .nav-links a.nav-quick-call { background: var(--mist); color: var(--ink); }
  .nav-links a.nav-quick-rdv { background: var(--primary); color: #fff; }

}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .container, .container.nav, .nav, .topbar-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .hero-grid, .contact-grid, .footer-grid, .anatomy-grid, .cta-block, .step { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-visual { max-width: 420px; width: 100%; margin: 0 auto; }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .benefits-grid, .reco-grid { grid-template-columns: 1fr 1fr; }
  .anatomy-figure { max-width: 320px; margin: 0 auto; }
  .step { gap: 32px; }
  .step.reverse .step-visual { order: 0; }
  .guided { margin: 0 8px; border-radius: 32px; }
  .footer-grid { gap: 36px; }
  .p-home section { padding: 80px 0; }
  section.block { padding: 80px 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .p-home .hero { padding: 40px 0 72px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero .lead { font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { padding: 34px 26px 26px; }
  .orbit.o2 { display: none; }
  #presentation { border-radius: 28px 28px 0 0; }
  .about-features { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .staff-card { flex-direction: column; text-align: center; gap: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .tech-card { padding: 28px 24px; }
  .tech-card h3 { font-size: 1.7rem; }
  .cta-banner { padding: 56px 22px; border-radius: 28px; }
  .cta-banner::after { border-radius: 27px; }
  .cta-actions .btn { width: 100%; }
  .contact-card { padding: 26px 22px; }
  .contact-form { padding: 26px 20px; border-radius: var(--r-lg); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .map-wrapper { height: 360px; }
  .footer-bottom > span { display: block; } .footer-bottom > span + span { margin: 6px 0 0; }

  .page-hero, .p-article .hero { padding: 52px 0 64px; }
  .page-hero h1, .p-article .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .page-hero .lead, .p-article .hero .subtitle { font-size: 1.05rem; }
  .page-hero::after, .p-article .hero::after { width: 160px; height: 140px; right: -20px; bottom: -30px; }
  .toc-wrap { margin-top: -24px; }
  .toc { border-radius: 999px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .toc::-webkit-scrollbar { display: none; }
  .toc-label { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 26px 18px; }
  .steps-grid, .benefits-grid, .reco-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 40px 24px; border-radius: 28px; }
  .cta-block .tel { font-size: 1.9rem !important; }
  .steps { gap: 64px; }
  .step-content h3 { font-size: 2rem; }
  .final-cta { padding: 48px 22px; border-radius: 28px; }
  .emergency-block { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 22px; }
  .procedure summary { font-size: 1.35rem; padding: 16px 18px; gap: 14px; }
  .procedure summary .icon { width: 44px; height: 44px; border-radius: 14px; }
  .procedure-body { padding: 4px 18px 22px; }
  .info-block { padding: 16px 16px; }
  details.faq summary { padding: 18px 20px; font-size: 1rem; }
  details.faq .faq-body { padding: 0 20px 20px; }
  .legal-page article { padding: 30px 22px; border-radius: var(--r-lg); }
  .legal-page .toc ol { columns: 1; }
  .legal-page table { display: block; overflow-x: auto; font-size: .88rem; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up, .hero h1 .line > span, .p-portal .header > *, .practitioner-card, .action-card, .p-404 .box > * { opacity: 1 !important; transform: none !important; }
  .splash { display: none; }
}

/* Logo dessiné : mot-symbole qui apparaît après le tracé */
.hero-card .wordmark { width: 84%; max-width: 330px; height: auto; margin: 22px auto 0; opacity: 0; animation: fadeUp 1s var(--ease) forwards; animation-delay: calc(1.5s + var(--intro, 0s)); transform: translateZ(30px); }
.logo-draw .draw-path { animation-delay: calc(.35s + var(--intro, 0s)); }
.logo-draw .draw-path.p2 { animation-delay: calc(.75s + var(--intro, 0s)); }
.splash .draw-path { animation-duration: 1.3s; animation-delay: .15s; }
.splash .draw-path.p2 { animation-delay: .5s; }
@media (max-width: 640px) { .hero-visual { max-width: 300px; } .hero-card .logo-draw { max-width: 220px; } }

/* Esthétique (dernière carte, pleine largeur) : texte sur deux colonnes */
@media (min-width: 961px) {
  .tech-card.full-width { display: grid; grid-template-columns: auto .8fr 1.6fr; column-gap: 32px; align-items: center; padding: 38px 40px; }
  .tech-card.full-width .tech-icon { margin-bottom: 0; }
  .tech-card.full-width h3 { margin-bottom: 0; }
}

/* ==========================================================================
   SCHÉMAS ILLUSTRÉS (PRF, impression 3D, implant)
   ========================================================================== */
.step-image .schema { width: 100%; height: 100%; display: block; }
.schema .spin { transform-origin: 200px 150px; animation: spin 3.2s linear infinite; }
.schema .spin-slow { transform-origin: 200px 150px; animation: spin 24s linear infinite; }
.schema .flow { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.schema .fill-rise { transform-box: fill-box; transform-origin: 50% 100%; animation: rise-fill 3.6s var(--ease) infinite alternate; }
@keyframes rise-fill { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.schema .pulse-glow { transform-box: fill-box; transform-origin: center; animation: glow 3s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.06); } }
.schema .twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0deg); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.schema .bob { animation: bob-y 2.6s ease-in-out infinite; }
@keyframes bob-y { 50% { transform: translateY(10px); } }
.schema .beam { animation: beam 1.8s ease-in-out infinite alternate; }
@keyframes beam { from { opacity: .35; } to { opacity: 1; } }
.schema .lift { animation: lift 4s ease-in-out infinite alternate; }
@keyframes lift { from { transform: translateY(26px); } to { transform: translateY(0); } }
.schema .layer { animation: layer 4s ease-in-out infinite alternate; }
@keyframes layer { 0%, 20% { opacity: 0; } 60%, 100% { opacity: 1; } }
.schema .draw-loop path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-loop 3.4s ease-in-out infinite; }
@keyframes draw-loop { 0% { stroke-dashoffset: 1; } 50%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.schema .pop { transform-box: fill-box; transform-origin: center; animation: pop 3s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes pop { 0%, 15% { transform: scale(0); } 35%, 85% { transform: scale(1); } 100% { transform: scale(0); } }
.step-image { background: transparent; }

/* Schéma de l'implant : les pièces s'assemblent à l'apparition */
.anatomy-figure svg g { transition: transform 1.1s var(--ease), opacity .8s var(--ease); }
.anatomy-figure .imp-abut { transition-delay: .35s; }
.anatomy-figure .imp-crown { transition-delay: .7s; }
.anatomy-figure .imp-leaders { transition-delay: 1.2s; }
.js .anatomy-figure:not(.visible) .imp-implant { transform: translateY(50px); opacity: 0; }
.js .anatomy-figure:not(.visible) .imp-abut { transform: translateY(-40px); opacity: 0; }
.js .anatomy-figure:not(.visible) .imp-crown { transform: translateY(-70px); opacity: 0; }
.js .anatomy-figure:not(.visible) .imp-leaders { opacity: 0; }
.anatomy-figure { padding: 0; overflow: hidden; }
.anatomy-figure svg { background: linear-gradient(180deg, #f1f9f7, #fff 55%); }

/* Bouton Doctolib : mention « nouveaux patients » intégrée au bouton */
.doctor-card .btn-new { flex-direction: column; gap: 2px; padding: 11px 18px 13px; border-radius: 18px; }
.btn-new-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .01em; color: #ffe2a8; }
.btn-new-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.btn-new-main { display: inline-flex; align-items: center; gap: 9px; }
.doctor-card .rdv-phone { margin-top: 12px; }

/* Espace patients : typographie sans empattement, plus lisible sur téléphone */
.p-portal h1 { font-family: var(--sans); font-weight: 750; font-size: clamp(1.75rem, 7.4vw, 2.15rem); line-height: 1.15; letter-spacing: -0.02em; }
.p-portal .practitioner-name { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; }
.p-portal .cabinet-name { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.p-portal .avatar, .p-portal .practitioner-avatar { font-family: var(--sans); font-weight: 700; letter-spacing: .02em; }
.p-portal .avatar { font-size: 1.15rem; }
.p-portal .practitioner-avatar { font-size: 1.8rem; }
.p-portal .action-title { font-size: 1.06rem; }
.p-portal .action-desc { font-size: .95rem; color: #3f5856; }
.p-portal .subtitle, .p-portal .cabinet-line { color: #3f5856; }

/* Ajustements mobiles : lisibilité et zones tactiles */
.info-block .timing { font-size: .85rem; }
.step-card .equip { font-size: .85rem; }
.btn-new-tag { font-size: .82rem; }
.service-link { padding: 8px 0; margin-top: 8px; }
.p-portal .cabinet-line a, .page-footer a, .p-portal .footer a, .p-404 .tel { display: inline-block; padding: 10px 6px; }
.p-portal .cabinet-line { margin: 0; }
@media (max-width: 640px) {
  .legal-page td, .legal-page th { min-width: 140px; }
  .doctor-card { padding: 26px 22px; }
  .doctor-card .btn-rdv { font-size: .95rem; }
  .tech-card h3 { font-size: 1.75rem; }
  .section-header h2, .section-head h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .contact-card h3 { font-size: 1.7rem; }
  .info-row a { font-size: 1.05rem; }
  .cta-banner h2 { font-size: clamp(2.3rem, 10vw, 2.8rem); }
  .stat-card .num { font-size: 2.4rem; }
  .step-number { width: 50px; height: 50px; font-size: 1.6rem; top: 12px; left: 12px; }
  .seealso-links a { font-size: .92rem; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.1rem, 9.2vw, 3rem); }
  .hero-visual { max-width: 260px; }
  .hero-card { padding: 26px 22px 20px; }
  .hero-card .logo-draw { max-width: 170px; }
  .hero-card .addr { font-size: .88rem; }
  .about-intro { text-align: left; }
  .about-intro p:first-child { font-size: 1.12rem; }
  .contact-card { padding: 24px 18px; }
  .schedule li { font-size: .9rem; padding: 12px 10px; margin: 0 -10px; }
  .schedule .day { flex: none; }
  .logo { white-space: nowrap; font-size: .97rem; }
  .logo-icon { width: 40px; height: 40px; }
  body > header .nav > .btn { padding: 10px 16px; font-size: .9rem; white-space: nowrap; }
  .reco-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px 18px; }
  .reco-card .reco-icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .reco-card h3 { margin-bottom: 4px; align-self: center; }
  .benefit-card { padding: 22px 18px; gap: 16px; }
  .p-article .hero .badges { gap: 8px; }
  .final-cta .btn { width: 100%; }
}
@media (max-width: 380px) {
  .logo > span:last-child { font-size: .9rem; }
  body > header .nav > .btn { padding: 9px 13px; }
}
@media (max-width: 420px) {
  .practitioner-card, .action-card { padding: 16px 14px; gap: 12px; }
  .action-icon { width: 46px; height: 46px; border-radius: 14px; }
  .action-icon .i { width: 22px; height: 22px; }
  .practitioner-arrow, .action-arrow { width: 30px; height: 30px; }
  .hero-card .addr { text-wrap: balance; }
}

/* ==========================================================================
   Horaires & contact : un seul encart (coordonnées + horaires + carte)
   ========================================================================== */
.contact-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; }
.contact-panel .contact-grid { gap: 56px; }
.contact-panel .contact-card { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.contact-panel .contact-card + .contact-card { border-left: 1px solid var(--line); padding-left: 56px; margin-left: -28px; }
.contact-panel .contact-card h3 { margin-bottom: 14px; }
.contact-panel .info-row { padding: 11px 0; border-bottom: 0; }
.contact-panel .map-wrapper { margin-top: 32px; height: 360px; border-radius: var(--r-lg); }
.contact-panel .map-links { margin-top: 14px; }

/* ==========================================================================
   Mobile : pages plus compactes et défilement plus fluide
   ========================================================================== */
@media (max-width: 640px) {
  /* rythme vertical resserré */
  .p-home section { padding: 56px 0; }
  .p-home .hero { padding: 28px 0 52px; }
  section.block { padding: 56px 0; }
  .section-header, .section-head { margin-bottom: 28px; }
  .section-header p, .section-head p { font-size: 1rem; margin-top: 10px; }
  .team-title { margin: 56px 0 20px; }
  .staff-subtitle { margin: 36px 0 14px; }
  .hero .lead { margin-bottom: 24px; }
  .badge-row { margin-top: 22px; gap: 8px 16px; }
  .hero-grid { gap: 36px; }
  #rdv { padding: 8px 0 56px; }

  /* cartes plus denses */
  .about-features { gap: 8px; margin-top: 24px; grid-template-columns: 1fr 1fr; }
  .about-features li { padding: 10px 12px; font-size: .9rem; gap: 10px; }
  .about-features li .i { width: 32px; height: 32px; padding: 7px; border-radius: 10px; }
  .doctor-card { padding: 22px 18px; }
  .doctor-avatar { width: 64px; height: 64px; border-radius: 20px; font-size: 1.7rem; margin-bottom: 12px; }
  .doctor-card p { margin-bottom: 16px; }
  .tech-grid { gap: 12px; }
  .tech-card { padding: 22px 20px; }
  .tech-icon { width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; }
  .tech-icon .i { width: 24px; height: 24px; }
  .tech-link { padding-top: 16px; }
  .service-card { padding: 20px 18px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
  .service-card > :not(.service-icon) { grid-column: 2; }
  .service-icon { grid-row: span 3; width: 40px; height: 40px; margin: 0; border-radius: 12px; }
  .service-icon .i { width: 21px; height: 21px; }
  .service-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .service-card p { font-size: .95rem; }
  .cta-banner { padding: 40px 20px; }
  .cta-banner p { margin-bottom: 24px; font-size: 1rem; }

  /* Horaires & contact : sans encart, en liste compacte */
  .contact-panel { background: none; border: 0; padding: 0; border-radius: 0; }
  .contact-panel .contact-grid { gap: 28px; }
  .contact-panel .contact-card + .contact-card { border-left: 0; padding-left: 0; margin-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .contact-panel .contact-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
  .contact-panel .info-row { gap: 12px; padding: 8px 0; align-items: center; }
  .contact-panel .info-icon { width: 34px; height: 34px; border-radius: 10px; }
  .contact-panel .info-icon .i { width: 18px; height: 18px; }
  .contact-panel .info-row strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .contact-panel .info-row span, .contact-panel .info-row a { font-size: .95rem; line-height: 1.45; }
  .contact-panel .info-row a { font-size: 1.05rem; }
  .schedule li { padding: 7px 10px; font-size: .9rem; }
  .schedule li + li { border-top: 0; }
  .contact-panel .map-wrapper { height: 220px; margin-top: 24px; }
  .map-placeholder { gap: 8px; padding: 16px; }
  .map-placeholder .map-privacy { font-size: .85rem; }

  /* formulaire */
  .contact-form-section .lead { margin-bottom: 20px; font-size: 1rem; }
  .form-warnings { padding: 16px 18px; font-size: .93rem; }
  .form-group { margin-bottom: 14px; }
  .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; }
  .form-group textarea { min-height: 110px; }

  /* pied de page plus court */
  footer { padding: 44px 0 24px; }
  .footer-grid { gap: 26px; margin-bottom: 28px; }
  footer h4 { font-size: 1.35rem; margin-bottom: 10px; }
  footer ul { display: flex; flex-wrap: wrap; gap: 2px 18px; }
  footer ul li { margin: 0; }
}

/* Écrans tactiles : on retire les effets coûteux pour un défilement fluide */
@media (hover: none), (max-width: 960px) {
  header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.97); }
  .aurora::before, .aurora::after, .page-hero::before, .p-article .hero::before, .guided::before, .cta-block::before, body.p-portal::before, body.p-404::before { animation: none; filter: none; }
  .aurora .grain { display: none; }
  .cta-banner::before { animation: none; display: none; }
  .hero-card, .toc, .cookie-banner, .step-number, .p-portal .back-link { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .orbit.o1 { animation: none; }
  footer::after { filter: none; }
  .js .reveal { transform: translateY(14px); transition-duration: .5s; }
}

/* Soins : bouton dépliable (actif seulement sur mobile) */
.svc-toggle { all: unset; display: block; font: inherit; color: inherit; cursor: default; }
.svc-plus { display: none; }
@media (max-width: 640px) {
  .services-grid { gap: 0; background: none; border: 0; border-radius: 0; overflow: visible; display: flex; flex-direction: column; gap: 8px; }
  .service-card { display: block; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; position: relative; transition: border-color .25s, box-shadow .3s; }
  .service-card.open { border-color: rgba(0,109,110,.35); box-shadow: var(--shadow-sm); }
  .service-card .service-icon { position: absolute; left: 12px; top: 10px; width: 36px; height: 36px; border-radius: 10px; pointer-events: none; }
  .service-card .service-icon .i { width: 19px; height: 19px; }
  .service-card:hover .service-icon { transform: none; background: var(--mist); color: var(--primary); }
  .service-card.open .service-icon { background: var(--primary); color: #fff; }
  .service-card h3 { margin: 0; font-size: 1rem; }
  .svc-toggle { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 56px; padding: 10px 14px 10px 60px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .svc-toggle:focus-visible { outline: 3px solid var(--lagoon); outline-offset: -3px; border-radius: var(--r-md); }
  .svc-title { flex: 1; }
  .svc-plus { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); position: relative; transition: transform .35s var(--ease), background .25s; }
  .svc-plus::before, .svc-plus::after { content: ""; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: var(--primary); }
  .svc-plus::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
  .service-card.open .svc-plus { transform: rotate(180deg); background: var(--primary); }
  .service-card.open .svc-plus::before, .service-card.open .svc-plus::after { background: #fff; }
  .service-card.open .svc-plus::after { transform: rotate(0deg); }
  .svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .svc-inner { overflow: hidden; min-height: 0; padding: 0 16px 0 60px; }
  .service-card.open .svc-body { grid-template-rows: 1fr; }
  .service-card.open .svc-inner { padding-bottom: 14px; }
  .svc-body p { font-size: .95rem; }
  .svc-body .service-link { margin-top: 4px; padding: 6px 0 0; }

  /* Horaires & contact : directement les coordonnées et les horaires */
  .contact-head { display: none; }
}
/* adresse retirée de la carte du logo : on recentre le mot-symbole */
.hero-card .wordmark { margin-bottom: 4px; }

/* Technologies : boutons dépliables sur mobile */
@media (min-width: 641px) { .tech-card .svc-body, .tech-card .svc-inner { display: contents; } }
@media (max-width: 640px) {
  .tech-grid { gap: 8px; }
  .tech-card { display: block; padding: 0; border-radius: var(--r-md); }
  .tech-card:hover { transform: none; box-shadow: none; }
  .tech-card .tech-icon { position: absolute; left: 12px; top: 10px; width: 36px; height: 36px; border-radius: 10px; margin: 0; pointer-events: none; }
  .tech-card .tech-icon .i { width: 19px; height: 19px; }
  .tech-card:hover .tech-icon { transform: none; }
  .tech-card h3 { margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
  .tech-card .svc-inner p { font-size: .95rem; }
  .tech-card .tech-link { padding-top: 12px; }
  .tech-card.featured .svc-plus { background: rgba(255,255,255,.12); }
  .tech-card.featured .svc-plus::before, .tech-card.featured .svc-plus::after { background: var(--lagoon); }
  .tech-card.open .svc-plus { transform: rotate(180deg); background: var(--primary); }
  .tech-card.featured.open .svc-plus { background: var(--lagoon); }
  .tech-card.open .svc-plus::before, .tech-card.open .svc-plus::after { background: #fff; }
  .tech-card.featured.open .svc-plus::before, .tech-card.featured.open .svc-plus::after { background: var(--ink); }
  .tech-card.open .svc-plus::after { transform: rotate(0deg); }
  .tech-card.open .svc-body { grid-template-rows: 1fr; }
  .tech-card.open .svc-inner { padding-bottom: 16px; }
  .tech-card.featured::after { display: none; }
  .tech-card.full-width { display: block; padding: 0; }
}

/* Implants : chirurgie guidée intégrée au parcours */
.guided-callout { position: relative; overflow: hidden; isolation: isolate; max-width: 860px; margin: 0 0 56px; padding: 36px 40px; border-radius: var(--r-xl); background: var(--ink); color: rgba(230,244,242,.84); }
.guided-callout::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(59,184,173,.35), transparent 62%); }
.guided-callout .kicker { color: var(--lagoon); margin-bottom: 10px; }
.guided-callout .kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55; }
.guided-callout h3 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: 0; margin-bottom: 14px; }
.guided-callout p strong { color: #fff; }
.timeline { max-width: 860px; }
.guided-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.guided-step { position: relative; display: flex; flex-direction: column; padding: 20px 20px 18px 64px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.guided-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guided-step .step-num { position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lagoon); font-family: var(--serif); font-size: 1.2rem; line-height: 1; }
.guided-step h3 { font-family: var(--sans) !important; font-size: 1.02rem !important; font-weight: 650; color: var(--ink); line-height: 1.3 !important; margin: 4px 0 6px !important; letter-spacing: -0.01em; }
.guided-step p { font-size: .95rem; color: var(--text-light); }
.guided-step .equip { align-self: flex-start; margin-top: 12px; padding: 4px 11px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--primary-dark); background: var(--mist); }
@media (max-width: 640px) {
  .guided-callout { padding: 28px 22px; margin-bottom: 40px; border-radius: var(--r-lg); }
  .guided-step { padding: 16px 16px 16px 56px; }
  .guided-step .step-num { left: 14px; top: 15px; width: 30px; height: 30px; }

  /* Technologies sur mobile : toutes les cases sur fond blanc */
  .tech-card.featured { background: #fff; border-color: var(--line); color: var(--text); }
  .tech-card.featured h3, .tech-card.featured strong { color: var(--ink); }
  .tech-card.featured p { color: var(--text-light); }
  .tech-card.featured .tech-icon { background: var(--mist); color: var(--primary); border: 0; }
  .tech-card.featured .tech-link { color: var(--primary); }
  .tech-card.featured .tech-link .arrow .i { color: #fff; }
  .tech-card.featured .svc-plus { background: var(--mist); }
  .tech-card.featured .svc-plus::before, .tech-card.featured .svc-plus::after { background: var(--primary); }
  .tech-card.featured.open .svc-plus { background: var(--primary); }
  .tech-card.featured.open .svc-plus::before, .tech-card.featured.open .svc-plus::after { background: #fff; }
  .tech-card.open { border-color: rgba(0,109,110,.35); box-shadow: var(--shadow-sm); }
  .tech-card.open .tech-icon { background: var(--primary) !important; color: #fff !important; }
}
.logo { flex: none; white-space: nowrap; }
.nav > .btn { white-space: nowrap; flex: none; }
@media (min-width: 1101px) and (max-width: 1260px) {
  .nav { gap: 12px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 9px; font-size: .9rem; }
  .nav > .btn { padding: 10px 16px; font-size: .9rem; }
  .logo-icon { width: 40px; height: 40px; }
}

/* Implants : encart chirurgie guidée autonome */
.guided-sec .guided-callout { max-width: none; margin: 0; padding: 56px 56px; }
.guided-callout h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; margin-bottom: 18px; max-width: 20ch; }
.guided-callout p { max-width: 70ch; font-size: 1.08rem; }

/* Sous-étapes du parcours : sobres, sans numéros */
.guided-steps { gap: 10px; margin-top: 14px; }
.guided-step { padding: 14px 18px 14px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--lagoon); }
.guided-step:hover { transform: none; box-shadow: none; }
.guided-step h3 { margin: 0 0 4px !important; font-size: 1rem !important; }
.guided-step p { font-size: .94rem; }
.guided-step .equip { margin-top: 8px; padding: 3px 10px; font-size: .8rem; }

@media (max-width: 640px) {
  .guided-sec .guided-callout { padding: 30px 22px; }
  .guided-callout h2 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); }
  .guided-callout p { font-size: 1rem; }
  .guided-step { padding: 12px 14px 12px 16px; }

  /* Avantages : encarts cliquables */
  .benefits-grid { gap: 8px; }
  .benefit-card { display: block; position: relative; padding: 0; border-radius: var(--r-md); }
  .benefit-card:hover { transform: none; box-shadow: none; }
  .benefit-card .benefit-icon { position: absolute; left: 12px; top: 10px; width: 36px; height: 36px; border-radius: 10px; pointer-events: none; }
  .benefit-card .benefit-icon .i { width: 19px; height: 19px; }
  .benefit-card h3 { margin: 0; font-size: 1rem; }
  .benefit-card.open { border-color: rgba(0,109,110,.35); box-shadow: var(--shadow-sm); }
  .benefit-card.open .benefit-icon { background: var(--primary); color: #fff; }
  .benefit-card .svc-plus { transition: transform .35s var(--ease), background .25s; }
  .benefit-card.open .svc-plus { transform: rotate(180deg); background: var(--primary); }
  .benefit-card.open .svc-plus::before, .benefit-card.open .svc-plus::after { background: #fff; }
  .benefit-card.open .svc-plus::after { transform: rotate(0deg); }
  .benefit-card .svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .benefit-card.open .svc-body { grid-template-rows: 1fr; }
  .benefit-card .svc-inner { overflow: hidden; min-height: 0; padding: 0 16px 0 60px; }
  .benefit-card.open .svc-inner { padding-bottom: 14px; }
}
@media (min-width: 641px) { .benefit-card .svc-body, .benefit-card .svc-inner { display: contents; } }
.hero-cta { margin-top: 26px; padding: 15px 28px; font-size: 1.02rem; }
@media (max-width: 640px) { .hero-cta { width: 100%; margin-top: 22px; } }

/* Implants : illustration en haut à droite */
.hero-art { display: none; }
@media (min-width: 961px) {
  .p-implants .page-hero .container { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 48px; align-items: start; }
  .p-implants .page-hero .container > * { grid-column: 1; }
  .p-implants .page-hero .hero-art { display: block; grid-column: 2; grid-row: 1 / span 6; align-self: center; max-width: 380px; width: 100%; justify-self: center; }
  .p-implants .page-hero::after { display: none; }
  .p-implants .page-hero { padding-bottom: 88px; }
}
.implant-hero { width: 100%; height: auto; display: block; overflow: visible; }
.implant-hero .ih-crown { animation: ih-float 5s ease-in-out infinite; }
.implant-hero .ih-abut { animation: ih-float 5s ease-in-out .25s infinite; }
.implant-hero .ih-implant { animation: ih-float 5s ease-in-out .5s infinite; }
.implant-hero .ih-orbit { transform-origin: 180px 230px; animation: spin 40s linear infinite; }
.implant-hero .twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes ih-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.p-implants .page-hero .hero-art { opacity: 0; animation: fadeUp 1.1s var(--ease) .2s forwards; }
@media (min-width: 961px) { .p-implants .page-hero .container > .breadcrumb, .p-implants .page-hero .container > .hero-cta { justify-self: start; } }

/* PRF : même mise en page que la page implants */
@media (min-width: 961px) {
  .hero-split .container { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 48px; align-items: start; max-width: 1140px; }
  .hero-split .container > * { grid-column: 1; justify-self: start; }
  .hero-split .container > .subtitle, .hero-split .container > h1 { justify-self: stretch; }
  .hero-split .hero-art { display: block; grid-column: 2; grid-row: 1 / span 6; align-self: center; justify-self: center; max-width: 360px; width: 100%; }
  .p-article .hero.hero-split::after { display: none; }
}
.hero-split .hero-art { opacity: 0; animation: fadeUp 1.1s var(--ease) .2s forwards; }
.p-prf .hero-cta { margin-top: 18px; }
.p-prf .hero .signature { margin-top: 22px; }
.p-prf .container { max-width: 1140px; }
.p-prf .toc-wrap { margin-top: -30px; }
.prf-hero .pulse-glow { transform-box: fill-box; transform-origin: center; animation: glow 3.4s ease-in-out infinite alternate; }

@media (max-width: 640px) {
  /* PRF : cartes cliquables sur mobile */
  .p-prf .reco-grid { gap: 8px; }
  .p-prf .reco-card { display: block; position: relative; padding: 0; border-radius: var(--r-md); }
  .p-prf .reco-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .p-prf .reco-card .reco-icon { position: absolute; left: 12px; top: 10px; width: 36px; height: 36px; border-radius: 10px; margin: 0; pointer-events: none; }
  .p-prf .reco-card .reco-icon .i { width: 19px; height: 19px; }
  .p-prf .reco-card:hover .reco-icon { transform: none; background: var(--mist); color: var(--primary); }
  .p-prf .reco-card h3 { margin: 0; font-size: 1rem; }
  .p-prf .reco-card.open { border-color: rgba(0,109,110,.35); box-shadow: var(--shadow-sm); }
  .p-prf .reco-card.open .reco-icon { background: var(--primary); color: #fff; }
  .p-prf .reco-card.open .svc-plus { transform: rotate(180deg); background: var(--primary); }
  .p-prf .reco-card.open .svc-plus::before, .p-prf .reco-card.open .svc-plus::after { background: #fff; }
  .p-prf .reco-card.open .svc-plus::after { transform: rotate(0deg); }
  .p-prf .reco-card .svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .p-prf .reco-card.open .svc-body { grid-template-rows: 1fr; }
  .p-prf .reco-card .svc-inner { overflow: hidden; min-height: 0; padding: 0 16px 0 60px; }
  .p-prf .reco-card.open .svc-inner { padding-bottom: 14px; }
}
@media (min-width: 641px) { .reco-card .svc-body, .reco-card .svc-inner { display: contents; } }

/* ==========================================================================
   Conseils post-op : choix rapide + lecture mobile
   ========================================================================== */
.proc-picker { margin-top: 30px; max-width: 760px; }
.proc-picker-title { font-weight: 650; color: var(--ink); margin-bottom: 12px; }
.proc-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.proc-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.3; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.proc-chip:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.proc-chip .ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--mist); color: var(--primary); }
.proc-chip .ico .i { width: 20px; height: 20px; }
.proc-chip > span:nth-child(2) { flex: 1; }
.proc-chip > .i { color: var(--primary); width: 18px; height: 18px; opacity: .7; }
details.procedure { overflow: clip; scroll-margin-top: calc(var(--header-h) + 12px); }
details.procedure[open] > summary { position: sticky; top: var(--header-h); z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.proc-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 0; font-weight: 650; font-size: .95rem; }
.call-bar { display: none; }

@media (max-width: 640px) {
  .p-postop .page-hero { padding: 36px 0 40px; }
  .p-postop .page-hero .lead { font-size: 1rem; }
  .proc-picker { margin-top: 22px; }
  .proc-chips { grid-template-columns: 1fr; gap: 8px; }
  .proc-chip { padding: 10px 12px; font-size: 1rem; }
  .post-op-content { padding: 32px 0 72px; }
  .disclaimer { padding: 16px 18px; font-size: .95rem; }
  .emergency-block { grid-template-columns: auto 1fr; text-align: left; justify-items: start; gap: 12px 14px; padding: 18px; margin-bottom: 28px; }
  .emergency-icon { width: 44px; height: 44px; border-radius: 14px; }
  .emergency-icon .i { width: 24px; height: 24px; }
  .emergency-block h3 { font-size: 1.05rem; }
  .emergency-block p { font-size: .92rem; }
  .emergency-phone { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .procedure summary { font-size: 1.3rem; padding: 14px 14px; gap: 12px; }
  details.procedure[open] > summary { top: 60px; box-shadow: 0 8px 16px -12px rgba(6,57,58,.35); }
  .procedure summary .icon { width: 40px; height: 40px; border-radius: 12px; }
  .procedure summary .icon .i { width: 21px; height: 21px; }
  .procedure-body { padding: 14px 14px 18px; }
  .procedure-body p.intro { font-size: 1rem; line-height: 1.6; }
  .info-block { padding: 14px 14px 10px; border-radius: 14px; margin-bottom: 10px; }
  .info-block h4 { font-size: 1.02rem; margin-bottom: 6px; }
  .info-block li { font-size: 1rem; line-height: 1.55; padding: 7px 0 7px 26px; }
  .info-block li + li { border-top: 1px solid rgba(6,57,58,.07); }
  .info-block li::before { top: 7px; }
  .info-block .timing { font-size: .82rem; }
  /* barre d'appel fixe */
  .call-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .98rem; box-shadow: var(--shadow-lg); }
  .call-bar:hover { color: #fff; }
  .call-bar .i { color: var(--lagoon); width: 20px; height: 20px; }
  .call-bar strong { color: #fff; }
  .p-postop .back-to-top { bottom: 80px; }
  .p-postop footer { padding-bottom: 96px; }
}
@media (max-width: 640px) { .p-postop .back-to-top { display: none; } }
/* Post-op : ouverture simple et stable (fondu du contenu, sans animation de hauteur) */
details.procedure[open] .procedure-body { animation: po-fade .35s ease both; }
@keyframes po-fade { from { opacity: 0; } to { opacity: 1; } }
details.procedure summary::after { transition: none; }
html:has(body.p-postop) { scroll-behavior: auto; }

/* Espace patients Dr Schwab : réseaux */
.social { margin: 0 0 28px; text-align: center; opacity: 0; animation: fadeUp .8s var(--ease) .6s forwards; }
.social-title { font-weight: 650; color: var(--ink); margin-bottom: 10px; font-size: .98rem; }
.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 650; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s; }
.social-btn .i { width: 24px; height: 24px; color: var(--primary); transition: color .25s; }
.social-btn:hover, .social-btn:active { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.social-btn:hover .i { color: var(--lagoon); }
@media (prefers-reduced-motion: reduce) { .social { opacity: 1; animation: none; } }

/* Espace patients Dr Schwab : fond implant + guide chirurgical */
.bg-art { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .33; }
.bg-art svg { width: 100%; height: 100%; display: block; }
.bg-art .bg-float { animation: bg-float 9s ease-in-out infinite; transform-box: fill-box; }
.bg-art .bg-float.b { animation-duration: 11s; animation-delay: -3s; }
.bg-art .bg-float.c { animation-duration: 13s; animation-delay: -6s; }
@keyframes bg-float { 50% { translate: 0 -10px; } }
@media (min-width: 700px) { .bg-art { opacity: .5; } }
.bg-art { left: 50%; right: auto; width: min(100%, 640px); transform: translateX(-50%); }
@media (min-width: 700px) { .bg-art { opacity: .38; } }
/* fond limité au haut de page, très discret, pour garder une lecture nette */
.bg-art { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 560px); height: 300px; right: auto; bottom: auto; opacity: .22 !important;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
body.p-portal { position: relative; }
.p-portal .cabinet-info { background: #fff; }

/* ==========================================================================
   Fiche qui se retourne (diplômes des praticiens)
   ========================================================================== */
.doctor-card.flip { padding: 0; background: none; border: 0; box-shadow: none; display: block; perspective: 1600px; -webkit-perspective: 1600px; }
.doctor-card.flip:hover { transform: none; box-shadow: none; background: none; }
.doctor-card.flip:hover .doctor-avatar, .doctor-card.flip .doctor-avatar { transform: none; border-radius: 26px; transition: none; }
.flip-inner { position: relative; display: grid; height: 100%; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform: rotateY(0deg); will-change: transform; }
.doctor-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-inner { transition: transform .8s cubic-bezier(.4, 0, .2, 1); }
.doctor-card.to-back .flip-inner, .doctor-card.to-front .flip-inner { animation: card-lift .8s cubic-bezier(.4, 0, .2, 1); }
@keyframes card-lift { 0%, 100% { scale: 1; } 50% { scale: .95; } }
.flip-face { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 30px 28px 28px; border-radius: var(--r-lg); background: var(--porcelain); border: 1px solid var(--line);
  -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: rotateY(0deg) translateZ(1px); }
.flip-back { transform: rotateY(180deg) translateZ(1px); border-color: var(--ink); color: rgba(230,244,242,.86);
  background: radial-gradient(260px circle at 100% 0%, rgba(59,184,173,.32), transparent 65%), var(--ink); }
.flip-back h3 { color: #fff; }
.flip-back .role { color: var(--lagoon); }
.flip-back .doctor-avatar { box-shadow: none; }
.diploma-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 8px 0 20px; flex: 1; }
.diploma-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; line-height: 1.45; }
.diploma-list li strong { color: #fff; font-weight: 650; }
.diploma-list .i { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--lagoon); }
.flip-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .92rem/1.2 var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.flip-btn .i { color: var(--primary); width: 18px; height: 18px; }
@media (hover: hover) {
  .flip-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .flip-btn:hover .i { color: var(--lagoon); }
  .flip-back-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
}
.flip-back-btn { margin-top: auto; background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.flip-back-btn .i { color: var(--lagoon); transform: rotate(180deg); }
@media (max-width: 640px) { .flip-face { padding: 22px 18px; } }
@media (prefers-reduced-motion: reduce) {
  .flip-inner, .doctor-card.flipped .flip-inner { transform: none !important; animation: none !important; }
  .flip-face, .flip-back { -webkit-backface-visibility: visible; backface-visibility: visible; transform: none; }
  .doctor-card.flip:not(.flipped) .flip-back, .doctor-card.flipped .flip-front { visibility: hidden; }
}

.footer-bottom .pro-link { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: 10px; vertical-align: middle; border-radius: 50%; color: rgba(226,241,239,.45); border: 1px solid rgba(226,241,239,.2); transition: color .2s, border-color .2s, transform .2s; }
.footer-bottom .pro-link:hover, .footer-bottom .pro-link:focus-visible { color: #fff; border-color: rgba(226,241,239,.6); transform: rotate(-20deg); }
@media (max-width: 640px) { .footer-bottom .pro-link { display: flex; margin: 12px auto 0; } .footer-bottom { padding-bottom: 8px; } }

/* ===== Page parodontologie ===== */
.paro-hero .ih-implant { animation: none; }
.paro-after { margin-top: 40px; padding: 28px 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); }
.paro-after h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 12px; color: var(--ink); }
.paro-after h3 .i { width: 22px; height: 22px; color: var(--primary); }
.paro-after ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.paro-after li { position: relative; padding-left: 22px; color: var(--text-light); }
.paro-after li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--lagoon); }
.paro-dl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 18px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 650; font-size: .95rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.paro-dl:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.paro-dl .i { width: 18px; height: 18px; }
@media (max-width: 640px) { .paro-after { padding: 20px 18px; } .paro-dl { width: 100%; justify-content: center; text-align: center; } }

/* Impression 3D : usage « guide chirurgical » sur toute la largeur */
@media (min-width: 961px) {
  .reco-card.reco-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 50px 1fr; column-gap: 24px; align-items: center; }
  .reco-card.reco-wide .reco-icon { grid-row: span 2; margin: 0; }
  .reco-card.reco-wide h3 { margin-bottom: 4px; }
  .reco-card.reco-wide p { max-width: 90ch; }
}

/* Espace patient : fiches conseils à télécharger */
.action-card.docs-card { display: block; padding: 0; overflow: hidden; }
.action-card.docs-card:hover { transform: none; }
.docs-toggle { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.docs-toggle .action-arrow { transition: transform .4s var(--ease), background .3s, color .3s; }
.docs-card.open .docs-toggle .action-arrow { transform: rotate(90deg); background: var(--primary); color: #fff; }
.action-icon.docs { background: #e3f4ef; color: #0f7a5f; }
.docs-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.docs-card.open .docs-body { grid-template-rows: 1fr; }
.docs-inner { overflow: hidden; min-height: 0; display: grid; gap: 8px; padding: 0 16px; }
.docs-card.open .docs-inner { padding-bottom: 16px; }
.doc-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: var(--porcelain); border: 1px solid var(--line); color: inherit; transition: border-color .25s, background .25s, transform .25s; }
.doc-item:hover { border-color: var(--primary); background: #fff; transform: translateX(3px); color: inherit; }
.doc-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--primary); }
.doc-ico .i { width: 19px; height: 19px; }
.doc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-txt b { font-weight: 650; font-size: .97rem; color: var(--ink); }
.doc-txt small { color: var(--muted); font-size: .82rem; }
.doc-dl { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; }
.doc-dl .i { width: 17px; height: 17px; }
@media (max-width: 640px) { .docs-toggle { padding: 16px 14px; gap: 12px; } .docs-inner { padding: 0 10px; } .docs-card.open .docs-inner { padding-bottom: 10px; } }
.doc-sep { margin: 6px 4px 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc-item.doc-web { background: #fff; border-color: rgba(0,109,110,.35); }
.doc-item.doc-web .doc-dl { background: var(--mist); color: var(--primary); }
.doc-item.doc-web:hover .doc-dl { background: var(--primary); color: #fff; }

/* Espace patient du Dr Schwab : 4 cases carrées en 2 × 2 */
.p-portal .actions.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-portal .actions.tiles > .action-card { aspect-ratio: 1 / 1; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 16px; position: relative; text-align: left; }
.p-portal .actions.tiles .action-icon { width: 50px; height: 50px; }
.p-portal .actions.tiles .action-content { display: flex; flex-direction: column; gap: 4px; }
.p-portal .actions.tiles .action-title { font-size: 1.02rem; line-height: 1.25; }
.p-portal .actions.tiles .action-desc { font-size: .84rem; line-height: 1.35; }
.p-portal .actions.tiles .action-arrow { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; }
.p-portal .actions.tiles .stars { font-size: .8rem; margin-top: 2px; }
/* case « Conseils » : bouton carré, la liste s'ouvre sur toute la largeur */
.p-portal .actions.tiles > .docs-card { padding: 0; display: block; }
.p-portal .actions.tiles .docs-toggle { height: 100%; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 16px; position: relative; }
.p-portal .actions.tiles > .docs-card.open { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0,109,110,.18), var(--shadow-sm); }
.p-portal .actions.tiles > .docs-card.open .action-arrow { transform: rotate(90deg); background: var(--primary); color: #fff; }
.p-portal .actions.tiles .docs-panel { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin-top: -2px; }
.p-portal .actions.tiles .docs-panel:not(.open) { border-width: 0; box-shadow: none; margin-top: -12px; }
.p-portal .actions.tiles .docs-panel.open { grid-template-rows: 1fr; }
.p-portal .actions.tiles .docs-panel.open .docs-inner { padding-top: 14px; padding-bottom: 14px; }
@media (max-width: 640px) {
  .p-portal .actions.tiles { gap: 10px; }
  .p-portal .actions.tiles > .action-card, .p-portal .actions.tiles .docs-toggle { padding: 14px 13px; }
  .p-portal .actions.tiles .action-icon { width: 44px; height: 44px; border-radius: 13px; }
  .p-portal .actions.tiles .action-icon .i { width: 22px; height: 22px; }
  .p-portal .actions.tiles .action-title { font-size: .95rem; }
  .p-portal .actions.tiles .action-desc { font-size: .8rem; }
  .p-portal .actions.tiles .action-arrow { top: 12px; right: 12px; width: 28px; height: 28px; }
}
.p-portal .actions.tiles > .action-card.docs-card { padding: 0; }

@media (max-width: 640px) and (max-height: 700px) { .p-portal .practitioner-avatar { width: 70px; height: 70px; margin-bottom: 12px; border-radius: 22px; font-size: 1.5rem; } .p-portal .back-link { margin-bottom: 14px; } .p-portal .header { margin-bottom: 22px; } }
.p-portal .actions.tiles .docs-panel:not(.open) { display: none; }
@media (min-width: 641px) { .p-portal .actions.tiles > .action-card { aspect-ratio: auto; min-height: 190px; } .p-portal .actions.tiles .action-content { flex: none; margin-top: auto; } }
