/* =========================================================
   Dr. Ramon Maciel — Reabilitação Oral
   Tokens do Design System "Ramon Maciel"
   ========================================================= */
:root {
  /* Paleta da marca */
  --brand-navy-900: #15253F;
  --brand-navy-700: #2C3D5B;
  --brand-slate:    #7C8594;
  --brand-silver:   #C3C3C3;
  --brand-sand:     #EFE8E2;
  --brand-gold:     #BF9A60;
  --white:          #FFFFFF;

  /* Papéis */
  --surface:         var(--brand-sand);
  --surface-raised:  var(--white);
  --surface-inverse: var(--brand-navy-900);
  --ink:             var(--brand-navy-900);
  --ink-soft:        var(--brand-navy-700);
  --ink-inverse:     var(--brand-sand);
  --accent:          var(--brand-gold);
  --on-accent:       var(--brand-navy-900);
  --hairline:        var(--brand-silver);

  /* Tipografia */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: Montserrat, system-ui, sans-serif;

  /* Espaços e raios */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px;  --space-12: 48px; --space-24: 96px;
  --radius-sm: 2px; --radius-md: 4px; --radius-pill: 999px;
  --shadow-soft: 0 12px 32px rgba(21, 37, 63, 0.10);

  --container: 1160px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 var(--space-4); }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }

/* ---------- Tipografia ---------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); color: var(--ink); }
.display { font-size: clamp(42px, 6vw, 68px); line-height: 1.04; font-weight: 300; letter-spacing: -0.01em; }
.display em { font-style: italic; color: var(--ink-soft); }
.h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.12; }
.h3 { font-size: 24px; line-height: 30px; font-weight: 500; }
.eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.lead { font-size: 18px; line-height: 30px; color: var(--ink-soft); max-width: 520px; }
.muted { color: var(--ink-soft); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--space-3) var(--space-8);
  min-height: 48px;
  font: 600 13px/20px var(--font-sans);
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--surface-inverse); color: var(--ink-inverse); }
.btn--primary:hover { background: var(--brand-navy-700); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: #CDAA74; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--ink-inverse); }
.btn--block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, height .3s;
}
/* Fundo com desfoque num pseudo-elemento: backdrop-filter no próprio
   cabeçalho prenderia o menu mobile (position: fixed) dentro dele. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(239, 232, 226, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header.is-scrolled { border-color: var(--hairline); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.header__logo { flex-shrink: 0; }
.header__logo img { width: 160px; height: auto; }
.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav a:not(.btn) {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft); position: relative; padding: var(--space-2) 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 10px 22px; }
.nav a { white-space: nowrap; }
@media (max-width: 1100px) {
  .nav { gap: var(--space-6); }
  .nav__cta { padding: 10px 16px; }
}

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 72px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12); align-items: center; }
.hero__text .display { margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }

.hero__visual { position: relative; height: 520px; }
.hero__slab {
  position: absolute; left: 12%; top: 0; width: 58%; height: 100%;
  background: var(--surface-inverse); overflow: hidden;
}
.hero__mark { position: absolute; width: 46%; left: 27%; top: 22%; opacity: .95; }
.stem { position: absolute; width: 6px; border-radius: var(--radius-pill); background: var(--accent); }
.stem--1 { left: 14%; top: 8%; height: 18%; }
.stem--2 { left: 86%; top: 70%; height: 22%; }
.stem--3 { left: 14%; top: 78%; height: 14%; opacity: .5; }
.hero__block { position: absolute; }
.hero__block--navy { right: 0; top: 0; width: 30%; height: 58%; background: var(--brand-navy-700); }
.hero__block--gold { right: 0; top: calc(58% + 12px); width: 30%; height: 26%; background: var(--accent); }

.hero__facts {
  list-style: none; margin: 72px auto 0; padding-top: var(--space-8); padding-bottom: var(--space-8);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  border-top: 1px solid var(--hairline);
}
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1.2; }
.hero__facts span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Seções ---------- */
.section { padding: var(--space-24) 0; }
.section--white { background: var(--surface-raised); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.section__head .eyebrow { justify-content: center; }
.section__head--left { text-align: left; margin: 0; }
.section__head--left .eyebrow { justify-content: flex-start; }
.section__head--left .h1 { margin-bottom: var(--space-4); }

/* Sobre */
.about { display: grid; grid-template-columns: 0.85fr 1fr; gap: 72px; align-items: center; }
.about__photo { margin: 0; position: relative; }
.about__photo::after {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 1px solid var(--accent); z-index: -1;
}
.photo-slot {
  aspect-ratio: 4 / 5; background: var(--surface-raised);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
  color: var(--ink-soft); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.photo-slot img { width: 28%; opacity: .2; }
.about__text .h1 { margin-bottom: var(--space-2); }
.cro { font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: var(--space-6); }
.checklist { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 7px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}

/* Tratamentos */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.card {
  background: var(--surface); border-radius: var(--radius-md); padding: var(--space-8);
  border: 1px solid transparent; transition: box-shadow .3s, transform .3s, border-color .3s;
}
.card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); border-color: var(--hairline); }
.card__icon { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--space-6); }
.card .h3 { margin-bottom: var(--space-3); }
.card p { color: var(--ink-soft); font-size: 15px; line-height: 24px; margin: 0; }

