:root {
  --app-header: 92px;
  --app-canvas: #f6f4ef;
  --app-paper: #fffefa;
  --app-navy: #14102d;
  --app-gold: #bd8d28;
  --app-line: #ded9cf;
  --app-danger: #a43535;
  --app-radius-sm: 12px;
  --app-radius-md: 18px;
  --app-radius-lg: 30px;
  --app-radius-xl: 44px;
}

html {
  scroll-padding-top: calc(var(--app-header) + env(safe-area-inset-top));
  background: var(--app-canvas);
  overscroll-behavior-y: none;
  -webkit-text-size-adjust: 100%;
}

body,
.site-body {
  background: var(--app-canvas);
  overscroll-behavior-y: none;
  touch-action: pan-y;
}

body.nav-open {
  overflow: hidden;
}

.page-fold,
.section::before,
.hero::after,
.portrait-frame::before,
.portrait-frame::after,
.page-hero::after,
.photo-split picture::after,
.page-photo-frame::before,
.photo-rail::before,
.footer::before,
.cta-band::after {
  display: none !important;
}

.nav {
  position: fixed;
  z-index: 70;
  inset: 0 0 auto;
  width: 100%;
  min-height: calc(var(--app-header) + env(safe-area-inset-top));
  margin: 0;
  padding: env(safe-area-inset-top) max(32px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgba(20, 16, 45, .09);
  background: rgba(255, 254, 250, .94);
  box-shadow: 0 10px 36px rgba(20, 16, 45, .06);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

main {
  padding-top: calc(var(--app-header) + env(safe-area-inset-top));
}

.skip {
  z-index: 100;
}

.menu {
  flex-shrink: 0;
}

.menu a,
.btn,
.burger {
  border-radius: 999px;
}

.menu .client-entry {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--app-danger);
  background: transparent;
  color: var(--app-danger);
}

.menu .client-entry::after {
  display: none;
}

.menu .nav-cta {
  min-height: 46px;
}

.hero {
  min-height: calc(100svh - var(--app-header));
  background: var(--app-paper);
}

.hero::before {
  display: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  gap: clamp(36px, 5vw, 74px);
  min-height: calc(100svh - var(--app-header));
}

.hero-copy {
  max-width: 690px;
}

.hero-title .hero-line {
  display: block;
}

.hero-title {
  font-size: clamp(56px, 5.2vw, 82px);
}

.hero-title .hero-line-together {
  white-space: nowrap;
}

.hero-title strong {
  color: #966c31;
  font-weight: 600;
}

.hero h1,
.page-hero h1,
.section-head h2,
.quote-block,
.cta-band h2 {
  color: var(--app-navy);
  letter-spacing: -.025em;
  line-height: 1.03;
}

.hero h1 em {
  font-style: normal;
}

.hero .kicker,
.page-hero .kicker,
.section:not(.dark) .kicker,
.planning-banner .kicker,
.route-banner .kicker,
.page-photo-callout .kicker {
  color: #76511f;
}

.section.dark .kicker {
  color: #e6c88f;
}

.btn,
.menu .nav-cta {
  min-height: 52px;
  padding-inline: 24px;
  letter-spacing: .05em;
  text-transform: none;
}

.btn-primary,
.menu .nav-cta {
  box-shadow: 0 14px 34px rgba(20, 16, 45, .16);
}

.portrait-frame,
.portrait-frame picture,
.portrait-frame img,
.photo-split picture,
.photo-split img,
.route-banner picture,
.route-banner img,
.page-photo-frame,
.page-photo-frame picture,
.page-photo-frame img,
.planning-banner-primary,
.planning-banner-primary picture,
.planning-banner-primary img {
  border-radius: var(--app-radius-xl);
  clip-path: none;
}

.portrait-frame {
  overflow: hidden;
  border: 1px solid rgba(20, 16, 45, .09);
  box-shadow: 0 32px 70px rgba(20, 16, 45, .2);
}

.portrait-note {
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--app-radius-md);
  background: rgba(20, 16, 45, .9);
  box-shadow: 0 18px 38px rgba(20, 16, 45, .2);
  backdrop-filter: blur(12px);
}

.section,
.page-hero,
.planning-banner,
.route-banner,
.page-photo-callout,
.cta-band {
  scroll-margin-top: 0;
}

.section {
  background: var(--app-paper);
}

.section.alt {
  background: #eee9e1;
}

