/* Polices hébergées sur le site (aucune requête vers Google Fonts) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); }

/* Centre Vivre : disposition = hero sombre arrondi, bento de spécialités, section dentaire sombre, contact en cartes */
:root {
  --ink: #081A3E;
  --ink-2: #4B5A78;
  --paper: #F4F7FD;
  --card: #FFFFFF;
  --blue: #0A3DB0;
  --blue-deep: #00266E;
  --sky: #D8E6FF;
  --sun: #FFD23F;
  --line: rgba(8, 26, 62, .12);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --r-lg: 32px;
  --r-md: 22px;
  --shadow: 0 24px 60px -28px rgba(0, 38, 110, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; margin-top: 48px; }
.ico { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--body);
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: .94rem; }
.btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; margin-top: 24px; white-space: normal; }
.btn-cta { background: var(--sun); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 210, 63, .8); }
.btn-cta:hover { background: #FFDC63; box-shadow: 0 16px 34px -10px rgba(255, 210, 63, .95); }
.btn-cta .ico { transition: transform .2s ease; }
.btn-cta:hover .ico { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--blue-deep); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 12px 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: var(--ink);
  box-shadow: 0 12px 40px -18px rgba(0, 38, 110, .55), inset 0 0 0 1px var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: block; height: 48px; width: auto; }
.brand-sub { font-size: .72rem; line-height: 1.2; font-weight: 600; color: var(--ink-2); padding-left: 12px; border-left: 1px solid var(--line); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .96rem; padding: 10px 14px; border-radius: 999px; opacity: .9; transition: background .2s; }
.nav-links a:not(.btn):hover { background: rgba(127, 127, 127, .16); opacity: 1; }
.nav-cta-mobile { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(127, 127, 127, .18); color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(59, 111, 240, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(10, 61, 176, .7), transparent 60%),
    var(--blue-deep);
  color: #fff;
  padding: 150px 0 0;
  border-radius: 0 0 clamp(32px, 6vw, 72px) clamp(32px, 6vw, 72px);
}
.hero-grain { position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 80%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.chips li { display: flex; align-items: center; gap: 8px; }
.chips .ico { color: var(--sun); width: 18px; height: 18px; }

.status { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font-size: .92rem; font-weight: 600; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa9ad; }
.status.open .dot { background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: ping 2s infinite; }
.status.closed .dot { background: #FF8B6B; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* Scène visuelle du hero. Pour une vraie photo : déposer assets/hero.jpg */
.stage { position: relative; aspect-ratio: 1 / 1.08; width: min(100%, 520px); margin-inline: auto; }
.arch {
  position: absolute; inset: 0 0 6% 12%;
  border-radius: 999px 999px 36px 36px; overflow: hidden;
  background: linear-gradient(160deg, var(--sky), #8FB4FF);
  box-shadow: var(--shadow);
}
.photo-hero { background-image: url("facade.jpg"), linear-gradient(160deg, var(--sky), #8FB4FF); background-size: cover; background-position: 50% 62%; }
.arch-art { width: 100%; height: 100%; display: block; }
.disc { position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); box-shadow: var(--shadow); }
.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 20px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
  animation: bob 6s ease-in-out infinite;
}
.float strong { display: block; font-size: .95rem; line-height: 1.2; }
.float small { color: var(--ink-2); font-size: .8rem; line-height: 1.3; }
.f-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--sky); color: var(--blue-deep); display: grid; place-items: center; }
.f-ico svg { width: 24px; height: 24px; }
.f-ico-sun { background: var(--sun); color: var(--ink); }
.f1 { top: 14%; left: -2%; }
.f2 { bottom: 24%; right: -3%; animation-delay: -2s; }
.f3 { bottom: 2%; left: 22%; flex-direction: column; align-items: flex-start; gap: 0; padding: 14px 20px; background: var(--ink); color: #fff; animation-delay: -4s; }
.f3 .big { font: 800 2.4rem/1 var(--display); color: var(--sun); }
.f3 small { color: rgba(255, 255, 255, .75); }
@keyframes bob { 50% { transform: translateY(-10px); } }

.marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .14); padding: 20px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: slide 38s linear infinite; font: 700 1.3rem var(--display); color: rgba(255, 255, 255, .75); white-space: nowrap; }
.marquee-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 14px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow-light { color: var(--sky); }
.muted { color: var(--ink-2); font-size: 1.1rem; }
.muted-light { color: rgba(255, 255, 255, .75); font-size: 1.1rem; max-width: 52ch; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: var(--card); border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(0, 38, 110, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 28px 50px -28px rgba(0, 38, 110, .6); }
.card p { color: var(--ink-2); margin: 0; max-width: 46ch; }
.c-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--sky); color: var(--blue-deep); display: grid; place-items: center; margin-bottom: 14px; }
.c-ico svg { width: 28px; height: 28px; }
.card-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.card-link .ico { transition: transform .2s; }
.card:hover .card-link .ico { transform: translateX(4px); }
.c-mg { grid-column: span 4; background: var(--blue); color: #fff; min-height: 280px; }
.c-mg p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.c-mg .c-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.c-mg .card-link { color: var(--sun); }
.card-deco { position: absolute; right: -40px; bottom: -40px; width: 300px; opacity: .22; z-index: -1; color: #fff; }
.c-dent { grid-column: span 2; grid-row: span 2; background: var(--sun); }
.c-dent .c-ico { background: var(--ink); color: var(--sun); }
.c-dent p { color: rgba(8, 26, 62, .8); }
.c-dent .card-link { color: var(--ink); }
.c-gy, .c-de { grid-column: span 2; }
.c-inf, .c-psy { grid-column: span 3; }
.tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: rgba(8, 26, 62, .1); font-weight: 600; font-size: .9rem; }

/* ---------- Dentaire ---------- */
.dark { background: var(--ink); color: #fff; border-radius: clamp(32px, 6vw, 72px); margin: 0 clamp(0px, 1.5vw, 20px); }
.dent-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.dark h2 { margin-bottom: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 20px; }
.tabs button { font: 600 .98rem var(--body); padding: 11px 18px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background .2s, color .2s; }
.tabs button:hover { background: rgba(255, 255, 255, .16); }
.tabs button[aria-selected="true"] { background: var(--sky); color: var(--blue-deep); box-shadow: none; }
.tabpanel { min-height: 140px; padding: 24px 26px; margin-bottom: 28px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tabpanel h3 { margin-bottom: 8px; color: var(--sun); }
.tabpanel p { margin: 0; color: rgba(255, 255, 255, .85); }
.smile { display: grid; place-items: center; }
.smile svg { width: min(100%, 420px); animation: bob 7s ease-in-out infinite; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--r-lg); padding: 32px; box-shadow: 0 1px 0 var(--line); position: relative; }
.steps .num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-deep); color: var(--sun); font: 800 1.4rem var(--display); margin-bottom: 20px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; }

