@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Quicksand:wght@300;400;500;600&display=swap');

@font-face {
  font-family: 'Hibernate Two';
  src: url('Hibernate.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --terracota: #C9735A;
  --terracota-light: #E8A08A;
  --bege: #FBF5F0;
  --bege-mid: #F0E6DC;
  --creme: #FDF9F6;
  --azul-po: #8EB5C8;
  --azul-suave: #C8DFE8;
  --areia: #D4A96A;
  --marrom: #7A4A38;
  --texto: #4A3728;
  --texto-leve: #8A6A58;
  --branco: #FEFCFB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 115%;
}

body {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  background: var(--bege);
  color: var(--texto);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.date-main {
  font-family: 'Hibernate Two', sans-serif;
  letter-spacing: 0.05em;
  font-weight: normal;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 245, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--bege-mid);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 20px rgba(201, 115, 90, 0.1);
}

.nav-logo {
  font-family: 'Quicksand', sans-serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--terracota);
  text-decoration: none;
  line-height: 1.2;
}

.nav-logo span {
  display: block;
  font-size: 0.85rem;
  color: var(--texto-leve);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Quicksand', sans-serif;
  text-decoration: none;
  color: var(--texto);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--terracota);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--terracota);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
#home {
  min-height: 100vh;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--creme) 0%, var(--bege) 50%, var(--bege-mid) 100%);
}

.hero-top-animals {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

.hero-top-animals img {
  width: 100%;
  height: auto;
  display: block;
}

.florais-left,
.florais-right {
  position: absolute;
  top: 64px;
  width: 220px;
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;
}

.florais-left {
  left: -30px;
}

.florais-right {
  right: -30px;
  transform: scaleX(-1);
}

.hero-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
}

.hero-tag {
  display: inline-block;
  background: var(--azul-suave);
  color: var(--marrom);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Hibernate Two', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--terracota);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.hero-title em {
  font-style: italic;
}

.hero-text {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  color: var(--texto-leve);
  max-width: 620px;
  line-height: 1.7;
  margin: 0.8rem auto 1.5rem;
}

.hero-parents {
  font-size: 0.95rem;
  color: var(--marrom);
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-arca {
  width: min(420px, 88vw);
  margin: 0 auto 2rem;
  filter: drop-shadow(0 8px 24px rgba(201, 115, 90, 0.2));
  animation: float 4s ease-in-out infinite;
  position: relative;
}

.hero-arca img:nth-child(2) {
  width: 120%;
  position: absolute;
  left: 50%;
  top: 50%;
  /* Ajuste a altura vertical da sobreposição como preferir */
  transform: translate(-52%, -15%);
  z-index: 2;
  display: block;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-date-box {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 8px 32px rgba(201, 115, 90, 0.15);
  margin: 1rem auto;
  max-width: 480px;
  width: 100%;
}

.date-main {
  font-family: 'Hibernate Two', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--terracota);
  margin: 0.5rem 0;
}

.date-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--texto-leve);
  font-weight: 500;
}

.date-info .row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.date-info .icon {
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--terracota);
  color: white;
  box-shadow: 0 4px 16px rgba(201, 115, 90, 0.35);
}

.btn-primary:hover {
  background: var(--marrom);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 115, 90, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--terracota);
  border: 2px solid var(--terracota);
}

.btn-outline:hover {
  background: var(--terracota);
  color: white;
  transform: translateY(-2px);
}

/* ===== SECTIONS SHARED ===== */
section {
  scroll-margin-top: 64px;
}

.section-header {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.section-title {
  font-family: 'Hibernate Two', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--terracota);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--texto-leve);
  max-width: 500px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--terracota), var(--areia));
  border-radius: 3px;
  margin: 1rem auto;
}

/* ===== LISTA DE PRESENTES ===== */
#presentes {
  background: var(--creme);
  padding-top: 64px;
  padding-bottom: 4rem;
}

.presentes-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 1.5rem 1.5rem;
}

.filter-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 25px;
  border: 2px solid var(--bege-mid);
  background: white;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texto-leve);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--terracota);
  background: var(--terracota);
  color: white;
}

.presentes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  padding: 0 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.presente-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.presente-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(201, 115, 90, 0.18);
}

.presente-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1rem;
  background: var(--bege);
}

.presente-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.presente-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.presente-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--terracota);
  margin-bottom: 0.8rem;
}

.presente-status {
  font-size: 0.72rem;
  color: var(--texto-leve);
  margin-bottom: 0.5rem;
}

