/* ==========================================================================
   Dr. Sérgio de Paoli — Cirurgia Facial
   Folha de estilos principal (mobile-first, sem dependências)
   --------------------------------------------------------------------------
   1. Fontes          6. Seções da home      11. Página de procedimento
   2. Tokens          7. Carrossel           12. Páginas internas / legais
   3. Base            8. Cards               13. Utilitários / animações
   4. Componentes     9. Contato / rodapé    14. Breakpoints
   5. Cabeçalho      10. Menu lateral
   ========================================================================== */

/* 1. Fontes (self-hosted, subset latin) ----------------------------------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Istok Web";
  src: url("../fonts/istok-web-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Istok Web";
  src: url("../fonts/istok-web-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens (paleta e tipografia originais) ------------------------------- */
:root {
  --c-white: #ffffff;
  --c-gray: #8b8b8b;
  --c-text: #313131;
  --c-accent: #3c3c3c;
  --c-black: #000000;
  --c-bg: #111111;
  --c-panel: #313131;
  --c-navy: #152535; /* azul-marinho das artes do Instagram */
  --c-blue: #4f78a8; /* azul-aço discreto, tom médico */
  --c-blue-soft: #a9c6e3;
  --grad-blue: linear-gradient(90deg, #b4d0ea 0%, #7ea3cc 55%, #4f78a8 100%);
  --glow-blue: none;
  --c-line-light: #f5f5f5;
  --c-pill: #d9d9d9;
  --c-glass: rgba(255, 255, 255, 0.125);
  --c-glass-2: rgba(255, 255, 255, 0.18);
  --c-border-soft: rgba(175, 175, 175, 0.29);
  --c-wpp: #1faf38;

  --f-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Istok Web", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-label: 0.875rem;
  --fs-title: 1.625rem;
  --fs-body: 0.9375rem;

  --radius: 20px;
  --container: 1300px;
  --gutter: 20px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1.1;
}
b,
strong {
  font-weight: 700;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--c-blue-soft);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--c-blue);
  color: var(--c-black);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100000;
  padding: 10px 18px;
  background: var(--c-white);
  color: var(--c-black);
  border-radius: 200px;
  font-family: var(--f-display);
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}
.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;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 4. Componentes ---------------------------------------------------------- */

/* Rótulo com efeito máquina de escrever (ex.: "Sobre o Profissional") */
.label {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: 4.2px;
  line-height: 1.4;
  min-height: 1.4em;
  text-align: center;
  color: var(--c-white);
  margin-bottom: 14px;
}
.label--dark {
  color: var(--c-text);
}
.label--left {
  text-align: left;
}
.typing::after {
  content: "|";
  margin-left: 2px;
  animation: blink 1s infinite;
}
@keyframes blink {
  25%,
  75% {
    opacity: 0;
  }
}

/* Títulos de seção (Space Grotesk 300, entrelinha justa como no original) */
.title {
  font-size: var(--fs-title);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--c-white);
}
.title--dark {
  color: var(--c-text);
}
.title--left {
  text-align: left;
}
.title b,
.title strong {
  font-weight: 700;
}
@media (max-width: 599px) {
  .title br {
    display: none;
  }
}
.nowrap {
  white-space: nowrap;
}

.lead {
  max-width: 680px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
}
.lead--dark {
  color: var(--c-text);
}

/* Linha vertical decorativa à esquerda (assinatura visual do site) */
.ruled {
  position: relative;
  padding-left: 20px;
}
.ruled::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: var(--rule-h, 100%);
  background: currentColor;
  opacity: 0.9;
}

