.orcamento-page {
  overflow: hidden;
}

.orcamento-page .eyebrow {
  margin-block-end: 0;
}

.orcamento-page .section {
  position: relative;
}

.orcamento-section-number {
  display: block;
  margin-block-end: var(--space-3);
  color: var(--color-dourado-fosco);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.orcamento-hero {
  position: relative;
  min-height: clamp(38.75rem, 53vw, 43.75rem);
  isolation: isolate;
}

.orcamento-hero__image,
.orcamento-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orcamento-hero__image {
  z-index: -2;
  object-position: center center;
  animation: orcamento-image-in var(--transition-slow) both;
}

.orcamento-hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 13, 12, 0.9) 0%, rgba(23, 22, 21, 0.76) 42%, rgba(13, 13, 12, 0.2) 76%, rgba(13, 13, 12, 0.15) 100%);
}

.orcamento-hero__container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: inherit;
  column-gap: var(--space-5);
  align-items: end;
}

.orcamento-hero__content {
  grid-column: 1 / span 5;
  min-width: 0;
  max-width: 38.125rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-block: var(--space-9);
}

.orcamento-hero__content h1,
.orcamento-hero__content p {
  margin: 0;
}

.orcamento-hero__content h1 {
  color: var(--color-champagne);
  font-size: clamp(3.75rem, 5.3vw, 4.25rem);
}

.orcamento-hero__intro {
  max-width: 37rem;
  color: var(--color-champagne);
  font-size: var(--text-intro);
  line-height: var(--leading-intro);
}

.orcamento-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  gap: var(--space-3);
}

.orcamento-hero__actions > * {
  min-width: 0;
}

.orcamento-hero__note {
  color: rgba(243, 231, 210, 0.78);
  font-size: var(--text-small);
}

.orcamento-guide__grid,
.orcamento-briefing__grid,
.orcamento-after__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  row-gap: var(--space-7);
}

.orcamento-guide__header {
  grid-column: 1 / span 6;
  min-width: 0;
  max-width: 38.125rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.orcamento-guide__header h2,
.orcamento-guide__header p,
.orcamento-formats__header h2,
.orcamento-formats__header p,
.orcamento-briefing__header h2,
.orcamento-briefing__header p,
.orcamento-casino__intro h2,
.orcamento-casino__intro p,
.orcamento-after__header h2,
.orcamento-after__header p,
.orcamento-ideas__copy h2,
.orcamento-final__content h2,
.orcamento-final__content p {
  margin: 0;
}

.orcamento-guide__items {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.orcamento-guide__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-block-start: var(--space-4);
  border-top: var(--border-light);
}

.orcamento-guide__item > * {
  margin: 0;
}

.orcamento-guide__marker {
  width: 2rem;
  height: 1px;
  background: var(--color-dourado-fosco);
}

.orcamento-guide__item h3 {
  font-size: clamp(1.625rem, 2.3vw, 1.75rem);
}

.orcamento-text-link {
  width: fit-content;
  color: var(--color-verde-profundo);
  font-size: var(--text-small);
  font-weight: 700;
}

.orcamento-formats__container {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-7);
}

.orcamento-formats__header {
  width: min(100%, 38.75rem);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.orcamento-formats__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: stretch;
}

.orcamento-formats__media {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
  min-width: 0;
  margin: 0;
}

.orcamento-formats__media img,
.orcamento-ideas__media img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
}

.orcamento-formats__media img {
  min-height: 37rem;
  border-radius: var(--radius-sm);
  object-position: center center;
}

.orcamento-formats__media figcaption {
  max-width: 25rem;
}

.orcamento-scope {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border: var(--border-light);
  border-radius: var(--radius-sm);
}

.orcamento-scope > * {
  margin: 0;
}

.orcamento-scope--corporate {
  grid-column: 6 / span 7;
  grid-row: 1;
  background: var(--surface-light);
}

.orcamento-scope--private {
  grid-column: 6 / span 3;
  grid-row: 2;
  border-color: var(--color-linha-escura);
}

.orcamento-scope--scenography {
  grid-column: 9 / span 4;
  grid-row: 2;
  background: var(--surface-light);
}

.orcamento-scope--casino {
  grid-column: 1 / span 7;
  grid-row: 3;
  background: var(--surface-light);
}

.orcamento-scope h3 {
  font-size: clamp(1.625rem, 2.4vw, 1.875rem);
}

.orcamento-scope .diagonal-line {
  margin-block-end: var(--space-2);
}

.orcamento-briefing__header {
  grid-column: 1 / span 5;
  min-width: 0;
  max-width: 38.75rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.orcamento-form-panel {
  grid-column: 2 / span 9;
  min-width: 0;
  max-width: 56.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  border: var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  box-shadow: var(--shadow-overlay);
}

.orcamento-form-panel form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-7);
}

.orcamento-fieldset {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.orcamento-fieldset legend {
  color: var(--color-texto-grafite);
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 2.5vw, 1.875rem);
  font-weight: 600;
  line-height: var(--leading-heading);
}

.orcamento-fieldset__help {
  max-width: 43rem;
  margin: 0;
  color: var(--color-texto-muted);
  font-size: var(--text-small);
}