.section.dark {
  margin-inline: max(16px, calc((100vw - 1440px) / 2));
  border-radius: var(--app-radius-xl);
  background: var(--app-navy);
  box-shadow: 0 26px 70px rgba(20, 16, 45, .16);
}

.section.dark .section-head h2,
.section.dark .journey-card h3,
.section.dark .journey-card {
  color: white;
}

.service-card-grid,
.journey-card-grid {
  gap: 16px;
}

.service-card,
.journey-card,
.info-card,
.editorial-note,
.blog-empty,
.form,
.client-card,
.insight-dialog-panel {
  border-radius: var(--app-radius-lg);
}

.service-card,
.info-card {
  border-color: var(--app-line);
  background: var(--app-paper);
}

.service-card:hover,
.journey-card:hover {
  transform: translateY(-5px);
}

.journey-card {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .035);
}

.grid-3 {
  gap: 14px;
  border: 0;
}

.info-card {
  border: 1px solid var(--app-line);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details,
.faq details:last-child {
  padding: 22px 24px;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius-md);
  background: var(--app-paper);
}

.faq summary {
  align-items: center;
}

.quote-block {
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius-lg);
  background: var(--app-paper);
}

.form {
  border: 1px solid var(--app-line);
  background: var(--app-paper);
}

.form input,
.form select,
.form textarea {
  padding-inline: 16px;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius-sm);
  background: white;
}

.notice {
  border: 1px solid rgba(189, 141, 40, .28);
  border-radius: var(--app-radius-sm);
  background: #f5eee1;
}

.planning-banner-copy p {
  color: #5f6070;
}

.page-hero {
  background: #eee9e1;
}

.page-back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--app-navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.page-back-link::before {
  content: "←";
  font-size: 19px;
  line-height: 1;
}

.page-back-link:hover,
.page-back-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: #76511f;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.route-agendamento .page-hero h1 {
  max-inline-size: 780px;
  font-size: clamp(56px, 6.2vw, 84px);
}

.appointment-form-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.appointment-form-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 8%;
  right: 4%;
  bottom: 8%;
  width: 43%;
  border: 1px solid rgba(189, 141, 40, .14);
  border-radius: var(--app-radius-xl);
  background-image: var(--managed-media-url, url("/images/josi/josi-atendimento-sorriso-1200.webp"));
  background-position: center 28%;
  background-size: cover;
  filter: grayscale(.72) sepia(.22);
  opacity: .075;
  pointer-events: none;
}

.appointment-form-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(180px, 1fr);
  align-items: center;
}

.appointment-form-layout .form {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-photo-callout .wrap {
  align-items: center;
}

.page-photo-copy {
  max-width: 610px;
}

.page-photo-copy h2 {
  margin: 16px 0 20px;
  color: var(--app-navy);
  font: 600 clamp(38px, 4.5vw, 58px)/1.03 var(--serif);
  letter-spacing: -.02em;
}

.page-photo-callout .page-photo-copy p {
  max-width: 590px;
  margin: 0 0 16px;
  color: #565b6c;
  font: 400 15px/1.75 var(--sans);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--app-navy);
  font-size: 13px;
  font-weight: 700;
}

.exterior-context,
.exterior-points,
.process-expectations {
  padding-block: clamp(72px, 8vw, 104px);
}

.exterior-context .section-head,
.process-expectations .section-head {
  max-width: 900px;
  margin-bottom: 38px;
}

.context-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.context-card,
.expectation-card {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius-lg);
  background: var(--app-paper);
}

.context-card h3,
.expectation-card h3 {
  margin: 0 0 15px;
  color: var(--app-navy);
  font: 600 clamp(27px, 2.6vw, 36px)/1.05 var(--serif);
  letter-spacing: -.015em;
}

.context-card p,
.expectation-card p,
.expectation-card li {
  color: #565b6c;
  font-size: 14px;
  line-height: 1.7;
}

.exterior-points {
  background: #f0ece5;
}

.exterior-points .prose {
  max-width: 920px;
}

.expectation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.expectation-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.expectation-card-muted {
  background: #f0ece5;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 28px;
}

.route-exterior .page-hero::before,
.route-como-funciona .page-hero::before {
  right: 22px;
  top: 22px;
  bottom: 22px;
  width: calc(50% - 22px);
  height: auto;
  border-radius: var(--app-radius-xl) 0 0 var(--app-radius-xl);
  clip-path: none;
}

