/* ==========================================================
   Ana Leão — Clínica Médica Dentária
   Website · Daily Shot Solutions
   Tons claros: papel, menta e céu, com verde-pinho para o texto
   ========================================================== */

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/fraunces-latin-full-normal.woff2') format('woff2-variations'), url('../fonts/fraunces-latin-full-normal.woff2') format('woff2');
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Figtree';
    src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/figtree-latin-wght-normal.woff2') format('woff2');
    font-weight: 300 900; font-style: normal; font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --paper: #f7f9f7;
    --white: #ffffff;
    --mint: #e6f2e7;
    --mint-2: #cde6d1;
    --sky: #efefec;
    --sky-2: #e0e0dc;
    --sage: #3d9a49;
    --sage-ink: #2c7a37;
    --pine: #2a5a32;
    --pine-deep: #1b3c21;
    --ink: #22352a;
    --text: #3e4a43;
    --muted: #686d68;
    --line: #dde4dd;
    --wa: #1faa59;
    --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --sans: 'Figtree', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --wrap: 1240px;
    --gutter: clamp(16px, 4.5vw, 64px);
    --arch: 999px 999px 22px 22px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--pine); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 300; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-variation-settings: 'SOFT' 100, 'WONK' 0; letter-spacing: -0.012em; }
.t-display { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.t-h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.1; font-variation-settings: 'SOFT' 100, 'opsz' 96; }
.t-h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.25; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--text); max-width: 34em; }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--sage-ink); margin-bottom: 14px; }
.kicker svg { width: 20px; height: 20px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 600; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--pine { background: var(--pine); color: #fff; }
.btn--pine:hover { background: var(--pine-deep); }
.btn--line { border-color: var(--pine); color: var(--pine); }
.btn--line:hover { background: var(--pine); color: #fff; }
.btn--white { background: #fff; color: var(--pine); }
.btn--white:hover { background: var(--mint); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a48; }
.link { font-weight: 600; color: var(--sage-ink); border-bottom: 1.5px solid var(--mint-2); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--sage-ink); }

/* ---------- Navegação ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(246,249,248,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 64px; width: auto; }
.footer .brand__logo { height: 64px; }
.nav__menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__link { display: block; padding: 10px 14px; border-radius: 999px; font-size: 16px; font-weight: 500; color: var(--ink); transition: background .2s; }
.nav__link:hover { background: var(--mint); }
.nav__link[aria-current="page"] { background: var(--mint); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--mint); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav__toggle span { width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ---------- Hero (início) ---------- */
.hero { padding: clamp(28px, 4.5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.hero__top { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.hero__title { max-width: 13em; }
.hero__aside p { margin-bottom: 18px; }
.units-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.unit-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); transition: border-color .2s; }
.unit-chip:hover { border-color: var(--sage); }
.unit-chip svg { width: 18px; height: 18px; color: var(--sage); }

/* As três portas */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(340px, 34vw, 430px); padding: clamp(24px, 2.6vw, 36px); padding-top: 0; border-radius: var(--arch); background: var(--mint); color: var(--ink); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.door::before { content: ''; position: absolute; inset: 14px 14px auto; height: 58%; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(46,79,72,.14); border-bottom: 0; z-index: -1; transition: inset .45s var(--ease); }
.door:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(30,56,51,.45); }
.door:hover::before { inset: 22px 22px auto; }
.door--sky { background: var(--sky); }
.door--pine { background: var(--pine); color: #fff; }
.door--pine::before { border-color: rgba(255,255,255,.2); }
.door__icon { position: absolute; top: clamp(56px, 6vw, 84px); left: 50%; transform: translateX(-50%); width: clamp(88px, 8vw, 112px); height: clamp(88px, 8vw, 112px); border-radius: 50%; background: rgba(255,255,255,.7); display: grid; place-items: center; color: var(--pine); transition: transform .45s var(--ease); }
.door--pine .door__icon { background: rgba(255,255,255,.1); color: #fff; }
.door:hover .door__icon { transform: translateX(-50%) scale(1.06); }
.door__icon svg { width: 46%; height: 46%; }
.door__title { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.05; font-variation-settings: 'SOFT' 100, 'opsz' 96; color: inherit; margin-bottom: 10px; }
.door__text { font-size: 16px; line-height: 1.55; opacity: .85; margin-bottom: 22px; max-width: 24em; }
.door__go { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(46,79,72,.18); font-weight: 600; font-size: 16px; }
.door--pine .door__go { border-color: rgba(255,255,255,.22); }
.door__go svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.door:hover .door__go svg { transform: translateX(4px); }

.js .doors .door { opacity: 0; transform: translateY(26px); }
.js .doors.is-in .door { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .45s var(--ease); }
.js .doors.is-in .door:nth-child(2) { transition-delay: .12s; }
.js .doors.is-in .door:nth-child(3) { transition-delay: .24s; }
.js .doors.is-in .door:hover { transform: translateY(-6px); transition-delay: 0s; }

/* ---------- Secções ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec--white { background: #fff; }
.sec--mint { background: var(--mint); }
.sec--sky { background: var(--sky); }
.sec__head { display: grid; grid-template-columns: 1fr minmax(0, 30em); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }
.sec__head .t-h2 { max-width: 15em; }
.sec__head--solo { grid-template-columns: 1fr; }

/* Lema */
.lema { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.arch-img { border-radius: var(--arch); overflow: hidden; background: var(--mint); aspect-ratio: 4 / 5; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.lema__quote { font-family: var(--serif); font-size: clamp(25px, 2.7vw, 36px); line-height: 1.32; color: var(--ink); font-variation-settings: 'SOFT' 100, 'opsz' 72; margin-bottom: 28px; text-wrap: pretty; }
.lema__quote::before { content: '“'; display: block; font-size: 2.4em; line-height: .6; color: var(--sage); margin-bottom: 10px; }
.lema__sign { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.lema__sign strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); }
.lema__sign span { font-size: 15px; color: var(--muted); }
.lema__sign-line { width: 44px; height: 1.5px; background: var(--sage); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); line-height: 1.2; }
.fact span { font-size: 15px; color: var(--muted); }

/* Lista de tratamentos */
.tlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); }
.trow { display: grid; grid-template-columns: 56px 1fr 28px; gap: 20px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.trow__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--pine); display: grid; place-items: center; transition: background .25s, color .25s; }
.trow__icon svg { width: 28px; height: 28px; }
.trow__name { font-family: var(--serif); font-size: 23px; line-height: 1.25; color: var(--ink); margin-bottom: 4px; }
.trow__desc { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.trow__go { margin-top: 16px; color: var(--sage); transition: transform .3s var(--ease); }
.trow__go svg { width: 24px; height: 24px; }
.trow:hover .trow__icon { background: var(--pine); color: #fff; }
.trow:hover .trow__go { transform: translateX(4px); }
.more { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Unidades */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 32px); }
.unit { background: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; border: 1px solid var(--line); }
.unit__top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.unit__badge { width: 64px; height: 76px; flex-shrink: 0; border-radius: 999px 999px 12px 12px; background: var(--mint); display: grid; place-items: center; color: var(--pine); }
.unit:nth-child(2) .unit__badge { background: var(--sky); }
.unit__badge svg { width: 28px; height: 28px; margin-top: 8px; }
.unit__name { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; color: var(--ink); }
.unit__area { font-size: 15px; color: var(--muted); }
.unit__rows { display: grid; gap: 14px; margin-bottom: 28px; }
.unit__row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; }
.unit__row svg { width: 20px; height: 20px; color: var(--sage); margin-top: 3px; }
.unit__row b { font-weight: 600; color: var(--ink); }
.unit__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.unit__map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 24px; aspect-ratio: 16 / 9; background: var(--mint); }
.unit__map iframe { width: 100%; height: 100%; border: 0; }
.todo { display: inline-block; font-size: 12.5px; font-weight: 600; color: #8a5a12; background: #fdf1d8; border-radius: 6px; padding: 1px 7px; margin-left: 4px; vertical-align: 1px; }

/* Testemunhos */
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.rating { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 10px 20px 10px 12px; border: 1px solid var(--line); }
.rating__g { width: 34px; height: 34px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font-weight: 700; color: var(--pine); font-size: 15px; }
.rating strong { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); line-height: 1; }
.stars { color: #e0a43a; letter-spacing: 2px; font-size: 15px; }
.rating small { display: block; font-size: 13px; color: var(--muted); }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--mint-2) transparent; }
.reviews--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); overflow: visible; }
.review { scroll-snap-align: start; background: #fff; border-radius: 24px; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.review p { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); font-variation-settings: 'SOFT' 100, 'opsz' 24; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }

/* Cheque */
.cheque { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); }
.cheque__icon { width: 72px; height: 72px; border-radius: 22px; background: var(--mint); display: grid; place-items: center; color: var(--pine); }
.cheque__icon svg { width: 36px; height: 36px; }
.cheque h3 { font-size: clamp(22px, 2vw, 27px); margin-bottom: 4px; }
.cheque p { color: var(--muted); font-size: 16px; max-width: 46em; }