.orcamento-fields {
  display: grid;
  min-width: 0;
  gap: var(--space-4);
}

.orcamento-fields--contact,
.orcamento-fields--event {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.orcamento-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.orcamento-field label {
  margin: 0;
}

.orcamento-field label span {
  color: var(--color-texto-muted);
  font-weight: 400;
}

.orcamento-field--half {
  grid-column: 1 / span 1;
}

.orcamento-field input,
.orcamento-field select,
.orcamento-field textarea {
  min-width: 0;
  background: var(--surface-light);
}

.orcamento-field textarea {
  min-height: 8.75rem;
}

.orcamento-field small {
  color: var(--color-texto-muted);
}

.orcamento-field-error {
  display: block;
  min-height: 1.25rem;
  color: #8a2e23;
  font-size: var(--text-small);
  font-weight: 700;
  line-height: 1.35;
}

.orcamento-form-errors,
.orcamento-form-status {
  min-width: 0;
  padding: var(--space-4);
  border-radius: var(--radius-xs);
  font-size: var(--text-small);
  font-weight: 700;
}

.orcamento-form-errors {
  border: 1px solid #8a2e23;
  color: #74251c;
  background: #f8e6df;
}

.orcamento-form-status {
  border: 1px solid var(--color-verde-profundo);
  color: var(--color-verde-profundo);
  background: rgba(23, 61, 53, 0.08);
}

.orcamento-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: var(--space-3) var(--space-5);
}

.orcamento-services__label {
  grid-column: 1 / -1;
  color: var(--color-texto-grafite);
  font-size: var(--text-label);
  font-weight: 700;
}

.orcamento-check {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: var(--space-3);
  margin: 0;
  color: var(--color-texto-grafite);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: var(--leading-small);
}

.orcamento-check input {
  flex: 0 0 1.125rem;
  margin-block-start: 0.15rem;
}

.orcamento-check span {
  min-width: 0;
}

.orcamento-field--message {
  margin-block-start: var(--space-5);
}

.orcamento-form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: var(--space-5);
  padding-block-start: var(--space-5);
  border-top: var(--border-light);
}

.orcamento-consent {
  min-width: 0;
  max-width: 32rem;
}

.orcamento-check--consent a {
  font-weight: 700;
}

.orcamento-casino__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-width: 0;
  gap: var(--space-7) var(--space-5);
}

.orcamento-casino__intro {
  grid-column: 1 / span 6;
  min-width: 0;
  max-width: 38.75rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.orcamento-casino__conditions {
  grid-column: 8 / span 5;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-inline-start: var(--space-6);
  border-inline-start: 1px solid var(--color-dourado-fosco);
}

.orcamento-casino__conditions h3,
.orcamento-casino__conditions p {
  margin: 0;
}

.orcamento-casino__list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.orcamento-casino__list li {
  position: relative;
  min-width: 0;
  padding-inline-start: var(--space-5);
}

.orcamento-casino__list li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.85em;
  width: var(--space-3);
  height: 1px;
  content: "";
  background: var(--color-dourado-fosco);
}

.orcamento-casino__note {
  max-width: 31.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--color-dourado-fosco);
}

.orcamento-after__header {
  grid-column: 1 / span 5;
  min-width: 0;
  max-width: 36.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.orcamento-after__steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: var(--space-5);
}

.orcamento-step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-inline-end: var(--space-5);
}

.orcamento-step > * {
  margin: 0;
}

.orcamento-step:not(:last-child) {
  border-inline-end: var(--border-light);
}

.orcamento-step__number {
  color: var(--color-dourado-fosco);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.orcamento-ideas__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-width: 0;
  gap: var(--space-5);
  align-items: center;
}

.orcamento-ideas__copy {
  grid-column: 1 / span 6;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.orcamento-ideas__copy > .eyebrow,
.orcamento-ideas__copy > h2 {
  margin-block-end: 0;
}

.orcamento-ideas__copy h2 {
  max-width: 33.75rem;
}

.orcamento-ideas__primary,
.orcamento-ideas__secondary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.orcamento-ideas__primary > *,
.orcamento-ideas__secondary > * {
  margin: 0;
}

.orcamento-ideas__primary {
  max-width: 33.75rem;
}

.orcamento-ideas__secondary {
  max-width: 26.875rem;
  padding-block-start: var(--space-5);
  border-top: var(--border-light);
}

.orcamento-ideas__media {
  grid-column: 8 / span 4;
  min-width: 0;
  height: clamp(28rem, 45vw, 39rem);
  margin: 0;
}

.orcamento-ideas__media img {
  border-radius: var(--radius-sm);
  object-position: center center;
}

.orcamento-final {
  padding-block: clamp(var(--space-9), 10vw, var(--space-11));
}

.orcamento-final__container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-width: 0;
  gap: var(--space-5);
}