/* Processo */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); counter-reset: s; }
.step { border-top: 1px solid var(--hairline); padding-top: var(--space-6); position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--accent); }
.step__num { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--accent); margin-bottom: var(--space-4); font-weight: 300; }
.step .h3 { margin-bottom: var(--space-2); }
.step p { color: var(--ink-soft); font-size: 15px; line-height: 24px; }

/* Citação */
.quote { background: var(--surface-inverse); color: var(--ink-inverse); padding: var(--space-24) 0; position: relative; overflow: hidden; }
.quote__inner { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-12); align-items: center; max-width: 920px; }
.quote__mark { width: 100%; opacity: .9; }
.quote blockquote { margin: 0; border-left: 1px solid var(--accent); padding-left: var(--space-12); }
.quote p { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; margin-bottom: var(--space-6); }
.quote cite { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }

/* Dúvidas */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--hairline); }
.faq__list details:first-child { border-top: 1px solid var(--hairline); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: var(--space-6) 48px var(--space-6) 0; position: relative;
  font-family: var(--font-display); font-size: 22px; line-height: 1.3; font-weight: 500;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--accent); transition: transform .3s;
}
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list details p { color: var(--ink-soft); padding-bottom: var(--space-6); max-width: 600px; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact__info .h1 { margin-bottom: var(--space-4); }
.contact__info > p { color: var(--ink-soft); }
.contact__list { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; gap: var(--space-6); }
.contact__list span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--space-1); }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--accent); }

.form { background: var(--surface); padding: var(--space-12) var(--space-8); border-radius: var(--radius-md); display: grid; gap: var(--space-6); }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: 400 16px/24px var(--font-sans); color: var(--ink);
  background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4); width: 100%; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; }
.field.is-invalid input { border-color: #A3392F; }
.form__error { color: #A3392F; font-size: 14px; margin: 0; }

/* Rodapé */
.footer { background: var(--surface-inverse); color: var(--brand-silver); padding: 72px 0 var(--space-12); border-top: 1px solid var(--brand-navy-700); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-12); align-items: end; }
.footer__logo { width: 130px; height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: center; }
.footer__nav a { text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-sand); }
.footer__nav a:hover { color: var(--accent); }
.footer__legal { font-size: 13px; text-align: right; }
.footer__legal p { margin: 0 0 var(--space-1); }
.footer__ig {
  display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3);
  color: var(--brand-sand); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em;
}
.footer__ig svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.footer__ig .ig-dot { fill: var(--accent); stroke: none; }
.footer__ig:hover span { color: var(--accent); }

/* WhatsApp */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: var(--radius-pill);
  background: var(--accent); display: grid; place-items: center;
  box-shadow: var(--shadow-soft); transition: transform .25s;
}
.whatsapp:hover { transform: scale(1.06); }
.whatsapp svg { width: 28px; height: 28px; fill: var(--on-accent); }

