/* ==========================================================
   Dr. Yuri Mendes — estilos do site
   ========================================================== */

:root {
  --bg: #f6f3ee;
  --bg-alt: #ece6dd;
  --surface: #ffffff;
  --ink: #1d2327;
  --ink-soft: #4d555b;
  --muted: #7a8086;
  --line: #ddd5c9;
  --dark: #1f2a30;
  --dark-2: #283740;
  --accent: #9a7a52;
  --accent-strong: #7f6240;
  --accent-soft: #e9dfd0;
  --wa: #1f9d55;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -24px rgba(31, 42, 48, .35);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

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

.skip { position: absolute; left: -9999px; top: 0; background: var(--dark); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografia ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  letter-spacing: -.01em;
  line-height: 1.04;
}
h1 em { font-style: italic; color: var(--accent-strong); }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -.005em;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
}
.eyebrow--light { color: #cdb38f; }

.lead { font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--ink-soft); max-width: 36em; margin-top: 22px; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--dark);
  background: var(--dark); color: #fff;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 20px; height: 20px; fill: currentColor; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn--light { background: #fff; color: var(--dark); border-color: #fff; }
.btn--light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--dark); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: .88rem; }

.link { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, .9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand picture { flex-shrink: 0; }
.brand__logo { display: block; height: 36px; width: auto; max-width: none; }
@media (max-width: 520px) { .brand { gap: 10px; } .brand__logo { height: 28px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand__sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px;
    border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) 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.5px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(0,0,0,.3);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__cta { margin-top: 18px; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 var(--section-y); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.creds { display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.creds li { flex: 1 1 150px; padding: 18px 18px 0 0; display: flex; flex-direction: column; }
.creds li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.creds strong { font-size: .92rem; }
.creds span { font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) {
  .creds { display: grid; grid-template-columns: 1fr 1fr; }
  .creds li:nth-child(3) { padding-left: 0; border-left: 0; }
}

.hero__photo { position: relative; margin: 0; }
.hero__photo::before {
  content: ""; position: absolute; inset: 28px -18px -18px 28px;
  border: 1px solid var(--accent); border-radius: var(--radius-lg);
}
.hero__photo picture, .hero__photo img {
  position: relative; border-radius: var(--radius-lg); width: 100%;
  aspect-ratio: 4 / 5; object-fit: cover; background: #d9d6d1;
}
.hero__photo picture { box-shadow: var(--shadow); }
.hero__placeholder {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(154,122,82,.35), transparent 60%),
    linear-gradient(160deg, var(--dark-2), var(--dark));
  color: #e9e4dc; overflow: hidden;
}
.hero__monogram {
  display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
  border: 1px solid rgba(205,179,143,.7);
  font-family: var(--serif); font-size: 3.4rem; font-weight: 500; letter-spacing: .06em; color: #e6d3b5;
}
.hero__ph-name { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: #fff; margin-top: 8px; }
.hero__ph-sub { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #bfb9b0; }
.hero__photo figcaption { position: absolute; left: 18px; bottom: 18px; }
.tag {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: .8rem; font-weight: 600; color: var(--ink);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 340px; width: 78%; margin: 8px auto 0; order: -1; }
  /* sem foto: o bloco com as iniciais vem depois do texto e fica mais baixo */
  .hero__photo:has(.hero__placeholder) { order: 0; width: calc(100% - 12px); max-width: none; margin: 8px 0 0; }
  .hero__placeholder { aspect-ratio: auto; min-height: 260px; }
  .hero__monogram { width: 96px; height: 96px; font-size: 2.5rem; }
  .hero__photo::before { inset: 18px -12px -12px 18px; }
}

/* ---------- Seções ---------- */

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #e9e4dc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__intro { color: #bfb9b0; }

.section__head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__intro { color: var(--ink-soft); margin-top: 16px; }

/* ---------- Sobre ---------- */

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: #d9d6d1; }
.about__body { color: var(--ink-soft); font-size: 1.04rem; }
.about__body h2 { color: var(--ink); margin-bottom: 24px; }
.timeline {
  grid-column: 1 / -1; margin-top: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.timeline li { padding: 22px 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.timeline li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.timeline__year { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--accent-strong); line-height: 1; }
.timeline strong { display: block; font-size: .98rem; line-height: 1.4; }
.timeline span:not(.timeline__year) { display: block; font-size: .88rem; color: var(--muted); margin-top: 4px; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li:nth-child(3) { padding-left: 0; border-left: 0; }
  .timeline li:nth-child(n+3) { padding-top: 26px; }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li, .timeline li + li { padding: 20px 0 0; border-left: 0; }
}

/* ---------- Cabeçalho de seção dividido ---------- */

.section__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 64px; align-items: end; }
.section__head--split .section__intro { margin: 0; }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }

/* ---------- Abas (procedimentos) ---------- */

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 999px; padding: 6px; background: var(--bg); margin-bottom: 36px; max-width: 640px; }
.tabs__btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 0; border-radius: 999px; padding: 12px 18px; background: transparent; cursor: pointer;
  font: 600 .98rem/1.2 var(--sans); color: var(--ink-soft); transition: background .25s, color .25s;
}
.tabs__kicker { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong); font-weight: 700; }
.tabs__btn.is-active { background: var(--dark); color: #fff; }
.tabs__btn.is-active .tabs__kicker { color: #cdb38f; }
.js .tabpanel[hidden] { display: none; }

/* ---------- Procedimentos (acordeão) ---------- */

.procs { border-top: 1px solid var(--ink); }
.proc { border-bottom: 1px solid var(--line); }
.proc summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 44px; align-items: center; gap: 20px;
  padding: 26px 0;
}
.proc summary::-webkit-details-marker { display: none; }
.proc__num { font-family: var(--serif); font-size: 1.15rem; color: var(--accent-strong); }
.proc__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.1; color: var(--ink); }
.proc__short { color: var(--ink-soft); font-size: .95rem; }
.proc__icon { justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .25s, border-color .25s, transform .3s; }
.proc__icon::before, .proc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s; }
.proc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.proc summary:hover .proc__icon { border-color: var(--ink); }
.proc[open] .proc__icon { background: var(--dark); border-color: var(--dark); }
.proc[open] .proc__icon::before, .proc[open] .proc__icon::after { background: #fff; }
.proc[open] .proc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.proc__body { padding: 0 0 34px 84px; animation: procIn .35s ease; }
@keyframes procIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.proc__lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 46em; margin-bottom: 24px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0; }
.facts div { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; }
.facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: .93rem; color: var(--ink); line-height: 1.5; }
.facts--light div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.facts--light dt { color: #cdb38f; }
.facts--light dd { color: #ece6dd; }
.facts--dark div { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.facts--dark dt { color: #cdb38f; }
.facts--dark dd { color: #e2dcd2; }

@media (max-width: 760px) {
  .proc summary { grid-template-columns: 40px 1fr 40px; gap: 6px 14px; padding: 22px 0; }
  .proc__short { grid-column: 2 / 3; grid-row: 2; font-size: .88rem; }
  .proc__icon { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .proc__body { padding: 0 0 28px 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .facts div { padding: 14px 14px; }
  .facts dd { font-size: .86rem; }
  .facts div:first-child { grid-column: 1 / -1; }
}

/* ---------- Bioplastia ---------- */

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.bio {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0;
  background: var(--dark); color: #e9e4dc; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 40px; position: relative;
}
.bio::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 0% 0%, rgba(154,122,82,.28), transparent 60%); pointer-events: none; }
.bio__intro { position: relative; padding: clamp(28px, 4vw, 48px); border-right: 1px solid rgba(255,255,255,.08); }
.bio__intro h3 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; color: #fff; margin: 6px 0 14px; }
.bio__intro > p { color: #cfc9c0; }
.bio__regions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.bio__btn {
  position: relative; text-align: left; cursor: pointer;
  padding: 16px 18px 16px 44px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.03);
  color: #fff; font: 600 .95rem/1.2 var(--sans);
  transition: background .25s, border-color .25s, color .25s;
}
.bio__btn::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; border: 1.5px solid #cdb38f; transition: background .25s, box-shadow .25s;
}
.bio__btn:hover { border-color: #cdb38f; }
.bio__btn.is-active { background: #f3ebe0; border-color: #f3ebe0; color: var(--dark); }
.bio__btn.is-active::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(154,122,82,.25); }

.bio__panels { position: relative; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.bio__panel h4 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; color: #fff; margin-bottom: 12px; }
.bio__panel > p { color: #cfc9c0; max-width: 34em; }
.bio__panel .facts { margin-top: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .bio__panel .facts { grid-template-columns: 1fr; } }
.bio__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #cdb38f; margin-bottom: 10px; }
.js .bio__panel[hidden] { display: none; }
.js .bio__panel:not([hidden]) { animation: procIn .35s ease; }
.bio__panel + .bio__panel { margin-top: 32px; }
.js .bio__panel + .bio__panel { margin-top: 0; }
.bio__note { margin-top: auto; padding-top: 24px; font-size: .82rem; color: #a9a39a; }

@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; }
  .bio__intro { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Tecnologias (visualizador) ---------- */

.techx { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.techx__menu { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 100px; }
.techx__btn {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: #bfb9b0; font: 600 .98rem/1.25 var(--sans); transition: background .2s, color .2s, border-color .2s;
}
.techx__n { font-family: var(--serif); font-size: 1rem; color: #8f887e; min-width: 22px; }
.techx__label sub { font-size: .7em; }
.techx__btn:hover { color: #fff; background: rgba(255,255,255,.04); }
.techx__btn.is-active { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(205,179,143,.45); }
.techx__btn.is-active .techx__n { color: #cdb38f; }

.techx__panel {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-2);
}
.js .techx__panel[hidden] { display: none; }
.js .techx__panel:not([hidden]) { animation: procIn .4s ease; }
.techx__panel + .techx__panel { margin-top: 24px; }
.js .techx__panel + .techx__panel { margin-top: 0; }
.techx__visual { background: #172025; padding: 26px 26px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.techx__visual svg { display: block; width: 100%; height: auto; border-radius: 12px 12px 0 0; }
.techx__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 26px; }
.techx__text { padding: clamp(24px, 3.5vw, 40px); }
.techx__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #cdb38f; margin-bottom: 8px; }
.techx__text h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 500; margin-bottom: 14px; }
.techx__text > p { color: #cfc9c0; max-width: 44em; }
.techx__text .facts { margin-top: 24px; }

.techx__cta {
  margin-top: 36px; padding: 26px 30px; border-radius: var(--radius-lg);
  background: var(--accent-strong); color: #f3e9da;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.techx__cta p { margin: 0; max-width: 40em; }
.techx__cta strong { color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; display: block; }

@media (max-width: 900px) {
  .techx { grid-template-columns: 1fr; }
  .techx__menu { position: static; flex-direction: row; overflow-x: auto; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .techx__menu::-webkit-scrollbar { display: none; }
  .techx__btn { flex: none; border-color: rgba(255,255,255,.14); border-radius: 999px; padding: 11px 16px; font-size: .9rem; }
  .techx__visual { padding: 16px 16px 0; }
}

/* ---------- Como funciona ---------- */

.how { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.how__photo { margin: 0; position: relative; }
.how__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: #2a2f33; }
.how__photo figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(246,243,238,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column;
}
.how__photo figcaption strong { font-size: .95rem; }
.how__photo figcaption span { font-size: .85rem; color: var(--muted); }
.how__content h2 { margin-bottom: 34px; }

.timeline-v { position: relative; margin-bottom: 34px; }
.timeline-v::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline-v li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 26px; }
.timeline-v li:last-child { padding-bottom: 0; }
.timeline-v__n {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--accent);
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--accent-strong);
}
.timeline-v h3 { font-size: 1.08rem; font-weight: 700; margin: 10px 0 6px; }
.timeline-v p { color: var(--ink-soft); font-size: .96rem; }

@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how__photo { max-width: 420px; }
}

/* ---------- Atendimento ---------- */

.places { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.place {
  position: relative; background: var(--surface); border-radius: var(--radius-lg); padding: 30px 28px;
  display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.place:not(.place--contact):hover { border-color: var(--accent-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.place__pin { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); margin-bottom: 22px; }
.place__pin svg { width: 22px; height: 22px; fill: var(--accent-strong); }
.place__area { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 6px; }
.place h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; margin-bottom: 10px; }
.place address { color: var(--ink-soft); margin-bottom: 24px; }
.place__links { display: flex; gap: 8px; margin-top: auto; }
.place__links a {
  flex: 1; text-align: center; padding: 11px 12px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s;
}
.place__links a:hover { border-color: var(--ink); background: var(--bg); }
.place--contact { background: var(--dark); border-color: var(--dark); color: #cfc9c0; }
.place--contact .place__area { color: #cdb38f; }
.place--contact h3 { color: #fff; }
.place__phone { margin: 4px 0 24px; }
.place__phone a { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: #fff; text-decoration: none; }
.place--contact .btn { margin-top: auto; }
@media (max-width: 960px) { .places { grid-template-columns: 1fr 1fr; } .place--contact { grid-column: 1 / -1; } }
@media (max-width: 620px) { .places { grid-template-columns: 1fr; } }

/* ---------- Antes e depois ---------- */

.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-flow: dense; gap: 22px; }
.ba { margin: 0; }
.ba__frame {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
}
@media (min-width: 700px) { .ba--larga { grid-column: span 2; } }
@media (max-width: 699px) { .ba--larga .ba__frame { grid-template-columns: 1fr; } }
.ba__lado { position: relative; overflow: hidden; background: var(--bg-alt); }
.ba__frame--montagem { display: block; position: relative; }
.ba__frame--montagem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__frame--montagem .ba__label--depois { top: calc(50% + 10px); }
.ba__frame--horizontal .ba__label--depois { top: 10px; left: calc(50% + 10px); }
.ba__lado img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__label {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(29,35,39,.72); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
}
.ba figcaption { margin-top: 12px; }
.ba figcaption strong { display: block; font-size: 1rem; }
.ba figcaption span { font-size: .88rem; color: var(--muted); }

/* placeholder enquanto não há fotos */
.ba--placeholder .ba__frame {
  aspect-ratio: 1 / 1; gap: 0;
  border: 1px dashed var(--line); background: var(--surface);
}
.ba--placeholder .ba__half { display: grid; place-items: center; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ba--placeholder .ba__half + .ba__half { border-left: 1px dashed var(--line); background: var(--bg); }

.disclaimer { margin-top: 28px; font-size: .84rem; color: var(--muted); max-width: 60em; }

/* ---------- Footer ---------- */

.footer { background: #172025; color: #a9a39a; padding: 64px 0 28px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__logo { display: block; width: 132px; height: auto; margin-bottom: 18px; }
.footer__name { font-family: var(--serif); font-size: 1.7rem; color: #fff; margin-bottom: 12px; }
.footer__title { color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul li + li { margin-top: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .82rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Página de texto (política) ---------- */

.doc { padding: clamp(40px, 6vw, 72px) 0 var(--section-y); }
.doc .container { max-width: 820px; }
.doc h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.7rem; margin: 44px 0 14px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--accent-strong); }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }

/* ---------- Animação de entrada ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