/* Botão pílula com ícone de seta circular */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 4px 4px 4px 22px;
  border-radius: 200px;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn__icon {
  flex: none;
  width: 40px;
  height: 40px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__icon,
.btn:focus-visible .btn__icon {
  transform: rotate(45deg);
}
.btn:hover,
.btn:focus-visible {
  transform: translate(-3px, -3px);
}
.btn--light {
  background: var(--c-white);
  color: var(--c-black);
  animation: pulseGlow 2s ease-in-out infinite;
}
.btn--light:hover {
  box-shadow: 10px 10px 15px 0 rgba(255, 255, 255, 0.5);
}
.btn--dark {
  background: var(--c-black);
  color: var(--c-white);
  animation: pulseGlowBlack 2s ease-in-out infinite;
}
.btn--dark:hover {
  box-shadow: 10px 10px 15px 0 rgba(0, 0, 0, 0.5);
}
.btn--static {
  animation: none;
}
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(255, 255, 255, 0.2),
      0 0 20px rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.45), 0 0 24px rgba(255, 255, 255, 0.35),
      0 0 36px rgba(255, 255, 255, 0.25);
  }
}
@keyframes pulseGlowBlack {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.25), 0 0 12px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 0, 0, 0.35), 0 0 36px rgba(0, 0, 0, 0.25);
  }
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-center {
  display: flex;
  justify-content: center;
}

/* Fundos de seção (preservam as texturas originais) */
.bg-dark-texture {
  background: #121212 url("../img/bg-sobre-m.webp") top center / cover no-repeat;
}
.bg-marble {
  background: #f4f4f4 url("../img/bg-marmore-m.webp") center / cover no-repeat;
  color: var(--c-text);
}
.bg-results {
  background: #141414 url("../img/bg-resultados-m.webp") top center / cover no-repeat;
}

/* 5. Cabeçalho ------------------------------------------------------------ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 0.5px solid var(--c-border-soft);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  padding-block: 18px;
  transition: height 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(0, 0, 0, 0.88);
  border-color: transparent;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
}
.header.is-scrolled .header__inner {
  height: 72px;
}
.header__logo img {
  width: 150px;
  height: auto;
  transition: width 0.4s var(--ease);
}
.nav {
  display: none;
}
.nav__list {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav__link {
  display: block;
  padding: 10px 14px;
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--c-gray);
  transition: color 0.25s;
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"],
.nav__link.is-active {
  color: var(--c-white);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.social {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.97);
  transition: opacity 0.25s, transform 0.25s;
}
.social a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}
.social svg {
  width: 26px;
  height: 26px;
}
.social .ico-sm {
  width: 22px;
  height: 22px;
}
.header .social li + li {
  display: none;
}
@media (min-width: 480px) {
  .header .social li + li {
    display: list-item;
  }
}
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  box-shadow: 0 -8px 0 var(--c-white), 0 8px 0 var(--c-white);
}

/* 6. Seções da home ------------------------------------------------------- */

