/* Dra. Carolina Souza · Odontologia estética: tema do Painel v4 (padrão do kit 1)
   Identidade: o editorial das artes do Instagram dela (chocolate, conhaque do terno, creme e serifa de alto contraste)
   com o tom sálvia do Ateliê Oral Vitta. Tipografia: Playfair Display nos títulos (com itálico) e Jost nos textos.
   Detalhes do segmento: a "linha do sorriso" (um traço curvo que se desenha ao entrar na tela) e a escala de cor dos dentes
   (as plaquinhas usadas para escolher o tom das facetas) como ornamento. Animações curtas e discretas, só em transform e opacity.
   Toda cor e fonte sai das variáveis do :root (tela Cores e fontes do painel). */
:root {
  --bg: #f8f4ef;
  --bg-2: #fffcf8;
  --bg-3: #efe6dc;
  --ink: #2a1d17;
  --ink-2: #4a372d;
  --muted: #6b584c;
  --line: #e4d8cb;
  --accent: #8a5a3b;
  --accent-hi: #a46f4c;
  --accent-ink: #6e4429;
  --accent-rgb: 138 90 59;
  --on-accent: #ffffff;
  --accent-2: #b6b596;
  --accent-2-ink: #5b5a43;
  --dark: #221713;
  --ouro: #c9a27e;
  --wa: #25d366;
  --wa-ink: #04301a;
  --erro: #a3261c;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-2: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 6px;
  --r-lg: 14px;
  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 40px);
  --id-h: 34px;
  --header-h: 86px;
  --sec: clamp(64px, 8.5vw, 116px);
  --sec-junto: clamp(12px, 2vw, 28px);
  --sombra: 0 1px 2px rgb(34 23 19 / .05), 0 22px 44px -28px rgb(34 23 19 / .4);
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.75; font-weight: 400; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h4, h5, h6 { font-family: var(--font); font-weight: 500; line-height: 1.35; margin: 0 0 .5em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.25rem); }
h3 { font-size: 1.4rem; line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
small, figcaption, time, label, legend { font-weight: 400; }
strong { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-2); color: var(--dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--dark); color: var(--bg); padding: 10px 16px; border-radius: var(--r); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; color: var(--bg); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.wrap-estreito { width: min(760px, 100% - 2 * var(--gut)); }
.wrap-medio { width: min(860px, 100% - 2 * var(--gut)); }
main { display: block; }
main:focus { outline: none; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

/* ===== a linha do sorriso ===== */
.arco { width: 132px; height: auto; margin: 14px 0 22px; overflow: visible; }
.arco path { fill: none; stroke: var(--ouro); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js [data-reveal] .arco path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease) .25s; }
.js [data-reveal].is-in .arco path { stroke-dashoffset: 0; }
.hero .arco path, .page-top .arco path { animation: traco 1.6s var(--ease) .35s both; }
@keyframes traco { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.sec-head-centro .arco, .chamada-in .arco, .erro-in .arco, .redir-in .arco { margin-inline: auto; }

/* ===== a escala de cor ===== */
.escala { display: flex; gap: 5px; }
.escala i { width: 11px; height: 30px; border-radius: 3px 3px 8px 8px; background: color-mix(in oklab, var(--bg-2), var(--ouro) calc(var(--k) * 9%)); box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / .14); transform-origin: 50% 0; }
.escala i:nth-child(odd) { height: 26px; }
.js [data-reveal] .escala i { transform: scaleY(.2); transition: transform .9s var(--ease) calc(.3s + var(--k) * .06s); }
.js [data-reveal].is-in .escala i { transform: none; }
.hero .escala i { animation: plaquinha .9s var(--ease) calc(.5s + var(--k) * .06s) both; }
@keyframes plaquinha { from { transform: scaleY(.2); } to { transform: none; } }

/* ===== botões ===== */
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 30px; }
.btns-centro { justify-content: center; }
.btn { --b: var(--dark); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 28px; border: 1px solid var(--b); border-radius: 999px; background: var(--b); color: var(--bg); font-family: var(--font); font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { --b: var(--accent-ink); color: var(--on-accent); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-primary { --b: var(--dark); }
.btn-linha { background: transparent; color: var(--ink); --b: color-mix(in oklab, var(--ink) 55%, transparent); }
.btn-linha:hover { background: var(--dark); --b: var(--dark); color: var(--bg); }
.btn-claro { --b: var(--bg); background: var(--bg); color: var(--dark); }
.btn-claro:hover { --b: var(--ouro); background: var(--ouro); color: var(--dark); }
.btn-linha-claro { background: transparent; color: var(--bg); --b: color-mix(in oklab, var(--bg) 45%, transparent); }
.btn-linha-claro:hover { background: var(--bg); --b: var(--bg); color: var(--dark); }
.btn-texto { --b: transparent; background: transparent; color: var(--ink); padding-inline: 4px; border-radius: 0; box-shadow: inset 0 -1px 0 color-mix(in oklab, var(--ink) 35%, transparent); min-height: 44px; }
.btn-texto:hover { background: transparent; color: var(--accent-ink); box-shadow: inset 0 -1px 0 var(--accent); }
.btn-wa { --b: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { --b: color-mix(in oklab, var(--wa) 82%, black); color: var(--wa-ink); }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: .74rem; }
.btn-lg { min-height: 56px; padding-inline: 34px; }
.btn-bloco { width: 100%; }

/* ===== chamada (kicker) ===== */
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--font-2); font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-ink); }
.kicker::before { content: ""; flex: none; width: 30px; height: 1px; background: var(--ouro); }
.sec-head-centro .kicker, .chamada-in .kicker, .erro-in .kicker { justify-content: center; }