.presente-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
}

.presente-botoes {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}


.presente-card.comprado .btn {
  background: var(--bege-mid);
  color: var(--texto-leve);
  pointer-events: none;
}

.presente-card.comprado .btn:hover {
  transform: none;
  box-shadow: none;
}

/* ===== CONFIRMAR PRESENCA ===== */
#presenca {
  background: linear-gradient(135deg, var(--bege) 0%, var(--bege-mid) 100%);
  padding-top: 64px;
  padding-bottom: 4rem;
  position: relative;
}

#mensagem {
  background: linear-gradient(135deg, var(--bege) 0%, var(--bege-mid) 100%);
  padding-top: 64px;
  padding-bottom: 4rem;
}

.presenca-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--marrom);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 2px solid var(--bege-mid);
  border-radius: 12px;
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  background: white;
  color: var(--texto);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracota);
}

.form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.acompanhantes-box {
  background: white;
  border-radius: 12px;
  border: 2px solid var(--bege-mid);
  padding: 1rem 1.2rem;
}

.acomp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bege-mid);
}

.acomp-row:last-child {
  border-bottom: none;
}

.acomp-label {
  font-size: 0.88rem;
  color: var(--texto);
  font-weight: 500;
}

.acomp-label small {
  display: block;
  font-size: 0.75rem;
  color: var(--texto-leve);
}

.counter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.counter button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--terracota);
  background: transparent;
  color: var(--terracota);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-weight: 700;
}

.counter button:hover {
  background: var(--terracota);
  color: white;
}

.counter span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--texto);
  min-width: 20px;
  text-align: center;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.error-msg {
  display: none;
  text-align: center;
  padding: 1rem 1.5rem;
  background: #fce4ec;
  border-radius: 12px;
  color: #c62828;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
  line-height: 1.5;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 1.5rem;
  background: #e8f5e9;
  border-radius: 12px;
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* ===== EVENTO ===== */
#evento {
  background: var(--creme);
  padding-bottom: 4rem;
}

.evento-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.evento-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.evento-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--bege-mid);
}

.evento-row:last-child {
  border-bottom: none;
}

.evento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bege);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.evento-info strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracota);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.evento-info p {
  font-size: 0.95rem;
  color: var(--texto);
  font-weight: 500;
}

.evento-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.mapa-embed {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.mapa-embed iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--marrom);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

footer .animals-footer {
  width: 100%;
  opacity: 0.15;
  display: block;
}

.footer-text {
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

.footer-text strong {
  color: white;
}

/* ===== VALIDAÇÃO DE NOME (presenca.html) ===== */
.nome-status {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nome-status.encontrado {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1.5px solid #a5d6a7;
}

.nome-status.nao-encontrado {
  display: block;
  background: #fce4ec;
  color: #c62828;
  border: 1.5px solid #ef9a9a;
}

.secao-oculta {
  display: none;
  margin-top: 1.5rem;
}

.secao-oculta.visivel {
  display: block;
  animation: fadeDown 0.35s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CUSTOM ICONS ===== */
.icone-inline {
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
  object-fit: contain;
  display: inline-block;
}

.evento-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ===== ANIMALS DIVIDER ===== */
.animals-strip {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.animals-strip img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== CLOUDS DECORATION ===== */
.clouds-deco {
  position: absolute;
  width: 180px;
  opacity: 0.5;
  pointer-events: none;
}

/* ===== WATERCOLOR BG ===== */
.watercolor-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.watercolor-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bege);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 2px solid var(--bege-mid);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 10px;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .florais-left,
  .florais-right {
    width: 120px;
  }

  .presentes-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .hero-date-box {
    padding: 1.2rem 1.5rem;
  }

  .evento-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .presentes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

/* ===== LIVRINHO DE RECORDAÇÕES CALLOUT ===== */
.livro-callout {
  background: var(--azul-suave);
  border-left: 4px solid var(--azul-po);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 0 1.5rem 2rem;
  font-size: 0.88rem;
  color: var(--marrom);
  line-height: 1.6;
  text-align: center;
}

.livro-callout a {
  color: var(--terracota);
  font-weight: 700;
  text-decoration: none;
}

.livro-callout a:hover {
  text-decoration: underline;
}

.form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--texto-leve);
  margin-top: 0.35rem;
  font-family: 'Quicksand', sans-serif;
}

/* ===== RADIO MODALIDADE ===== */
.radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 25px;
  border: 2px solid var(--bege-mid);
  background: white;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--texto);
  cursor: pointer;
  transition: all 0.25s ease;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-label:has(input:checked) {
  border-color: var(--terracota);
  background: var(--terracota);
  color: white;
}