/* Hero com vídeo */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 78svh;
  padding: calc(var(--header-h) + 40px) 0 48px;
  overflow: hidden;
  background: #0b0f17;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero__media video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__media video.is-playing {
  opacity: 1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(347deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.92) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.85) 100%);
}
.hero__content {
  max-width: 560px;
}
.hero__kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--f-display);
  font-size: 0.8125rem;
  letter-spacing: 4.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero__title {
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero__title b {
  font-weight: 700;
}
.hero__text {
  margin: 18px 0 26px;
  max-width: 440px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

/* Sobre */
.about {
  padding: 56px 0 80px;
}
.about__heading {
  margin-bottom: 40px;
}
.about__grid {
  display: grid;
  gap: 40px;
}
.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
  min-height: 360px;
}
.collage img {
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.collage__a {
  width: 78%;
  aspect-ratio: 231 / 346;
  object-fit: cover;
}
.collage__b {
  justify-self: end;
  width: 100%;
  aspect-ratio: 369 / 246;
  object-fit: cover;
}
.collage__c {
  position: absolute;
  left: 22%;
  top: 34%;
  width: 56%;
  aspect-ratio: 1;
  object-fit: cover;
  z-index: 2;
}
.about__text {
  max-width: 640px;
  font-size: var(--fs-body);
  line-height: 1.5;
}
.stats {
  --rule-h: 100%;
  margin: 34px 0 30px;
  padding: 8px 0 4px 26px;
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.3;
  list-style: none;
}
.stats li + li {
  margin-top: 12px;
}
.stats strong {
  font-weight: 700;
}

/* Método */
.method {
  display: grid;
  gap: 28px;
  margin-top: 72px;
}
.method__intro {
  --rule-h: 70%;
  max-width: 420px;
}
.method__intro .title {
  font-size: 1.875rem;
  margin-bottom: 18px;
}
.method__grid {
  display: grid;
  gap: 16px;
  list-style: none;
}
.method-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius);
  background: var(--c-glass);
  transition: background-color 0.35s, transform 0.35s var(--ease);
}
.method-card:hover {
  background: var(--c-glass-2);
  transform: translateY(-3px);
}
.method-card img {
  flex: none;
  width: 46px;
  height: 46px;
}
.method-card h3 {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.method-card p {
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* Procedimentos */
.procedures {
  padding: 64px 0;
}

/* Resultados */
.results {
  padding: 56px 0 120px;
}
.results .carousel {
  margin-top: 34px;
}
.results .btn-center {
  margin-top: 20px;
}

/* Depoimentos */
.testimonials {
  display: grid;
  gap: 32px;
  margin-top: 80px;
}
.testimonials__intro {
  --rule-h: 100%;
  max-width: 500px;
}
.testimonials__intro .title {
  font-size: 1.6875rem;
  margin-bottom: 18px;
}
.testimonials__intro p {
  font-size: 0.875rem;
}

/* Instagram */
.insta {
  margin-top: 96px;
  text-align: center;
}
.insta__handle {
  font-size: 0.8125rem;
  word-break: break-all;
}
.insta__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  padding: 30px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}
.insta__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.insta__avatar {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1a1a1a;
  padding: 3px;
  padding: 2.5px;
  background: var(--grad-blue);
  box-shadow: var(--glow-blue);
}
.insta__name {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.insta__user {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}
.insta__text {
  max-width: 560px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}
.insta__name,
.insta__user {
  display: block;
}

/* Feed do Instagram (estilo widget de feed) */
.ig {
  max-width: 1060px;
  margin: 30px auto 0;
  padding: 22px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  text-align: left;
}
.ig__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 22px;
}
.ig__profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ig__profile:hover .insta__user {
  color: var(--c-white);
}
.ig__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
}
.ig-post {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #1c1c1c;
  isolation: isolate;
}
.ig-post__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.ig-post__type {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.ig-post__type svg {
  width: 22px;
  height: 22px;
}
.ig-post__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.ig-post__caption {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.ig-post__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.ig-post__cta svg {
  width: 13px;
  height: 13px;
}
.ig-post:hover .ig-post__overlay,
.ig-post:focus-visible .ig-post__overlay {
  opacity: 1;
}
.ig-post:hover .ig-post__img {
  transform: scale(1.04);
}
.ig-post__bar {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  color: #fff;
  transition: opacity 0.35s;
}
.ig-post:hover .ig-post__bar {
  opacity: 0;
}
.ig-post__bar img {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #fff;
}
.ig-post__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}
.ig-post__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 0.8125rem;
}
.ig-post__meta time,
.ig-post__user {
  font-size: 0.6875rem;
  opacity: 0.85;
}
.ig-post__logo {
  flex: none;
  width: 20px;
  height: 20px;
}
.ig__more {
  margin-top: 24px;
}
@media (min-width: 900px) {
  .ig {
    padding: 30px;
  }
  .ig__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .ig-post__bar {
    display: flex;
  }
}

