/* styles.css — estilos não-críticos do funil de aplicação. */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700.woff2') format('woff2');
}

a { color: var(--gold-bright); }

/* Esconde a barra de rolagem nativa (o scroll continua funcionando normalmente) */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}

.btn--glow:hover,
.btn--glow:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 200, 119, 0.35);
}

/* Botão dourado com acabamento em relevo (baseado em Uiverse.io by elijahgummer) */
.btn--primary {
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  background-size: 100% 100%;
  background-position: center;
  border: 1px solid #a55d07;
  color: rgb(120, 50, 5);
  text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-size: 150% 150%;
  border-color: rgba(165, 93, 7, 0.6);
  color: rgba(120, 50, 5, 0.8);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.19),
    0 6px 6px rgba(0, 0, 0, 0.23),
    inset 0 -2px 5px 1px #b17d10,
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}
.btn--primary:active {
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px #b17d10,
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}

/* ---- Botão flutuante do WhatsApp (mesmo acabamento dourado do CTA) ---- */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(120, 50, 5);
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  background-size: 100% 100%;
  background-position: center;
  border: 1px solid #a55d07;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
  transition: transform 0.2s ease, background-size 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-2px) scale(1.05);
  background-size: 150% 150%;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.19),
    0 6px 6px rgba(0, 0, 0, 0.23),
    inset 0 -2px 5px 1px #b17d10,
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    transition: none;
  }
}

/* ---- Vídeo de fundo, restrito à primeira dobra (dentro do <main>) ---- */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.bg-video.is-visible {
  opacity: 0.22;
}
@media (prefers-reduced-motion: reduce) {
  .bg-video {
    display: none;
  }
}

/* ---- Dobra de recursos (vídeos), só visível na introdução ---- */
.features {
  display: none;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-alt);
  background-image:
    radial-gradient(ellipse 700px 400px at 15% 0%, rgba(201, 162, 83, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 85% 100%, rgba(201, 162, 83, 0.1) 0%, transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features.is-visible {
  display: block;
}
.features__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.features__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 28px;
}
.features__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(21px, 5vw, 26px);
  line-height: 1.35;
  margin: 0;
  color: var(--text);
}
.features__tagline {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.features__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature-card {
  flex: 1;
}

/* Moldura dourada com brilho animado ao redor do vídeo, efeito de joia */
.feature-card__frame {
  position: relative;
  border-radius: 12px;
  padding: 3px;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  box-shadow: 0 0 18px rgba(232, 200, 119, 0.25);
  overflow: hidden;
}
/* Brilho passa por cima em transform (GPU), em vez de animar background-position (repaint pesado) */
.feature-card__frame::before {
  content: '';
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 244, 214, 0.55) 50%, transparent 60%);
  transform: translateX(-35%);
  animation: frame-shimmer 6s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}
@keyframes frame-shimmer {
  0%, 100% { transform: translateX(-35%); }
  50% { transform: translateX(35%); }
}
.feature-card__video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 9px;
  background: var(--surface);
  display: block;
}
.feature-card__title {
  margin: 16px 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.feature-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

@media (min-width: 900px) {
  .features__inner {
    max-width: 1100px;
    padding: 0 40px;
  }
  .features__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
  .features__title {
    max-width: 480px;
  }
  .features__tagline {
    max-width: 320px;
    padding-top: 6px;
  }
  .features__grid {
    flex-direction: row;
    gap: 32px;
  }
}

/* ---- Portfólio com texto fixo e fotos deslizando por cima, só na introdução ---- */
.portfolio {
  display: none;
}
.portfolio.is-visible {
  display: block;
}
/* Mobile: texto e fotos ocupam a MESMA célula do grid (se sobrepõem).
   O texto fica sticky, centralizado atrás; as fotos (opacas) rolam por
   cima e vão "cobrindo" o texto até o final da seção. */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
}
.portfolio__sticky {
  grid-row: 1;
  grid-column: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 0;
  pointer-events: none;
}
.portfolio__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.15;
  color: var(--text);
  margin: 0;
}
.portfolio__images {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  padding: 60vh 20px 100px;
}
.portfolio__figure {
  margin: 0;
  display: flex;
  justify-content: center;
}
.portfolio__placeholder {
  width: min(320px, 80vw);
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.portfolio__placeholder-tag {
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold);
}
.portfolio__photo {
  width: min(320px, 80vw);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  display: block;
}