/* Selo do Google (topo) e estrelas */
.rating {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-8); padding: var(--space-2) var(--space-4);
  background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  font-size: 14px; color: var(--ink-soft); text-decoration: none;
}
.rating[hidden] { display: none; }
.rating strong { color: var(--ink); }
.rating__stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }

/* Situações */
.situations { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.situation {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid transparent; border-radius: var(--radius-md);
  padding: var(--space-8); text-decoration: none; color: var(--ink);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.situation:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.situation__quote { font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 1.3; margin-bottom: var(--space-6); }
.situation__tag {
  margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--hairline);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
.situation__text { font-size: 15px; line-height: 24px; color: var(--ink-soft); margin: var(--space-2) 0 var(--space-6); }
.situation__link { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: var(--space-2); }
.situation__link::after { content: "→"; color: var(--accent); transition: transform .3s; }
.situation:hover .situation__link::after { transform: translateX(4px); }

/* Credenciais e números */
.credentials { list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.credentials li {
  display: grid; grid-template-columns: 130px 1fr; gap: var(--space-4);
  padding: var(--space-3) 0; border-bottom: 1px solid var(--hairline); font-size: 15px;
}
.credentials li:first-child { border-top: 1px solid var(--hairline); }
.credentials span { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); padding-top: 2px; }
.stats {
  list-style: none; margin: 72px 0 0; padding: var(--space-8) 0 0;
  border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6);
}
.stats strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: 52px; line-height: 1; margin-bottom: var(--space-2); }
.stats span { font-size: 13px; color: var(--ink-soft); }

/* Antes e depois */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.ba-case { margin: 0; }
.ba-case figcaption { text-align: center; margin-top: var(--space-3); font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.ba {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-md); background: var(--surface-raised); user-select: none;
}
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__placeholder {
  height: 100%; display: grid; place-items: center;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
.ba__before .ba__placeholder { background: var(--brand-silver); }
.ba__after .ba__placeholder { background: var(--surface-raised); }
.ba__label {
  position: absolute; top: var(--space-3); z-index: 2; pointer-events: none;
  padding: var(--space-1) 10px; border-radius: var(--radius-sm);
  background: rgba(21, 37, 63, .8); color: var(--brand-sand);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.ba__label--before { left: var(--space-3); }
.ba__label--after { right: var(--space-3); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; pointer-events: none;
  width: 2px; margin-left: -1px; background: var(--white);
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315253F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 4px 14px rgba(21, 37, 63, .25);
}
.ba__range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba-note { text-align: center; font-size: 13px; color: var(--ink-soft); margin: var(--space-8) 0 0; }

/* Depoimentos em vídeo (formato vertical, como Reels/Shorts) */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); max-width: 960px; margin: 0 auto; }
.video { margin: 0; }
.video__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0;
  border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
  background: var(--surface-inverse) center / cover no-repeat;
}
.video__frame:disabled { cursor: default; }
.video__frame::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/monograma-rm-branco.png") center 24% / 24% no-repeat;
  opacity: .12;
}
.video__frame.has-video::before { display: none; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .25s;
}
.video__play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-left: 18px solid var(--brand-navy-900); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.video__frame:not(:disabled):hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__frame:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.video__soon {
  position: absolute; left: 0; right: 0; bottom: var(--space-6); text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-sand);
}
.video__frame.has-video .video__soon { display: none; }
.video figcaption { margin-top: var(--space-3); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.video figcaption strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.video figcaption span { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }

/* Acolhimento */
.care { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.care__text > p { color: var(--ink-soft); font-size: 17px; line-height: 28px; }
.care__text .checklist { margin: var(--space-6) 0 var(--space-8); }

/* Avaliações */
.google-score { display: inline-flex; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 0; color: var(--ink-soft); font-size: 15px; }
.google-score strong { color: var(--ink); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.review {
  margin: 0; background: var(--surface); border-radius: var(--radius-md); padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.review blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4; }
.review figcaption { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.reviews__more { text-align: center; margin: var(--space-12) 0 0; }

/* Fotos do ensaio (só recorte por CSS; cor e luz originais) */
.about__img, .care__photo, .quote__photo, .lab img, .hero__photo { height: auto; }
.about__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.care__photo {
  display: block; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; margin-top: var(--space-8);
  object-fit: cover; object-position: 60% 30%; border-radius: var(--radius-md);
}
.quote__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-md); }
/* Tecnologia: faixa azul profunda, fluxo digital em 6 etapas */
.tech {
  --ink: var(--brand-sand);
  --ink-soft: var(--brand-silver);
  --hairline: rgba(239, 232, 226, 0.16);
  background: var(--surface-inverse); color: var(--ink);
}
.tech__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.tech__item {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: var(--radius-md); background: rgba(239, 232, 226, 0.04);
  transition: border-color .3s, transform .3s;
}
.tech__item:hover { border-color: var(--accent); transform: translateY(-4px); }
.tech__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tech__body { padding: var(--space-6); }
.tech__num { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--accent); margin-bottom: var(--space-2); }
.tech__body .h3 { margin-bottom: var(--space-2); }
.tech__body p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-soft); }
.ba { aspect-ratio: 3 / 2; }