/* 7. Carrossel (scroll-snap nativo + JS leve) ----------------------------- */
.carousel {
  position: relative;
  --per-view: 1.15;
  --gap: 16px;
}
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--gap) * (var(--per-view) - 1))) / var(--per-view));
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 2px 14px;
  margin: -10px -2px -14px;
  list-style: none;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__track > * {
  scroll-snap-align: start;
  min-width: 0;
}
.carousel__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 18px;
}
.carousel__dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.carousel__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.7;
  transition: background-color 0.3s, opacity 0.3s;
}
.carousel__dot[aria-current="true"]::before {
  background: var(--c-pill);
  border-color: var(--c-pill);
  opacity: 1;
}
.carousel--dark-dots .carousel__dot {
  color: var(--c-accent);
}
.carousel--dark-dots .carousel__dot[aria-current="true"]::before {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.carousel__nav {
  display: none;
}

/* 8. Cards ---------------------------------------------------------------- */

/* Card de procedimento (imagem de fundo + degradê, como no original) */
.proc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 340px;
  height: 100%;
  padding: 30px 28px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--c-white);
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.proc-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.proc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.94) 78%);
}
.proc-card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.29);
}
.proc-card:hover .proc-card__img {
  transform: scale(1.05);
}
.proc-card__title {
  font-size: 1.25rem;
  font-weight: 300;
}
.proc-card__title::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  margin-top: 14px;
  background: var(--c-white);
}
.proc-card__text {
  font-size: 0.875rem;
  line-height: 1.25;
}
.proc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}
.proc-card__more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.proc-card:hover .proc-card__more svg {
  transform: translate(2px, -2px);
}
.proc-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Card de resultado (antes e depois) */
.result-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
  transition: transform 0.4s var(--ease);
}
.result-card:hover {
  transform: translateY(-3px);
}
.result-card img {
  width: 100%;
  aspect-ratio: 435 / 550;
  object-fit: cover;
}
.result-card button {
  display: block;
  width: 100%;
  cursor: zoom-in;
}

/* Card de depoimento */
.review {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  min-height: 300px;
  padding: 44px 34px;
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-text);
}
.review__name {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-accent);
}
.review__stars {
  display: flex;
  gap: 5px;
  color: var(--c-blue);
}
.review__stars svg {
  width: 19px;
  height: 18px;
}
.review__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* 9. Contato / rodapé ----------------------------------------------------- */
.contact {
  position: relative;
  padding: 120px 0 40px;
}
.contact__seal {
  position: absolute;
  left: 50%;
  top: 0;
  width: 160px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 12.8px 34px rgba(0, 0, 0, 0.4)) drop-shadow(0 4.3px 8.5px rgba(0, 0, 0, 0.2));
}
.contact .label {
  margin-bottom: 44px;
}
.contact__grid {
  display: grid;
  gap: 40px;
}
.contact__intro {
  --rule-h: 145px;
  color: var(--c-accent);
}
.contact__intro .title {
  margin-bottom: 18px;
  font-size: 1.625rem;
}
.contact__intro p {
  max-width: 440px;
  font-size: 0.875rem;
}
.contact__list {
  display: grid;
  gap: 16px;
  list-style: none;
  font-style: normal;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--c-text);
}
.contact__item svg {
  flex: none;
  width: 32px;
  height: 32px;
  color: var(--c-black);
}
.contact__item a:hover {
  text-decoration: underline;
}
.contact .btn-row {
  margin-top: 26px;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 80px;
  text-align: center;
  color: var(--c-accent);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  list-style: none;
  font-family: var(--f-display);
  font-size: 0.8125rem;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-credentials {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}
.footer-legal {
  max-width: 720px;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #5a5a5a;
}
.footer-credit {
  padding: 1px 20px;
  border-radius: 200px;
  background: var(--c-pill);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-accent);
}
.footer-credit a {
  font-weight: 700;
}