@media (min-width: 900px) {
  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .portfolio__sticky {
    grid-column: 1;
    padding: 0;
    pointer-events: auto;
  }
  .portfolio__images {
    grid-column: 2;
    padding: 80px 0;
    gap: 32px;
  }
  .portfolio__placeholder,
  .portfolio__photo {
    width: 340px;
  }
  .portfolio__figure--left .portfolio__placeholder,
  .portfolio__figure--left .portfolio__photo {
    transform: rotate(-4deg);
  }
  .portfolio__figure--right .portfolio__placeholder,
  .portfolio__figure--right .portfolio__photo {
    transform: rotate(4deg);
    margin-left: 60px;
  }
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .portfolio__placeholder,
  .portfolio__photo {
    transition: transform 0.3s ease;
  }
  .portfolio__placeholder:hover,
  .portfolio__photo:hover {
    transform: rotate(0deg) scale(1.03);
  }
}

/* ---- Depoimentos, só visível na introdução ---- */
.testimonials {
  display: none;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-alt);
  background-image: radial-gradient(ellipse 700px 500px at 90% 100%, rgba(201, 162, 83, 0.14) 0%, transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials.is-visible {
  display: block;
}
/* Gradiente orgânico animado ao fundo (blobs desfocados se movendo devagar),
   dando destaque à seção sem precisar de canvas/WebGL. */
.testimonials__gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.testimonials__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
  will-change: transform;
}
.testimonials__blob--1 {
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  top: -10%;
  left: -15%;
  background: radial-gradient(circle, rgba(232, 200, 119, 0.85) 0%, transparent 70%);
  animation: testimonials-blob-1 8s ease-in-out infinite;
}
.testimonials__blob--2 {
  width: min(60vw, 480px);
  height: min(60vw, 480px);
  top: 28%;
  right: -15%;
  background: radial-gradient(circle, rgba(201, 162, 83, 0.8) 0%, transparent 70%);
  animation: testimonials-blob-2 10s ease-in-out infinite;
}
.testimonials__blob--3 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: 55%;
  left: 5%;
  background: radial-gradient(circle, rgba(240, 220, 160, 0.75) 0%, transparent 70%);
  animation: testimonials-blob-3 7s ease-in-out infinite;
}
.testimonials__blob--4 {
  width: min(60vw, 460px);
  height: min(60vw, 460px);
  bottom: -12%;
  right: -10%;
  background: radial-gradient(circle, rgba(232, 200, 119, 0.75) 0%, transparent 70%);
  animation: testimonials-blob-2 12s ease-in-out infinite reverse;
}
.testimonials__blob--5 {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  top: 80%;
  left: 45%;
  background: radial-gradient(circle, rgba(201, 162, 83, 0.7) 0%, transparent 70%);
  animation: testimonials-blob-3 9s ease-in-out infinite reverse;
}
@keyframes testimonials-blob-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28%, 30%) scale(1.4); }
}
@keyframes testimonials-blob-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30%, -24%) scale(1.35); }
}
@keyframes testimonials-blob-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24%, 22%) scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials__blob {
    animation: none;
  }
}
/* No desktop a seção é bem mais baixa (2 linhas de cards, não 8 empilhados),
   então volta a versão mais discreta de antes — só o mobile fica mais vívido. */