/* ---------- À propos ---------- */
.tint { background: linear-gradient(180deg, var(--paper), #E4ECFC); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-grid p { color: var(--ink-2); max-width: 56ch; }
.about-grid h2 { margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0 0; }
.facts div { background: #fff; border-radius: var(--r-md); padding: 20px; box-shadow: 0 1px 0 var(--line); }
.facts dt { font: 800 2.2rem/1 var(--display); color: var(--blue); letter-spacing: -.03em; }
.facts dd { margin: 6px 0 0; font-size: .92rem; color: var(--ink-2); line-height: 1.35; }

/* ---------- Avis ---------- */
.reviews { padding-block: 0; }
.review-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); }
.review-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; }
.review-card p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 50ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 0 var(--line); }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--sky); color: var(--blue-deep); }
.contact-list strong { display: block; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.contact-list a { font-weight: 600; text-decoration-color: var(--line); text-underline-offset: 4px; }
.contact-list span { display: block; font-weight: 600; }
.hours-title { font-size: 1.1rem; margin-bottom: 10px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.closed td { color: var(--ink-2); font-weight: 500; }
.hours tr.today { background: var(--sky); }
.hours tr.today th, .hours tr.today td { border-color: transparent; font-weight: 700; color: var(--blue-deep); }
.hours tr.today th:first-child { border-radius: 12px 0 0 12px; }
.hours tr.today td { border-radius: 0 12px 12px 0; }
.map-card { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 460px; background: #E3ECFF; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); width: 64px; height: 64px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--blue-deep); display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(0, 38, 110, .7); animation: drop 3s ease-in-out infinite; }
.pin svg { width: 30px; height: 30px; color: var(--sun); rotate: 45deg; }
@keyframes drop { 50% { transform: translate(-50%, calc(-100% - 8px)); } }
.map-label { position: absolute; left: 18px; right: 18px; bottom: 18px; background: #fff; border-radius: var(--r-md); padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; box-shadow: var(--shadow); }
.map-label strong { font: 700 1.1rem var(--display); }
.map-label span { color: var(--ink-2); font-size: .92rem; flex: 1 1 200px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .8); margin-top: clamp(72px, 10vw, 128px); padding: 56px 0 28px; border-radius: clamp(32px, 6vw, 72px) clamp(32px, 6vw, 72px) 0 0; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.brand-light { background: #fff; padding: 10px 18px 10px 14px; border-radius: 20px; width: fit-content; }
.foot-note { margin: 18px 0 0; font-size: .95rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--sun); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: rgba(255, 255, 255, .6); }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Apparition au scroll (état de repos visible) ---------- */
@supports (animation-timeline: view()) {
  .card, .steps li, .facts div, .contact-card, .map-card, .review-card {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  @keyframes rise { from { opacity: .001; transform: translateY(36px); } to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .dent-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stage { width: min(100%, 440px); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-mg, .c-dent { grid-column: span 2; grid-row: auto; }
  .c-gy, .c-de, .c-inf { grid-column: span 1; }
  .c-psy { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .dent-grid .smile { order: -1; max-width: 280px; margin-inline: auto; }
  .nav-links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; color: var(--ink); padding: 14px; border-radius: 28px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 16px; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 6px; }
  .burger { display: block; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }
@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; }
  .btn-lg { padding: 17px 22px; }
  .bento { grid-template-columns: 1fr; }
  .c-mg, .c-dent, .c-gy, .c-de, .c-inf, .c-psy { grid-column: auto; }
  .f1 { left: -4px; } .f2 { right: -4px; }
  .facts { grid-template-columns: 1fr; }
  .review-card .btn { width: 100%; }
  .mobile-bar { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; padding: 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(0, 38, 110, .6), inset 0 0 0 1px var(--line); }
  .mobile-bar .btn { padding: 14px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Ajouts : label, équipe, photos ---------- */
.f-ico-blue { background: var(--blue); color: #fff; }
.f-label { border: 2px solid var(--sun); }

.label-band { position: relative; z-index: 2; padding: clamp(40px, 6vw, 72px) 0 0; }
.label-card { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow), inset 0 0 0 2px var(--sun); }
.label-badge { width: 132px; height: 132px; border-radius: 28px; background: var(--sky); display: grid; place-items: center; overflow: hidden; }
.label-badge img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.label-badge img + .label-fallback { display: none; }
.label-fallback { display: flex; flex-direction: column; align-items: center; color: var(--blue-deep); text-align: center; line-height: 1.1; }
.label-fallback svg { width: 44px; height: 44px; margin-bottom: 6px; }
.label-fallback strong { font: 800 1.2rem var(--display); }
.label-fallback small { font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.label-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.label-copy p:last-child { margin: 0; color: var(--ink-2); max-width: 62ch; }
.label-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 600; }
.label-points li { display: flex; align-items: center; gap: 10px; }
.label-points .ico { color: var(--blue); background: var(--sky); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.label-band + .section { padding-top: clamp(48px, 7vw, 88px); }

.dent-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip-btn { font: 600 .98rem var(--body); padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s; }
.chip-btn span { font-size: .8rem; background: var(--sky); color: var(--blue-deep); border-radius: 999px; padding: 2px 8px; }
.chip-btn:hover { background: var(--sky); }
.chip-btn[aria-pressed="true"] { background: var(--blue-deep); color: #fff; box-shadow: none; }
.chip-btn[aria-pressed="true"] span { background: var(--sun); color: var(--ink); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.person { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r-md); padding: 18px 20px; box-shadow: 0 1px 0 var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.person:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 20px 36px -26px rgba(0, 38, 110, .6); }
.person[hidden] { display: none; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 800 1.05rem var(--display); background: var(--sky); color: var(--blue-deep); }
.person[data-g="den"] .avatar { background: var(--sun); color: var(--ink); }
.person[data-g="par"] .avatar { background: var(--blue-deep); color: #fff; }
.person strong { display: block; font-size: 1.02rem; line-height: 1.25; }
.person small { color: var(--ink-2); font-size: .88rem; line-height: 1.3; display: block; margin-top: 2px; }
.team-note { margin: 22px 0 0; color: var(--ink-2); font-size: .94rem; }

.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(100%, 520px); margin-inline: auto; }
.ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--sky); box-shadow: var(--shadow); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-main { grid-column: span 2; aspect-ratio: 1 / .92; border-radius: var(--r-lg); }
.ph:not(.ph-main) { aspect-ratio: 4 / 5; }
.ph figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }
.year-card { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow); }
.year-card .yr { display: block; font: 800 clamp(1.9rem, 4vw, 2.6rem)/1 var(--display); letter-spacing: -.04em; color: var(--blue-deep); }
.year-card small { color: var(--ink-2); font-weight: 600; font-size: .8rem; }

.contact-list a.sub { display: block; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.cotis { margin: 0 0 12px; font-size: .94rem; color: var(--ink-2); }
.hours td .sep { color: var(--ink-2); font-weight: 500; }
.hours .br-s { display: none; }
.hours tr.closed td { white-space: nowrap; }

@media (max-width: 980px) {
  .label-card { grid-template-columns: auto 1fr; }
  .label-points { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .stage .f1 { max-width: 240px; }
}
@media (max-width: 620px) {
  .label-card { grid-template-columns: 1fr; text-align: left; }
  .label-badge { width: 124px; height: 124px; }
  .dent-actions .btn { width: 100%; }
  .hours .br-s { display: inline; }
  .hours td { line-height: 1.35; }
}

/* Logo France Santé */
.label-badge { width: 230px; height: 130px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 24px; }
.label-badge img { padding: 12px 16px; }
.f-logo { height: 46px; width: auto; flex: none; }
@media (max-width: 620px) { .label-badge { width: 100%; max-width: 260px; height: 120px; } }

/* Signature de la présidente */
.signature { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.signature img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 12px 24px -12px rgba(0, 38, 110, .6); }
.signature p { margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
.signature span { color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.signature strong { font: 700 1.35rem var(--display); color: var(--blue-deep); letter-spacing: -.01em; }

/* Carte Google Maps */
.map-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card.live .map-art, .map-card.live .pin { display: none; }
.map-label { z-index: 2; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner { position: fixed; z-index: 80; left: 16px; bottom: 16px; width: min(460px, calc(100% - 32px)); background: #fff; color: var(--ink); border-radius: 24px; padding: 22px 22px 20px; box-shadow: 0 30px 70px -20px rgba(0, 38, 110, .55), inset 0 0 0 1px var(--line); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font: 700 1.15rem var(--display); letter-spacing: -.01em; margin-bottom: 8px; }
.cookie-banner p { margin: 0 0 14px; font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.cookie-banner a { color: var(--blue); font-weight: 600; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { padding: 13px 14px; }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--sky); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--sun); }

/* Carte : espace réservé tant que Google Maps n'est pas autorisé */
.map-consent { position: absolute; z-index: 1; left: 50%; top: 30%; transform: translateX(-50%); width: min(86%, 380px); text-align: center; background: rgba(255, 255, 255, .94); border-radius: var(--r-md); padding: 18px 18px 16px; box-shadow: var(--shadow); }
.map-consent[hidden] { display: none; }
.map-consent p { margin: 0 0 12px; font-size: .9rem; color: var(--ink-2); }
.map-card.live .map-consent { display: none; }
.map-card:not(.live) .pin { top: 24%; }

/* ---------- Pages légales ---------- */
.legal-body { background: var(--paper); }
.legal-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.legal-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.legal-nav .back { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 999px; }
.legal-nav .back:hover { background: var(--sky); }
.legal-nav .back .ico { transform: rotate(180deg); }
.legal-nav .btn { display: inline-flex; }
.legal-hero { background: var(--blue-deep); color: #fff; padding: 64px 0 72px; border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
.legal-hero p { margin: 14px 0 0; color: rgba(255, 255, 255, .8); max-width: 60ch; }
.legal-hero nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.legal-hero nav a { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); text-decoration: none; font-weight: 600; font-size: .94rem; }
.legal-hero nav a:hover { background: rgba(255, 255, 255, .2); }
.legal { width: min(820px, 100% - 40px); margin: 0 auto; padding: 56px 0 24px; }
.legal section { background: #fff; border-radius: var(--r-md); padding: clamp(22px, 4vw, 34px); margin-bottom: 16px; box-shadow: 0 1px 0 var(--line); scroll-margin-top: 90px; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 14px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p:last-child { margin-bottom: 0; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal a { color: var(--blue); font-weight: 600; }
.legal dl { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 8px 20px; margin: 0; }
.legal dt { font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-2); }
.legal .table-wrap { overflow-x: auto; margin: 12px 0 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.legal table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--sky); color: var(--blue-deep); font-weight: 700; }
.legal tr:last-child td { border-bottom: 0; }
.legal .updated { color: var(--ink-2); font-size: .9rem; margin: 8px 0 0; }
.legal .cookie-cta { margin-top: 8px; }
@media (max-width: 620px) {
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 96px; width: auto; }
  .legal-nav .back span { display: none; }
}

/* Liens vers les fiches Doctolib */
.person:has(.person-a) { padding: 0; }
.person-a { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; text-decoration: none; color: inherit; border-radius: var(--r-md); }
.person-a .ico { margin-left: auto; color: var(--blue); transition: transform .2s ease; }
.person-a:hover .ico { transform: translateX(4px); }
.fiche-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--blue); text-decoration: none; }
.fiche-link:hover { text-decoration: underline; text-underline-offset: 4px; }