/* WhatsApp flutuante */
.wpp-float {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  isolation: isolate;
  transition: transform 0.3s var(--ease);
}
.wpp-float:hover {
  transform: scale(1.06);
}
.wpp-float img {
  width: 48px;
  height: 48px;
}
.wpp-float::before,
.wpp-float::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 50%;
  background: var(--c-wpp);
  opacity: 0.9;
  animation: wppPulse 2s ease-out infinite;
}
.wpp-float::after {
  animation-delay: 1s;
}
@keyframes wppPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* 10. Menu lateral (mobile/tablet) --------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(86%, 500px);
  height: 100%;
  padding: 15vh 24px 40px;
  overflow-y: auto;
  background: var(--c-panel);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.drawer.is-open .drawer__overlay {
  opacity: 1;
}
.drawer.is-open .drawer__panel {
  transform: none;
}
.drawer__close {
  position: absolute;
  top: 18px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--c-white);
}
.drawer__close svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.drawer__logo {
  width: 203px;
  margin-bottom: 36px;
}
.drawer__nav ul {
  list-style: none;
  text-align: center;
}
.drawer__nav a {
  display: block;
  padding: 12px 20px;
  font-family: var(--f-display);
  font-size: 1.0625rem;
  color: var(--c-white);
  transition: color 0.25s;
}
.drawer__nav a:hover,
.drawer__nav a[aria-current="page"] {
  color: var(--c-gray);
}
.drawer .social {
  margin-top: 28px;
}
.drawer .btn {
  margin-top: 30px;
}
body.no-scroll {
  overflow: hidden;
}

/* Lightbox simples para os resultados */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-height: 86vh;
  width: auto;
  border-radius: var(--radius);
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
}
.lightbox__close svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* 11. Página de procedimento --------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62svh;
  padding: calc(var(--header-h) + 60px) 0 48px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(17, 17, 17, 0.96) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
}
.page-hero__figure {
  display: none;
}
.page-hero__inner {
  position: relative;
}
.page-hero__text {
  max-width: 640px;
}
.page-hero--plain {
  min-height: 0;
  padding-bottom: 56px;
  background: #121212 url("../img/bg-sobre-m.webp") top center / cover no-repeat;
}
.page-hero--plain::before {
  display: none;
}
.page-hero__title {
  font-size: 2.25rem;
  line-height: 0.95;
  margin: 8px 0 18px;
}
.page-hero__lead {
  max-width: 600px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  font-family: var(--f-display);
  font-size: 0.8125rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.6;
}
.breadcrumb a:hover {
  color: var(--c-white);
}
.breadcrumb [aria-current] {
  color: var(--c-white);
}

.article {
  padding: 56px 0 80px;
}
.article__layout {
  display: grid;
  gap: 40px;
}
.prose {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.prose h2 {
  margin: 48px 0 16px;
  font-size: 1.625rem;
  line-height: 1.05;
  color: var(--c-white);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 28px 0 10px;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-white);
}
.prose ul {
  margin: 0 0 1em;
  padding-left: 0;
  list-style: none;
}
.prose li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--grad-blue);
}
.prose a {
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.summary-box {
  margin: 0 0 40px;
  padding: 24px 26px;
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius);
  background: var(--c-glass);
}
.summary-box h2 {
  margin: 0 0 10px !important;
  font-family: var(--f-display);
  font-size: 0.8125rem !important;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75) !important;
}
.summary-box p {
  margin: 0;
  color: var(--c-white);
}
.notice {
  margin-top: 40px;
  padding: 18px 22px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, #b4d0ea, #4f78a8) 1;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(126, 163, 204, 0.08), rgba(126, 163, 204, 0) 80%);
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.aside-card {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 26px;
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius);
  background: var(--c-glass);
}
.aside-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}
.aside-card .aside-card__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.05;
  color: var(--c-white);
}
.aside-card .aside-card__meta {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* FAQ (acordeão nativo <details>) */
.faq {
  padding: 64px 0;
}
.faq__list {
  max-width: 820px;
  margin: 36px auto 0;
}
.faq__item {
  border-bottom: 1px solid rgba(49, 49, 49, 0.18);
}
.faq__item summary {
  position: relative;
  display: block;
  padding: 22px 44px 22px 0;
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), margin 0.3s;
}
.faq__item[open] summary::after {
  transform: rotate(225deg);
  margin-top: -3px;
}
.faq__answer {
  padding: 0 0 22px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--c-accent);
}