@media (min-width: 900px) {
  .testimonials__gradient {
    mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 45%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 45%, transparent 90%);
  }
  .testimonials__blob {
    filter: blur(70px);
  }
  .testimonials__blob--1 {
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    top: -15%;
    left: -10%;
    right: auto;
    bottom: auto;
    background: radial-gradient(circle, rgba(232, 200, 119, 0.55) 0%, transparent 70%);
    animation-name: testimonials-blob-1-desktop;
    animation-duration: 9s;
  }
  .testimonials__blob--2 {
    width: min(45vw, 440px);
    height: min(45vw, 440px);
    top: auto;
    bottom: -20%;
    right: -10%;
    left: auto;
    background: radial-gradient(circle, rgba(201, 162, 83, 0.5) 0%, transparent 70%);
    animation-name: testimonials-blob-2-desktop;
    animation-duration: 11s;
  }
  .testimonials__blob--3 {
    width: min(38vw, 360px);
    height: min(38vw, 360px);
    top: 32%;
    left: 55%;
    background: radial-gradient(circle, rgba(240, 220, 160, 0.45) 0%, transparent 70%);
    animation-name: testimonials-blob-3-desktop;
    animation-duration: 8s;
  }
  .testimonials__blob--4,
  .testimonials__blob--5 {
    display: none;
  }
  @keyframes testimonials-blob-1-desktop {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(22%, 26%) scale(1.35); }
  }
  @keyframes testimonials-blob-2-desktop {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-26%, -20%) scale(1.3); }
  }
  @keyframes testimonials-blob-3-desktop {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-32%, 18%) scale(0.75); }
  }
}
.testimonials__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.testimonials__head {
  margin-bottom: 32px;
}
.testimonials__sub {
  color: var(--text-muted);
  font-size: 15px;
  margin: 8px 0 0;
}
.testimonials__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.testimonial-card__stars {
  color: var(--gold-bright);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card__quote {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1 0 auto;
}
.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.testimonial-card__author {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-card__product {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .testimonials__inner {
    max-width: 1320px;
    padding: 0 40px;
  }
  .testimonials__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* ---- CTA final com vídeo mascarado, só visível na introdução ---- */
.final-cta {
  display: none;
  padding: 64px 0;
}
.final-cta.is-visible {
  display: block;
}
.final-cta__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
}
.final-cta__sub {
  color: var(--text-muted);
  font-size: 15px;
  margin: 12px 0 24px;
  max-width: 460px;
}
.final-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.final-cta__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1a1509;
  color: var(--gold-bright);
  font-size: 14px;
}
.final-cta__media {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.final-cta__video {
  width: 78%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  /* Máscara radial generosa: o vídeo unido some no fundo bem antes da borda da caixa */
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 15%, transparent 85%);
  mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 15%, transparent 85%);
}