/* ===== cabeçalho ===== */
.site-header { position: sticky; top: calc(-1 * var(--id-h)); z-index: 100; background: color-mix(in oklab, var(--bg) 94%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 18px 40px -34px rgb(34 23 19 / .55); }
.header-id { background: var(--dark); color: color-mix(in oklab, var(--bg) 78%, var(--dark)); font-size: .72rem; letter-spacing: .08em; }
.header-id-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--id-h); }
.header-id p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-id-contato { display: flex; align-items: center; gap: 22px; }
.header-id a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.header-id a:hover { color: var(--bg); }
.header-id .i { width: 14px; height: 14px; }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; display: block; padding: 10px 14px; color: var(--ink-2); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-sub-bt { display: grid; place-items: center; width: 26px; height: 32px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.nav-sub-bt .i { width: 15px; height: 15px; transform: rotate(90deg); transition: transform .3s var(--ease); }
.nav-sub-bt[aria-expanded="true"] .i { transform: rotate(-90deg); }
.nav-sub { position: absolute; top: calc(100% + 10px); left: 50%; width: min(720px, 86vw); padding-top: 4px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s; }
.nav-sub.is-open, .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; padding: 28px 30px 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sombra); }
.nav-sub-titulo { margin: 0 0 10px; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--accent-ink); }
.nav-sub ul { margin: 0; padding: 0; list-style: none; }
.nav-sub li a { display: block; padding: 5px 0; color: var(--ink-2); font-size: .92rem; line-height: 1.4; text-decoration: none; }
.nav-sub li a:hover, .nav-sub li a[aria-current="page"] { color: var(--accent-ink); }
.nav-sub-todos { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.nav-sub-todos .i { width: 16px; height: 16px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.burger-linhas { display: grid; gap: 6px; width: 20px; margin: auto; }
.burger-linhas i { display: block; height: 1px; background: var(--ink); }
.burger-linhas i:last-child { width: 70%; justify-self: end; }

/* ===== menu do celular ===== */
.menu-celular { position: fixed; inset: 0; z-index: 200; background: var(--bg); overflow-y: auto; }
.menu-celular[hidden] { display: none; }
.menu-celular-in { display: flex; flex-direction: column; gap: 28px; min-height: 100%; padding: 18px var(--gut) 40px; }
.menu-celular-top { display: flex; align-items: center; justify-content: space-between; }
.menu-celular-top img { height: 44px; width: auto; }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-celular-list { margin: 0; padding: 0; list-style: none; }
.menu-celular-list li { border-bottom: 1px solid var(--line); animation: entra .55s var(--ease) both; animation-delay: calc(var(--i) * .05s); }
.menu-celular-list a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 1.75rem; color: var(--ink); text-decoration: none; }
.menu-celular-list a[aria-current="page"] { font-style: italic; color: var(--accent-ink); }
.menu-celular-info { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } }

/* ===== redes ===== */
.redes { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.redes a { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: .88rem; text-decoration: none; }
.redes a:hover { color: var(--accent); }
.redes .i { width: 18px; height: 18px; }

/* ===== seções ===== */
.sec { padding-block: var(--sec); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head-centro { margin-inline: auto; text-align: center; }
.sec-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 0; }
.sec-sub { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.sec-head-centro .sec-sub { margin-inline: auto; }
.sec-head > :last-child { margin-bottom: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich a { color: var(--accent-ink); }

/* revelar ao rolar (só o que está abaixo da dobra) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* fundos e espaços entre seções vizinhas da mesma cor */
.hero, .page-top, .sec-sobre, .sec-posts, .sec-contato, .sec-galeria, .sec-texto, .sec-resultados, .post-corpo { background: var(--bg); }
.sec-trat, .sec-faq, .sec-ti, .item-corpo, .sec-relacionados { background: var(--bg-2); }
.sec-atelie, .sec-onde { background: var(--bg-3); }
.sec-depo, .sec-chamada { background: var(--dark); color: var(--bg); }
.page-top + .sec-contato, .page-top + .sec-posts, .page-top-post + .post-corpo, .sec-galeria + .sec-sobre, .kigs + .sec-posts, .page-top + .sec-texto { padding-top: var(--sec-junto); }

/* ===== topo da home ===== */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 84px) clamp(64px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; right: -12vw; top: -18vw; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, var(--bg-3), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero h1 { margin-bottom: 0; }
.hero .lead { max-width: 52ch; color: var(--ink-2); font-size: 1.15rem; font-weight: 300; }
.hero-cred { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-cred li { display: grid; gap: 2px; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.hero-cred strong { color: var(--ink); font-size: .9rem; }
.hero-foto { position: relative; justify-self: center; width: min(460px, 100%); }
.hero-foto::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--ouro); border-radius: 999px 999px 22px 22px; transform: translate(20px, -20px); pointer-events: none; }
.hero-moldura { position: relative; overflow: hidden; border-radius: 999px 999px 22px 22px; aspect-ratio: 2 / 3; background: var(--bg-3); }
.hero-moldura img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-selo { position: absolute; left: -34px; bottom: 42px; display: flex; align-items: center; gap: 14px; max-width: 280px; padding: 14px 20px 14px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--sombra); animation: flutua 7s ease-in-out infinite; }
.hero-selo img { width: 52px; height: auto; flex: none; }
.hero-selo p { margin: 0; display: grid; line-height: 1.3; }
.hero-selo strong { font-family: var(--font-display); font-size: 1.05rem; }
.hero-selo span { font-size: .78rem; color: var(--muted); }
.hero-escala { position: absolute; right: 12%; bottom: -15px; }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== tratamentos ===== */
.grade-trat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card-trat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-trat a { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(26px, 3vw, 38px) clamp(22px, 2.6vw, 34px) 30px; color: inherit; text-decoration: none; transition: background .5s var(--ease); }
.card-trat a:hover { background: var(--bg); }
.card-trat-n { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--accent); }
.card-trat-grupo { margin: 16px 0 6px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.card-trat h3 { margin-bottom: 12px; font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.card-trat p { color: var(--muted); font-size: .96rem; line-height: 1.65; }
.card-trat-mais { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.card-trat-mais .i { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.card-trat a:hover .card-trat-mais .i, .card-post a:hover .card-trat-mais .i { transform: translateX(5px); }
.sec-trat .btns-centro { margin-top: 44px; }
.trat-grupo + .trat-grupo { margin-top: clamp(56px, 7vw, 88px); }
.trat-grupo-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.trat-grupo-n { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--accent); }
.sec-trat-grupos > .wrap > .sec-sub { margin-bottom: 36px; }

/* ===== apresentação da dentista ===== */
.sobre-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.sobre-foto { position: relative; margin: 0; width: min(440px, 100%); justify-self: center; }
.moldura-arco { overflow: hidden; border-radius: 999px 999px 0 0; background: var(--bg-3); }
.moldura-arco img { width: 100%; height: 100%; object-fit: cover; }
.sobre-foto .moldura-arco { aspect-ratio: 4 / 5; }
.sobre-foto .escala { position: absolute; left: -14px; bottom: 34px; flex-direction: column; gap: 4px; }
.sobre-foto .escala i { width: 30px; height: 10px; border-radius: 3px 8px 8px 3px; transform-origin: 0 50%; }
.js [data-reveal] .sobre-foto .escala i, .js .sobre-foto[data-reveal] .escala i { transform: scaleX(.2); }
.js .sobre-foto[data-reveal].is-in .escala i { transform: none; }
.sobre-txt .sec-head { margin-bottom: 26px; }
.citacao { position: relative; margin: 34px 0 0; padding: 26px 0 0 0; border-top: 1px solid var(--line); }
.citacao .i { width: 30px; height: 30px; color: var(--ouro); margin-bottom: 10px; }
.citacao p { margin: 0 0 10px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.citacao footer { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.linha-tempo { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: clamp(56px, 7vw, 90px) 0 0; padding: 30px 0 0; list-style: none; }
.linha-tempo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.linha-tempo li { position: relative; display: grid; gap: 4px; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.linha-tempo li::before { content: ""; position: absolute; left: 0; top: -35px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); }
.lt-ano { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; line-height: 1.1; color: var(--accent); }
.linha-tempo strong { color: var(--ink); font-size: 1rem; }

/* ===== a clínica ===== */
.atelie-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.atelie-selo { width: 190px; margin-bottom: 30px; }
.atelie-selo img { width: 100%; height: auto; }
.atelie-txt .sec-head { margin-bottom: 24px; }
.atelie-txt .rich { color: var(--ink-2); }
.atelie-fotos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 14px; aspect-ratio: 1 / 1; }
.atelie-f { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.atelie-f img { width: 100%; height: 100%; object-fit: cover; }
.atelie-f-1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.atelie-f-2 { grid-column: 4 / 7; grid-row: 2 / 7; border-radius: 999px 999px var(--r) var(--r); z-index: 1; box-shadow: 0 0 0 10px var(--bg-3); }
.atelie-f-3 { grid-column: 1 / 4; grid-row: 4 / 7; }

/* ===== depoimentos ===== */
.sec-depo .kicker { color: var(--ouro); }
.sec-depo .kicker::before { background: var(--ouro); }
.sec-depo .sec-title em, .sec-chamada .sec-title em { color: var(--ouro); }
.sec-depo .sec-sub { color: color-mix(in oklab, var(--bg) 74%, var(--dark)); }
.grade-depo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.depo { height: 100%; margin: 0; padding: clamp(28px, 3.4vw, 44px); border: 1px solid color-mix(in oklab, var(--bg) 14%, var(--dark)); border-radius: var(--r-lg); }
.depo .i { width: 28px; height: 28px; color: var(--ouro); margin-bottom: 16px; }
.depo blockquote { margin: 0; }
.depo blockquote p { margin: 0 0 22px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--bg); }
.depo figcaption { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid color-mix(in oklab, var(--bg) 14%, var(--dark)); }
.depo figcaption strong { font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--bg); }
.depo figcaption span { font-size: .86rem; color: color-mix(in oklab, var(--bg) 70%, var(--dark)); }
.sec-depo .btns { margin-top: 40px; }

/* ===== Instagram (peça do kit) ===== */
.kigs { padding-block: var(--sec); background: var(--bg); }
.kigs .kigs-kicker { font-size: .74rem; font-weight: 500; letter-spacing: .26em; color: var(--accent-ink); }
.kigs .kigs-titulo { font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); }
.kigs .kigs-titulo em { font-style: italic; color: var(--accent); }
.kigs .kigs-nome strong { font-weight: 500; }
.kigs .kig { --kig-raio: var(--r-lg); --kig-gap: 10px; }

/* ===== conteúdos ===== */
.grade-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.card-post a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-post-capa { display: block; overflow: hidden; margin-bottom: 22px; border-radius: var(--r); aspect-ratio: 3 / 2; background: var(--bg-3); }
.card-post-capa img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-post a:hover .card-post-capa img { transform: scale(1.04); }
.card-post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card-post-meta span { color: var(--accent-ink); }
.card-post h3 { font-size: clamp(1.25rem, 1.7vw, 1.45rem); }
.card-post p { color: var(--muted); font-size: .96rem; line-height: 1.65; }
.sec-posts .btns-centro { margin-top: 48px; }
.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filtro { min-height: 42px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filtro:hover { border-color: var(--ink); color: var(--ink); }
.filtro[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--bg); }
.card-post[hidden] { display: none; }

/* ===== perguntas frequentes ===== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq-intro .sec-head { margin-bottom: 0; }
.faq-intro .btns { margin-top: 26px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 24px 48px 24px 0; font-family: var(--font-display); font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.4; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 15px; height: 1px; background: var(--accent); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--accent-ink); }
.faq-a { padding: 0 40px 24px 0; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* ===== formulário ===== */
.contato-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contato-canais { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.contato-canais a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.contato-canais a:hover { color: var(--accent-ink); }
.contato-canais .i { width: 22px; height: 22px; color: var(--accent); }
.contato-canais span { display: grid; line-height: 1.4; }
.contato-canais small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contato-form { padding: clamp(26px, 4vw, 48px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sombra); }
.q-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 2px; border: 0; border-bottom: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); border-radius: 0; background: transparent; color: var(--ink); font-size: 1rem; transition: border-color .3s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-size: 5px 5px; background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: var(--erro); }
.err { font-size: .82rem; color: var(--erro); }
.err:empty { display: none; }
.q-form button { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .84rem; color: var(--muted); }
.form-ok { grid-column: 1 / -1; display: none; margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--bg-3); color: var(--ink); font-size: .92rem; }
.form-ok.show { display: block; }

/* ===== onde estamos ===== */
.onde-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 70px); align-items: stretch; }
.sec-onde-sem-mapa .onde-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.onde-card .sec-head { margin-bottom: 26px; }
.onde-lista { display: grid; gap: 18px; margin: 0; }
.onde-lista div { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.onde-lista dt { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.onde-lista dt .i { width: 17px; height: 17px; color: var(--accent); }
.onde-lista dd { margin: 0; color: var(--ink); }
.onde-lista a { color: inherit; }
.mapa { position: relative; min-height: 380px; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-capa { position: absolute; inset: 0; display: grid; place-items: center; }
.mapa-ruas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa-ruas path { fill: none; stroke: var(--bg-3); stroke-width: 9; }
.mapa-pino { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 70px; border-radius: 50%; background: var(--dark); color: var(--bg); box-shadow: 0 0 0 10px rgb(var(--accent-rgb) / .14); }
.mapa-pino .i { width: 26px; height: 26px; }
.mapa-bt { position: absolute; left: 50%; bottom: 24%; white-space: nowrap; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--dark); border-radius: 999px; background: var(--bg-2); color: var(--ink); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.mapa-bt:hover { background: var(--dark); color: var(--bg); }

/* ===== topo das páginas internas ===== */
.page-top { padding-block: clamp(46px, 6.5vw, 92px) clamp(50px, 6.5vw, 92px); }
.pt-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.page-top-foto .pt-in, .page-top-item .pt-in:has(.pt-foto) { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.pt-txt { max-width: 760px; }
.page-top h1 { margin-bottom: 0; }
.page-top .lead { max-width: 58ch; color: var(--ink-2); font-size: 1.12rem; font-weight: 300; }
.pt-foto { margin: 0; width: min(360px, 100%); justify-self: end; }
.pt-foto .moldura-arco { aspect-ratio: 4 / 5; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 30px; padding: 0; list-style: none; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ouro); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }

/* ===== texto com foto ===== */
.ti-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sec-ti-inv .ti-foto { order: -1; }
.ti-txt .sec-head { margin-bottom: 26px; }
.ti-txt .rich { color: var(--ink-2); }
.ti-foto { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.ti-foto img { width: 100%; height: auto; }
.destaque { margin: 28px 0 0; padding-left: 22px; border-left: 1px solid var(--ouro); font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--ink); }

/* ===== galerias e antes e depois ===== */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.galeria-espaco { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.galeria-espaco li:first-child { grid-column: span 2; grid-row: span 2; }
.galeria a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--bg-3); aspect-ratio: 1 / 1; }
.galeria-espaco a { aspect-ratio: 3 / 2; }
.galeria-espaco li:first-child a { aspect-ratio: auto; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.galeria a:hover img { transform: scale(1.04); }
.galeria-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.galeria a:hover .galeria-zoom, .galeria a:focus-visible .galeria-zoom { opacity: 1; transform: none; }
.galeria-zoom .i { width: 17px; height: 17px; }
.galeria-res a { aspect-ratio: auto; }
.galeria-res img { height: auto; aspect-ratio: auto; }
.nota-res { max-width: 70ch; margin: 22px 0 0; font-size: .86rem; color: var(--muted); }

/* lightbox */
.lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: color-mix(in oklab, var(--dark) 96%, transparent); color: var(--bg); }
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; place-items: center; animation: entra-lb .35s var(--ease); }
@keyframes entra-lb { from { opacity: 0; } }
.lb-fig { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 92vw; }
.lb-fig img { max-width: 92vw; max-height: 80dvh; width: auto; height: auto; border-radius: var(--r); }
.lb-fig figcaption { max-width: 70ch; text-align: center; font-size: .9rem; color: color-mix(in oklab, var(--bg) 78%, var(--dark)); }
.lb-bt { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid color-mix(in oklab, var(--bg) 30%, transparent); border-radius: 50%; background: transparent; color: var(--bg); cursor: pointer; transition: background .3s, color .3s; }
.lb-bt:hover { background: var(--bg); color: var(--dark); }
.lb-x { top: 18px; right: 18px; }
.lb-ant { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-prox { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-n { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; font-size: .76rem; letter-spacing: .2em; }
.lb-unica .lb-ant, .lb-unica .lb-prox, .lb-unica .lb-n { display: none; }

/* ===== chamada para agendar ===== */
.chamada-in { max-width: 760px; text-align: center; }
.sec-chamada .kicker { color: var(--ouro); }
.sec-chamada .kicker::before { background: var(--ouro); }
.chamada-txt { margin: 0 auto; max-width: 56ch; color: color-mix(in oklab, var(--bg) 76%, var(--dark)); }
.sec-chamada .btns { margin-top: 34px; }

/* ===== páginas de tratamento e textos longos ===== */
.item-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: clamp(32px, 6vw, 90px); align-items: start; }
.rich-longo { font-size: 1.07rem; color: var(--ink-2); }
.rich-longo > * { max-width: 70ch; }
.rich-longo h2 { margin: 1.8em 0 .6em; font-size: clamp(1.55rem, 2.4vw, 2rem); color: var(--ink); }
.rich-longo h3 { margin: 1.5em 0 .5em; font-size: 1.3rem; color: var(--ink); }
.rich-longo > :first-child { margin-top: 0; }
.rich-longo ul, .rich-longo ol { margin: 0 0 1.2em; padding-left: 1.1em; }
.rich-longo li { margin-bottom: .45em; padding-left: .3em; }
.rich-longo ul li::marker { content: "— "; color: var(--ouro); }
.rich-longo ol li::marker { font-family: var(--font-display); font-style: italic; color: var(--accent); }
.rich-longo strong { color: var(--ink); }
.aviso { display: flex; gap: 12px; margin: 40px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-size: .88rem; line-height: 1.6; color: var(--muted); }
.aviso .i { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-2-ink); }
.item-lateral { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.item-box { padding: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); }
.item-box-titulo { margin: 0 0 14px; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); }
.item-agenda-nome { margin: 0 0 18px; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; }
.item-agenda-nome small { display: block; margin-top: 4px; font-family: var(--font); font-size: .82rem; color: var(--muted); }
.item-agenda-end { display: flex; gap: 10px; margin: 16px 0 0; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.item-agenda-end .i { width: 17px; height: 17px; margin-top: 3px; color: var(--accent); }
.item-links { margin: 0; padding: 0; list-style: none; }
.item-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; text-decoration: none; }
.item-links li:last-child a { border-bottom: 0; }
.item-links a:hover { color: var(--accent-ink); }
.item-links .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.item-links a:hover .i { transform: translateX(4px); }