.route-exterior .page-hero.has-managed-media::before,
.route-como-funciona .page-hero.has-managed-media::before {
  background-image: linear-gradient(90deg, rgba(20, 16, 45, .16), transparent 46%), var(--managed-media-url);
}

.cta-band {
  margin: 20px;
  border-radius: var(--app-radius-xl);
  background: var(--app-gold);
}

.footer {
  margin-top: 20px;
  border-radius: var(--app-radius-xl) var(--app-radius-xl) 0 0;
}

[data-media-slot] {
  position: relative;
}

.site-media-edit-button {
  position: absolute;
  z-index: 12;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  background: rgba(20, 16, 45, .9);
  color: white;
  box-shadow: 0 12px 30px rgba(20, 16, 45, .24);
  cursor: pointer;
  font: 700 12px/1 var(--sans);
  backdrop-filter: blur(12px);
}

.site-media-edit-button:disabled {
  cursor: wait;
  opacity: .7;
}

.site-editor-bar {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex;
  max-width: calc(100vw - 36px);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(189, 141, 40, .34);
  border-radius: 999px;
  background: rgba(20, 16, 45, .95);
  color: white;
  box-shadow: 0 20px 48px rgba(20, 16, 45, .26);
  font: 600 12px/1.3 var(--sans);
}

.site-editor-bar a {
  color: #f4d99d;
}

.site-editor-toast {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 18px;
  border-radius: var(--app-radius-sm);
  background: var(--app-navy);
  color: white;
  box-shadow: 0 18px 46px rgba(20, 16, 45, .28);
  font: 600 13px/1.5 var(--sans);
}

.site-editor-toast--success {
  background: #246f4d;
}

.site-editor-toast--error {
  background: var(--app-danger);
}

@media (max-width: 1280px) {
  :root {
    --app-header: 76px;
  }

  .nav {
    padding-inline: 16px;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    z-index: 71;
    top: calc(var(--app-header) + env(safe-area-inset-top) + 8px);
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - var(--app-header) - env(safe-area-inset-top) - 20px);
    overflow-y: auto;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--app-line);
    border-radius: 24px;
    background: rgba(255, 254, 250, .98);
    box-shadow: 0 26px 70px rgba(20, 16, 45, .2);
  }

  .menu a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0 15px;
    border-radius: var(--app-radius-sm);
    font-size: 13px;
  }

  .menu .client-entry,
  .menu .nav-cta {
    min-height: 50px;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 108px;
  }

  .menu.open {
    display: flex;
  }
}

