/* Centre Dentaire Westminster — styles partagés
   Couleurs, marbre et polices repris de l'image de marque de la clinique. */
:root {
  --gold: #bfa86d;
  --gold-dark: #8f7e52;
  --taupe-1: #f6f2ec;
  --taupe-2: #e9e1d6;
  --taupe-3: #a8998a;
  --taupe-4: #7e7367;
  --ink: #242323;
  --text: #4d4a46;
  --line: #ebe6df;
  --white: #fff;
  --serif: "Gilda Display", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --radius: 16px;
  /* Noir de la marque : utilisé en petites touches, jamais en grande section au milieu de la page */
  --deep: #242323;
  --deep-bg: var(--deep) url(/assets/img/bg2.webp) center/cover;
  --on-deep: #cfcac2;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.75; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; scroll-margin-top: 80px; }
.section--tight { padding: 68px 0; }
.taupe { background: var(--taupe-1); }
.marble { background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(/assets/img/marbre.webp) center/cover; }
.marble-dark { background: var(--deep-bg); color: var(--on-deep); }
.marble-dark h2, .marble-dark h3 { color: var(--white); }
.caps { display: inline-block; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.marble-dark .caps, .marble-dark .link, .footer h3 { color: #dcc893; }
.rule { width: 48px; height: 1px; background: var(--gold); margin: 26px 0; border: 0; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* Boutons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 8px;
  font-size: .92rem; font-weight: 500; letter-spacing: .01em; text-decoration: none;
  background: var(--gold); color: var(--white); border: 1px solid var(--gold);
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--line { background: transparent; color: var(--ink); border-color: #d9d1c4; }
.btn--line:hover { background: var(--taupe-1); color: var(--ink); border-color: var(--gold); }
.btn--dark { background: var(--deep); color: var(--white); border-color: var(--deep); }
.btn--dark:hover { background: #000; border-color: #000; }

/* Bandeau noir fin, tout en haut */
.topbar { background: var(--deep); color: var(--on-deep); font-size: .78rem; letter-spacing: .04em; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; color: var(--white); }
.topbar a:hover { color: var(--gold); }
.topbar .sep { color: var(--gold); margin: 0 10px; }

/* Appel à l'action compact */
.cta { padding: 88px 0 80px; text-align: center; }
.cta h2 { margin-bottom: .3em; }
.cta .rule { margin: 18px auto 22px; }
.cta p { max-width: 560px; margin: 0 auto 26px; }
.cta .actions { justify-content: center; }
.cta .quiet { margin-top: 22px; }
.link { color: var(--gold-dark); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.link:hover { color: var(--ink); }
a[href^="tel"] { white-space: nowrap; }
a[href^="tel"] { white-space: nowrap; }
.marble-dark .link { color: var(--gold); }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header > .wrap { display: flex; align-items: center; gap: 32px; height: 82px; }
.logo img { width: 160px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.header-end { display: flex; align-items: center; gap: 18px; }
.header-end .tel { font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-end .btn { padding: 11px 20px; }
.lang { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; color: var(--taupe-4); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 6px 0; }

/* Menu déroulant des services */
.nav { align-self: stretch; align-items: center; }
.dropdown { align-self: stretch; display: flex; align-items: center; }
.drop-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-bottom: 1px solid transparent; padding: 6px 0; cursor: pointer; font: 500 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.drop-toggle::after { content: ""; width: 6px; height: 6px; border-right: 1.3px solid var(--gold-dark); border-bottom: 1.3px solid var(--gold-dark); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.dropdown.current .drop-toggle, .drop-toggle:hover { border-bottom-color: var(--gold); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(36,35,35,.08); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.mega .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 30px; padding-bottom: 34px; }
.mega h3 { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 10px; }
.mega ul { list-style: none; padding: 0; margin: 0; }
.nav .mega a { display: block; padding: 5px 0; border: 0; font-size: .9rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.nav .mega a:hover { color: var(--gold-dark); }
@media (hover: hover) and (min-width: 1081px) {
  .dropdown:hover .mega { opacity: 1; visibility: visible; transform: none; }
  .dropdown:hover .drop-toggle::after { transform: rotate(-135deg) translateY(-2px); }
}
.dropdown.open .mega { opacity: 1; visibility: visible; transform: none; }
.dropdown.open .drop-toggle::after { transform: rotate(-135deg) translateY(-2px); }

/* Accueil — photo et carte */
.hero { position: relative; }
.hero > img { width: 100%; height: min(78vh, 680px); object-fit: cover; }
.hero-card {
  position: absolute; left: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); bottom: 110px;
  width: min(540px, calc(100% - 64px));
  background: var(--white);
  border-radius: var(--radius); padding: 44px 44px 40px;
  box-shadow: 0 20px 50px rgba(36,35,35,.12);
}
.hero-card p { font-size: 1.02rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Bande blanche qui chevauche la photo, icônes dans des cercles noirs */
.strip { position: relative; z-index: 2; margin-top: -58px; }
.strip-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius); box-shadow: 0 18px 44px rgba(36,35,35,.10);
}
.strip-item { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item svg { flex: none; width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--deep); color: var(--gold); }
.strip-item b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.strip-item span { font-size: .85rem; line-height: 1.4; }
.strip-item .draw { stroke-dasharray: none; }
.strip-bar.in .draw { animation: draw 1.4s ease forwards; }
.strip-bar.in .strip-item:nth-child(2) .draw { animation-delay: .15s; }
.strip-bar.in .strip-item:nth-child(3) .draw { animation-delay: .3s; }
.strip-bar.in .strip-item:nth-child(4) .draw { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Apparition douce au défilement */
.reveal { opacity: 1; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip-item .draw { stroke-dashoffset: 0; animation: none !important; }
}

/* Bienvenue */
.welcome { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.welcome-photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: end; }
.welcome-photos img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.welcome-photos img:first-child { aspect-ratio: 4/5; }
.welcome-photos img:last-child { aspect-ratio: 3/4; margin-bottom: 40px; }
.quiet { font-size: .9rem; color: var(--taupe-4); }

/* Services */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 28px; }
.services-head h2 { margin: 0; }
.services-head p { max-width: 420px; margin: 0; }
.service-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.service-groups > div { border-top: 1px solid var(--ink); padding-top: 14px; }
.service-groups h3 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 6px; }
.service-groups ul { list-style: none; padding: 0; margin: 0; }
.service-groups a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 0; text-decoration: none; color: var(--ink); font-size: .9rem; }
.service-groups a::after { content: "→"; color: var(--gold); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.service-groups a:hover { color: var(--gold-dark); }
.service-groups a:hover::after { opacity: 1; transform: none; }

/* Panneau noir arrondi, posé sur le fond clair */
.panel { margin: 0 32px; border-radius: 28px; overflow: hidden; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 860px; margin: 32px auto 0; text-align: center; }
.member { background: var(--deep); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 44px rgba(36,35,35,.12); }
.member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top; }
.member div { padding: 13px 12px 15px; }
.member h3 { color: var(--white); margin: 0 0 2px; font-size: 1.12rem; }
.member p { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0; }

/* Visite et formulaire */
.visit { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.visit dl { margin: 28px 0; display: grid; grid-template-columns: 120px 1fr; }
.visit dt, .visit dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--taupe-2); }
.visit dt { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); padding-top: 17px; }
.visit dd a { text-decoration: none; color: var(--ink); font-weight: 500; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 1px 0; }
.hours td:last-child { text-align: right; }
.hours .off { color: var(--taupe-3); }
.map { border-radius: var(--radius); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 240px; border: 0; }
.form-card { background: var(--white); border-radius: 20px; padding: 10px; min-height: 600px; box-shadow: 0 16px 40px rgba(36,35,35,.06); }
.form-card { padding: 0 10px 10px; overflow: hidden; }
.form-card iframe { min-height: 580px; }
.form-head { display: flex; align-items: center; gap: 14px; margin: 0 -10px 8px; padding: 18px 24px; background: var(--deep-bg); color: var(--white); }
.form-head img { width: 44px; height: 44px; border-radius: 50%; background: var(--white); padding: 2px; }
.form-head .caps { color: var(--gold); margin: 0 0 2px; display: block; font-size: .66rem; }
.form-head b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 6px; }

/* Page de traitement */
.page-top { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .8rem; color: var(--taupe-4); margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-top h1 { max-width: 760px; }
.page-top .intro { font-size: 1.08rem; max-width: 700px; margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: start; }
.article { max-width: 700px; }
.article > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 44px; }
.article h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 52px; }
.article h2:first-of-type { margin-top: 0; }
.article ul { padding-left: 20px; }
.article li { margin-bottom: 6px; }
.article li::marker { color: var(--gold); }
.article a:not(.btn) { color: var(--gold-dark); }
.steps { list-style: none; padding: 0; margin: 20px 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 22px 52px; counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); color: var(--gold-dark);
}
.steps b { display: block; color: var(--ink); font-weight: 600; }
.compare { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .93rem; }
.compare th, .compare td { text-align: left; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.compare tbody th { color: var(--ink); font-weight: 500; }
.table-scroll { overflow-x: auto; }
.note { background: var(--taupe-1); border-radius: 12px; padding: 18px 22px; font-size: .93rem; }
.sidebar { position: sticky; top: 112px; display: grid; gap: 20px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h3 { font-size: 1.25rem; }
.side-card .tel { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); text-decoration: none; margin-bottom: 14px; }
.side-card .btn { display: block; text-align: center; padding: 14px 12px; letter-spacing: .1em; white-space: nowrap; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.side-card li:last-child a { border: 0; }
.side-card li a:hover { color: var(--gold-dark); }

/* Pied de page */
.footer { padding: 72px 0 110px; font-size: .9rem; }
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer .logo img { width: 170px; margin-bottom: 18px; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }

.mobile-bar { display: none; }

/* Touche signature : titres qui reprennent le logo (majuscules espacées + serif), lent zoom de la photo, monogramme */
.logo-type span { display: block; font-family: var(--sans); font-weight: 300; font-size: clamp(.95rem, 1.5vw, 1.15rem); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.logo-type span::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin-top: 14px; }
.hero { overflow: hidden; }
.hero > img { animation: slowzoom 16s ease-out both; transform-origin: 60% 50%; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); background: url(/assets/img/logo-w.png) center/contain no-repeat; opacity: .12; mix-blend-mode: multiply; pointer-events: none; }
.cta .wrap { position: relative; }
.hero-card .logo-type { font-size: clamp(1.9rem, 3.1vw, 2.55rem); }
.member img { transition: transform .7s ease; }
.member:hover img { transform: scale(1.04); }
.member h3::after { content: ""; display: block; width: 24px; height: 1px; background: var(--gold); margin: 8px auto 6px; transition: width .3s; }
.member:hover h3::after { width: 48px; }
.service-groups a { background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .3s, color .2s; }
.service-groups a:hover { background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) {
  .hero > img { animation: none; }
}

/* Services en accordéon (ouverts sur ordinateur, repliables sur téléphone) */
.service-groups > details { border-top: 1px solid var(--ink); padding-top: 14px; }
.service-groups summary { list-style: none; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 6px; pointer-events: none; }
.service-groups summary::-webkit-details-marker { display: none; }

/* Notre clinique */
.clinic-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; margin-bottom: 36px; }
.clinic-head h2 { margin: 0; }
.clinic-head p { margin: 0 0 12px; }
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .8rem; color: var(--taupe-4); margin-top: 8px; }

/* Détail personnel sous chaque dentiste */
.member small { display: block; font-size: .8rem; line-height: 1.45; color: var(--on-deep); margin-top: 8px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-end { order: 3; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 82px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 32px 20px;
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .dropdown { display: block; }
  .nav.open .drop-toggle { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .mega { position: static; display: none; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; }
  .nav.open .dropdown.open .mega { display: block; }
  .nav.open .mega .wrap { grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: 14px 0 10px; }
  .nav.open .mega a { padding: 6px 0; border: 0; }
  .nav.open { max-height: calc(100vh - 82px); overflow-y: auto; }
  .service-groups { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .strip-bar { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .panel { margin: 0 16px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .header > .wrap { height: 68px; gap: 12px; }
  .logo img { width: 128px; }
  .header-end { display: none; }
  /* Téléphone : un seul endroit pour appeler ou réserver (la barre du bas) */
  .topbar { display: none; }
  .hero-card .actions, .cta .btn--dark { display: none; }
  .hero > img { height: 340px; }
  .hero-card { margin: -56px 12px 0; padding: 26px 22px 24px; }
  .hero-card p { margin: 0; font-size: .96rem; }
  .hero-card .logo-type { font-size: 1.8rem; }
  .logo-type span { font-size: .78rem; letter-spacing: .22em; }
  .strip-bar { grid-template-columns: 1fr; border-radius: var(--radius); margin: 14px 12px 0; box-shadow: 0 10px 28px rgba(36,35,35,.07); }
  .strip-item { flex-direction: row; align-items: center; gap: 10px; padding: 14px 12px; }
  .strip-item svg { width: 34px; height: 34px; padding: 8px; }
  .strip-item b { font-size: .95rem; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }
  .strip-item b, .strip-item span { display: inline; }
  .strip-item span::before { content: " · "; color: var(--gold); }
  .strip-item span { font-size: .72rem; }
  .service-groups { gap: 0; }
  .service-groups > details { padding: 0; border-top: 1px solid var(--line); }
  .service-groups > details:last-child { border-bottom: 1px solid var(--line); }
  .service-groups summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; padding: 16px 0; margin: 0; font-size: .76rem; }
  .service-groups summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--gold); }
  .service-groups details[open] summary::after { content: "–"; }
  .service-groups ul { padding-bottom: 12px; }
  .clinic-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 78%; scroll-snap-align: start; }
  .gallery img { height: 220px; }
  .topbar .wrap { justify-content: center; }
  .topbar .wrap > span { display: none; }
  .cta { padding: 60px 0 56px; }
  .nav.open { top: 68px; padding: 8px 16px 20px; }
  .nav.open .mega .wrap { grid-template-columns: 1fr; gap: 14px; }
  .hero-card { position: relative; left: auto; bottom: auto; width: auto; }
  .welcome, .visit { grid-template-columns: 1fr; gap: 40px; }
  .services-head { flex-direction: column; align-items: start; gap: 14px; }
  .strip { margin-top: 0; }
  .panel { margin: 0; border-radius: 0; }
  .team { grid-template-columns: 1fr; gap: 12px; }
  .member { display: grid; grid-template-columns: 112px 1fr; align-items: center; text-align: left; }
  .member img { height: 112px; }
  .member div { padding: 12px 18px; }
  .member h3::after { margin-left: 0; }
  .visit dl { grid-template-columns: 96px 1fr; }
  .page-top { padding: 32px 0 36px; }
  .footer .cols { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { text-align: center; padding: 13px 8px; }
}
@media (max-width: 400px) {
  .service-groups { grid-template-columns: 1fr; }
}

/* Contenu repris du brouillon : trois soins, sourires, mission */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trio img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.trio h3 { margin-bottom: .35em; }
.trio p { font-size: .95rem; }
.welcome h2 { margin-bottom: .45em; }
.smiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.smiles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.mission { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.mission blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--ink); }
.mission cite { font-style: normal; font-size: .85rem; color: var(--taupe-4); }
.mission img { width: 100%; max-height: 520px; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; border-radius: var(--radius); }
@media (max-width: 1080px) {
  .smiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .trio, .mission { grid-template-columns: 1fr; gap: 36px; }
  .mission blockquote { font-size: 1.15rem; }
}

/* Services de l’accueil, version compacte */
#services { padding: 52px 0; border-top: 1px solid var(--line); }
#services .services-head { align-items: baseline; margin-bottom: 20px; }
#services .services-head h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
#services .services-head p { font-size: .9rem; max-width: 460px; }
#services .service-groups > details { padding-top: 10px; border-top-color: var(--line); }
#services .service-groups summary { margin-bottom: 4px; }
#services .service-groups a { padding: 2px 0; font-size: .86rem; }

/* Mission plus petite */
.mission { grid-template-columns: 1.4fr 1fr; gap: 56px; max-width: 980px; }
.mission h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.mission blockquote { font-size: 1.1rem; }
.mission img { max-height: 360px; aspect-ratio: 1; }

/* Ordinateur : rythme plus compact entre les sections */
@media (min-width: 761px) {
  .section--tight:not(.taupe):not(.marble) + .section--tight:not(.taupe):not(.marble):not(#services) { padding-top: 0; }
  .footer { padding-bottom: 56px; }
}
@media (min-width: 761px) {
  .section { padding: 80px 0; }
  .section.section--tight { padding: 64px 0; }
  .section--tight:not(.taupe):not(.marble) + .section--tight:not(.taupe):not(.marble):not(#services) { padding-top: 0; }
}

/* --- Vérification finale : alignements --- */
/* Le logo a une marge transparente : on l'aligne sur le texte */
.logo img { margin-left: -14px; }
.footer .logo img { margin-left: -15px; }
@media (min-width: 761px) {
  /* Deux photos de la clinique : même hauteur, bien alignées */
  .welcome-photos { align-items: stretch; }
  .welcome-photos img:first-child { aspect-ratio: 4/5; height: 100%; }
  .welcome-photos img:last-child { aspect-ratio: auto; height: 100%; min-height: 0; margin-bottom: 0; }
  /* Formulaire : on retire le vide au-dessus des champs et sous le bouton */
  .form-card { min-height: 0; }
  .form-card iframe { display: block; min-height: 0; margin: -34px 0 -74px; }
}
@media (min-width: 1001px) {
  /* Dentisterie générale compte deux fois plus de soins : deux colonnes, pour remplir les rangées */
  .service-groups { grid-template-columns: repeat(5, 1fr); }
  .service-groups > :first-child { grid-column: span 2; }
  .service-groups > :first-child ul { columns: 2; column-gap: 32px; }
  .mega .wrap { grid-template-columns: repeat(5, 1fr); }
  .mega .wrap > :first-child { grid-column: span 2; }
  .mega .wrap > :first-child ul { columns: 2; column-gap: 32px; }
  .mega li, .service-groups li { break-inside: avoid; }
}
@media (min-width: 761px) {
  /* L'en-tête du formulaire reste au-dessus du formulaire */
  .form-head { position: relative; z-index: 2; }
}
@media (min-width: 1001px) {
  /* La petite flèche au survol ne fait plus couper les noms de soins sur deux lignes */
  .service-groups a { position: relative; justify-content: flex-start; padding-right: 16px; }
  .service-groups a::after { position: absolute; right: 0; top: 5px; }
  .service-groups { column-gap: 24px; }
  .service-groups > :first-child ul { column-gap: 24px; }
}

/* --- Pages plus courtes : même design, moins de vide (ordinateur) --- */
.team-more { margin: 20px 0 0; }
/* Le zoom au survol ne déborde plus sur le nom du dentiste */
.member div { position: relative; background: var(--deep); }
@media (min-width: 761px) {
  .section { padding: 56px 0; }
  .section.section--tight { padding: 48px 0; }
  .section--tight:not(.taupe):not(.marble) + .section--tight:not(.taupe):not(.marble):not(#services) { padding-top: 0; }
  #services { padding: 40px 0; }
  .trio img { margin-bottom: 14px; }
  /* Bande de rendez-vous : une seule rangée, texte à gauche et boutons à droite */
  #clinique { padding: 30px 0; }
  #clinique::before { display: none; }
  #clinique .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; text-align: left; }
  #clinique h2 { grid-column: 1; margin: 0 0 6px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
  #clinique p { grid-column: 1; margin: 0; max-width: 640px; font-size: .95rem; }
  #clinique .actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; justify-content: flex-end; }
  /* Mission : alignée sur le reste de la page, photo plus petite */
  .mission { max-width: var(--wrap); grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .mission img { width: 300px; max-height: 300px; justify-self: end; }
  /* Rendez-vous : les deux colonnes finissent à la même hauteur */
  .visit { gap: 56px; align-items: stretch; }
  .visit > div:first-child { display: flex; flex-direction: column; }
  .visit dl { margin: 16px 0; }
  .visit dt, .visit dd { padding: 9px 0; }
  .visit dt { padding-top: 12px; }
  .map { position: relative; flex: 1; min-height: 150px; }
  .map iframe { position: absolute; inset: 0; height: 100%; }
  .form-card { align-self: start; }
  .footer { padding: 44px 0 28px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .team { max-width: 640px; margin-top: 20px; }
}
@media (min-width: 1001px) {
  /* Nos dentistes : texte à gauche, cartes à droite */
  .team-split { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; text-align: left; }
  .team-intro h2 { margin-bottom: 12px; }
  .team-intro p { margin-left: 0; margin-right: 0; }
  .team-split .team { max-width: none; margin: 0; gap: 18px; }
  .welcome { grid-template-columns: .82fr 1fr; gap: 56px; }
  /* Questions de l'accueil : deux colonnes sur toute la largeur */
  .faq { max-width: none; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
  .faq summary { padding: 15px 0; }
}
@media (min-width: 1181px) {
  /* Pied de page : deux listes sur deux colonnes pour réduire la hauteur */
  .footer .cols { grid-template-columns: 250px 1.7fr .85fr 1.2fr; gap: 32px; }
  .footer .cols > :nth-child(2) ul, .footer .cols > :nth-child(4) ul { columns: 2; column-gap: 24px; }
  .footer .cols li { break-inside: avoid; }
}
@media (min-width: 761px) {
  .footer .legal { margin-top: 26px; padding-top: 16px; }
}
@media (min-width: 1001px) {
  /* Questions de l'accueil : mêmes lignes de séparation d'une colonne à l'autre */
  .faq { column-gap: 48px; }
  .faq:not(:has(details[open])) { align-items: stretch; }
  .faq summary { font-size: .95rem; }
}