.radio-label:hover {
  border-color: var(--terracota-light);
}

/* ===== GATE ENDEREÇO ===== */
.endereco-gate-btn {
  font-size: 0.82rem;
  padding: 0.4rem 1rem;
}

.endereco-gate-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.endereco-gate-input {
  flex: 1 1 100%;
  width: 100%;
  min-width: 280px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid var(--bege-mid);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.82rem;
  color: var(--texto);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}

.endereco-gate-input:focus {
  border-color: var(--terracota-light);
}

.endereco-gate-msg {
  font-size: 0.78rem;
  color: var(--terracota);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ===== PIX PAGE ===== */
.pix-section {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(201, 115, 90, 0.1);
  padding: 2rem 2rem 2.5rem;
  max-width: 480px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.pix-section h3 {
  font-family: 'Hibernate Two', sans-serif;
  font-size: 1.4rem;
  color: var(--terracota);
  margin-bottom: 0.4rem;
}

.pix-section p {
  font-size: 0.88rem;
  color: var(--texto-leve);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pix-page-inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.pix-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--texto-leve);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.pix-itens-titulo {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--marrom);
  margin-bottom: 0.75rem;
  text-align: center;
}

/* cancela o padding lateral que .presentes-filter assume no contexto da página de presentes */
#pix .presentes-filter {
  padding: 0;
  margin-bottom: 1.5rem;
}

/* ── Seletor de itens ── */
.pix-itens-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pix-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  background: white;
  border: 2px solid var(--bege-mid);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
  font-family: 'Quicksand', sans-serif;
}

.pix-item-card:hover {
  border-color: var(--terracota-light);
  background: var(--bege);
}

.pix-item-card.ativo {
  border-color: var(--terracota);
  background: var(--bege);
  box-shadow: 0 2px 12px rgba(201, 115, 90, 0.18);
}

.pix-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pix-item-nome {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--texto);
}

.pix-item-valor {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--terracota);
  flex-shrink: 0;
}

.pix-item-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--bege-mid);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
  transition: all 0.2s;
}

.pix-item-card.ativo .pix-item-check {
  background: var(--terracota);
  border-color: var(--terracota);
}

/* ── Display QR ── */
.pix-qr-display {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(201, 115, 90, 0.12);
  padding: 2rem 2rem 2.5rem;
  text-align: center;
  position: sticky;
  top: 80px;
}

.pix-qr-item-nome {
  font-size: 0.82rem;
  color: var(--texto-leve);
  margin-bottom: 0.2rem;
  min-height: 1.2em;
}

.pix-qr-item-valor {
  font-family: 'Hibernate Two', sans-serif;
  font-size: 2rem;
  color: var(--terracota);
  margin-bottom: 1.5rem;
}

.pix-qr-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 1.5rem;
}

.pix-qr-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 3px solid var(--bege-mid);
  object-fit: contain;
  display: block;
}

.pix-qr-sim {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 3px dashed var(--bege-mid);
  background: var(--bege);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: absolute;
  inset: 0;
}

.pix-qr-sim-icone {
  display: grid;
  grid-template-columns: repeat(5, 10px);
  grid-template-rows: repeat(5, 10px);
  gap: 2px;
  opacity: 0.25;
}

.pix-qr-sim-icone span {
  display: block;
  border-radius: 1px;
  background: var(--marrom);
}

.pix-qr-sim-icone span.v {
  background: transparent;
}

.pix-qr-sim-label {
  font-size: 0.7rem;
  color: var(--texto-leve);
}

.pix-qr-sim-label strong {
  color: var(--terracota);
}

.pix-key-box {
  background: var(--bege);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1.5px solid var(--bege-mid);
}

.pix-key {
  flex: 1;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--texto);
  word-break: break-all;
  text-align: left;
}

.pix-copy-btn {
  flex-shrink: 0;
  background: var(--terracota);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.pix-copy-btn:hover {
  background: var(--terracota-dark, #b85e44);
}

.pix-copy-btn.copiado {
  background: #2e7d32;
}

.pix-copy-full {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.pix-hint {
  font-size: 0.75rem;
  color: var(--texto-leve);
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .pix-layout {
    flex-direction: column !important;
  }
  .pix-layout > div:last-child {
    width: 100% !important;
  }
  .pix-qr-display {
    position: static !important;
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}