/* Vídeos próprios (vertical 9:16) */
.video-player { margin: 0; }
.video-player video {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16;
  border-radius: var(--radius-md); background: #000; object-fit: cover;
}
.tech__feature {
  display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 56px; align-items: center;
  max-width: 900px; margin: 0 auto 72px;
}
.tech__feature-text .h2 { margin-bottom: var(--space-4); }
.tech__feature-text > p:not(.eyebrow) { color: var(--ink-soft); }
.tech__feature-text .checklist { margin-top: var(--space-6); }
.about__video {
  display: grid; grid-template-columns: 150px 1fr; gap: var(--space-6); align-items: center;
  margin: var(--space-8) 0 0; padding-top: var(--space-6); border-top: 1px solid var(--hairline);
}
.about__video figcaption { font-size: 14px; line-height: 22px; color: var(--ink-soft); }
.about__video figcaption strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: var(--space-1); }

/* Caso real (Resultados) */
.h2 { font-family: var(--font-display); color: var(--ink); font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.case { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-6); align-items: stretch; margin-bottom: 72px; }
.case img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); object-fit: cover; }
.case__portrait { height: 100% !important; min-height: 100%; object-position: 50% 25%; }
.case__side { display: grid; grid-template-columns: 1fr 0.62fr; grid-template-rows: auto 1fr; gap: var(--space-6); }
.case__smile { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.case__text { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-8); display: flex; flex-direction: column; }
.case__text .h2 { margin-bottom: var(--space-3); }
.case__text p:not(.eyebrow) { color: var(--ink-soft); font-size: 15px; line-height: 24px; }
.case__text .btn { margin-top: auto; align-self: flex-start; }
.case__portrait-2 { aspect-ratio: 3 / 4; height: 100% !important; object-position: 50% 30%; }
.section__subhead { text-align: center; margin: 0 auto var(--space-8); }
.section__subhead .h2 { margin-bottom: var(--space-2); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-12); }
  .situations { grid-template-columns: repeat(2, 1fr); }
  .about, .faq, .contact, .care { gap: var(--space-12); }
}

/* Menu vira botão de três linhas quando não cabe numa linha só */
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: var(--space-6);
    transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: var(--space-4) 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: var(--space-8); min-height: 52px; padding: 10px 22px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .header__logo img { width: 132px; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__grid, .about, .faq, .contact, .care { grid-template-columns: 1fr; }
  .ba-grid, .reviews { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .videos { grid-template-columns: 1fr; max-width: 340px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-8); margin-top: var(--space-12); }
  .hero__visual { height: 340px; }
  .hero__facts { grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-12); }
  .about__photo { max-width: 420px; }
  .section { padding: 64px 0; }
  .quote { padding: 64px 0; }
  .quote__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .quote__mark { width: 64px; }
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .tech__feature { grid-template-columns: 1fr; gap: var(--space-8); margin-bottom: var(--space-12); }
  .tech__feature .video-player { max-width: 340px; width: 100%; margin: 0 auto; }
  .case { grid-template-columns: 1fr; margin-bottom: var(--space-12); }
  .case__portrait { height: auto !important; aspect-ratio: 4 / 5; }
  .case__side { grid-template-columns: 1fr; }
  .case__portrait-2 { display: none; }
  .care__photo { max-width: none; aspect-ratio: 4 / 3; }
  .quote blockquote { padding-left: var(--space-6); }
  .footer__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; align-items: center; }
  .footer__legal { text-align: center; }
}