.faq--dark {
  margin-top: 96px;
  padding-top: 0;
}
.faq--dark .faq__item {
  border-color: rgba(255, 255, 255, 0.16);
}
.faq--dark .faq__item summary {
  color: var(--c-white);
}
.faq--dark .faq__answer {
  color: rgba(255, 255, 255, 0.8);
}

.related {
  padding: 64px 0 80px;
}
.related .carousel {
  margin-top: 36px;
}

/* Grade da página /procedimentos/ */
.proc-grid {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  list-style: none;
}

/* 12. Páginas internas / legais ------------------------------------------ */
.legal {
  padding: 56px 0 80px;
}
.legal .prose {
  margin-inline: auto;
}
.page-404 {
  display: grid;
  place-items: center;
  min-height: 80svh;
  padding: 140px 0 80px;
  text-align: center;
}
.page-404 .title {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.page-404 p {
  margin: 0 auto 28px;
  max-width: 460px;
}

/* 13. Animações de entrada (equivalentes às do site original) ------------ */
.js .reveal {
  opacity: 0;
  filter: blur(14px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out, filter 0.6s ease-out;
  will-change: opacity, transform;
}
.js .reveal--up {
  transform: translateY(20px);
}
.js .reveal--down {
  transform: translateY(-20px);
}
.js .reveal--left {
  transform: translateX(-20px);
}
.js .reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.d-1 {
  transition-delay: 0.2s !important;
}
.d-2 {
  transition-delay: 0.4s !important;
}
.d-3 {
  transition-delay: 0.6s !important;
}

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

/* 14. Breakpoints ---------------------------------------------------------- */
@media (min-width: 600px) {
  :root {
    --fs-title: 2.125rem;
    --gutter: 28px;
  }
  .hero__title {
    font-size: 2.75rem;
  }
  .collage {
    min-height: 470px;
  }
  .method__grid {
    grid-template-columns: 1fr 1fr;
  }
  .carousel {
    --per-view: 2.1;
  }
  .results .carousel {
    --per-view: 2.5;
  }
  .proc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 900px) {
  :root {
    --fs-title: 2.8125rem;
  }
  .bg-dark-texture,
  .page-hero--plain {
    background-image: url("../img/bg-sobre.webp");
  }
  .bg-marble {
    background-image: url("../img/bg-marmore.webp");
  }
  .bg-results {
    background-image: url("../img/bg-resultados.webp");
  }
  .carousel {
    --per-view: 3;
    --gap: 20px;
  }
  .results .carousel {
    --per-view: 3;
  }
  .about__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
  }
  .collage {
    margin: 0;
  }
  .about__text {
    padding-top: 10px;
  }
  .method {
    grid-template-columns: minmax(260px, 400px) 1fr;
    align-items: center;
    gap: 48px;
    margin-top: 96px;
  }
  .method__intro .title {
    font-size: 2.1875rem;
  }
  .testimonials {
    grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
    align-items: center;
    gap: 40px;
  }
  .testimonials .carousel {
    --per-view: 2;
  }
  .testimonials__intro .title {
    font-size: 2.25rem;
  }
  .contact__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
  }
  .contact__intro .title {
    font-size: 2.1875rem;
  }
  .insta__box {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 30px;
  }
  .article__layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 64px;
    align-items: start;
  }
  .proc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-hero__title {
    font-size: 3.5rem;
  }
  .page-hero:not(.page-hero--plain) {
    min-height: 600px;
    align-items: center;
    padding-bottom: 64px;
  }
  .page-hero:not(.page-hero--plain) .page-hero__img {
    object-position: center;
  }
  .page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: center;
  }
  .page-hero__figure {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
  .prose h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1025px) {
  .nav {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
  .header__inner {
    height: 112px;
  }
  .header.is-scrolled .header__inner {
    height: 80px;
  }
  .header__logo img {
    width: 170px;
  }
  .header.is-scrolled .header__logo img {
    width: 150px;
  }
  .hero {
    min-height: 855px;
    max-height: 100svh;
    align-items: center;
    padding-bottom: 80px;
  }
  .hero__title {
    font-size: 3.5rem;
  }
  .about {
    padding: 50px 0 120px;
  }
  .collage {
    min-height: 520px;
  }
  .carousel {
    --per-view: 4;
    --gap: 22px;
  }
  .results .carousel {
    --per-view: 4;
    --gap: 30px;
  }
  .testimonials .carousel {
    --per-view: 2.4;
  }
  .contact {
    padding-top: 150px;
  }
  .contact__seal {
    width: 217px;
  }
  .wpp-float {
    right: 22px;
    bottom: 48px;
  }
  .carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: -40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
  }
  .carousel:hover .carousel__nav,
  .carousel__nav:focus-visible {
    opacity: 1;
  }
  .carousel__nav:hover {
    background: rgba(0, 0, 0, 0.8);
  }
  .carousel__nav svg {
    width: 18px;
    height: 18px;
  }
  .carousel__nav--prev {
    left: -14px;
  }
  .carousel__nav--next {
    right: -14px;
  }
  .carousel__nav[disabled] {
    display: none;
  }
}

