/* =========================================================
   CASAMENTO ANDRYELLY & MARCELO
   Folha de estilos comentada em português.
   Paleta baseada na logo: verde sálvia, branco e tons naturais.
   ========================================================= */

:root {
  --sage: #718264;          /* Verde principal da identidade visual */
  --sage-dark: #4e6046;     /* Verde escuro para botões e textos */
  --sage-light: #e8ece3;    /* Verde muito suave para fundos */
  --cream: #f8f7f2;         /* Fundo quente quase branco */
  --paper: #fffefa;         /* Branco suave */
  --ink: #30352d;           /* Texto principal */
  --muted: #777b70;         /* Texto secundário */
  --line: #dfe3d8;          /* Linhas divisórias delicadas */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page-width: 1180px;
}

/* Ajustes globais para que dimensões e espaçamentos sejam previsíveis. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.7; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--sage-light); color: var(--sage-dark); }
.section { padding: 110px max(6vw, calc((100vw - var(--page-width)) / 2)); }
.eyebrow { color: var(--sage); font-size: .68rem; font-weight: 700; letter-spacing: .19em; line-height: 1.7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 em, h2 em { color: var(--sage); font-weight: 400; }
.fine-line { width: 62px; height: 1px; margin: 28px 0; background: var(--sage); }

/* Cabeçalho fixo com efeito de vidro suave. */
.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; padding: 12px max(5vw, calc((100vw - 1280px) / 2)); background: rgba(255,254,250,.94);
  border-bottom: 1px solid rgba(113,130,100,.15); backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 11px; font-size: .72rem; font-weight: 700; letter-spacing: .11em; white-space: nowrap; }