@media (max-width: 560px) {
  .container { padding: 0 var(--space-4); }
  .cards, .steps, .situations, .tech__grid { grid-template-columns: 1fr; }
  .credentials li { grid-template-columns: 1fr; gap: var(--space-1); }
  .about__video { grid-template-columns: 120px 1fr; gap: var(--space-4); }
  .stats strong { font-size: 42px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__photo::after { inset: 16px -12px -12px 16px; }
  .form { padding: var(--space-8) var(--space-6); }
  .whatsapp { right: 16px; bottom: 16px; }
}

/* Depoimentos em vídeo próprio */
.video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--radius-md); background: #000; object-fit: cover; }

/* Retrato do Sobre: estúdio escuro, assinatura sobre a foto */
.about__photo { isolation: isolate; }
.about__img { border-radius: 2px; box-shadow: 0 30px 60px -30px rgba(10, 20, 40, .55); }
.about__sign {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px;
  padding: 72px 28px 24px; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
}
.about__sign img { width: 38px; height: auto; }
.about__sign span { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--accent);
  font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.about__sign small { margin-top: 4px; font-family: var(--font-sans); font-size: 10px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }

/* Janela flutuante do Instagram */
.igpop {
  position: fixed; left: 24px; bottom: 24px; z-index: 59; width: 340px; max-width: calc(100vw - 112px);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s;
}
.igpop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.igpop__card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; padding-right: 36px;
  background: var(--brand-navy-900, #0f1b30); color: #fff; text-decoration: none;
  border: 1px solid rgba(201, 164, 106, .45); border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
}
.igpop__avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%; padding: 2px;
  background: linear-gradient(135deg, #f2c46d, #d6466f 55%, #8a3ab9);
}
.igpop__avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--brand-navy-900, #0f1b30); object-fit: cover; }
.igpop__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.igpop__text strong { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.igpop__short { display: none; }
.igpop__text span { font-size: 12px; line-height: 1.35; color: var(--brand-sand); }
.igpop__cta {
  flex: none; margin-left: auto; padding: 7px 12px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.igpop__card:hover .igpop__cta { filter: brightness(1.08); }
.igpop__close {
  position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: none;
  color: var(--brand-sand); font-size: 20px; line-height: 1; cursor: pointer; border-radius: 50%;
}
.igpop__close:hover, .igpop__close:focus-visible { color: #fff; background: rgba(255, 255, 255, .08); }
.igmini {
  position: fixed; left: 24px; bottom: 24px; z-index: 59; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-navy-900, #0f1b30);
  border: 1px solid rgba(201, 164, 106, .45); box-shadow: var(--shadow-soft);
  opacity: 0; transform: scale(.8); pointer-events: none; transition: opacity .3s, transform .3s;
}
.igmini.is-open { opacity: 1; transform: none; pointer-events: auto; }
.igmini svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.igmini .ig-dot { fill: var(--accent); stroke: none; }
@media (max-width: 640px) {
  .igpop { left: 12px; bottom: 16px; max-width: calc(100vw - 96px); }
  .igpop__card { gap: 10px; padding: 10px 12px; padding-right: 30px; }
  .igpop__avatar { width: 42px; height: 42px; }
  .igpop__long, .igpop__cta { display: none; }
  .igpop__short { display: inline; }
  .igmini { left: 16px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .igpop, .igmini { transition: none; } }

/* Botão animado do WhatsApp nas Dúvidas */
.wa-cta {
  position: relative; display: inline-flex; align-items: center; gap: 16px; margin-top: var(--space-8);
  padding: 12px 26px 12px 12px; border-radius: var(--radius-pill); isolation: isolate;
  background: linear-gradient(100deg, transparent 35%, rgba(201, 164, 106, .4) 50%, transparent 65%) no-repeat, var(--brand-navy-900);
  background-size: 250% 100%, auto; background-position: 160% 0, 0 0; color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(21, 37, 63, .6);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
  animation: waFloat 4s ease-in-out infinite, waShine 3.2s ease-in-out infinite;
}
.wa-cta::after { /* contorno dourado que acende */
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(201, 164, 106, .55);
  animation: waGlow 3.2s ease-in-out infinite;
}
.wa-cta__icon {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent);
}
.wa-cta__icon::before, .wa-cta__icon::after { /* ondas pulsando */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
  animation: waPulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.wa-cta__icon::after { animation-delay: 1.2s; }
.wa-cta__icon svg { width: 24px; height: 24px; fill: var(--brand-navy-900); animation: waRing 3.2s ease-in-out infinite; }
.wa-cta__text { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; letter-spacing: .04em; line-height: 1.2; }
.wa-cta__text small { font-size: 10px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.wa-cta__arrow { font-size: 20px; color: var(--accent); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.wa-cta:hover, .wa-cta:focus-visible { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 40px -14px rgba(21, 37, 63, .7); animation-play-state: paused; }
.wa-cta:hover .wa-cta__arrow, .wa-cta:focus-visible .wa-cta__arrow { transform: translateX(6px); }
.wa-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@keyframes waShine { 0%, 55% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }
@keyframes waGlow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes waRing { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-8deg); } 86% { transform: rotate(4deg); } }
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .wa-cta, .wa-cta::after, .wa-cta__icon::before, .wa-cta__icon::after, .wa-cta__icon svg { animation: none; }
}

/* Botões em motion: "Quero avaliar meu caso" e "Conversar sem compromisso" */
.btn--motion {
  position: relative; gap: 14px; isolation: isolate;
  background: linear-gradient(100deg, transparent 35%, rgba(201, 164, 106, .45) 50%, transparent 65%) no-repeat, var(--surface-inverse);
  background-size: 250% 100%, auto; background-position: 160% 0, 0 0;
  box-shadow: 0 12px 26px -12px rgba(21, 37, 63, .6);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
  animation: waShine 3.6s ease-in-out infinite;
}
.btn--motion::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid var(--accent); animation: waGlow 3.6s ease-in-out infinite;
}
.btn--motion .btn__arrow {
  font-style: normal; color: var(--accent); display: inline-block;
  animation: btnNudge 1.8s ease-in-out infinite;
}
.btn--motion:hover, .btn--motion:focus-visible {
  background-color: var(--brand-navy-700); transform: translateY(-3px);
  box-shadow: 0 18px 34px -14px rgba(21, 37, 63, .7);
}
.btn--motion:hover .btn__arrow { animation: none; transform: translateX(6px); transition: transform .3s; }
@keyframes btnNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* "Quero avaliar meu caso" nos cartões: sublinhado dourado que corre e seta que chama */
.situation__link { align-items: center; }
.situation__link > span {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 1px;
  padding-bottom: 3px; animation: linkDraw 3.6s ease-in-out infinite;
}
.situation__link::after { animation: btnNudge 1.8s ease-in-out infinite; }
.situation:hover .situation__link > span { animation: none; background-size: 100% 1px; transition: background-size .4s; }
.situation:hover .situation__link::after { animation: none; transform: translateX(6px); }
.situation:nth-child(2) .situation__link > span { animation-delay: .4s; }
.situation:nth-child(3) .situation__link > span { animation-delay: .8s; }
.situation:nth-child(4) .situation__link > span { animation-delay: 1.2s; }
@keyframes linkDraw {
  0% { background-size: 0 1px; background-position: 0 100%; }
  45%, 55% { background-size: 100% 1px; background-position: 0 100%; }
  56% { background-position: 100% 100%; }
  100% { background-size: 0 1px; background-position: 100% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn--motion, .btn--motion::after, .btn--motion .btn__arrow, .situation__link > span, .situation__link::after { animation: none; }
}

/* Botão dourado "Agendar avaliação" do topo, em motion */
.btn--motion-gold {
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) no-repeat, var(--accent);
  background-size: 250% 100%, auto; background-position: 160% 0, 0 0;
  color: var(--on-accent); box-shadow: 0 14px 30px -12px rgba(160, 120, 60, .7);
  animation: waShine 3.2s ease-in-out infinite, goldPulse 2.6s ease-out infinite;
}
.btn--motion-gold::after { border-color: var(--brand-navy-900); opacity: .25; animation: none; }
.btn--motion-gold .btn__arrow { color: var(--brand-navy-900); }
.btn--motion-gold:hover, .btn--motion-gold:focus-visible { background: #CDAA74; animation: none; }
@keyframes goldPulse {
  0% { box-shadow: 0 14px 30px -12px rgba(160, 120, 60, .7), 0 0 0 0 rgba(193, 154, 96, .55); }
  70%, 100% { box-shadow: 0 14px 30px -12px rgba(160, 120, 60, .7), 0 0 0 14px rgba(193, 154, 96, 0); }
}
/* Botão do menu: só o brilho passando */
.nav__cta--shine {
  background: linear-gradient(100deg, transparent 35%, rgba(201, 164, 106, .5) 50%, transparent 65%) no-repeat, var(--surface-inverse);
  background-size: 250% 100%, auto; background-position: 160% 0, 0 0;
  animation: waShine 4s ease-in-out infinite;
}

/* Mapa do consultório */
.map { position: relative; margin-top: 72px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--hairline); }
.map__frame { display: block; width: 100%; height: 420px; border: 0; }
.map__card {
  position: absolute; right: 24px; bottom: 40px; max-width: 340px; padding: 24px 26px;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: 0 18px 40px -16px rgba(21, 37, 63, .45);
}
.map__card .eyebrow { margin-bottom: var(--space-2); }
.map__addr { font-family: var(--font-display); font-size: 21px; line-height: 1.3; margin: 0 0 var(--space-4); color: var(--ink); }
.map__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.map__waze { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); }
@media (max-width: 640px) {
  .map { margin-top: 48px; }
  .map__frame { height: 300px; }
  .map__card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .btn--motion-gold, .nav__cta--shine { animation: none; } }

/* Janela do Instagram em motion (mesmo estilo do botão do WhatsApp) */
.igpop__cta { /* brilho atravessando + pulso */
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%) no-repeat, var(--accent);
  background-size: 250% 100%, auto; background-position: 160% 0, 0 0;
  animation: waShine 3.2s ease-in-out infinite, goldPulse 2.6s ease-out infinite;
}
.igpop__card:hover .igpop__cta { animation: none; transform: scale(1.06); transition: transform .3s; }
@media (prefers-reduced-motion: reduce) {
  .igpop__cta { animation: none; }
}