@media (min-width: 1281px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

/* ==========================================================================
   15. Movimento (estilo editorial) — leve, progressivo e acessível
   - Títulos com palavras reveladas por máscara (JS divide as palavras)
   - Imagens reveladas por cortina (clip-path) + leve zoom-out
   - Parallax, saída do hero e barra de progresso via CSS scroll-driven
     animations (sem JS; navegadores sem suporte simplesmente não animam)
   - Transição suave entre páginas (View Transitions)
   ========================================================================== */
:root {
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* Títulos: palavras sobem de dentro de uma máscara */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.14em 0.04em 0.1em;
  margin: -0.14em -0.04em -0.1em;
}
.split .w__i {
  display: inline-block;
}
.js .split .w__i {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.15s var(--ease-expo);
  transition-delay: calc(var(--i) * 45ms + var(--d, 0ms));
}
.js .split.in-view .w__i {
  transform: none;
}
.split.d-1 { --d: 200ms; }
.split.d-2 { --d: 400ms; }
.split.d-3 { --d: 600ms; }

/* Imagens: cortina de baixo para cima + zoom-out */
.js .mask-reveal {
  clip-path: inset(100% -40px -40px -40px);
  scale: 1.06;
  transition: clip-path 1.3s var(--ease-expo), scale 1.8s var(--ease-expo);
}
.js .mask-reveal.in-view {
  clip-path: inset(-40px -40px -40px -40px);
  scale: 1;
}

/* Linhas verticais decorativas são "desenhadas" ao entrar na tela */
.js .ruled.reveal::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease-expo) 0.35s;
}
.js .ruled.reveal.in-view::before {
  transform: none;
}

/* Botões magnéticos (o deslocamento é aplicado via JS na propriedade translate) */
.btn {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), translate 0.6s var(--ease-expo);
}

/* Detalhe no hover dos cards de procedimento */
.proc-card__title::after {
  transition: width 0.6s var(--ease-expo);
}
.proc-card:hover .proc-card__title::after {
  width: 90px;
}

/* Header: esconde ao rolar para baixo, volta ao rolar para cima */
.header {
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s,
    transform 0.6s var(--ease-expo);
}
.header.is-hidden {
  transform: translateY(-100%);
}
.header__progress {
  display: none;
}