.brand i { color: var(--sage); font-family: var(--serif); font-size: 1rem; }
.brand-logo { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.main-nav a { color: #5b6055; font-size: .76rem; transition: color .25s ease; }
.main-nav a:hover { color: var(--sage); }
.main-nav .nav-confirm { padding: 10px 15px; border: 1px solid var(--sage); color: var(--sage-dark); }
.menu-toggle { display: none; }

/* Botões compartilhados pelo site. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 13px 20px; font-size: .76rem; font-weight: 600; letter-spacing: .03em; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--sage-dark); color: white; }
.button-dark:hover { background: var(--sage); }
.button-outline { border: 1px solid var(--sage); color: var(--sage-dark); }
.button-outline:hover { background: var(--sage); color: white; }
.button-light { background: var(--paper); color: var(--sage-dark); }
.button-light:hover { background: var(--sage-light); }

/* Abertura: texto à esquerda e fotografia à direita. */
.hero { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(40px, 7vw, 100px); min-height: 680px; padding-top: 76px; padding-bottom: 100px; overflow: hidden; background: var(--cream); }
.hero-copy { max-width: 470px; padding-bottom: 24px; }
.tiny-leaf { margin-right: 8px; font-size: .9rem; }
.hero h1 { margin: 22px 0 0; font-size: clamp(3rem, 5.4vw, 5.6rem); letter-spacing: -.045em; }
.hero-intro { max-width: 390px; color: var(--muted); font-size: .95rem; }
.couple-names { margin: 30px 0 4px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); }
.couple-names span, .event-names span, .closing-names i { color: var(--sage); font-style: italic; }
.hero-date { margin-bottom: 28px; color: var(--sage-dark); font-size: .68rem; font-weight: 700; letter-spacing: .13em; }
.hero-date b { padding: 0 8px; color: #a4ad9b; }
.hero-photo-wrap { position: relative; padding: 0 0 28px 28px; }
.hero-photo-wrap::before { position: absolute; top: -22px; right: -22px; width: 70%; height: 72%; border: 1px solid #cbd3c3; content: ""; }
.hero-photo { position: relative; z-index: 1; height: clamp(420px, 47vw, 590px); object-fit: cover; object-position: center 42%; }
.photo-caption { position: absolute; z-index: 2; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 15px; width: 88%; padding: 14px 18px; background: var(--paper); color: var(--muted); font-family: var(--serif); font-size: .78rem; font-style: italic; }
.hero-stamp { position: absolute; z-index: 3; bottom: 55px; left: -28px; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--sage); color: white; font-family: var(--serif); font-size: 1.6rem; box-shadow: 0 8px 25px #34452d20; }
.hero-stamp span { margin: -20px 0; font-size: .8rem; font-style: italic; }
.scroll-cue { position: absolute; bottom: 28px; left: max(6vw, calc((100vw - var(--page-width)) / 2)); display: flex; gap: 15px; align-items: center; color: var(--muted); font-size: .58rem; letter-spacing: .17em; }
.scroll-cue span { color: var(--sage); font-size: 1rem; }

/* Bloco de boas-vindas centralizado. */
.welcome { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--paper); }
.welcome h2, .section-heading h2 { margin: 12px 0 20px; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.025em; }
.welcome > p:not(.eyebrow) { max-width: 570px; color: var(--muted); font-size: .92rem; }
.flourish { margin-top: 15px; color: var(--sage); font-size: 1.4rem; }

/* Cabeçalhos de seção reutilizáveis. */
.section-heading { max-width: 660px; margin: 0 auto 55px; text-align: center; }
.section-heading > p:last-child { color: var(--muted); font-size: .9rem; }

/* História individual. */
.story { background: var(--cream); }
.story-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(35px, 7vw, 100px); max-width: 1000px; margin: 0 auto 85px; }
.story-card:last-child { margin-bottom: 0; }
.story-image { position: relative; }
.story-image img { height: 510px; object-fit: cover; object-position: center 30%; }
.image-number { position: absolute; right: -1px; bottom: 0; padding: 10px 14px; background: var(--paper); color: var(--sage-dark); font-size: .63rem; letter-spacing: .14em; }
.story-text h3 { margin: 10px 0 22px; font-size: clamp(2.4rem, 4vw, 3.6rem); }
.story-text > p:not(.eyebrow) { color: var(--muted); font-size: .94rem; }
.signature { display: block; margin-top: 25px; color: var(--sage); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.story-groom .story-image { order: 2; }
.story-groom .story-text { order: 1; }

/* Galeria assimétrica para dar ritmo e valor às fotografias. */
.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: 24px; max-width: 1000px; margin: 0 auto; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { object-fit: cover; }
.gallery-large img { height: 520px; }
.gallery-small { margin-top: 95px !important; }
.gallery-small img { height: 390px; }
.gallery-grid figcaption { padding-top: 12px; color: var(--muted); font-family: var(--serif); font-size: .95rem; font-style: italic; }

/* Seção de fé: fotografia de fundo e painel com texto. */
.faith { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; padding-top: 0; padding-bottom: 0; background: var(--sage-light); }
.faith-photo { min-height: 680px; background: linear-gradient(#71826412,#71826412), url("assets/foto-casal-3.jpeg") center 43% / cover no-repeat; }
.faith-content { align-self: center; max-width: 580px; padding: 85px clamp(35px, 7vw, 100px); }
.faith-content h2 { margin: 14px 0 0; font-size: clamp(2.5rem, 4vw, 4rem); }
.faith-content > p:not(.eyebrow) { color: #656d5f; font-size: .93rem; }
.faith-content blockquote { margin: 30px 0 10px; color: var(--sage-dark); font-family: var(--serif); font-size: 1.35rem; font-style: italic; line-height: 1.55; }
.verse { font-size: .66rem; font-weight: 700; letter-spacing: .18em; color: var(--sage); }

/* Convite formal em formato de cartão. */
.invitation { background: var(--cream); }
.event-card { max-width: 850px; margin: 0 auto; padding: clamp(30px, 6vw, 70px); border: 1px solid #d7ddcf; background: var(--paper); text-align: center; box-shadow: 0 18px 55px #34452d0a; }
.event-top { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.event-monogram { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.event-top p, .family-label { color: var(--sage); font-size: .62rem; font-weight: 700; letter-spacing: .16em; }
.event-names { margin: 15px 0 6px; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem); }
.event-date { color: var(--muted); font-size: .68rem; letter-spacing: .12em; }
.event-date span { padding: 0 7px; color: var(--sage); }
.event-divider { width: 55px; height: 1px; margin: 30px auto; background: var(--sage); }
.event-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 38px; }
.detail-item { padding: 8px; }
.detail-icon { color: var(--sage); font-size: 1.7rem; }
.detail-item h3 { margin: 10px 0 5px; font-size: 1.3rem; }
.detail-item p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.family-label { margin-bottom: 20px; }
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 32px; }
.parents h4 { margin: 0 0 7px; color: var(--sage-dark); font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.parents p { margin-bottom: 0; color: var(--muted); font-size: .8rem; }
.map-note { max-width: 470px; margin: 14px auto 0; color: #92968b; font-size: .68rem; }

/* Lista de experiências da lua de mel, com cartões responsivos e botões de WhatsApp. */
.gifts { background: var(--paper); }
.gift-intro { margin: -7px 0 14px !important; color: var(--sage-dark) !important; font-family: var(--serif); font-size: 1.35rem !important; font-style: italic; }
.gift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gift-card { display: flex; flex-direction: row; align-items: stretch; gap: 0; min-width: 0; overflow: hidden; border: 1px solid #e4e7df; background: white; transition: transform .3s ease, box-shadow .3s ease; }
.gift-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px #34452d12; }
/* A área da foto mantém a proporção vertical 3:4 das imagens originais de 600 x 800 px. */
.gift-image { position: relative; flex: 0 0 clamp(130px, 38%, 190px); align-self: center; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sage-light); }
.gift-image img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; transition: transform .5s ease; }
.gift-card:hover .gift-image img { transform: scale(1.04); }
.gift-image > span { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,254,250,.92); color: var(--sage-dark); font-size: .65rem; letter-spacing: .05em; }
.gift-info { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: flex-start; padding: 20px 18px; }
.gift-category { margin-bottom: 8px; color: var(--sage); font-size: .56rem; font-weight: 700; letter-spacing: .12em; }
.gift-info h3 { margin-bottom: 9px; font-size: 1.25rem; line-height: 1.2; }
.gift-info > p:not(.gift-category):not(.gift-price) { flex: 1; margin-bottom: 12px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.gift-info .gift-price { margin: 0 0 12px; color: var(--sage-dark); font-family: var(--serif); font-size: 1.4rem; }
.gift-whatsapp { width: 100%; gap: 10px; margin-top: auto; padding: 12px 14px; background: var(--sage-dark); color: white; text-align: center; font-size: .7rem; }
.gift-whatsapp:hover { background: var(--sage); }
.gift-footnote { margin: 28px auto 0; max-width: 800px; color: #8b9084; text-align: center; font-size: .72rem; }

/* Confirmação de presença com fundo verde. */
.rsvp { position: relative; overflow: hidden; background: var(--sage); color: white; text-align: center; }
.rsvp-content { position: relative; z-index: 2; max-width: 590px; margin: 0 auto; }
.rsvp .eyebrow { color: #e3e9dc; }
.rsvp h2 { margin: 15px 0 20px; font-size: clamp(2.7rem, 5vw, 4.5rem); }
.rsvp h2 em { color: #e4eadf; }
.rsvp-content > p:not(.eyebrow) { color: #eef1ea; font-size: .92rem; }
.rsvp .button { margin-top: 15px; }
.rsvp-small { margin-top: 22px; font-size: .68rem !important; letter-spacing: .12em; }
.rsvp-decoration { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #ffffff0b; font-family: var(--serif); font-size: clamp(18rem, 35vw, 34rem); line-height: 1; white-space: nowrap; pointer-events: none; }
.rsvp-decoration span { font-style: italic; }

/* Encerramento com foto, sobreposição escura e texto legível. */
.closing { position: relative; min-height: 660px; display: grid; place-items: center; padding-top: 100px; padding-bottom: 100px; overflow: hidden; color: white; text-align: center; }
.closing > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 43%; }
.closing-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #263021a6, #26302172), linear-gradient(0deg, #26302170, transparent); }
.closing-text { position: relative; z-index: 1; max-width: 610px; }
.closing .eyebrow { color: #e3eadb; }
.closing h2 { margin: 14px 0 22px; font-size: clamp(3rem, 6vw, 5rem); }
.closing h2 em { color: #e2e9d9; }
.closing-text > p:not(.eyebrow) { color: #f2f3ee; font-size: .9rem; }
.closing-text > span { display: block; margin-top: 25px; font-family: var(--serif); font-style: italic; }
.closing-names { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.1rem); }
.closing-names i { color: #e2e9d9; }
.closing-date { margin: 20px 0 0; font-size: .72rem !important; font-weight: 700; letter-spacing: .2em; }
.forever { font-family: var(--serif); font-size: 1.1rem !important; font-style: italic; }

/* Rodapé simples, com links sociais editáveis. */
.site-footer { display: flex; flex-direction: column; align-items: center; padding: 45px 20px 28px; background: var(--cream); text-align: center; }
.footer-brand { color: var(--sage-dark); font-family: var(--serif); font-size: 2.2rem; }
.footer-brand span { color: var(--sage); font-style: italic; }
.site-footer > p { margin: 5px 0 20px; color: var(--muted); font-family: var(--serif); font-size: .9rem; font-style: italic; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 23px; }
.social-links a { color: var(--sage-dark); font-size: .72rem; }
.social-links a:hover { text-decoration: underline; }
.site-footer small { color: #9a9e94; font-size: .58rem; letter-spacing: .17em; }

/* Animação de entrada acionada pelo JavaScript quando a seção aparece. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet e celular: menu recolhível e seções empilhadas. */
@media (max-width: 900px) {
  .site-header { padding: 10px 5vw; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 100%; height: 1px; background: var(--sage-dark); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 5vw 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav .nav-confirm { margin-top: 7px; padding: 11px 14px; text-align: center; }
  .hero { gap: 35px; grid-template-columns: .9fr 1.1fr; min-height: 590px; }
  .hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
  .hero-photo { height: 440px; }
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-image { flex-basis: clamp(125px, 36%, 165px); }
  .gift-info { padding: 17px 14px; }
  .faith-content { padding: 65px 35px; }
}
@media (max-width: 640px) {
  .section { padding: 75px 6vw; }
  .site-header { padding: 9px 5vw; }
  .brand { gap: 8px; font-size: .62rem; }
  .brand-logo { width: 36px; height: 36px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 30px; padding-top: 58px; padding-bottom: 75px; }
  .hero-copy { max-width: none; padding-bottom: 0; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.6rem); }
  .hero-intro { max-width: 440px; }
  .hero-photo-wrap { margin: 0 8px 12px 0; padding-left: 15px; }
  .hero-photo-wrap::before { top: -12px; right: -12px; }
  .hero-photo { height: min(118vw, 520px); object-position: center 40%; }
  .hero-stamp { left: -12px; bottom: 43px; width: 68px; height: 68px; font-size: 1.25rem; }
  .photo-caption { width: 90%; padding: 11px 12px; font-size: .65rem; }
  .scroll-cue { bottom: 23px; left: 6vw; }
  .welcome h2, .section-heading h2 { font-size: 2.4rem; }
  .story-card { grid-template-columns: 1fr; gap: 27px; margin-bottom: 60px; }
  .story-image img { height: 430px; }
  .story-groom .story-image, .story-groom .story-text { order: initial; }
  .gallery-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-large img { height: 390px; }
  .gallery-small { margin-top: 0 !important; margin-left: 12vw !important; }
  .gallery-small img { height: 330px; }
  .faith { display: flex; flex-direction: column; padding: 0; }
  .faith-photo { min-height: 420px; }
  .faith-content { padding: 65px 7vw 75px; }
  .event-card { padding: 32px 20px; }
  .event-details { grid-template-columns: 1fr; gap: 20px; }
  .parents { grid-template-columns: 1fr; gap: 22px; }
  .gift-grid { grid-template-columns: 1fr; gap: 16px; }
  /* No celular, a foto continua ao lado do texto para aproveitar melhor a tela. */
  .gift-image { flex: 0 0 clamp(108px, 36%, 150px); }
  .gift-info { padding: 16px 14px; }
  .gift-info h3 { font-size: 1.12rem; }
  .gift-info > p:not(.gift-category):not(.gift-price) { min-height: 0; font-size: .76rem; }
  .gift-info .gift-price { font-size: 1.3rem; }
  .gift-whatsapp { min-height: 44px; padding: 10px 8px; font-size: .65rem; line-height: 1.35; }
  .closing { min-height: 650px; padding: 70px 7vw; }
  .closing > img { object-position: 54% center; }
  .social-links { flex-direction: column; gap: 10px; }
}
@media (max-width: 380px) {
  .gift-grid { grid-template-columns: 1fr; }
  .gift-image { flex-basis: 104px; }
  .gift-info { padding: 13px 11px; }
  .gift-info h3 { font-size: 1.02rem; }
  .gift-info > p:not(.gift-category):not(.gift-price) { font-size: .72rem; }
}


/* =========================================================
   DRESS CODE — seção de orientações e inspirações de traje.
   ========================================================= */
.dress-code { background: var(--cream); }
.dress-code-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid #e1e5db;
  background: var(--paper);
  box-shadow: 0 18px 55px #34452d0a;
}
.dress-code-copy h3 {
  margin: 10px 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.15;
}
.dress-code-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
}
.dress-code-copy strong { color: var(--sage-dark); }
.dress-guideline {
  margin-top: 22px;
  padding-left: 17px;
  border-left: 2px solid #aab59d;
}
.dress-guideline h4 {
  margin: 0 0 5px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}
.dress-guideline p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.65;
}
.dress-code-copy .dress-closing {
  margin: 25px 0 0;
  color: var(--sage-dark) !important;
  font-family: var(--serif);
  font-size: 1.15rem !important;
  font-style: italic;
}
.dress-code-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
}
.dress-photo { min-width: 0; margin: 0; }
.dress-photo img {
  display: block;
  width: 100%;
  height: clamp(280px, 38vw, 460px);
  border-radius: 2px;
  object-fit: cover;
  object-position: center top;
  background: var(--sage-light);
}
.dress-photo-two { margin-top: 48px; }
.dress-photo figcaption {
  margin-top: 10px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: .95rem;
  font-style: italic;
  text-align: center;
}

/* =========================================================
   PIX — chave copiável e área reservada para o QR Code.
   ========================================================= */
.pix-section { background: var(--paper); }
.pix-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
  gap: clamp(28px, 5vw, 65px);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(25px, 5vw, 55px);
  border: 1px solid #e1e5db;
  background: var(--cream);
}
.pix-copy h3 {
  margin: 10px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
}
.pix-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
}
.pix-key-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  padding: 18px;
  border: 1px solid #dce2d5;
  background: var(--paper);
}
.pix-key-label {
  color: var(--sage);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
}
.pix-key-area code {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--sage-dark);
  font-family: "DM Sans", sans-serif;
  font-size: .85rem;
}
.pix-copy-button { cursor: pointer; }
.pix-copy-button:disabled { opacity: .55; cursor: not-allowed; }
.pix-feedback { min-height: 1.2em; margin: 0; color: var(--sage-dark); font-size: .75rem; }
.pix-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.pix-qr {
  display: block;
  width: min(100%, 300px);
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid #dce2d5;
  background: white;
  object-fit: contain;
}
.pix-qr-wrap p {
  margin: 0;
  color: var(--sage);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-align: center;
}

@media (max-width: 760px) {
  .dress-code-card { grid-template-columns: 1fr; }
  .dress-code-gallery { gap: 12px; }
  .dress-photo img { height: clamp(260px, 78vw, 390px); }
  .dress-photo-two { margin-top: 28px; }
  .pix-card { grid-template-columns: 1fr; }
  .pix-qr { width: min(72vw, 280px); }
}
@media (max-width: 420px) {
  .dress-code-card { padding: 22px 17px; }
  .dress-code-gallery { gap: 9px; }
  .dress-photo img { height: 285px; }
  .dress-photo figcaption { font-size: .82rem; }
  .pix-card { padding: 23px 17px; }
}


/* CONVITE FORMAL — endereço da cerimônia religiosa e recepção. */
.ceremony-note {
  max-width: 680px;
  margin: 0 auto 30px;
  padding: 24px clamp(18px, 4vw, 38px);
  border-top: 1px solid #d7ddcf;
  border-bottom: 1px solid #d7ddcf;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.8;
  text-align: center;
}
.ceremony-note p { margin: 9px 0; }
.ceremony-note strong { color: var(--sage-dark); font-weight: 700; }
.ceremony-note .ceremony-invitation {
  margin-bottom: 14px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}
