.journey-story {
  --journey-ink: #07394b;
  margin-block: 0;
  padding: 0;
  list-style: none;
  border-radius: .95rem;
  overflow: hidden;
  background: var(--journey-ink);
  color: white;
}
.journey-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(23rem, 55svh, 36rem);
}
.journey-visual {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.journey-scene:first-child .journey-visual { mask-image: linear-gradient(#000 84%, transparent); }
.journey-scene:last-child .journey-visual { mask-image: linear-gradient(transparent, #000 16%); }
.journey-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #062e40 0%, #062e40eb 22%, #062e4090 42%, transparent 68%);
}
.journey-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transition: opacity .2s ease;
}
#etapa-planejamento .journey-image,
#etapa-impressao .journey-image,
#etapa-acabamento .journey-image {
  width: 63%;
  margin-left: auto;
  object-fit: contain;
  object-position: center;
  mask-image: radial-gradient(ellipse at 57% 50%, #000 48%, transparent 80%);
}
#etapa-acabamento .journey-image,
#etapa-impressao .journey-image {
  mask-image: linear-gradient(90deg, transparent, #000 20% 95%, transparent),
              linear-gradient(transparent, #000 14% 86%, transparent);
  mask-composite: intersect;
}
.journey-scene.is-rendering:not(#etapa-escaneamento) .journey-image { opacity: 0; }
.journey-copy {
  padding: clamp(1.5rem, 5vw, 4.1rem);
  width: min(100%, 39rem);
}
.journey-copy h3 { margin: .7rem 0 0; font-size: clamp(1.9rem, 3.7vw, 3.3rem); line-height: 1.08; }
.journey-copy p { max-width: 35ch; margin: .65rem 0 0; color: #edf9fb; }
.journey-number {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.journey-number::before { content: ""; width: 2.1rem; height: 2px; border-radius: 2px; background: var(--verde); }
.journey-canvas { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; pointer-events: none; }
#etapa-escaneamento .journey-canvas { opacity: .42; }
.journey-chamber {
  position: absolute;
  inset: 0 2% 0 auto;
  width: min(58%, 39rem);
  mask-image: linear-gradient(90deg, transparent, #000 12% 94%, transparent);
}
.journey-chamber[hidden] { display: none; }
.journey-chamber img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.journey-chamber .journey-canvas { inset: 30% 22% auto; width: 56%; height: 60%; }

@media (max-width: 47.99rem) {
  .journey-scene { align-items: end; min-height: 0; }
  .journey-visual { position: relative; grid-row: 1; aspect-ratio: 1.55; width: 100%; mask-image: linear-gradient(transparent, #000 12% 79%, transparent); }
  .journey-scene:first-child .journey-visual { mask-image: linear-gradient(#000 79%, transparent); }
  .journey-scene:last-child .journey-visual { mask-image: linear-gradient(transparent, #000 12% 79%, transparent); }
  .journey-visual::after { background: linear-gradient(transparent 55%, var(--journey-ink)); }
  .journey-copy { position: relative; margin-top: -1.4rem; padding: 0 1.2rem 1.65rem; }
  .journey-copy h3 { font-size: clamp(1.6rem, 6.6vw, 2rem); }
  .journey-copy p { font-size: .95rem; }
  #etapa-planejamento .journey-image,
  #etapa-impressao .journey-image,
  #etapa-acabamento .journey-image { width: 100%; }
  .journey-canvas { width: 100%; }
  .journey-chamber { width: 90%; right: 5%; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-image { transition: none; }
}

.details-band {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 91% 40%, #08768c 0, var(--petroleo) 54%, #004e68 100%);
}

.details-layout {
  display: block;
  padding-block: clamp(3.25rem, 6.5vw, 6.25rem);
}
.details-transition {
  position: absolute;
  inset: auto 0 -1px;
  width: 100%;
  height: clamp(1.9rem, 4.2vw, 4.35rem);
  color: #f3faf8;
  pointer-events: none;
}

.details-copy { width: min(56%, 47rem); position: relative; z-index: 1; }
.details-copy h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 4rem); }
.details-copy .highlights { margin-block: 1.58rem 1.35rem; }
.details-copy .highlights li { min-height: 4.3rem; font-size: clamp(.82rem, 1.08vw, .98rem); }
.details-copy .button { white-space: normal; }

.details-layout .details-photo {
  position: absolute;
  inset: auto -9% -20% auto;
  width: min(61%, 65rem);
  height: 131%;
  object-fit: contain;
  object-position: right bottom;
  max-height: none;
  margin: 0;
  pointer-events: none;
}

.education {
  background: #f0f7f6;
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
}
.education-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
  align-items: end;
  gap: 1rem clamp(1.5rem, 4.5vw, 5rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.8rem);
}
.education-intro h2 { max-width: 19ch; text-wrap: balance; font-size: clamp(2rem, 3.65vw, 3.55rem); }
.education-intro p { max-width: 44ch; margin: 0; }
.asymmetry-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.asymmetry-gallery a {
  display: block;
  overflow: hidden;
  border-radius: clamp(.8rem, 1.7vw, 1.25rem);
}
.asymmetry-gallery a:focus-visible { outline-offset: 4px; }
.asymmetry-gallery a:hover img { filter: brightness(1.025); }
.asymmetry-gallery img { display: block; width: 100%; height: auto; }
.education-note { color: #385d6b; font-size: .88rem; margin: 1.2rem 0 0; }

.product-section { padding-block: 0 clamp(2rem, 5vw, 4rem); background: #f5faf8; }
.product-banner { position: relative; isolation: isolate; overflow: hidden; background: #f3faf8; }
.product-curves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.product-banner .product-layout {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: clamp(3.4rem, 6vw, 5.5rem) clamp(1.8rem, 4vw, 3.6rem);
}
.product-banner .product-copy { color: #fff; }
.product-banner .product-copy h2 { font-size: clamp(2.9rem, 5.5vw, 5.1rem); letter-spacing: -.037em; }
.product-banner .product-copy h2 span { max-width: 13ch; margin-top: .12em; }
.product-banner .product-copy p { color: #f0faf8; }
.product-banner .product-copy .button { background: #b3d53e; color: #173b2a; }
.product-banner .product-copy .button:hover { background: #c7e258; }
.product-banner .product-stage { margin-inline: 0; }
.product-banner .product-stage img {
  width: min(100%, 33rem);
  border-radius: 0;
  /* Matte traced from the original photograph. Embedded for file:// previews. */
  mask: url("data:image/svg+xml,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 viewBox%3D%220 0 508 508%22%3E%3Cdefs%3E%3Cfilter id%3D%22edge%22 x%3D%22-5%25%22 y%3D%22-5%25%22 width%3D%22110%25%22 height%3D%22110%25%22%3E %3CfeGaussianBlur stdDeviation%3D%22.62%22/%3E %3C/filter%3E%3C/defs%3E%3Cg fill%3D%22white%22 filter%3D%22url%28%23edge%29%22%3E%3Cpath d%3D%22M145 25 C171 20 193 19 215 19 C231 19 238 22 246 27 C263 19 284 17 312 17 C342 15 356 17 373 23 C404 40 433 64 452 97 C468 127 475 163 474 194 C474 207 472 217 457 224 C433 236 414 252 407 274 C399 299 403 325 409 349 C411 369 404 388 390 396 C373 407 348 409 330 401 C314 394 310 382 303 364 C295 343 284 333 266 328 C259 325 253 320 249 314 C242 320 235 323 227 328 C213 334 209 344 213 359 C217 374 229 388 230 400 C230 410 223 412 210 412 C182 411 157 407 141 398 C116 371 92 337 72 289 C58 256 50 224 50 192 C49 149 61 107 83 80 C102 56 122 38 145 25 Z%22/%3E%3Cpath d%3D%22M67 410 C66 399 96 393 147 391 C176 387 222 387 252 387 C302 387 392 390 425 399 C435 402 443 406 443 411 L443 456 C442 470 406 477 367 480 C299 485 169 484 108 475 C82 471 67 466 66 458 Z%22/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.product-banner .product-stage figcaption { color: #245363; padding-top: .45rem; }

@media (max-width: 48rem) {
  .details-transition { color: #06495e; }
  .product-banner { background: linear-gradient(#06495e 0 48%, #e9f4f2 86%); }
  .product-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5rem;
    background: linear-gradient(transparent, #e9f4f2 80%);
    z-index: -1;
  }
  .product-curves { top: 15rem; width: 128%; height: calc(100% - 15rem); }
  .product-banner .product-layout { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 2.8rem 1.4rem; }
  .product-banner .product-stage img { width: min(100%, 27rem); }
}

@media (max-width: 66rem) {
  .details-copy { width: 62%; }
  .details-copy .highlights li { min-height: 4.7rem; }
  .details-layout .details-photo { right: -12%; width: 58%; }
}
@media (max-width: 51rem) {
  .education-intro { grid-template-columns: 1fr; }
  .asymmetry-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asymmetry-gallery li:last-child { grid-column: 1 / -1; width: calc(50% - .375rem); justify-self: center; }
}
@media (max-width: 42rem) {
  .details-layout { padding-block: 2.9rem 0; }
  .details-copy { width: 100%; }
  .details-copy .highlights { margin-block: 1.3rem 1.15rem; }
  .details-layout .details-photo {
    position: relative;
    inset: auto;
    width: calc(100% + 1rem);
    max-width: none;
    height: clamp(15rem, 70vw, 23rem);
    object-fit: cover;
    object-position: 56% 36%;
    margin: .75rem -1rem 0 0;
  }
  .asymmetry-gallery { grid-template-columns: 1fr; }
  .asymmetry-gallery li:last-child { width: 100%; }
}

/* ===== Revisão Impeccable (dez/2026) ===== */
/* Abertura: dois caminhos, família e profissional */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.4rem; }
.hero-link { font-weight: 800; color: var(--petroleo); text-underline-offset: .25em; }
.hero-link:hover { color: #003f53; }

/* Jornada mais compacta */
.journey-scene { min-height: clamp(16rem, 34svh, 22rem); }
.journey-copy { padding-block: clamp(1.25rem, 3vw, 2.4rem); }
.journey-copy h3 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); }
@media (max-width: 47.99rem) {
  .journey-story { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .journey-story::-webkit-scrollbar { display: none; }
  .journey-scene { flex: 0 0 86%; scroll-snap-align: start; align-items: start; }
  .journey-scene + .journey-scene { border-left: 1px solid #ffffff1f; }
  .journey-visual, .journey-scene:first-child .journey-visual, .journey-scene:last-child .journey-visual { mask-image: linear-gradient(#000 70%, transparent); }
  .journey .section-intro .prototype-note::after { content: " Deslize para ver as 7 etapas."; }
}

/* A órtese: fatos concretos em lista, sem grade de ícones */
.details-copy .highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; margin-block: 1.6rem 1.5rem; }
.details-copy .highlights > div { padding: .95rem 0; border-top: 1px solid #72a9b9; }
.details-copy .highlights dt { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.02rem; }
.details-copy .highlights dd { margin: .3rem 0 0; color: #e3f2f5; font-size: .95rem; line-height: 1.45; max-width: 32ch; }
.highlights dt svg { width: 1.6rem; height: 1.6rem; flex: none; fill: none; stroke: #b9e437; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-views { margin: 0 auto; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); border: 0; }
.product-views .view-grid { max-width: none; grid-template-columns: 1.15fr 1fr 1fr; align-items: end; }
.product-views .view-grid img { aspect-ratio: 1; object-fit: cover; background: #f3f6f5; }
.product-views .prototype-note { margin-top: 1rem; }
@media (max-width: 47.99rem) {
  .details-copy .highlights { grid-template-columns: 1fr; }
  .product-views .view-grid { grid-template-columns: 1fr 1fr; }
  .product-views .view-grid figure:first-child { grid-column: 1 / -1; }
}

/* Personalização: no celular o capacete vem antes das cores */
@media (max-width: 47.99rem) {
  .custom-layout { display: flex; flex-direction: column; align-items: stretch; gap: .9rem; }
  .custom-copy > p { margin-top: 0; }
  .custom-copy { display: contents; }
  .custom-copy > h2 { order: 0; }
  .custom-copy > p { order: 1; }
  .custom-figure { order: 2; }
  .custom-controls { order: 3; display: flex; flex-direction: column; }
  .custom-controls[hidden] { display: none; }
  .custom-controls fieldset { order: -1; margin-bottom: 1rem; }
}

/* Contato quando não há parceiro na região */
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: .8rem !important; }
.contact-links a:not(.button) { font-weight: 800; color: var(--petroleo); text-underline-offset: .22em; }
.faq-contact { margin-top: 1.5rem; color: #426473; font-size: .875rem; }
.faq-contact a { color: var(--petroleo); text-underline-offset: .17em; }

/* Para profissionais */
.pros { background: #062f40; color: #f2fafb; padding-block: var(--space-section); }
.pros-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pros h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.4rem); max-width: 17ch; text-wrap: balance; }
.pros-copy > p { color: #d7eaef; max-width: 52ch; margin-top: 1rem; }
.pros-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .9rem; max-width: 56ch; }
.pros-list li { padding-left: 1.6rem; position: relative; color: #e3f1f4; line-height: 1.5; }
.pros-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .62rem; height: .62rem; border-radius: 50%; background: var(--verde); }
.pros-list strong { color: #fff; }
.pros-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; }
.pros-login { color: #d7f08a; font-weight: 800; text-underline-offset: .25em; }
.pros .prototype-note { color: #a9c9d2; margin-top: 1rem; }
.pros-preview { margin: 0; }
.pros-card { background: #f6fbfb; color: #07384a; border-radius: 1.1rem; padding: 1.3rem 1.4rem; box-shadow: 0 24px 48px #00141d66; }
.pros-card-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: 0; font-weight: 800; }
.pros-badge { background: #005a76; color: #fff; border-radius: 2rem; padding: .2rem .7rem; font-size: .8rem; white-space: nowrap; }
.pros-card-meta { margin: .35rem 0 1rem; color: #4b6d79; font-size: .9rem; }
.pros-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.6rem, 1fr)); gap: .35rem; counter-reset: etapa; }
.pros-steps li { counter-increment: etapa; display: flex; gap: .4rem; align-items: center; padding: .35rem .5rem; border-radius: .45rem; background: #e8f0f2; color: #6b8790; font-size: .76rem; font-weight: 700; line-height: 1.2; }
.pros-steps li::before { content: counter(etapa); flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: .68rem; }
.pros-steps li.feita { background: #e0f1e5; color: #1d6b3f; }
.pros-steps li.atual { background: #005a76; color: #fff; }
.pros-steps li.atual::before { color: #005a76; }
.pros-card-msg { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid #d4e4e8; font-size: .9rem; }
.pros-card-msg strong { color: #005a76; margin-right: .3rem; }
.pros-preview figcaption { margin-top: .7rem; font-size: .82rem; color: #a9c9d2; }
@media (max-width: 60rem) { .pros-layout { grid-template-columns: 1fr; } }

/* Auditoria (dez/2026): contraste das etapas pendentes e área de toque do menu */
.pros-steps li { color: #3f5a63; }
.menu-content > a:not(.button) { padding-block: .7rem; }
.journey-story:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }

/* Dúvidas: respiro entre os grupos (mais espaço acima do título que abaixo) */
.faq.container { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: 1.45rem clamp(2.5rem, 6vw, 6rem); padding-block: clamp(2.6rem, 5.4vw, 5.25rem); }
.faq-heading .faq-intro { max-width: 40ch; }
.faq-content { min-width: 0; }
.faq-content .faq-list { margin-top: 0; max-width: none; }
.faq-list > .faq-topic { padding-block: 0; }
.faq-list > .faq-topic:last-child { border-bottom: 1px solid var(--linha); }
.faq-topic summary { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; list-style: none; cursor: pointer; }
.faq-topic > summary { min-height: 3.45rem; padding-block: .85rem; }
.faq-topic summary::-webkit-details-marker { display: none; }
.faq-topic summary::before { content: ""; flex: 0 0 .42rem; height: .42rem; margin-inline: .15rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.faq-topic[open] > summary::before, .faq-questions details[open] > summary::before { transform: rotate(45deg); }
.faq-topic h3 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: -.015em; }
.faq-questions { padding: 0 0 .85rem 1.25rem; }
.faq-questions details { padding-block: 0; }
.faq-questions details p { padding-inline-start: 1.25rem; }
.faq-references { margin: 1rem 0 0; font-size: .88rem; color: #426473; }
@media (max-width: 54rem) {
  .faq.container { grid-template-columns: minmax(0, 1fr); }
  .faq-topic > summary { min-height: 3rem; padding-block: .65rem; }
}
/* Simulador: 3 vistas + salvar numa linha */
.viewer-angles { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.viewer-angles [data-save] { background: var(--petroleo); color: #fff; border-color: var(--petroleo); }

/* ===== Jornada em carrossel uniforme (dez/2026) ===== */
.jornada-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.jornada-topo h2 { margin: 0; }
.jornada-topo .prototype-note { margin: .5rem 0 0; }
.jornada-controles { display: flex; align-items: center; gap: .6rem; }
.jornada-contador { font-weight: 800; font-variant-numeric: tabular-nums; color: #305866; min-width: 5.5rem; text-align: right; }
.jornada-seta { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid #9fc0ca; background: #fff; color: var(--petroleo); cursor: pointer; transition: background .2s, transform .2s; }
.jornada-seta:hover:not(:disabled) { background: var(--petroleo); color: #fff; }
.jornada-seta:active:not(:disabled) { transform: scale(.94); }
.jornada-seta:disabled { opacity: .35; cursor: default; }
.jornada-seta svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.jornada-trilho {
  --por-vez: 3; --vao: 1.25rem;
  display: flex; gap: var(--vao); list-style: none; margin: 0 auto; padding: .25rem 2px 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.jornada-trilho::-webkit-scrollbar { display: none; }
.jornada-trilho:focus-visible { outline: 3px solid var(--verde); outline-offset: 4px; border-radius: 1rem; }
.jornada-card {
  flex: 0 0 calc((100% - (var(--por-vez) - 1) * var(--vao)) / var(--por-vez));
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: #fff; border-radius: 1.1rem; overflow: hidden; box-shadow: 0 10px 28px #0a3a4a1a; border: 1px solid #dbe9ec;
}
.jornada-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #eef3f3; }
.jornada-texto { padding: 1.1rem 1.25rem 1.35rem; }
.jornada-numero { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .02em; color: #2f6b3a; background: #e6f3d6; border-radius: 2rem; padding: .2rem .6rem; }
.jornada-texto h3 { margin: .6rem 0 .3rem; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.2; color: var(--tinta, #07384a); }
.jornada-texto p { margin: 0; color: #3e6372; line-height: 1.5; }
.jornada-pontos { display: flex; justify-content: center; gap: .45rem; margin-top: .6rem; }
.jornada-pontos button { width: .7rem; height: .7rem; padding: 0; border-radius: 1rem; border: 0; background: #b9d2d8; cursor: pointer; transition: width .25s, background .25s; }
.jornada-pontos button[aria-selected="true"] { width: 1.6rem; background: var(--petroleo); }
@media (max-width: 60rem) { .jornada-trilho { --por-vez: 2; } }
@media (max-width: 40rem) {
  .jornada-trilho { --por-vez: 1.12; --vao: .85rem; }
  .jornada-contador { min-width: 0; }
  .jornada-pontos button { width: .6rem; height: .6rem; }
}