/* Vídeos curtos nos cartões de Tecnologia (sem som, em loop) */
.tech__video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #0b1424; }

/* Seção só com o mapa */
.section--map .map { margin-top: 0; }
.map__info { font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 var(--space-4); }
.map__info a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); }

/* Acolhimento: mesmo detalhe dourado da foto do Sobre */
.care__frame { position: relative; isolation: isolate; max-width: 420px; margin: var(--space-8) 0 0; }
.care__frame .care__photo { margin-top: 0; max-width: none; box-shadow: 0 30px 60px -30px rgba(10, 20, 40, .45); }
.care__frame::after {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border: 1px solid var(--accent); border-radius: var(--radius-md);
}
@media (max-width: 640px) {
  .care__frame { max-width: none; margin-right: 12px; }
  .care__frame::after { inset: 16px -12px -12px 16px; }
}

/* ===== Retratos: mosaico embaralhado ===== */
.gallery {
  --ink: var(--brand-sand); --ink-soft: var(--brand-silver); --hairline: rgba(239, 232, 226, 0.16);
  background: var(--surface-inverse); color: var(--ink);
}
.gallery .ba-note { color: var(--ink-soft); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 15vw, 190px);
  grid-auto-flow: dense; gap: 12px;
}
.gallery__tile {
  position: relative; display: block; padding: 0; border: 0; margin: 0; overflow: hidden; cursor: zoom-in;
  border-radius: var(--radius-md); background: #0b1424;
}
.gallery__tile--v { grid-row: span 2; }
.gallery__tile--b { grid-column: span 2; grid-row: span 2; }
.gallery__tile img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .5s ease;
}
.gallery__tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid transparent;
  transition: border-color .3s; pointer-events: none;
}
.gallery__tile:hover img, .gallery__tile:focus-visible img { transform: scale(1.05); }
.gallery__tile:hover::after, .gallery__tile:focus-visible::after { border-color: var(--accent); }
.gallery__tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gallery__tile.is-swapping img { opacity: 0; transform: scale(1.04); }
@media (max-width: 640px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; }
}