/* Entrada do hero */
.hero__media img,
.hero__media video,
.page-hero__img {
  animation: heroZoom 2.6s var(--ease-expo) both;
}
@keyframes heroZoom {
  from {
    scale: 1.12;
  }
}
@media (min-width: 900px) {
  .page-hero:not(.page-hero--plain) .page-hero__img {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Transição suave entre páginas (Chrome/Edge/Safari recentes) */
  @view-transition {
    navigation: auto;
  }
  .header {
    view-transition-name: site-header;
  }
  ::view-transition-old(root) {
    animation: vtOut 0.3s ease both;
  }
  ::view-transition-new(root) {
    animation: vtIn 0.6s var(--ease-expo) both;
  }
  @keyframes vtOut {
    to {
      opacity: 0;
    }
  }
  @keyframes vtIn {
    from {
      opacity: 0;
      translate: 0 14px;
    }
  }

  @supports (animation-timeline: scroll()) {
    /* Barra de progresso de leitura (dourado da marca) */
    .header__progress {
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      background: var(--grad-blue);
      box-shadow: var(--glow-blue);
      transform-origin: left;
      animation: progress linear both;
      animation-timeline: scroll(root);
    }
    @keyframes progress {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }
  }

  @supports (animation-timeline: view()) {
    @media (min-width: 900px) {
      /* Parallax suave na colagem do "Sobre" */
      .parallax {
        animation: plx linear both;
        animation-timeline: view();
        animation-range: cover;
      }
      .collage__a { --plx: 30px; }
      .collage__b { --plx: 70px; }
      .collage__c { --plx: -35px; }
      @keyframes plx {
        from {
          translate: 0 var(--plx, 40px);
        }
        to {
          translate: 0 calc(var(--plx, 40px) * -1);
        }
      }

      /* Hero: mídia desce mais devagar e o texto se dissolve ao sair */
      .hero__media {
        animation: heroOut linear both;
        animation-timeline: view();
        animation-range: exit;
      }
      @keyframes heroOut {
        to {
          translate: 0 22%;
        }
      }
      .hero__content {
        animation: heroText linear both;
        animation-timeline: view();
        animation-range: exit -10% exit 70%;
      }
      @keyframes heroText {
        to {
          opacity: 0;
          translate: 0 -60px;
        }
      }

      /* Selo do contato gira levemente conforme a rolagem */
      .contact__seal {
        animation: sealSpin linear both;
        animation-timeline: view();
        animation-range: cover;
      }
      @keyframes sealSpin {
        from {
          rotate: -14deg;
        }
        to {
          rotate: 14deg;
        }
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .split .w__i,
  .js .mask-reveal,
  .js .ruled.reveal::before {
    transform: none;
    clip-path: none;
    scale: none;
  }
}

/* Espaço para o selo do rodapé (metade dele sobe sobre a última seção) */
main > section:last-child {
  padding-bottom: 150px;
}
@media (min-width: 1025px) {
  main > section:last-child {
    padding-bottom: 190px;
  }
}

/* Detalhes em azul neon suave (degradê fino) */
.proc-card:hover .proc-card__title::after {
  background: var(--grad-blue);
  box-shadow: var(--glow-blue);
}
.method-card {
  transition: background-color 0.35s, transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.method-card:hover {
  border-color: rgba(169, 198, 227, 0.65);
  box-shadow: 0 12px 36px -16px rgba(79, 120, 168, 0.35);
}
.nav__link {
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--grad-blue);
  box-shadow: var(--glow-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}
.nav__link:hover::after,
.nav__link.is-active::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}
.ig-post__cta svg,
.proc-card__more svg {
  color: var(--c-blue-soft);
}
.faq__item[open] summary {
  color: var(--c-blue-soft);
}
.faq:not(.faq--dark) .faq__item[open] summary {
  color: #3d6a9a;
}
