/* =============================================
   BRI ATELIÊ DE DOCES — Páginas internas
   (casamento, Natal e as próximas). Usa as cores
   e fontes definidas em style.css.
   ============================================= */

/* ── Capa da página ── */
.pg-hero {
  position: relative; overflow: hidden; background: #170d0b; color: #fbf3ea;
  padding-top: 66px; min-height: min(82vh, 700px); display: flex; align-items: center;
}
.pg-hero__bg {
  position: absolute; inset: 0; object-fit: cover;
  filter: blur(46px) saturate(1.15) brightness(.58); transform: scale(1.25);
}
.pg-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(23,10,12,.84) 0%, rgba(23,10,12,.58) 46%, rgba(23,10,12,.06) 100%);
}
.pg-hero__photo {
  position: absolute; top: 66px; height: calc(100% - 66px); width: auto; aspect-ratio: 3 / 4;
  right: max(3vw, calc((100vw - 1260px) / 2)); object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 86%, transparent 100%);
}
.pg-hero--torre .pg-hero__photo { aspect-ratio: 694 / 1041; }
.pg-hero__content { position: relative; z-index: 2; width: 100%; max-width: 1140px; margin: 0 auto; padding: 56px 24px; }
.pg-hero__content > * { max-width: 540px; }
.crumbs { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(251,243,234,.66); margin-bottom: 1.6rem; }
.crumbs a { color: var(--gold-light); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .5em; opacity: .6; }
.pg-hero__eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .9rem; }
.pg-hero h1 {
  font-family: 'Cormorant Garamond', serif; font-variant-numeric: lining-nums; font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; color: #fff; margin-bottom: 1.1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.pg-hero h1 em { font-family: 'Great Vibes', cursive; font-style: normal; font-weight: 400; color: var(--gold-light); font-size: 1.25em; line-height: 1; }
.pg-hero__rule { width: 64px; height: 1px; background: var(--gold); margin-bottom: 1.2rem; }
.pg-hero__lead { font-size: 1.06rem; line-height: 1.7; color: rgba(251,243,234,.9); margin-bottom: 1.9rem; }
.pg-hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn--ghost { background: transparent; color: var(--gold-light); border: 1.5px solid var(--gold-light); }
.btn--ghost:hover { background: var(--gold-light); color: var(--primary-dark); transform: translateY(-2px); }

/* ── Blocos de conteúdo ── */
.pg-white { background: var(--white); }
.pg-alt { background: var(--bg-alt); }
.pg-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.pg-intro p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 1rem; }
.pg-intro strong { color: var(--primary); font-weight: 600; }

.pg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.pg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pg-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition);
}
.pg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pg-card__img { aspect-ratio: 4 / 5; overflow: hidden; }
.pg-card__img img { transition: transform .4s ease; }
.pg-card:hover .pg-card__img img { transform: scale(1.05); }
.pg-card__body { padding: 1.3rem 1.3rem 1.5rem; border-top: 3px solid var(--gold); flex: 1; }
.pg-card__body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: var(--primary); line-height: 1.2; margin-bottom: .5rem; }
.pg-card__body p { font-size: .92rem; color: var(--text-light); line-height: 1.6; }

/* passos da encomenda */
.pg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; counter-reset: passo; }
.pg-step { position: relative; background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.5rem 1.7rem; box-shadow: var(--shadow); counter-increment: passo; }
.pg-step::before {
  content: counter(passo, decimal-leading-zero); display: block; font-family: 'Raleway', sans-serif; font-weight: 600;
  font-size: .95rem; letter-spacing: .2em; color: var(--gold); padding-bottom: .8rem; margin-bottom: 1.1rem;
  border-bottom: 1.5px solid var(--gold); width: 2.6em;
}
.pg-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--primary); margin-bottom: .5rem; line-height: 1.2; }
.pg-step p { font-size: .92rem; color: var(--text-light); line-height: 1.6; }
.pg-note { text-align: center; color: var(--text-light); font-size: .95rem; margin-top: 2rem; }
.pg-note strong { color: var(--primary); font-weight: 600; }