.orcamento-final__content {
  grid-column: 4 / span 6;
  min-width: 0;
  max-width: 37.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.orcamento-final__content > * {
  margin: 0;
}

.orcamento-final__content h2 {
  max-width: 28.75rem;
  color: var(--color-champagne);
}

.orcamento-final__content p {
  color: var(--color-champagne);
}

@keyframes orcamento-image-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 68.75rem) {
  .orcamento-formats__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orcamento-formats__media,
  .orcamento-scope--corporate,
  .orcamento-scope--private,
  .orcamento-scope--scenography,
  .orcamento-scope--casino {
    grid-column: auto;
    grid-row: auto;
  }

  .orcamento-formats__media {
    grid-row: span 2;
  }

  .orcamento-formats__media img {
    min-height: 100%;
  }
}

@media (max-width: 64rem) {
  .orcamento-hero__content {
    grid-column: 1 / span 6;
  }

  .orcamento-guide__grid,
  .orcamento-briefing__grid,
  .orcamento-after__grid,
  .orcamento-casino__grid,
  .orcamento-ideas__grid,
  .orcamento-final__container {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .orcamento-guide__header,
  .orcamento-briefing__header,
  .orcamento-after__header,
  .orcamento-casino__intro,
  .orcamento-ideas__copy {
    grid-column: 1 / span 8;
  }

  .orcamento-guide__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orcamento-guide__item:last-child {
    grid-column: 1 / span 2;
  }

  .orcamento-form-panel {
    grid-column: 1 / span 8;
    max-width: none;
  }

  .orcamento-casino__conditions {
    grid-column: 1 / span 8;
    padding-inline-start: 0;
    padding-block-start: var(--space-6);
    border-inline-start: 0;
    border-top: 1px solid var(--color-dourado-fosco);
  }

  .orcamento-after__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orcamento-step:last-child {
    grid-column: 1 / span 2;
  }

  .orcamento-ideas__media {
    grid-column: 5 / span 4;
  }

  .orcamento-final__content {
    grid-column: 2 / span 6;
  }
}

@media (max-width: 57.5rem) {
  .orcamento-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .orcamento-hero__image {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: center center;
  }

  .orcamento-hero__overlay {
    position: absolute;
    inset: 0 0 auto;
    height: auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, rgba(13, 13, 12, 0.12), rgba(13, 13, 12, 0.42));
  }

  .orcamento-hero__container {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding-inline: var(--container-padding-mobile);
    background: var(--color-grafite-950);
  }

  .orcamento-hero__content {
    width: 100%;
    max-width: none;
    padding-block: var(--space-7);
  }

  .orcamento-hero__content h1 {
    font-size: clamp(2.875rem, 12vw, 3.5rem);
    line-height: 1.02;
  }

  .orcamento-hero__intro {
    max-width: none;
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

  .orcamento-formats__layout {
    grid-template-columns: 1fr;
  }

  .orcamento-formats__media {
    grid-row: auto;
    order: -1;
  }

  .orcamento-formats__media img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .orcamento-scope {
    padding: var(--space-5);
  }

  .orcamento-ideas__grid {
    gap: var(--space-6);
  }

  .orcamento-ideas__media {
    grid-column: 1 / span 8;
    grid-row: 1;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .orcamento-ideas__copy {
    grid-row: 2;
  }
}

@media (max-width: 42.5rem) {
  .orcamento-guide__grid,
  .orcamento-briefing__grid,
  .orcamento-after__grid,
  .orcamento-casino__grid,
  .orcamento-ideas__grid,
  .orcamento-final__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .orcamento-guide__header,
  .orcamento-briefing__header,
  .orcamento-after__header,
  .orcamento-casino__intro,
  .orcamento-ideas__copy,
  .orcamento-ideas__media,
  .orcamento-final__content,
  .orcamento-form-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .orcamento-guide__items,
  .orcamento-after__steps,
  .orcamento-fields--contact,
  .orcamento-fields--event,
  .orcamento-services {
    grid-template-columns: minmax(0, 1fr);
  }

  .orcamento-guide__item:last-child,
  .orcamento-step:last-child,
  .orcamento-services__label,
  .orcamento-field--half {
    grid-column: 1;
  }

  .orcamento-guide__items,
  .orcamento-after__steps {
    gap: 0;
  }

  .orcamento-guide__item,
  .orcamento-step {
    padding-block: var(--space-5);
    padding-inline-end: 0;
    border-top: var(--border-light);
    border-inline-end: 0;
  }

  .orcamento-guide__item:first-child,
  .orcamento-step:first-child {
    padding-block-start: 0;
    border-top: 0;
  }

  .orcamento-step:not(:last-child) {
    border-inline-end: 0;
  }

  .orcamento-form-panel {
    padding: var(--space-5);
    border-radius: var(--radius-md);
  }

  .orcamento-form-panel form {
    gap: var(--space-6);
  }

  .orcamento-form-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .orcamento-form-submit .button {
    width: 100%;
  }

  .orcamento-casino__conditions {
    grid-column: 1;
  }

  .orcamento-casino__note {
    max-width: none;
  }

  .orcamento-ideas__media {
    order: -1;
  }

  .orcamento-final__content {
    max-width: none;
  }

  .orcamento-final__content .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orcamento-hero__image {
    animation: none;
  }
}