/* Foto ampliada */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 18, 32, .94); display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 88vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(201, 164, 106, .6);
  background: rgba(21, 37, 63, .7); color: var(--accent); font-size: 28px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--accent); color: var(--brand-navy-900); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) { .gallery__tile img { transition: none; } }

/* ===== Destaque: prótese total personalizada ===== */
.denture {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
  margin-top: 96px; padding: 56px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--hairline);
}
.denture__text .h2 { margin: var(--space-2) 0 var(--space-4); }
.denture__text p { color: var(--ink-soft); }
.denture__text .btn { margin-top: var(--space-4); }
.denture__photos { position: relative; padding-bottom: 18%; }
.denture__photo {
  display: block; padding: 0; border: 0; background: #1a0f12; cursor: zoom-in; overflow: hidden;
  border-radius: var(--radius-md); box-shadow: 0 24px 50px -24px rgba(21, 37, 63, .55);
}
.denture__photo img { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.denture__photo:hover img, .denture__photo:focus-visible img { transform: scale(1.04); }
.denture__photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.denture__photo--a { width: 82%; position: relative; z-index: 1; }
.denture__photo--b {
  position: absolute; right: 0; bottom: 0; width: 56%; z-index: 2;
  outline: 6px solid var(--surface);
}
.denture__photo--b:focus-visible { outline: 2px solid var(--accent); }
.denture__photos::after { /* detalhe dourado atrás da foto principal */
  content: ""; position: absolute; left: 18px; top: 18px; width: 82%; aspect-ratio: 3 / 2;
  border: 1px solid var(--accent); border-radius: var(--radius-md); z-index: 0; transform: translate(-36px, -36px);
}
@media (max-width: 1024px) {
  .denture { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
}
@media (max-width: 640px) {
  .denture { margin-top: 64px; padding: 28px 20px 32px; }
  .denture__photos::after { transform: translate(-12px, -12px); left: 6px; top: 6px; }
}
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }

/* ===== Aviso de cookies (LGPD) ===== */
.cookies {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; width: min(560px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 20px; padding: 18px 20px;
  background: var(--brand-navy-900); color: var(--brand-sand);
  border: 1px solid rgba(201, 164, 106, .45); border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.cookies.is-open { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cookies__txt { margin: 0; font-size: 13px; line-height: 1.5; }
.cookies__acoes { display: flex; gap: 8px; flex-shrink: 0; }
.cookies__btn {
  font: 600 12px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
  padding: 11px 16px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid var(--accent);
}
.cookies__btn--nao { background: transparent; color: var(--brand-sand); border-color: rgba(239, 232, 226, .35); }
.cookies__btn--nao:hover { border-color: var(--brand-sand); }
.cookies__btn--sim { background: var(--accent); color: var(--brand-navy-900); }
.cookies__btn--sim:hover { background: #CDAA74; }
.cookies__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.footer__cookies { color: var(--brand-silver); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.footer__cookies:hover { color: var(--accent); }
@media (max-width: 640px) {
  .cookies { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; padding: 16px; }
  .cookies__acoes .cookies__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookies { transition: none; } }