/* CTA final */
.cta { background: var(--pine); color: #fff; border-radius: clamp(28px, 4vw, 48px); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 360px; height: 420px; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(255,255,255,.12); }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.78); max-width: 32em; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: relative; z-index: 1; }
.cta__phone { text-align: center; font-size: 15px; color: rgba(255,255,255,.7); }
.cta__phone a { color: #fff; font-weight: 600; }

/* ---------- Cabeçalho de página ---------- */
.phead { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.phead__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 64px; align-items: end; }
.crumbs { display: flex; gap: 8px; font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.subnav a { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 15.5px; color: var(--ink); transition: border-color .2s, background .2s; }
.subnav a:hover { border-color: var(--sage); background: var(--mint); }

/* Tratamento (detalhe) */
.tdetail__hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.tdetail__icon { width: clamp(84px, 9vw, 120px); height: clamp(84px, 9vw, 120px); border-radius: var(--arch); background: var(--mint); display: grid; place-items: center; color: var(--pine); }
.tdetail__icon svg { width: 48%; height: 48%; }
.tdetail__img { border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--mint); margin-bottom: clamp(40px, 5vw, 72px); }
.tdetail__img img { width: 100%; height: 100%; object-fit: cover; }
.tdetail__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p { font-size: 19px; line-height: 1.75; margin-bottom: 20px; max-width: 36em; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 32px; position: sticky; top: 110px; }
.box h3 { font-size: 24px; margin-bottom: 16px; }
.ticks { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.box .btn { width: 100%; }
.box .btn + .btn { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; color: var(--ink); transition: border-color .2s, background .2s; }
.chips a:hover { border-color: var(--sage); background: var(--mint); }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.pager a { padding: 32px 0; display: block; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.pager small { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.pager span { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px); color: var(--ink); }
.pager a:hover span { color: var(--sage-ink); }

/* Equipa */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.member__photo { border-radius: var(--arch); overflow: hidden; aspect-ratio: 9 / 11; background: var(--mint); margin-bottom: 20px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--ink); }
.member__role { font-size: 15px; font-weight: 600; color: var(--sage-ink); margin: 4px 0 10px; }
.member__bio { font-size: 15.5px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.member .link { font-size: 15px; }

/* Sobre */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.story .prose p:first-child { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.45; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.value { padding: 28px; border-radius: 24px; background: var(--paper); }
.value h3 { font-size: 24px; margin-bottom: 6px; }
.value p { font-size: 16px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery figure { border-radius: 22px; overflow: hidden; background: var(--mint); }
.gallery figure:first-child { grid-row: span 2; border-radius: var(--arch); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare { --pos: 50%; position: relative; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; background: var(--mint); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare__bar span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(30,56,51,.25); display: grid; place-items: center; color: var(--pine); font-size: 15px; letter-spacing: -2px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.case figcaption { margin-top: 14px; }
.case figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }
.case figcaption span { font-size: 15px; color: var(--muted); }

/* ---------- Marcações ---------- */
.book { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.book__side { position: sticky; top: 110px; }
.steps { list-style: none; display: grid; gap: 18px; margin: 28px 0 32px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: s; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--pine); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.steps strong { display: block; color: var(--ink); font-weight: 600; }
.steps span { font-size: 15.5px; color: var(--muted); }
.side-card { background: var(--sky); border-radius: 24px; padding: 26px; display: grid; gap: 14px; }
.side-card .unit__row { font-size: 15.5px; }
.form-card { background: #fff; border-radius: 32px; padding: clamp(24px, 4vw, 52px); border: 1px solid var(--line); }
.form-card h2 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 30px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.f { display: flex; flex-direction: column; gap: 8px; }
.f--full { grid-column: 1 / -1; }
.f > label, .f legend { font-size: 15px; font-weight: 600; color: var(--ink); }
.f .opt { font-weight: 400; color: var(--muted); }
.f input[type="text"], .f input[type="tel"], .f input[type="email"], .f input[type="date"], .f select, .f textarea {
    width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; min-height: 52px;
}
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%232c7a37' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
.f textarea { min-height: 110px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
.f.is-invalid input, .f.is-invalid select { border-color: #c4553c; }
.f .err { font-size: 14px; color: #a8412b; display: none; }
.f.is-invalid .err { display: block; }
fieldset.f { border: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; flex-direction: column; padding: 10px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font-size: 16px; color: var(--ink); transition: all .2s; line-height: 1.3; }
.pills small { font-size: 13px; color: var(--muted); }
.pills label:hover span { border-color: var(--sage); }
.pills input:checked + span { border-color: var(--pine); background: var(--pine); color: #fff; }
.pills input:checked + span small { color: rgba(255,255,255,.75); }
.pills input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pine); flex-shrink: 0; }
.check.is-invalid span { color: #a8412b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.form-actions .btn { width: 100%; padding: 16px 20px; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); text-align: center; }
.form-status { grid-column: 1 / -1; font-size: 15px; color: #a8412b; text-align: center; min-height: 1em; }
.success { text-align: center; padding: 40px 10px; }
.success__icon { width: 80px; height: 96px; margin: 0 auto 22px; border-radius: 999px 999px 18px 18px; background: var(--mint); color: var(--pine); display: grid; place-items: center; }
.success__icon svg { width: 36px; height: 36px; margin-top: 10px; }
.success h3 { font-size: 34px; margin-bottom: 10px; }
.success p { color: var(--muted); max-width: 26em; margin: 0 auto 26px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 30px; font-weight: 300; color: var(--sage); line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 40px 22px 0; color: var(--muted); }

/* ---------- Rodapé ---------- */
.footer { background: var(--pine-deep); color: rgba(255,255,255,.75); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 26px; }
.footer .brand { margin-bottom: 20px; }
.footer h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer__links { display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer__unit + .footer__unit { margin-top: 14px; }
.footer__unit b { color: #fff; font-weight: 600; display: block; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* WhatsApp flutuante */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; height: 58px; padding: 0 20px 0 16px; border-radius: 999px; font-weight: 600; font-size: 15.5px; box-shadow: 0 14px 30px -12px rgba(18,90,50,.55); transition: transform .3s var(--ease), background .2s; }
.wa-fab:hover { background: #178a48; transform: translateY(-2px); }
.wa-fab svg { width: 26px; height: 26px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
    .nav__menu { position: fixed; inset: 84px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(30,56,51,.35); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
    .nav__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .nav__link { font-size: 20px; padding: 14px 16px; font-family: var(--serif); }
    .nav__cta { margin: 10px 0 0; }
    .nav__cta .btn { width: 100%; }
    .nav__toggle { display: inline-flex; }
    .team { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero__top, .lema, .sec__head, .phead__grid, .tdetail__grid, .book, .story, .cta { grid-template-columns: 1fr; }
    .hero__top { align-items: start; }
    .doors { grid-template-columns: 1fr; }
    .door { min-height: 0; padding: 28px 28px 26px 136px; border-radius: 120px 28px 28px 120px; justify-content: center; }
    .door::before { inset: 12px auto 12px 12px; width: 104px; height: auto; border-radius: 999px 0 0 999px; border: 1.5px solid rgba(46,79,72,.14); border-right: 0; }
    .door:hover::before { inset: 12px auto 12px 12px; }
    .door__icon { top: 50%; left: 22px; transform: translateY(-50%); width: 88px; height: 88px; }
    .door:hover .door__icon { transform: translateY(-50%) scale(1.04); }
    .door__text { margin-bottom: 14px; }
    .door__go { padding-top: 12px; }
    .lema .arch-img { max-width: 440px; aspect-ratio: 1 / 1; }
    .tlist { grid-template-columns: 1fr; }
    .units { grid-template-columns: 1fr; }
    .cheque { grid-template-columns: auto 1fr; }
    .cheque .btn { grid-column: 1 / -1; justify-self: start; }
    .box, .book__side { position: static; }
    .values { grid-template-columns: 1fr; }
    .cases { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 180px 180px; }
    .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 600px) {
    body { font-size: 16.5px; }
    .nav__in { height: 72px; }
    .nav__menu { inset: 72px 0 auto 0; }
    .brand__logo { height: 46px; }
    .door { padding: 22px 20px 20px 112px; border-radius: 100px 24px 24px 100px; }
    .door::before { width: 84px; inset: 10px auto 10px 10px; }
    .door:hover::before { inset: 10px auto 10px 10px; }
    .door__icon { width: 72px; height: 72px; left: 16px; }
    .door__title { font-size: 28px; margin-bottom: 4px; }
    .door__text { font-size: 15px; }
    .facts { grid-template-columns: 1fr; gap: 14px; }
    .trow { grid-template-columns: 48px 1fr; gap: 16px; }
    .trow__icon { width: 48px; height: 48px; }
    .trow__go { display: none; }
    .team { grid-template-columns: 1fr 1fr; gap: 16px; }
    .member__name { font-size: 20px; }
    .member__bio { display: none; }
    .fgrid, .form-actions { grid-template-columns: 1fr; }
    .cheque { grid-template-columns: 1fr; }
    .tdetail__hero { grid-template-columns: 1fr; gap: 18px; }
    .tdetail__img { aspect-ratio: 4 / 3; }
    .pager { grid-template-columns: 1fr; }
    .pager a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; text-align: left; }
    .footer__grid { grid-template-columns: 1fr; }
    .wa-fab { padding: 0; width: 58px; justify-content: center; }
    .wa-fab span { display: none; }
    .reviews { grid-auto-columns: 86%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .doors .door { opacity: 1; transform: none; }
}

/* Portas: textos alinhados em desktop */
@media (min-width: 901px) { .door__text { min-height: calc(3 * 1.55em); } }
@media (max-width: 900px) { .book__side { order: 2; } }

/* ==========================================================
   v2 — fotografias da clínica (novembro 2026)
   ========================================================== */

/* Entrada: título mais contido + fotografias a passar */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.hero__title { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.1; max-width: 15em; font-variation-settings: 'SOFT' 100, 'opsz' 120; }
.hero__top { margin-bottom: clamp(28px, 3.4vw, 44px); }
.reel { position: relative; overflow: hidden; margin-bottom: clamp(28px, 3.6vw, 48px); }
.reel__track { list-style: none; display: flex; gap: clamp(10px, 1.2vw, 16px); width: max-content; animation: reel 110s linear infinite; }
.reel:hover .reel__track, .reel.is-paused .reel__track, .reel:focus-within .reel__track { animation-play-state: paused; }
.reel__item { height: clamp(300px, 34vw, 440px); aspect-ratio: 2 / 3; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--mint); flex-shrink: 0; }
.reel__item--wide { aspect-ratio: 3 / 2; border-radius: 28px; }
.reel__item img { width: 100%; height: 100%; object-fit: cover; }
.reel__toggle { position: absolute; right: var(--gutter); bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.3); }
@keyframes reel { to { transform: translateX(calc(-50% - clamp(5px, .6vw, 8px))); } }

/* Equipa na página inicial */
.faces { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.face { display: flex; flex-direction: column; gap: 2px; }
.face img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; margin-bottom: 12px; background: var(--mint); transition: transform .35s var(--ease); }
.face:hover img { transform: translateY(-4px); }
.face strong { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--ink); }
.face span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* Tratamento: tipos, médicas, galeria */
.types { display: grid; gap: 12px; margin: 8px 0 24px; max-width: 40em; }
.type { padding: 18px 22px; border-radius: 18px; background: var(--paper); border-left: 3px solid var(--sage); }
.type h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 2px; letter-spacing: 0; }
.type p { font-size: 16px; color: var(--muted); }
.ticks--inline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.box h3 { margin-bottom: 14px; }
.box__p { font-size: 15.5px; margin-bottom: 20px; }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px; margin: 0 -10px 16px; border-radius: 16px; transition: background .2s; }
.mini:hover { background: var(--mint); }
.mini img { width: 64px; height: 80px; object-fit: cover; border-radius: 999px 999px 10px 10px; }
.mini strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); line-height: 1.2; }
.mini small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; margin: 2px 0 4px; }
.mini em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--sage-ink); }
.media-block { margin-top: clamp(48px, 6vw, 80px); }
.media-block > h2 { margin-bottom: 20px; }
.pgallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: clamp(10px, 1.4vw, 18px); }
.pg { position: relative; border-radius: 22px; overflow: hidden; background: var(--mint); aspect-ratio: 2 / 3; }
.pg--wide { grid-column: span 2; aspect-ratio: 4 / 3; }
.pg button { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pg button:hover img { transform: scale(1.03); }
.pg--xray { background: #111; }
.pg--xray img { object-fit: contain; }
.pg--video { background: #000; }
.pg--video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; pointer-events: none; }
.xpair { display: flex; gap: 16px; flex-wrap: wrap; }
.xpair > div { background: #111; border-radius: 20px; padding: 14px 14px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.xpair img { width: clamp(150px, 20vw, 230px); height: auto; border-radius: 8px; image-rendering: auto; }
.xpair span { color: #fff; font-size: 14px; font-weight: 600; }
.case-x { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.case-x figcaption { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.case-x strong { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); }
.case-x figcaption span { color: var(--muted); max-width: 30em; }

/* Equipa (página) */
.team { grid-template-columns: repeat(4, 1fr); row-gap: clamp(40px, 5vw, 64px); }
.member__bio { display: block; }
.member__more { margin-bottom: 14px; }
.member__more summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--sage-ink); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.member__more summary::-webkit-details-marker { display: none; }
.member__more summary::after { content: '+'; font-size: 18px; line-height: 1; }
.member__more[open] summary::after { content: '–'; }
.member__more p { font-size: 15.5px; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.member__tr { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.member__tr a { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--pine); }
.member__tr a:hover { background: var(--mint-2); }
.member .link { display: inline-block; }
.assist__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.assist__photo { border-radius: 32px; overflow: hidden; aspect-ratio: 3 / 2; }
.assist__photo img { width: 100%; height: 100%; object-fit: cover; }
.assist__top .t-h2 { margin-bottom: 14px; }
.assist__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.aperson { background: #fff; border-radius: 26px; padding: 22px; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; border: 1px solid var(--line); }
.aperson img { width: 96px; height: 120px; object-fit: cover; border-radius: 999px 999px 14px 14px; }
.aperson h3 { font-size: 22px; line-height: 1.2; }
.aperson .member__role { margin: 2px 0 8px; }
.aperson p:not(.member__role) { font-size: 15px; color: var(--muted); line-height: 1.6; }
.aperson p + p:not(.member__role) { margin-top: 8px; }

/* Sobre */
.story { grid-template-columns: 1fr 1fr; }
.story .prose:last-child p:first-child { font-family: var(--sans); font-size: 19px; line-height: 1.75; color: var(--text); }

/* Ampliar fotografias */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(15,30,18,.92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lb__close { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 34px; line-height: 1; }
.lb__prev { left: 12px; } .lb__next { right: 12px; }
.lb button:hover { background: rgba(255,255,255,.22); }

@media (max-width: 1100px) {
    .faces { grid-template-columns: repeat(4, 1fr); }
    .team { grid-template-columns: repeat(3, 1fr); }
    .assist__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .hero__aside .lead { display: none; }
    .assist__top, .story, .case-x { grid-template-columns: 1fr; }
    .pgallery { grid-template-columns: repeat(2, 1fr); }
    .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hero__title { font-size: 30px; }
    .reel__item { height: 300px; }
    .faces { grid-template-columns: repeat(2, 1fr); }
    .faces .face:last-child { grid-column: span 2; width: 50%; justify-self: center; }
    .team { grid-template-columns: 1fr; }
    .member__photo { max-width: 360px; }
    .member__bio { display: block; }
    .pg { border-radius: 16px; }
    .aperson { grid-template-columns: 76px 1fr; padding: 18px; }
    .aperson img { width: 76px; height: 96px; }
    .xpair img { width: 130px; }
    .lb { padding: 56px 12px; }
    .lb__nav { top: auto; bottom: 14px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .reel { overflow-x: auto; }
    .reel__track { animation: none; }
    .reel__item[aria-hidden="true"] { display: none; }
    .reel__toggle { display: none; }
}
.hero__title { font-size: clamp(30px, 3.3vw, 48px); }
.reel__item { height: clamp(280px, 25vw, 370px); }
@media (max-width: 600px) { .reel__item { height: 300px; } .hero__title { font-size: 29px; } }
/* Galeria justificada (linhas cheias, proporções reais) */
.pgallery { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.4vw, 18px); }
.pgallery::after { content: ''; flex-grow: 999; }
.pg, .pg--wide { --ar: .667; flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 260px); aspect-ratio: var(--ar); grid-column: auto; max-height: 560px; }
@media (max-width: 600px) { .pg, .pg--wide { flex-basis: calc(var(--ar) * 150px); } }
.pgallery::after { flex-grow: 10; }
/* Antes e depois (duas fotografias lado a lado) */
.bapair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); }
.bapair figure { position: relative; border-radius: 22px; overflow: hidden; background: var(--mint); aspect-ratio: 17 / 10; }
.bapair button { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.bapair img { width: 100%; height: 100%; object-fit: cover; }
.bapair figcaption { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pg figcaption a { pointer-events: auto; }
.cases-more { margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 600px) { .bapair { grid-template-columns: 1fr; } .bapair figure { border-radius: 16px; } }
/* Nunca cortar fotografias (antes/depois): a peça não cresce além da sua proporção */
.pg, .pg--wide { max-height: 500px; max-width: calc(var(--ar) * 500px); }
.pgallery.cases-more { display: grid; grid-template-columns: repeat(3, 1fr); }
.pgallery.cases-more::after { display: none; }
.cases-more .pg { max-width: none; max-height: none; }
@media (max-width: 600px) { .pgallery.cases-more { grid-template-columns: 1fr 1fr; } }

/* v3 (19/11): páginas de tratamento mais compactas */
.phead--t { padding: clamp(28px, 4vw, 52px) 0 clamp(24px, 3vw, 40px); }
.phead--t .t-display { font-size: clamp(34px, 4.2vw, 58px); }
.phead--t .tdetail__icon { width: clamp(72px, 7vw, 96px); height: clamp(72px, 7vw, 96px); }
.phead--t + .sec { padding-top: clamp(28px, 3.5vw, 48px); }
.phead--t + .sec .media-block { margin-top: clamp(36px, 4.5vw, 56px); }
.side-xr { margin-top: clamp(24px, 3vw, 36px); }
.side-xr > h2 { margin-bottom: 14px; }
.xpair img { width: auto; height: clamp(170px, 17vw, 230px); }
/* Instalações: grelha regular (fotografias recortadas em quadrado) */
.pgallery[data-clinic] { display: grid; grid-template-columns: repeat(4, 1fr); }
.pgallery[data-clinic]::after { display: none; }
.pgallery[data-clinic] .pg { aspect-ratio: 1; max-width: none; max-height: none; }
@media (max-width: 700px) { .pgallery[data-clinic] { grid-template-columns: 1fr 1fr; } }
