/* Centre Dentaire Westminster — version téléphone (chargée seulement sous 760 px de large)
   Une seule source pour le téléphone : marges, espacements, tailles de texte, menu et sections.
   Échelle d’espacement : 8 · 12 · 16 · 24 · 32 · 44. Marge sur les côtés : 20 px. */

/* ---------- Base ---------- */
body { font-size: 15.5px; line-height: 1.65; }
.wrap { padding: 0 20px; }
h1 { font-size: 2rem; line-height: 1.12; }
h2 { font-size: 1.65rem; line-height: 1.18; margin-bottom: .45em; }
h3 { font-size: 1.15rem; }
p { margin-bottom: .9em; }
.section, .section--tight, .t-section, .vp-sec { padding: 44px 0; }
/* Deux sections blanches qui se suivent : pas de double espace */
.section:not(.taupe):not(.marble) + .section:not(.taupe):not(.marble),
.section--tight:not(.taupe):not(.marble) + .section--tight:not(.taupe):not(.marble),
.vp-sec:not(.vp-cream):not(.vp-sand) + .vp-sec:not(.vp-cream):not(.vp-sand) { padding-top: 8px; }
.link { font-size: .95rem; }

/* ---------- En-tête et menu ---------- */
.header > .wrap { height: 64px; gap: 12px; }
.logo img { width: 124px; }
.nav.open {
  position: absolute; top: 64px; left: 0; right: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  max-height: calc(100vh - 64px); overflow-y: auto;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(36,35,35,.08);
  padding: 4px 20px 16px;
}
.nav.open > a, .nav.open .drop-toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 16px 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  font: 500 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: left; color: var(--ink);
}
.nav.open .dropdown { display: block; width: 100%; align-self: stretch; }
.nav.open .mega { position: static; display: none; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; background: transparent; }
.nav.open .dropdown.open .mega { display: block; }
.nav.open .mega .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; padding: 14px 0 6px; }
.nav.open .mega h3 { font-size: .66rem; margin-bottom: 6px; }
.nav.open .mega a { display: block; padding: 5px 0; border: 0; font: 400 .9rem var(--sans); letter-spacing: 0; text-transform: none; }

/* Barre du bas (Appeler / Rendez-vous) */
.mobile-bar { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
body { padding-bottom: 72px; }

/* ---------- Accueil ---------- */
.hero > img { height: 300px; }
.hero-card { margin: -48px 16px 0; padding: 24px 22px; border-radius: 16px; }
.hero-card .logo-type { font-size: 1.75rem; }
.logo-type span { font-size: .72rem; letter-spacing: .2em; margin-bottom: 10px; }
.logo-type span::after { margin-top: 10px; }
.hero-card p { font-size: .95rem; }

.strip-bar { margin: 16px 20px 0; border-radius: 14px; }
.strip-item { padding: 12px 14px; }

.cta { padding: 44px 0; }
.cta h2 { font-size: 1.6rem; }
.cta::before { width: 280px; height: 280px; }

/* Trois soins : cartes qu’on fait glisser */
.trio { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; scroll-padding-left: 20px; }
.trio::-webkit-scrollbar { display: none; }
.trio article { flex: 0 0 78%; scroll-snap-align: start; }
.trio img { aspect-ratio: 4/3; margin-bottom: 12px; border-radius: 14px; }
.trio h3 { margin-bottom: 4px; }
.trio p { font-size: .92rem; margin-bottom: 8px; }

/* Équipe */
.team { gap: 10px; margin-top: 20px; }
.member { grid-template-columns: 96px 1fr; }
.member img { height: 96px; }

/* Clinique rénovée : deux photos égales, puis le texte */
.welcome { grid-template-columns: 1fr; gap: 20px; }
.welcome-photos { grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.welcome-photos img, .welcome-photos img:first-child, .welcome-photos img:last-child { aspect-ratio: 4/5; height: auto; margin: 0; border-radius: 14px; }

/* Sourires : petite grille 2 × 2, pas de curseur */
.services-head { gap: 8px; margin-bottom: 18px; }
.services-head p { font-size: .95rem; }
.smiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.smiles img { border-radius: 12px; }
#sourires .quiet { font-size: .78rem; }

/* Tous vos soins : le + bien aligné sur la même ligne */
#services { padding: 44px 0; border-top: 0; }
.service-groups { grid-template-columns: 1fr; gap: 0; }
.service-groups > details, #services .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, #services .service-groups summary {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0; padding: 16px 0; pointer-events: auto; cursor: pointer;
  font-size: .76rem; line-height: 1.2;
}
.service-groups summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--gold); }
.service-groups details[open] summary::after { content: "–"; }
.service-groups ul { padding: 0 0 12px; }
.service-groups a, #services .service-groups a { padding: 6px 0; font-size: .95rem; }

/* Notre mission : le texte, puis la photo entière */
.mission { grid-template-columns: 1fr; gap: 20px; max-width: none; }
.mission h2 { font-size: 1.65rem; }
.mission blockquote { font-size: 1.05rem; margin-bottom: 12px; }
.mission img { width: 64%; max-height: none; aspect-ratio: auto; height: auto; margin: 0 auto; border-radius: 16px; }

/* Rendez-vous et FAQ de l’accueil */
.visit { grid-template-columns: 1fr; gap: 28px; }
.visit dl { grid-template-columns: 92px 1fr; margin: 20px 0; }
.visit dt, .visit dd { padding: 11px 0; }
.map iframe { height: 200px; }
.form-card { min-height: 0; }
.faq { margin-top: 20px; }
.faq summary { padding: 16px 0; align-items: center; }