/* sabores em pílulas */
.pg-pills { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2rem; }

/* duas colunas: texto + foto */
.pg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.pg-split__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.pg-split__text p { color: var(--text-light); margin-bottom: 1rem; }
.pg-list { margin: 1.2rem 0 1.6rem; display: grid; gap: .7rem; }
.pg-list li { position: relative; padding-left: 1.6rem; color: var(--text); font-size: .98rem; }
.pg-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* chamada final */
.pg-cta { background: var(--primary-dark); color: #fbf3ea; text-align: center; padding: 84px 0; }
.pg-cta .script { color: var(--gold-light); font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1.1; margin-bottom: .4rem; }
.pg-cta h2 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: .9rem; line-height: 1.25; }
.pg-cta p { max-width: 560px; margin: 0 auto 1.9rem; color: rgba(251,243,234,.85); }
.pg-cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.pg-cta .btn--outline { color: var(--gold-light); border-color: var(--gold-light); }
.pg-cta .btn--outline:hover { background: var(--gold-light); color: var(--primary-dark); }

/* outras páginas */
.pg-mais { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

/* preço em destaque (Natal) */
.natal__grid--5 { grid-template-columns: repeat(4, 1fr); }
.pg-preco-linha { display: flex; justify-content: center; margin-top: 1.5rem; }
.pg-preco-linha > div {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 3px solid var(--gold);
  padding: 1.1rem 1.6rem; display: flex; gap: 1.5rem; align-items: baseline; flex-wrap: wrap; justify-content: center;
}
.pg-preco-linha h3 { font-family: 'Cormorant Garamond', serif; font-variant-numeric: lining-nums; font-size: 1.3rem; font-weight: 600; color: var(--primary); }
.pg-preco-linha span { font-family: 'Cormorant Garamond', serif; font-variant-numeric: lining-nums; font-size: 1.6rem; font-weight: 600; color: var(--primary); }
.pg-preco-linha small { color: var(--text-light); font-size: .85rem; }

@media (max-width: 1000px) {
  .pg-grid, .pg-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pg-hero { display: block; min-height: 0; }
  .pg-hero__bg { display: none; }
  .pg-hero__photo, .pg-hero--torre .pg-hero__photo {
    position: static; display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-position: 50% 42%;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .pg-hero--torre .pg-hero__photo { aspect-ratio: 1 / 1; object-position: 50% 38%; }
  .pg-hero__veil { display: none; }
  .pg-hero__content { padding: 4px 22px 44px; text-align: center; margin-top: -34px; }
  .pg-hero__content > * { max-width: none; }
  .pg-hero__rule { margin-left: auto; margin-right: auto; }
  .pg-hero__btns { justify-content: center; }
  .pg-grid--3 { grid-template-columns: 1fr; }
  .pg-split { grid-template-columns: 1fr; gap: 2.2rem; }
  .pg-split__img { aspect-ratio: 4 / 3; }
  .pg-cta { padding: 64px 0; }
}
@media (max-width: 540px) {
  .pg-grid, .pg-steps { grid-template-columns: 1fr; }
  .pg-card__img { aspect-ratio: 4 / 3; }
  .section { padding: 68px 0; }
}

/* o trecho em letra cursiva do título não quebra no meio */
.pg-hero h1 em { white-space: nowrap; }
@media (max-width: 540px) { .pg-hero h1 em { font-size: 1.12em; } }

/* "veja também" na chamada final */
.pg-cta__outras { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin: 2.6rem auto .2rem; }
.pg-cta .pg-mais { margin-top: 1rem; gap: .7rem; }
.pg-cta .pg-mais .btn { padding: .6rem 1.3rem; font-size: .8rem; }

/* celular: o botão do WhatsApp cabe em uma linha */
@media (max-width: 540px) {
  .pg-hero__btns .btn--whatsapp, .pg-cta__btns .btn--whatsapp {
    padding: .8rem 1.1rem; font-size: .8rem; letter-spacing: .02em; white-space: nowrap;
  }
}