/* conteúdos (post) */
.page-top-post .crumbs ol { margin-bottom: 26px; }
.post-meta { margin: 0 0 14px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.post-capa { margin: 0 0 clamp(32px, 4vw, 52px); overflow: hidden; border-radius: var(--r-lg); }
.post-capa img { width: 100%; height: auto; }

/* ===== 404 e redirecionamento ===== */
.erro-in, .redir-in { text-align: center; padding-block: clamp(20px, 5vw, 60px); }
.erro-n { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: color-mix(in oklab, var(--accent) 80%, var(--bg)); }
.erro-in .lead, .redir-in .lead { margin-inline: auto; }
.redir-giro { display: block; width: 46px; height: 46px; margin: 0 auto 26px; border: 1px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: gira 1.1s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.redir-in h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.redir-logo { width: 200px; height: auto; margin: 46px auto 0; opacity: .8; }

/* ===== rodapé ===== */
.site-footer { background: var(--dark); color: color-mix(in oklab, var(--bg) 76%, var(--dark)); font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 60px); padding-block: clamp(60px, 7vw, 96px) clamp(40px, 5vw, 60px); }
.footer-logo { height: 58px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 40ch; line-height: 1.7; }
.footer-title { margin: 0 0 18px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--bg); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover, .site-footer .redes a:hover { color: var(--ouro); }
.footer-contato li { display: flex; gap: 12px; }
.footer-contato .i { width: 18px; height: 18px; margin-top: 4px; color: var(--ouro); }
.footer-contato strong { color: var(--bg); }
.footer-legal { display: grid; gap: 10px; padding-block: 28px 34px; border-top: 1px solid color-mix(in oklab, var(--bg) 12%, var(--dark)); font-size: .82rem; line-height: 1.6; }
.footer-legal p { margin: 0; }
.footer-legal a { color: inherit; }
.footer-id p { color: color-mix(in oklab, var(--bg) 70%, var(--dark)); }
.footer-id-nome { color: var(--bg) !important; letter-spacing: .04em; }
.footer-aviso { color: color-mix(in oklab, var(--bg) 62%, var(--dark)); }
.dev-sign { justify-self: start; margin-top: 8px; }
.dev-sign img { height: 15px; width: auto; opacity: .5; transition: opacity .3s; }
.dev-sign:hover img { opacity: .85; }

/* ===== botão e balão do WhatsApp ===== */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: grid; justify-items: end; gap: 12px; }
.wa-fab { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--wa); color: var(--wa-ink); box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5); cursor: pointer; transition: transform .35s var(--ease); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--wa); animation: pulsa 2.6s var(--ease) infinite; }
.wa-fab .i { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.06); }
@keyframes pulsa { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-bubble { position: relative; width: min(310px, calc(100vw - 36px)); padding: 22px 20px 18px; border-radius: var(--r-lg); background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sombra); animation: entra .45s var(--ease); }
.wa-bubble[hidden] { display: none; }
.wa-bubble-titulo { margin: 0 0 6px; padding-right: 30px; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.wa-bubble > p { margin: 0 0 16px; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.wa-bubble > p.wa-bubble-fone { margin: 10px 0 0; text-align: center; font-size: .86rem; letter-spacing: .06em; color: var(--ink-2); }
.wa-bubble-x { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.wa-bubble-x .i { width: 18px; height: 18px; }

/* ===== responsivo ===== */
@media (max-width: 1140px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .hero-cred { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand img { height: 46px; }
  .hero-grid, .sobre-grid, .atelie-grid, .faq-grid, .contato-grid, .onde-grid, .ti-grid, .item-grid, .page-top-foto .pt-in, .page-top-item .pt-in:has(.pt-foto) { grid-template-columns: minmax(0, 1fr); }
  .hero-foto { width: min(400px, 88%); margin-top: 10px; }
  .hero-selo { left: -14px; bottom: 30px; }
  .grade-trat, .grade-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linha-tempo { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 54px; }
  .linha-tempo::before { display: none; }
  .linha-tempo li { padding-top: 22px; border-top: 1px solid var(--line); }
  .linha-tempo li::before { top: -5px; }
  .atelie-fotos { width: min(560px, 100%); margin-inline: auto; }
  .pt-foto { justify-self: center; width: min(300px, 80%); }
  .item-lateral { position: static; }
  .galeria-espaco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mapa { min-height: 320px; }
}
@media (max-width: 640px) {
  :root { --id-h: 0px; }
  .header-id { display: none; }
  body { font-size: 1rem; }
  .header-in { gap: 14px; }
  .brand img { height: 42px; }
  .header-cta { display: none; }
  .hero { padding-top: 26px; }
  .hero-cred { gap: 16px 14px; }
  .grade-trat, .grade-posts, .grade-depo { grid-template-columns: minmax(0, 1fr); }
  .q-form { grid-template-columns: minmax(0, 1fr); }
  .q-form button { justify-self: stretch; }
  .btns .btn { flex: 1 1 auto; }
  .btn-texto { flex: 0 0 auto !important; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .galeria-espaco li:first-child { grid-column: span 2; grid-row: auto; }
  .galeria-espaco li:first-child a { aspect-ratio: 3 / 2; }
  .lb-ant, .lb-prox { top: auto; bottom: 16px; transform: none; }
  .lb-ant { left: 16px; }
  .lb-prox { right: 16px; }
  .wa-float { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .arco path, .js [data-reveal] .arco path { stroke-dashoffset: 0; }
  .escala i { transform: none !important; }
}

/* CDW assinatura padrao 160x23 */
.cdw-css-guard {}
/* computador: direita, na linha da ultima info, longe do botao do WhatsApp */
.dev-sign { display: flex !important; width: fit-content; flex: 0 0 auto !important; order: 99 !important; line-height: 0; opacity: 1 !important;
  margin: 0 max(0px, calc(var(--cdw-fab, 100px) - (100vw - 100%) / 2)) 0 auto !important; align-self: flex-end !important; justify-self: end !important; }
.dev-sign img { width: 160px !important; height: 23px !important; max-width: none !important; display: block; opacity: 1 !important; }
@media (min-width: 701px) {
  :has(> .dev-sign) { flex-wrap: nowrap !important; }
  :has(> .dev-sign) > :not(.dev-sign) { min-width: 0; }
}
@media (min-width: 701px) {
  .footer-legal:has(> .dev-sign) { grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; padding-right: max(0px, calc(100px - (100vw - 100%) / 2)); }
  .footer-legal:has(> .dev-sign) > :not(.dev-sign) { grid-column: 1; }
  .footer-legal > .dev-sign { grid-column: 2; align-self: end !important; margin: 0 !important; }
}
/* celular: linha propria, alinhada a esquerda como o texto */
@media (max-width: 700px) {
  /* -5px compensa a margem interna do desenho (16 de 480), para a letra alinhar com o texto */
  .dev-sign { margin: 0 calc(100% - 155px) 0 -5px !important; align-self: flex-start !important; justify-self: start !important; }
}
/* pagina de links (bio do Instagram): conteudo centralizado -> assinatura centralizada */
.pg-links .dev-sign, .tpl-links .dev-sign { margin: 6px auto 0 !important; align-self: center !important; justify-self: center !important; }

/* ===== Card sozinho na última linha da grade: centralizado (14/11/2026) =====
   A grade continua igual; só o card (ou os dois) que sobram na última linha vão para o meio.
   "of :not([hidden])" ignora os cards escondidos pelo filtro; translate soma com o transform das animações. */
@media (min-width: 901px) {
  .grade-posts > :nth-last-child(1 of :not([hidden])):nth-child(3n+1 of :not([hidden])) { translate: calc(100% + clamp(22px, 3vw, 40px)) 0; }
  .grade-posts > :nth-last-child(2 of :not([hidden])):nth-child(3n+1 of :not([hidden])),
  .grade-posts > :nth-last-child(1 of :not([hidden])):nth-child(3n+2 of :not([hidden])) { translate: calc(50% + clamp(22px, 3vw, 40px) / 2) 0; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .grade-posts > :nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])) { translate: calc(50% + clamp(22px, 3vw, 40px) / 2) 0; }
}
/* galeria: as mesmas colunas de antes (230 px no mínimo, 14 px entre elas), mas a última linha fica no meio */
.galeria { display: flex; flex-wrap: wrap; justify-content: center; container-type: inline-size; }
.galeria > li { --n: 1; flex: 0 0 calc((100% - (var(--n) - 1) * 14px) / var(--n)); min-width: 0; }
@container (min-width: 474px) { .galeria > li { --n: 2; } }
@container (min-width: 718px) { .galeria > li { --n: 3; } }
@container (min-width: 962px) { .galeria > li { --n: 4; } }
@container (min-width: 1206px) { .galeria > li { --n: 5; } }
@container (min-width: 1450px) { .galeria > li { --n: 6; } }