/* Pied de page */
.footer { padding: 44px 0 100px; }
.footer .cols { gap: 28px; }

/* ---------- Page de service (facettes) ---------- */
.svc-hero { height: 420px; min-height: 0; }
.svc-hero-in { padding-top: 16px; padding-bottom: 28px; }
.svc-hero .crumbs { font-size: .72rem; }
.svc-hero h1 { font-size: 2.05rem; line-height: 1.1; }
.svc-hero-more { display: none; }

.subnav, .subnav--bar { top: 64px; }
.subnav--bar .wrap { padding-top: 0; padding-bottom: 0; }
.subnav--bar .subnav-links { gap: 20px; }
.subnav--bar .subnav-links a { padding: 13px 0; font-size: .82rem; }
.subnav--bar .subnav-book { display: none; }

.vp-title { font-size: 1.7rem; line-height: 1.15; margin-bottom: 12px; }
.vp-title span { display: inline; padding: 0; }
.vp-title--sm { font-size: 1.5rem; }
.vp-sub { font-size: .95rem; margin-bottom: 20px; }
.vp-split, .vp-two, .fit-split, .steps-split { display: block; }
.vp-split > * + *, .vp-two > * + * { margin-top: 20px; }

/* Aperçu */
.overview .t-natural { border-radius: 16px; margin-bottom: 20px; }
.overview-kicker { font-size: .82rem; margin-bottom: 6px; }

/* L’essentiel : liste compacte, une ligne par sujet */
.facts-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
.facts-grid > div { border: 0; border-radius: 14px; background: var(--taupe-1); padding: 14px 16px; }
.facts-grid h3 { font-size: 1.05rem; margin-bottom: 4px; }
.facts-grid ul { list-style: none; padding: 0; margin: 0; font-size: .88rem; line-height: 1.5; }
.facts-grid li { display: inline; margin: 0; }
.facts-grid li + li::before { content: " · "; color: var(--gold); }

/* Avant / après : grille 2 × 2, sans légende répétée */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-card { border-radius: 12px; box-shadow: none; }
.ba-card figcaption { display: none; }

/* Céramiques : texte, puis les deux photos entières côte à côte */
.ceram-pair { gap: 8px; }
.ceram-pair img { border-radius: 14px; }

/* Avantages : liste simple sur le marbre */
.vp-cols { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
.vp-cols > div { border: 0; border-top: 1px solid rgba(36,35,35,.12); padding: 14px 0; }
.vp-cols > div:last-child { border-bottom: 1px solid rgba(36,35,35,.12); }
.vp-cols h3 { font-size: 1.1rem; margin-bottom: 2px; }
.vp-cols p { font-size: .92rem; }

/* Faites pour vous? : texte d’abord, puis les deux sourires entiers côte à côte */
.fit-split { display: flex; flex-direction: column; }
.fit-split > div:last-child { order: -1; margin-bottom: 20px; }
.fit-photos { display: flex; gap: 8px; }
.fit-photos img { min-width: 0; height: auto; border-radius: 12px; }
.fit-photos img:first-child { flex: 1.757; }
.fit-photos img:last-child { flex: 1.5; }

/* Étapes : texte, cartes, puis la photo */
#etapes .vp-split { display: flex; flex-direction: column; }
#etapes .vp-split > div { display: contents; }
#etapes .vp-title { order: 1; }
#etapes .vp-split > div > p { order: 2; }
#etapes .step-cards { order: 3; margin-top: 4px; }
#etapes .vp-portrait { order: 4; width: 64%; max-width: none; aspect-ratio: auto; height: auto; margin: 20px auto 0; border-radius: 16px; }
.step-cards { gap: 8px; }
.step-cards li { padding: 14px 16px; border-radius: 14px; }
.step-cards h3 { font-size: 1.1rem; }
.step-cards p { font-size: .9rem; }

/* Tableau : une carte par ligne */
.compare-wrap.vp-table { overflow: visible; border: 0; border-radius: 0; background: transparent; margin-top: 0; }
.compare-wrap.vp-table table { min-width: 0; font-size: .9rem; }
.compare-wrap.vp-table thead { display: none; }
.compare-wrap.vp-table tbody, .compare-wrap.vp-table tr, .compare-wrap.vp-table th, .compare-wrap.vp-table td { display: block; width: auto; }
.compare-wrap.vp-table tr { background: var(--white); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; }
.compare-wrap.vp-table tbody th { padding: 0 0 4px; border: 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.compare-wrap.vp-table td { padding: 6px 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.compare-wrap.vp-table td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 600; color: var(--gold-dark); }
.vp-why { margin-top: 24px; }
.vp-why h3 { font-size: 1.3rem; }

/* Questions */
.vp-faq { gap: 8px; }
.vp-faq summary { padding: 14px 16px; font-size: .92rem; }
.vp-faq details p { padding: 0 16px 14px; font-size: .92rem; }
.vp-fine { font-size: .76rem; margin-top: 16px; }

.vp-related { padding: 36px 0 0; }
.vp-related + .section { padding-top: 40px; }

/* ---------- Ajustements après vérification ---------- */
.hero-card { margin: -48px 20px 0; }
.strip .wrap { padding: 0 20px; }
.strip-bar { margin: 14px 0 0; }
#services { padding: 8px 0 44px; }
.nav.open .mega a { line-height: 1.35; }
.form-card iframe { min-height: 520px; }
#etapes, #duree-cout, #comparaison { padding-top: 44px; }
.fit-split, #etapes .vp-split { gap: 0; }
.fit-split > div:last-child { margin: 0 0 20px; }
#etapes .vp-split > div > p { margin-bottom: 16px; }
.visit dl { grid-template-columns: 108px 1fr; }