@media (max-width: 640px) {
  html {
    scroll-snap-type: y proximity;
  }

  .brand-logo-crop {
    width: min(168px, calc(100vw - 150px));
    min-width: 144px;
  }

  .burger {
    min-width: 102px;
    height: 46px;
    padding: 0 14px;
    border-color: rgba(164, 53, 53, .62);
    color: var(--app-danger);
  }

  main > section,
  main > header,
  .page-photo-callout,
  .planning-banner,
  .route-banner {
    min-height: calc(100svh - var(--app-header) - env(safe-area-inset-top));
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .hero,
  .hero-grid {
    min-height: calc(100svh - var(--app-header) - env(safe-area-inset-top));
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    gap: 16px;
    align-content: center;
    padding: 22px 0 18px;
  }

  .hero h1 {
    margin: 12px 0 14px;
    font-size: clamp(54px, 15vw, 64px);
    line-height: 1.045;
    letter-spacing: -.012em;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero .actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
  }

  .hero .actions .btn-primary {
    width: 100%;
    min-height: 50px;
  }

  .hero .actions .btn-secondary {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    text-decoration: underline;
    text-decoration-color: var(--app-gold);
    text-underline-offset: 7px;
  }

  .trust-line {
    margin: 14px 0 0;
    padding-top: 12px;
    font-size: 12px !important;
    line-height: 1.45;
  }

  .portrait-frame {
    height: clamp(190px, 30svh, 264px);
    min-height: 190px;
    border-radius: var(--app-radius-lg);
  }

  .portrait-frame picture,
  .portrait-frame img {
    border-radius: inherit;
    object-position: right 24%;
  }

  .portrait-note {
    right: 10px;
    bottom: 10px;
    width: min(58%, 215px);
    padding: 12px 14px;
    border-radius: var(--app-radius-sm);
  }

  .portrait-note strong {
    font-size: 22px;
  }

  .portrait-note span {
    margin-top: 4px;
    font-size: 12px !important;
  }

  .section {
    display: flex;
    align-items: center;
    padding: 52px 0;
  }

  .section.dark {
    margin-inline: 8px;
    border-radius: 34px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    margin-block: 12px 14px;
    font-size: clamp(39px, 11.7vw, 48px);
    line-height: 1.045;
    letter-spacing: -.012em;
  }

  .service-card-grid,
  .journey-card-grid {
    display: flex;
    width: calc(100% + 16px);
    gap: 12px;
    overflow-x: auto;
    padding: 4px 16px 18px 0;
    scroll-padding-inline: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .service-card-grid::-webkit-scrollbar,
  .journey-card-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card,
  .journey-card {
    flex: 0 0 min(82vw, 326px);
    scroll-snap-align: start;
    border-radius: 24px;
  }

  .service-card {
    min-height: 318px;
    padding: 24px;
  }

  .journey-card {
    min-height: 286px;
    padding: 26px 24px;
  }

  .journey-card h3 {
    margin-top: 58px;
    letter-spacing: -.012em;
  }

  .split {
    gap: 24px;
  }

  .quote-block {
    padding: 26px;
    font-size: clamp(31px, 9vw, 40px);
  }

  .faq details,
  .faq details:last-child {
    padding: 18px;
  }

  .faq summary {
    font-size: 22px;
  }

  .cta-band {
    min-height: auto;
    margin: 8px;
    border-radius: 30px;
  }

  .page-hero,
  .route-como-funciona .page-hero {
    display: flex;
    align-items: center;
    padding: 48px 0;
  }

  .route-exterior .page-hero,
  .route-como-funciona .page-hero {
    min-height: calc(100svh - var(--app-header) - env(safe-area-inset-top));
    padding-right: 0;
  }

  .route-exterior .page-hero::before,
  .route-como-funciona .page-hero::before {
    inset: auto 12px 12px;
    display: block;
    width: auto;
    height: 34%;
    border-radius: 28px;
    opacity: .34;
  }

  .route-exterior .page-hero .wrap,
  .route-como-funciona .page-hero .wrap {
    align-self: flex-start;
  }

  .page-hero h1 {
    font-size: clamp(43px, 12vw, 56px);
    line-height: 1.045;
    letter-spacing: -.012em;
  }

  .portrait-note strong,
  .service-card-body strong,
  .faq summary {
    letter-spacing: -.012em;
  }

  .photo-split img,
  .route-banner picture,
  .route-banner img,
  .page-photo-frame,
  .page-photo-frame picture,
  .page-photo-frame img,
  .planning-banner-primary,
  .planning-banner-primary picture,
  .planning-banner-primary img {
    border-radius: 28px;
  }

  .site-media-edit-button {
    right: 10px;
    bottom: 10px;
  }

  .site-editor-bar {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    justify-content: center;
    max-width: none;
    border-radius: var(--app-radius-md);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section-motion-ready main > section > .wrap,
  .section-motion-ready main > header > .wrap {
    transition: transform .72s cubic-bezier(.2,.8,.2,1);
  }

  .section-motion-ready main > section:not(.section-current) > .wrap,
  .section-motion-ready main > header:not(.section-current) > .wrap {
    transform: translateY(20px) scale(.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

/* Cartões editoriais sem numeração nem filetes decorativos. */
.kicker::after,
.insight-dialog-panel::before,
.service-card-index,
.journey-card > span:first-child,
.insight-index {
  display: none !important;
}

.journey-card h3 {
  margin-top: 0;
}

html:has(.insight-dialog[open]),
body:has(.insight-dialog[open]) {
  overflow: hidden;
}

@media (max-width: 640px) {
  :root {
    --fold-height: calc(100dvh - var(--app-header) - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    --editor-space: 0px;
  }

  html.site-editor-active {
    --editor-space: 68px;
    scroll-padding-bottom: calc(var(--editor-space) + env(safe-area-inset-bottom));
  }

  main > section,
  main > header,
  .hero,
  .hero-grid {
    min-height: var(--fold-height);
    scroll-margin-top: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .section {
    padding-block: 24px calc(24px + var(--editor-space));
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: clamp(32px, 9vw, 39px);
    line-height: 1.08;
    margin-block: 10px 12px;
  }

  .section-head > p {
    font-size: 15px;
    line-height: 1.55;
    margin-block: 0;
  }

  .service-card-grid,
  .journey-card-grid {
    width: 100%;
    padding: 6px 0 12px;
    scroll-padding-inline: 0;
  }

  .service-card,
  .journey-card {
    flex-basis: 100%;
    min-height: 240px;
    padding: 22px;
    scroll-snap-align: center;
  }

  .service-card {
    gap: 18px;
  }

  .journey-card h3 {
    margin: 0 0 14px;
  }

  .insight-dialog {
    position: fixed;
    inset: calc(var(--app-header) + env(safe-area-inset-top) + 12px) 12px calc(env(safe-area-inset-bottom) + 12px);
    width: calc(100% - 24px);
    height: fit-content;
    max-width: 520px;
    max-height: calc(var(--fold-height) - 24px);
    margin: auto;
    overflow: hidden;
    border-radius: 26px;
  }

  .insight-dialog-panel {
    height: auto;
    min-height: 0;
    max-height: calc(var(--fold-height) - 24px);
    padding: 64px 24px 26px;
    border-radius: inherit;
    overflow-y: auto;
  }

  .insight-dialog h2 {
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.08;
  }

  .insight-dialog p,
  .insight-dialog li {
    font-size: 15px;
    line-height: 1.5;
  }

  .insight-dialog ul {
    margin-block: 20px;
  }

  .insight-dialog-close {
    top: 12px;
    right: 16px;
  }
}

.service-card-action {
  border-top: 0;
}

/* Formulários públicos com a mesma linguagem arredondada do portal. */
.form {
  gap: 22px;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 254, 250, .96);
}

.form-row {
  gap: 20px;
}

.form label {
  gap: 9px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .045em;
}

.form input,
.form select,
.form textarea {
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid #d7d1c7;
  border-radius: 16px;
  background: #fff;
}

.form input::placeholder {
  color: #99949f;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(189, 141, 40, .14);
}

.form .field-hint {
  margin: -2px 2px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.form .checkbox-label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 2px 0;
}

.form .checkbox-label span {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.form .form-notice {
  margin: 0;
  padding: 15px 17px;
  border: 1px solid #e5dcc8;
  border-radius: 16px;
  color: #5f5969;
  background: #fbf6ea;
  font-size: 12px;
  line-height: 1.6;
}

.form .btn-primary {
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
}

.form-status:not(:empty) {
  min-height: 0;
  margin: 0;
  padding: 13px 15px;
  border-radius: 14px;
  color: var(--navy);
  background: #f0edf5;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .form {
    gap: 20px;
    padding: 24px 18px;
    border-radius: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form input,
  .form select,
  .form textarea {
    min-height: 56px;
    font-size: 16px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .appointment-form-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .appointment-form-section::after {
    right: 16px;
    left: 38%;
    width: auto;
    opacity: .05;
  }
}

@media (max-width: 760px) {
  .context-card-grid,
  .expectation-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(44px, 12.6vw, 50px);
    line-height: 1.04;
  }

  .hero-title strong {
    font-style: normal;
  }

  .hero-title .hero-line-together {
    font-size: .86em;
  }

  .route-agendamento .page-hero h1 {
    max-inline-size: 100%;
    font-size: clamp(43px, 12vw, 54px);
  }

  .page-back-link {
    margin-bottom: 12px;
  }

  .appointment-form-section::after {
    inset: 18px 10px;
    width: auto;
    background-position: center;
    opacity: .035;
  }

  .page-photo-callout .wrap {
    align-items: start;
  }

  .page-photo-copy h2 {
    margin-block: 12px 16px;
    font-size: clamp(34px, 10vw, 43px);
    line-height: 1.06;
  }

  .page-photo-callout .page-photo-copy p,
  .context-card p,
  .expectation-card p,
  .expectation-card li {
    font-size: 15px;
    line-height: 1.62;
  }

  .exterior-context,
  .exterior-points,
  .process-expectations {
    padding-block: 34px calc(34px + var(--editor-space));
  }

  .context-card,
  .expectation-card {
    padding: 24px 21px;
    border-radius: 24px;
  }

  .context-card h3,
  .expectation-card h3 {
    font-size: 30px;
  }

  .section-actions {
    align-items: stretch;
  }
}

@media (max-width: 359px) {
  .hero-title .hero-line-together {
    white-space: normal;
  }
}