@media (min-width: 900px) {
  .final-cta__inner {
    max-width: 1100px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .final-cta__media {
    margin-top: 0;
  }
  .final-cta__video {
    aspect-ratio: 1 / 1;
  }
}

/* ---- FAQ, só visível na introdução ---- */
.faq {
  display: none;
  padding: 64px 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.faq.is-visible {
  display: block;
}
.faq__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
}
.faq__head {
  margin-bottom: 24px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item__chevron {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 20px;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}
.faq-item p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.placeholder-inline {
  color: var(--gold);
  font-style: italic;
}

@media (min-width: 900px) {
  .faq__inner {
    max-width: 1100px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
  }
}

main,
.footer {
  position: relative;
  z-index: 1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px;
}

/* Foco de gerenciamento de tela (h1 com tabindex="-1") não deve mostrar anel visual */
.step-title:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

main {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 40px 0;
}
main > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.step-card {
  width: 100%;
  animation: fade-in 0.25s ease;
}
.step-card--hero {
  text-align: center;
}
.step-title--hero {
  font-size: clamp(32px, 6vw, 56px);
}
.step-body--hero {
  font-size: clamp(17px, 2.4vw, 19px);
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.step-title--question {
  font-size: clamp(20px, 5vw, 26px);
}
.step-body {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 14px;
}

/* ---- Perguntas de escolha ---- */
.form-question {
  margin-bottom: 28px;
}
.form-question__title {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  font-size: 16px;
}
.choice-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.choice-btn {
  text-align: left;
  font-family: var(--sans);
  font-size: 16px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.choice-btn:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.choice-btn.is-selected {
  border-color: var(--gold-bright);
  background: rgba(228, 196, 119, 0.12);
  color: var(--gold-bright);
}
.choice-note {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin: 16px 0;
}
.choice-note p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---- Formulário de contato ---- */
.trust-block {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 8px;
}
.trust-text {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 4px;
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-field input {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.field-error {
  color: var(--error);
  font-size: 13px;
  margin: 6px 0 0;
  min-height: 16px;
}
.error-summary {
  background: rgba(255, 143, 143, 0.1);
  border: 1px solid var(--error);
  color: var(--error);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}
.error-summary[hidden] {
  display: none;
}

/* ---- Botões auxiliares ---- */
.btn--full {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 4px;
}
.btn--link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  padding: 12px 0;
  margin-top: 12px;
}
.btn--link:hover {
  color: var(--gold-bright);
}
.btn--ghost {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
}

/* ---- Retomar aplicação ---- */
.resume-card__text {
  color: var(--text-muted);
  margin-bottom: 20px;
}
.resume-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  overflow: hidden;
  padding: 56px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
/* Feixes de luz diagonais, sutis, cruzando o fundo do rodapé */
.footer__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.footer__glow-beam {
  position: absolute;
  width: 150%;
  height: 260px;
  border-radius: 50%;
  filter: blur(65px);
  mix-blend-mode: screen;
  will-change: transform;
}
.footer__glow-beam--1 {
  top: -60px;
  left: -25%;
  background: radial-gradient(ellipse, rgba(232, 200, 119, 0.4) 0%, transparent 70%);
  animation: footer-glow-1 16s ease-in-out infinite;
}
.footer__glow-beam--2 {
  bottom: -100px;
  left: -35%;
  background: radial-gradient(ellipse, rgba(201, 162, 83, 0.35) 0%, transparent 70%);
  animation: footer-glow-2 20s ease-in-out infinite;
}
@keyframes footer-glow-1 {
  0%, 100% { transform: translateX(0) rotate(-8deg); }
  50% { transform: translateX(14%) rotate(-4deg); }
}
@keyframes footer-glow-2 {
  0%, 100% { transform: translateX(0) rotate(7deg); }
  50% { transform: translateX(-12%) rotate(11deg); }
}
@media (prefers-reduced-motion: reduce) {
  .footer__glow-beam {
    animation: none;
  }
}
.footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  margin: 0 0 10px;
}
.footer__contact {
  display: inline-block;
  color: var(--gold-bright);
  font-size: 15px;
  text-decoration: none;
  margin: 0 0 6px;
}
.footer__contact:hover {
  text-decoration: underline;
}
.footer__location {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}
.footer__nav a:hover {
  color: var(--gold-bright);
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 0 24px;
}
.footer__wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 8vw, 44px);
  color: var(--gold-bright);
  margin: 0;
  line-height: 1;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__social-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.footer__copy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

@media (min-width: 900px) {
  .footer__inner {
    padding: 0 40px;
  }
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer__nav {
    flex-direction: row;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---- Vitrine Black Friday: cards com preço "de" riscado e preço "por" ---- */
.vitrine__conditions {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}
.vitrine__condition {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgba(201, 162, 83, 0.06);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.vitrine__condition strong {
  color: var(--gold-bright);
  font-weight: 600;
}
.vitrine__group + .vitrine__group {
  margin-top: 44px;
}
.vitrine__group-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-style: italic;
  font-weight: 500;
}
.vitrine__group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.5;
}
.vitrine__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.vitrine-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.vitrine-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(232, 200, 119, 0.12);
}
.vitrine-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #221c14, #120f0b);
}
.vitrine-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vitrine-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  border-bottom: 1px dashed var(--border);
}
.vitrine-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #0c0b09;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.vitrine-card__example {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #7a1f1f;
  color: #ffe3e3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vitrine-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px;
}
.vitrine-card__category {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.vitrine-card__name {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.vitrine-card__desc {
  margin: -4px 0 12px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
  flex: 1 0 auto;
}
.vitrine-card__from {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}
.vitrine-card__from s {
  text-decoration-color: rgba(255, 143, 143, 0.8);
}
.vitrine-card__to {
  margin: 0;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}
.vitrine-card__to span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.vitrine-card__note {
  margin: 2px 0 12px;
  color: var(--text-muted);
  font-size: 11px;
}
.vitrine-card__btn {
  font-size: 13px;
  padding: 11px 10px;
}
@media (min-width: 900px) {
  .vitrine__conditions {
    grid-template-columns: 1fr 1fr;
  }
  .vitrine__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .vitrine-card__body {
    padding: 18px;
  }
  .vitrine-card__name {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vitrine-card {
    transition: none;
  }
  .vitrine-card:hover {
    transform: none;
  }
}

/* Cards de "Sobre a Magnos": o título vem antes do texto */
.testimonials .testimonial-card__author {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 16px;
}
.testimonials .testimonial-card__quote {
  margin: 0;
  color: var(--text-muted);
}

/* ---- Sobre a loja: foto da fachada + diferenciais ---- */
.sobre__photo {
  position: relative;
  margin: 0 0 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4 / 5;
}
.sobre__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.sobre__photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 5, 0.85));
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: 0.02em;
}
@media (min-width: 900px) {
  .sobre {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
  }
  .sobre__photo {
    margin: 0;
    aspect-ratio: 638 / 1020;
    max-height: 640px;
    width: 100%;
  }
  .sobre .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* ---- Avaliações de clientes ---- */
.reviews {
  margin-top: 56px;
}
.reviews__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-style: italic;
  font-weight: 500;
}
.reviews__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.5;
}
.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.review-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.review-card__stars {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 15px;
  letter-spacing: 3px;
}
.review-card__quote {
  flex: 1 0 auto;
  margin: 0 0 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
.review-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}
.review-card__author {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.review-card__source {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}
@media (min-width: 900px) {
  .reviews__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ---- Primeira dobra: caixa da headline mais larga e destaque da Black Friday ---- */
.step-card--hero {
  position: relative;
  left: 50%;
  width: min(820px, calc(100vw - 40px));
  translate: -50% 0;
}
.step-card--hero .step-body--hero {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.br-desk {
  display: none;
}
@media (min-width: 900px) {
  .br-desk {
    display: inline;
  }
  .step-title--hero {
    font-size: clamp(48px, 5.2vw, 64px);
    line-height: 1.12;
  }
}
.hero-highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.08em;
  margin: 0 -0.08em 0 -0.04em;
  background: linear-gradient(100deg, #b8862f 0%, #f6dc8f 28%, #fff4cf 45%, #e8c877 62%, #a8741f 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(232, 200, 119, 0.35));
  animation: hero-shine 4.5s ease-in-out infinite;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  left: 0.08em;
  right: 0.08em;
  bottom: 0.02em;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #e8c877, transparent);
  opacity: 0.85;
}
@keyframes hero-shine {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-highlight {
    animation: none;
    background-position: 50% 0;
  }
}

/* ---- Vitrine: chamada para quem não encontrou a peça ---- */
.vitrine__help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 44px;
  padding: 28px 24px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 200, 119, 0.14), transparent 55%),
    var(--surface);
  box-shadow: 0 0 28px rgba(232, 200, 119, 0.08);
}
.vitrine__help-title {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-style: italic;
  font-weight: 500;
}
.vitrine__help-body {
  margin: 0;
  max-width: 620px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.vitrine__help-btn {
  width: 100%;
}
@media (min-width: 900px) {
  .vitrine__help {
    padding: 32px 40px;
  }
  .vitrine__help-btn {
    width: auto;
    flex-shrink: 0;
  }
}

/* ---- Celular: "Joias para cada momento" sem o vão preto antes do título ---- */
@media (max-width: 899px) {
  .portfolio__sticky {
    align-items: flex-start;
    padding-top: 48px;
  }
  .portfolio__images {
    padding-top: 190px;
    gap: 72px;
  }
}
