/* ==========================================================================
   Palazzo Prado — LP Debutante

   Identidade herdada da LP corporativa (lp.palazzoprado.com.br), que é a
   referência viva do cliente: Playfair Display em corpo grande, Instrument
   Sans no texto, papel quente, dourado e preto, eyebrow com fio, grades de
   fio de cabelo e respiro editorial.

   Paleta exclusiva: cinza claro, preto, branco e dourado. Sem rosa, amarelo,
   verde-água, laranja, vermelho, azul claro ou roxo.
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #101111;
  --graphite: #414141;
  --paper: #f2f1ed;
  --paper-2: #e7e6e1;
  --white: #fff;
  --gold: #a4804c;
  --gold-bright: #c6a66f;
  --line: rgba(16, 17, 17, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --shell: min(1320px, calc(100vw - 64px));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 94px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grão fino sobre a página inteira, como na LP corporativa. */
body::before {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
summary {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Tipografia
   ========================================================================== */

.display,
.h1,
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(2.15rem, 3.75vw, 4.05rem);
}

.h2 {
  font-size: clamp(1.8rem, 3.05vw, 3.25rem);
}

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.8rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

/* Eyebrow sublinhado. O fio ficava antes do texto; agora ele passa por baixo,
   acompanhando a largura da própria tag. Por isso inline-flex: em flex a caixa
   esticaria e o sublinhado atravessaria a coluna inteira. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 9px;
  border-bottom: 1px solid currentColor;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--gold-bright);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.5;
  color: rgba(16, 17, 17, 0.72);
  text-wrap: pretty;
}

.body-copy p {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: rgba(16, 17, 17, 0.72);
  text-wrap: pretty;
}

.body-copy p + p {
  margin-top: 1.05em;
}

.on-dark .lede,
.on-dark .body-copy p,
.section--dark .lede,
.section--dark .body-copy p {
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Seções
   ========================================================================== */

.section {
  padding-block: clamp(84px, 11vw, 176px);
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

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

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

.section--white {
  background: var(--white);
}

.container {
  width: var(--shell);
  margin-inline: auto;
}

.container--narrow {
  width: min(980px, calc(100vw - 64px));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 82px;
}

/* Cabeçalho de seção em duas colunas: eyebrow à esquerda, título à direita. */
.section-head {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  margin-bottom: clamp(40px, 5vw, 62px);
  align-items: start;
}

.section-head .lede {
  margin-top: 26px;
  max-width: 62ch;
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Botões
   ========================================================================== */

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--white);
  background: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease,
    transform 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.button-gold {
  border-color: var(--gold-bright);
  color: var(--ink);
  background: var(--gold-bright);
}

.button-gold:hover {
  border-color: var(--white);
  background: var(--white);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.button-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.button-ghost:hover {
  border-color: var(--ink);
}

.btn--block {
  width: 100%;
}

.button[disabled],
.button[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.button[disabled]:hover,
.button[aria-disabled="true"]:hover {
  transform: none;
}

/* Link CTA discreto, com fio dourado. */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease;
}

.link-cta:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.section--dark .link-cta,
.on-dark .link-cta {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.section--dark .link-cta:hover,
.on-dark .link-cta:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  height: var(--header-h);
  align-items: center;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: height 260ms ease, background 260ms ease, border-color 260ms ease,
    backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  height: 74px;
  border-color: var(--line-light);
  background: rgba(16, 17, 17, 0.86);
  backdrop-filter: blur(18px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: auto;
  height: 52px;
  transition: height 260ms ease;
}

.site-header.is-scrolled .brand img {
  height: 42px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-place {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-cta {
  padding-block: 7px;
  border-bottom: 1px solid var(--gold-bright);
  color: var(--white);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease;
}

.header-cta:hover {
  color: var(--gold-bright);
}

@media (max-width: 760px) {
  .header-place {
    display: none;
  }
}

/* ==========================================================================
   DOBRA 1 — HERO COM FORMULÁRIO
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero__media,
.hero__media::before,
.hero__media::after {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 38%;
  filter: contrast(1.03) brightness(0.86);
  transform: scale(1.025);
  animation: heroImage 1.8s var(--ease) both;
}

.hero__media::before {
  z-index: 1;
  content: "";
  background: linear-gradient(
      90deg,
      rgba(16, 17, 17, 0.92) 0%,
      rgba(16, 17, 17, 0.74) 32%,
      rgba(16, 17, 17, 0.26) 62%,
      rgba(16, 17, 17, 0.12) 100%
    ),
    /* fecha em preto no rodapé para o hero costurar com a dobra seguinte,
       sem a faixa clara que aparecia no fim da imagem */
      linear-gradient(
        180deg,
        rgba(16, 17, 17, 0.62) 0%,
        rgba(16, 17, 17, 0.08) 34%,
        rgba(16, 17, 17, 0.1) 58%,
        rgba(16, 17, 17, 0.78) 90%,
        var(--ink) 100%
      );
}

/* Malha fina que evoca planta de arquitetura, como na LP corporativa. */
.hero__media::after {
  z-index: 2;
  content: "";
  opacity: 0.25;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(90deg, black, transparent 70%);
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

@keyframes heroImage {
  from {
    opacity: 0;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: scale(1.025);
  }
}

.hero__scrim {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  width: var(--shell);
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.72fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
  padding-block: calc(var(--header-h) + 34px) 0;
}

.hero__copy {
  max-width: 740px;
}

.hero__copy .eyebrow {
  margin-bottom: 26px;
}

.hero__title {
  max-width: 17ch;
  color: var(--white);
}

.hero__sub {
  margin-top: 28px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__foot {
  position: relative;
  z-index: 3;
  width: var(--shell);
  margin-inline: auto;
  padding-block: 40px 96px;
}

.hero__reassure {
  counter-reset: reassure;
  max-width: 560px;
  border-top: 1px solid var(--line-light);
}

.hero__reassure li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero__reassure li::before {
  flex: 0 0 auto;
  counter-increment: reassure;
  content: counter(reassure, decimal-leading-zero);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.05rem;
}

/* Empilhado, o card passa a ocupar a altura que sobra da primeira dobra.
   Como o corpo do card rola por dentro e o rodapé é fixo, o botão "Continuar"
   fica acima da linha de corte por construção, sem depender de quanto texto
   o hero tem. */
@media (max-width: 1100px) {
  .hero__inner {
    height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 22px;
    padding-block: calc(var(--header-h) + 16px) 26px;
  }
  .hero__title {
    max-width: 20ch;
    font-size: clamp(1.85rem, 5.4vw, 2.7rem);
  }
  .hero__sub {
    margin-top: 16px;
    font-size: clamp(0.9rem, 2.4vw, 1.05rem);
    line-height: 1.5;
  }
  .hero__reassure {
    display: none;
  }
}

/* ==========================================================================
   Card do formulário

   O corpo rola por dentro e o rodapé com o botão fica fixo. É assim que o
   critério de aceite "botão Continuar acima da linha de corte em todos os
   breakpoints" é atendido sem espremer a tipografia.
   ========================================================================== */

.form-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(840px, calc(100svh - 132px));
  padding: clamp(24px, 2.6vw, 40px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.form-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: var(--gold);
}

.lead-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.form-card__head {
  margin-bottom: 18px;
}

.form-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.form-card__sub {
  margin-top: 12px;
  color: rgba(16, 17, 17, 0.62);
  font-size: 0.86rem;
  line-height: 1.5;
}

.progress {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 13px;
  border-block: 1px solid var(--line);
}

.progress-label {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.progress-track {
  height: 2px;
  flex: 1;
  background: rgba(16, 17, 17, 0.12);
}

.progress-fill {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--gold);
  transition: width 320ms var(--ease);
}

.form-card__body {
  min-height: 0;
  flex: 1;
  padding: 16px 7px 4px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(16, 17, 17, 0.08);
}

.form-step {
  animation: formStep 320ms var(--ease) both;
}

@keyframes formStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.field {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}

.field__label {
  color: rgba(16, 17, 17, 0.86);
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(16, 17, 17, 0.25);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-size: 16px; /* evita zoom no iOS */
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23414141' stroke-width='1.4' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(164, 128, 76, 0.13);
  outline: none;
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(16, 17, 17, 0.08);
}

.field__error {
  display: none;
  color: var(--graphite);
  font-size: 0.69rem;
  line-height: 1.35;
}

.field.is-invalid .field__error {
  display: block;
}

.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* Rodapé fixo do card. */
.form-card__footer {
  position: relative;
  z-index: 3;
  padding-top: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white) 34%);
}

.form-actions__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
}

.form-actions .form-next,
.form-actions .form-submit {
  width: 100%;
}

.form-micro,
.form-privacy {
  margin-top: 10px;
  color: rgba(16, 17, 17, 0.55);
  font-size: 0.7rem;
  line-height: 1.45;
}

.form-micro {
  text-align: center;
}

.form-fallback {
  margin-top: 14px;
  font-size: 0.82rem;
}

/* ==========================================================================
   DOBRA 2 — PROVA IMEDIATA (grade numerada)
   ========================================================================== */

.proof {
  background: var(--paper-2);
  padding-block: clamp(56px, 7vw, 104px);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.proof-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: clamp(24px, 2.4vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}

.proof-grid h3 {
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.25vw, 1.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

@media (max-width: 1000px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid article {
    min-height: 0;
  }
  .proof-grid h3 {
    padding-top: 18px;
  }
}

/* ==========================================================================
   DOBRA 3 — DIAGNÓSTICO
   ========================================================================== */

.diagnosis__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.diagnosis__list {
  counter-reset: diag;
  border-top: 1px solid var(--line);
}

.diagnosis__list li {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(16, 17, 17, 0.72);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.45;
}

.diagnosis__list li::before {
  flex: 0 0 auto;
  counter-increment: diag;
  content: counter(diag, decimal-leading-zero);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.3;
}

.diagnosis__close {
  margin-top: 40px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

@media (max-width: 900px) {
  .diagnosis__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DOBRA 4 — MECANISMO E ORIGEM
   ========================================================================== */

.origin {
  background: var(--ink);
  color: var(--white);
}

.origin__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.origin__figure {
  margin: 0;
}

.origin__figure img {
  width: 100%;
  border: 1px solid var(--line-light);
}

.origin__figure figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.origin__seal {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid var(--line-light);
  border-left: 2px solid var(--gold-bright);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .origin__grid {
    grid-template-columns: 1fr;
  }
  .origin__figure {
    order: -1;
  }
}

/* ==========================================================================
   Blocos editoriais (Dobras 5 e 9)
   ========================================================================== */

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.editorial--reverse .editorial__media {
  order: -1;
}

.editorial__media img {
  width: 100%;
}

.editorial__body .body-copy {
  margin-top: 26px;
}

.editorial__cta {
  margin-top: 40px;
}

@media (max-width: 900px) {
  .editorial {
    grid-template-columns: 1fr;
  }
  .editorial--reverse .editorial__media,
  .editorial__media {
    order: -1;
  }
}

/* Trio de imagens (camarins) */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trio figure {
  margin: 0;
}

.trio img {
  width: 100%;
}

.trio figcaption {
  margin-top: 14px;
  color: rgba(16, 17, 17, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--dark .trio figcaption {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 760px) {
  .trio {
    grid-template-columns: 1fr 1fr;
  }
  .trio > *:nth-child(3) {
    grid-column: span 2;
  }
}

/* ==========================================================================
   DOBRA 6 — ENTRADA, PISTA E AUDIOVISUAL
   ========================================================================== */

.stage {
  background: var(--ink);
  color: var(--white);
}

.stage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.stage__media img {
  width: 100%;
}

@media (max-width: 900px) {
  .stage__grid {
    grid-template-columns: 1fr;
  }
  .stage__media {
    order: -1;
  }
}

/* ==========================================================================
   DOBRA 8 — ESTRUTURA PARA TODAS AS IDADES
   ========================================================================== */

.ages__grid {
  counter-reset: ages;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ages__item {
  padding: clamp(28px, 2.8vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ages__item::before {
  display: block;
  counter-increment: ages;
  content: counter(ages, decimal-leading-zero);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}

.ages__item h3 {
  margin: 44px 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ages__item p {
  color: rgba(16, 17, 17, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
}

.ages__figure {
  margin: clamp(40px, 5vw, 72px) 0 0;
}

.ages__figure img {
  width: 100%;
}

.ages__figure figcaption {
  margin-top: 14px;
  color: rgba(16, 17, 17, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note-inline {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: var(--white);
  color: rgba(16, 17, 17, 0.7);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .ages__grid {
    grid-template-columns: 1fr;
  }
  .ages__item h3 {
    margin-top: 24px;
  }
}

/* ==========================================================================
   DOBRA 10 — FESTAS REAIS
   ========================================================================== */

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

.gallery__grid img {
  width: 100%;
}

.gallery__foot {
  margin-top: 40px;
}

@media (max-width: 760px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__grid > *:nth-child(3) {
    grid-column: span 2;
  }
}

/* ==========================================================================
   DOBRA 12 — O QUE ESTÁ INCLUÍDO
   Tipográfica: duas colunas, alto contraste, zero ornamento.
   ========================================================================== */

.scope {
  background: var(--white);
}

.scope__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink);
}

.scope__col {
  padding: clamp(26px, 3vw, 46px);
}

.scope__col + .scope__col {
  border-left: 1px solid var(--ink);
  background: var(--paper);
}

.scope__col h3 {
  padding-bottom: 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scope__col ul li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.4vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.scope__col ul li:last-child {
  border-bottom: 0;
}

.scope__col ul li::before {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scope__col--base ul li::before {
  content: "Incluído";
}

.scope__col--optional ul li::before {
  content: "Opcional";
  color: rgba(16, 17, 17, 0.45);
}

.scope__close {
  margin-top: 40px;
  padding: 32px 36px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.9vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.scope__actions {
  margin-top: 40px;
}

.scope__note {
  margin-top: 20px;
  color: rgba(16, 17, 17, 0.55);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .scope__columns {
    grid-template-columns: 1fr;
  }
  .scope__col + .scope__col {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
}

/* ==========================================================================
   DOBRA 13 — FAQ
   ========================================================================== */

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__list details {
  border-bottom: 1px solid var(--line);
}

.faq__list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 8px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23a4804c' stroke-width='1.3' d='M7 0v14M0 7h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 280ms var(--ease);
}

.faq__list details[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-width: 68ch;
  padding: 0 0 28px;
  color: rgba(16, 17, 17, 0.7);
  font-size: 0.98rem;
  line-height: 1.62;
}

/* ==========================================================================
   DOBRA 14 — FORMULÁRIO, REPETIÇÃO
   ========================================================================== */

.form-repeat {
  background: var(--ink);
  color: var(--white);
}

.form-repeat__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.72fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: center;
}

.form-repeat__title {
  max-width: 17ch;
  color: var(--white);
}

.form-repeat__sub {
  margin-top: 28px;
  max-width: 44ch;
}

/* No fim da página não existe disputa com a linha de corte: o card cresce. */
.form-repeat .form-card {
  max-height: none;
}

.form-repeat .form-card__body {
  overflow: visible;
}

@media (max-width: 1000px) {
  .form-repeat__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DOBRA 15 — CTA FINAL
   ========================================================================== */

.closing {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.closing__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.closing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.94);
}

.closing__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding-block: clamp(84px, 11vw, 168px);
}

.closing__inner .eyebrow {
  margin-inline: auto;
}

.closing__inner .h2 {
  max-width: 19ch;
  color: var(--white);
}

.closing__inner .lede {
  margin-top: 28px;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.74);
}

.closing__actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 70px 32px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.62);
  background: var(--ink);
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer img {
  height: 46px;
  width: auto;
  margin-bottom: 20px;
}

.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.footer-legal {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  line-height: 1.65;
}

/* ==========================================================================
   Reveal
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* ==========================================================================
   Override da validação de forms (assets/validacao-forms.js)
   A biblioteca escreve verde e vermelho inline nas mensagens. A paleta desta
   página é exclusiva, então o !important é a única forma de vencer o inline.
   ========================================================================== */

.form-card .v4-msg {
  margin-top: 4px !important;
  min-height: 0 !important;
  font-size: 0.69rem !important;
  line-height: 1.35 !important;
  color: var(--graphite) !important;
}

.form-card .field:not(.is-invalid) .v4-msg:empty {
  display: none !important;
}

.form-card input[data-validate][data-valid="true"] {
  border-color: var(--gold);
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
    --shell: min(1320px, calc(100vw - 40px));
  }
  .container--narrow {
    width: min(980px, calc(100vw - 40px));
  }
  .brand img {
    height: 42px;
  }
  .site-header.is-scrolled .brand img {
    height: 36px;
  }
}

@media (max-width: 560px) {
  .form-card {
    padding: 20px 18px;
  }
  .form-card__head {
    margin-bottom: 14px;
  }
  .form-card__sub {
    margin-top: 8px;
    font-size: 0.8rem;
  }
  .form-card__body {
    padding-top: 12px;
  }
  .hero__copy .eyebrow {
    margin-bottom: 18px;
  }
  .hero__sub {
    margin-top: 18px;
    font-size: 0.95rem;
  }
  .scope__close {
    padding: 24px 22px;
  }
  .button {
    min-height: 50px;
    padding: 14px 20px;
  }
}


/* Telas baixas: o bloco de texto do hero encolhe para o card continuar
   respirando. Nenhuma linha de copy sai da tela, só a escala muda. */
@media (max-width: 1100px) and (max-height: 760px) {
  :root {
    --header-h: 64px;
  }
  .hero__inner {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
    padding-block: calc(var(--header-h) + 12px) 18px;
  }
  .hero__copy .eyebrow {
    margin-bottom: 12px;
  }
  .hero__title {
    font-size: clamp(1.55rem, 4.8vw, 2.05rem);
  }
  .hero__sub {
    margin-top: 12px;
    font-size: 0.8125rem;
    line-height: 1.42;
  }
  .form-card {
    padding: 16px 16px 14px;
  }
  .form-card__head {
    margin-bottom: 10px;
  }
  .form-card__title {
    font-size: 1.35rem;
  }
  .form-card__sub {
    margin-top: 6px;
    font-size: 0.75rem;
  }
  .progress {
    padding-block: 9px;
  }
  .form-card__body {
    padding-top: 10px;
  }
  .field {
    margin-bottom: 9px;
  }
  .field input,
  .field select {
    min-height: 42px;
  }
  .button {
    min-height: 46px;
  }
  .form-micro,
  .form-privacy {
    margin-top: 7px;
  }
}


/* Fim do arquivo de propósito: precisa vencer, por ordem de fonte, o
   max-height do card definido na Dobra 1. No hero empilhado quem manda na
   altura do card é a linha do grid. */
@media (max-width: 1100px) {
  .hero .form-card {
    max-height: none;
    height: 100%;
    min-height: 0;
  }
}

/* ==========================================================================
   Modal do formulário

   A LP inteira tem uma instância só do formulário e ela vive aqui dentro.
   Todo CTA da página abre este mesmo modal.
   ========================================================================== */

.form-modal {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  color: var(--ink);
}

.form-modal::backdrop {
  background: rgba(10, 11, 11, 0.72);
  backdrop-filter: blur(6px);
}

.form-modal[open] {
  animation: modalIn 320ms var(--ease) both;
}

.form-modal[open]::backdrop {
  animation: backdropIn 320ms ease both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.form-modal__shell {
  position: relative;
  max-height: calc(100svh - 32px);
  display: flex;
}

.form-modal .form-card {
  max-height: calc(100svh - 32px);
  width: 100%;
  background: var(--white);
  backdrop-filter: none;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.form-modal__close {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(16, 17, 17, 0.5);
  font-size: 1.6rem;
  line-height: 1;
  transition: color 200ms ease, border-color 200ms ease;
}

.form-modal__close:hover {
  border-color: var(--line);
  color: var(--ink);
}

body.has-modal {
  overflow: hidden;
}

/* O card dentro do modal não disputa espaço com nada: o corpo rola por dentro
   e o rodapé com o botão fica fixo, igual no restante do sistema. */
.form-modal .form-card__head {
  padding-right: 42px;
}

@media (max-width: 560px) {
  /* Centralizado, não colado no rodapé. */
  .form-modal {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100svh - 24px);
    margin: auto;
  }
  .form-modal__shell,
  .form-modal .form-card {
    max-height: calc(100svh - 24px);
  }
}

/* ==========================================================================
   Hero sem formulário: coluna única, CTA abaixo da subheadline
   ========================================================================== */

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

.hero__copy {
  max-width: 44ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 38px;
}

.header-button {
  min-height: 44px;
  padding: 12px 22px;
  font-size: 0.7rem;
}

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

.form-repeat__title,
.form-repeat__sub {
  max-width: 22ch;
}

.form-repeat__sub {
  max-width: 52ch;
}

.form-repeat__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 40px;
}

.skip-link {
  border: 0;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .hero__inner {
    grid-template-rows: auto;
    height: auto;
    align-items: center;
  }
  .hero__reassure {
    display: block;
  }
}

@media (max-width: 560px) {
  .hero__actions {
    margin-top: 28px;
    gap: 16px 20px;
  }
  .hero__actions .button {
    width: 100%;
  }
}

/* ==========================================================================
   DOBRA 4 — respiro e hierarquia no texto de origem

   Eram três parágrafos corridos de mesmo peso sobre fundo preto. Agora o
   primeiro parágrafo abre maior, cada bloco é separado por fio, e as frases
   que carregam a prova ganham destaque em dourado claro.
   ========================================================================== */

.origin__grid .body-copy {
  margin-top: 30px;
  border-top: 1px solid var(--line-light);
}

.origin__grid .body-copy p {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.68;
}

.origin__grid .body-copy p + p {
  margin-top: 0;
}

.origin__grid .body-copy p:first-child {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  line-height: 1.55;
}

.origin__grid .body-copy strong {
  color: var(--gold-bright);
  font-weight: 500;
}

/* Mesma lógica de destaque nos demais blocos sobre fundo escuro. */
.section--dark .body-copy strong,
.on-dark .body-copy strong,
.stage .body-copy strong {
  color: var(--gold-bright);
  font-weight: 500;
}

.section--dark .body-copy p,
.on-dark .body-copy p,
.stage .body-copy p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.68;
}

/* Em fundo claro o destaque é a própria tinta, não o dourado. */
.section--paper .body-copy strong,
.section--white .body-copy strong,
.section--paper-2 .body-copy strong {
  color: var(--ink);
  font-weight: 500;
}

/* Abertura da Dobra 6: uma linha só, em serifa, antes do parágrafo de prova. */
.stage__lead {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  line-height: 1.24;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   Botão flutuante

   Ícone de WhatsApp, destino = modal do formulário. Não há link de mensagem.
   Renderizado só com botaoFlutuante: true em tracking-config.js.
   Sem cor fora da régua: dourado sobre preto, como o resto da página.
   ========================================================================== */

/* Verde padrão do WhatsApp. É a ÚNICA cor fora da paleta da página, e está
   aqui de propósito: o botão só é reconhecido como esse gesto se vier na cor
   que as pessoas já conhecem. Decisão do André, 2026-09-15.
   Nenhum outro elemento da LP pode usar estes valores. */
.whatsapp-float {
  --zap: #25d366;
  --zap-escuro: #1da851;

  position: fixed;
  z-index: 85;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--zap);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(37, 211, 102, 0.28);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  background: var(--zap-escuro);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), 0 6px 16px rgba(37, 211, 102, 0.34);
}

/* No mobile a barra fixa ocupa o rodapé: o botão sobe para não colidir. */
@media (max-width: 900px) {
  .whatsapp-float {
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}

/* Com o modal aberto, o botão sai da frente. */
body.has-modal .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}

/* No hero empilhado a copy ocupa a largura toda, então o degradê lateral não
   protege a leitura. Abaixo de 1100px o scrim vira vertical. */
@media (max-width: 1100px) {
  .hero__media::before {
    background: linear-gradient(
        180deg,
        rgba(16, 17, 17, 0.88) 0%,
        rgba(16, 17, 17, 0.8) 46%,
        rgba(16, 17, 17, 0.7) 66%,
        rgba(16, 17, 17, 0.86) 88%,
        var(--ink) 100%
      ),
      linear-gradient(90deg, rgba(16, 17, 17, 0.5) 0%, rgba(16, 17, 17, 0.25) 100%);
  }
  .hero__media img {
    object-position: 58% 30%;
    filter: contrast(1.03) brightness(0.92);
  }
  .hero__media::after {
    opacity: 0.12;
  }
}

/* ==========================================================================
   AJUSTES DE LAYOUT — 2026-09-14
   ========================================================================== */

/* ---------- Ícones de apoio ---------- */

.ico {
  width: 34px;
  height: 34px;
  color: var(--gold);
  stroke-width: 1.2;
}

.section--dark .ico,
.on-dark .ico,
.proof .ico {
  color: var(--gold);
}

/* ---------- Cabeçalho de seção empilhado (eyebrow acima do título) ---------- */

.section-head--stack {
  display: block;
  max-width: 68ch;
}

.section-head--stack .lede,
.section-head--stack .body-copy {
  margin-top: 22px;
}

/* ---------- DOBRA 2 — cards com número e ícone ---------- */

.proof-grid article {
  gap: 0;
}

.proof-grid__num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.proof-grid .ico {
  margin-top: 26px;
}

.proof-grid h3 {
  margin-top: auto;
  padding-top: 26px;
}

/* ---------- DOBRA 3 — imagem abaixo do título, colunas centradas ---------- */

.diagnosis__grid {
  align-items: center;
}

.diagnosis__figure {
  margin: clamp(28px, 3vw, 44px) 0 0;
}

.diagnosis__figure img {
  width: 100%;
}

@media (max-width: 900px) {
  .diagnosis__figure {
    margin-top: 26px;
  }
}

/* ---------- DOBRA 4 — título centralizado, texto distribuído ---------- */

/* Largura em px, não em ch: o ch aqui seria calculado na fonte do container
   (Instrument Sans 16px) e não na do título, o que espremia a caixa e quebrava
   a headline em cinco linhas. Esta medida deixa o título em duas linhas. */
.origin__head {
  max-width: min(880px, 100%);
  margin: 0 auto clamp(40px, 5vw, 72px);
  text-align: center;
}

.origin__head .eyebrow {
  margin-inline: auto;
}

.origin__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}

.origin__row + .origin__row {
  margin-top: clamp(36px, 4vw, 64px);
}

/* As duas linhas da Dobra 4 se intercalam: a primeira tem imagem à esquerda e
   texto à direita, a segunda inverte. Em telas estreitas as duas empilham com
   a imagem em cima. */
.origin__row--invertida {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.origin__row--invertida .origin__figure {
  order: 2;
}

.origin__row--invertida .origin__text {
  order: 1;
}

.origin__text {
  max-width: 54ch;
}

.origin .origin__text p {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.7;
}

.origin .origin__text p + p {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.origin__seal {
  max-width: 76ch;
  margin: clamp(40px, 5vw, 72px) auto 0;
  text-align: center;
  border-left: 0;
  border-top: 2px solid var(--gold-bright);
}

@media (max-width: 900px) {
  .origin__row,
  .origin__row--invertida {
    grid-template-columns: 1fr;
  }
  .origin__row--invertida .origin__figure {
    order: -1;
  }
  .origin__head {
    max-width: none;
    text-align: left;
  }
  .origin__head .eyebrow {
    margin-inline: 0;
  }
  .origin__seal {
    text-align: left;
  }
}

/* ---------- DOBRA 6 — abertura em sans com peso, não em serifa ---------- */

.stage__lead {
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--white);
}

/* ---------- DOBRA 8 — cards com número e ícone ---------- */

.ages__item::before {
  content: none;
}

.ages__num {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.ages__item .ico {
  margin-top: 24px;
}

.ages__item h3 {
  margin: 24px 0 12px;
}

/* ---------- DOBRA 9 — galeria de gastronomia ---------- */

.gastro-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gastro-grid figure {
  margin: 0;
}

.gastro-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 760px) {
  .gastro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- DOBRA 14 — proposta com imagem ---------- */

.form-repeat__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
}

.form-repeat__copy {
  max-width: 54ch;
}

.form-repeat__media {
  margin: 0;
}

.form-repeat__media img {
  width: 100%;
}

@media (max-width: 1000px) {
  .form-repeat__grid {
    grid-template-columns: 1fr;
  }
  .form-repeat__media {
    order: -1;
  }
}

/* ---------- DOBRA 15 — fundo com menos peso, um botão maior ---------- */

.closing__media img {
  filter: brightness(0.34) saturate(0.85) blur(3px);
  transform: scale(1.04);
}

.closing::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: radial-gradient(
    120% 90% at 50% 50%,
    rgba(16, 17, 17, 0.42) 0%,
    rgba(16, 17, 17, 0.78) 62%,
    var(--ink) 100%
  );
}

.button-lg {
  min-height: 62px;
  padding: 19px 44px;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
}

@media (max-width: 560px) {
  .button-lg {
    width: 100%;
    min-height: 56px;
    padding: 17px 24px;
  }
}

/* ==========================================================================
   Hero no mobile: texto em cima, imagem no meio, bullets embaixo

   Empilhada, a imagem deixa de ser fundo e vira um bloco próprio, para o
   texto não cobrir a debutante e o pai. A ordem é definida por flex, e é
   por isso que a lista foi tirada de dentro de .hero__copy: só dá para
   reordenar elementos irmãos.
   ========================================================================== */

@media (max-width: 1100px) {
  .hero {
    min-height: 0;
    justify-content: flex-start;
  }

  .hero__inner {
    order: 1;
    padding-block: calc(var(--header-h) + 22px) 30px;
  }

  .hero__media {
    order: 2;
    position: relative;
    inset: auto;
    height: clamp(300px, 46vh, 430px);
  }

  .hero__media img {
    object-position: 58% 24%;
    filter: contrast(1.02) brightness(1);
    animation: none;
    transform: none;
  }

  /* Sem texto por cima, o scrim vira só um respiro nas bordas. */
  .hero__media::before {
    background: linear-gradient(
      180deg,
      rgba(16, 17, 17, 0.55) 0%,
      rgba(16, 17, 17, 0) 22%,
      rgba(16, 17, 17, 0) 74%,
      rgba(16, 17, 17, 0.6) 100%
    );
  }

  .hero__media::after {
    display: none;
  }

  .hero__foot {
    order: 3;
    display: block;
    padding-block: 26px 34px;
  }

  .hero__reassure {
    display: block;
    max-width: none;
  }
}
