/* ═══════════════════════════════════════════════
   Lista de Presentes — Fabrício & Nathalia 2026
   Paleta: #1a3a2a (verde escuro), #c9a961 (ouro),
           #faf8f3 (creme), #ffffff (branco)
   ═══════════════════════════════════════════════ */

:root {
  --verde:      #1a3a2a;
  --verde-mid:  #2a5040;
  --verde-lite: #3a6a55;
  --ouro:       #c9a961;
  --ouro-lite:  #e2c98a;
  --creme:      #faf8f3;
  --branco:     #ffffff;
  --texto:      #2e3b2f;
  --texto-soft: rgba(255,255,255,0.6);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'EB Garamond', serif;
  background: var(--verde);
  color: var(--branco);
  overflow-x: hidden;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26,58,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,97,0.18);
}
.header-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--branco);
  text-decoration: none;
}
.header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.25s;
}
.header-back:hover { color: var(--ouro); }
.header-back svg { width: 14px; height: 14px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 60px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,169,97,0.08), transparent),
    linear-gradient(to bottom, #1a3a2a 0%, #152e20 100%);
  overflow: hidden;
}
.hero-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--branco);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(280px, 90%);
}
.hero-divider::before, .hero-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201,169,97,0.35);
}
.hero-divider-gem {
  width: 6px; height: 6px;
  background: var(--ouro);
  transform: rotate(45deg);
}
.hero-scroll {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: pulse 2s infinite;
}
.hero-scroll span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--ouro), transparent);
}
@keyframes pulse {
  0%,100% { opacity: 0.35; }
  50%      { opacity: 0.7;  }
}

/* ── CARROSSEL SECTION ── */
.carrossel-section {
  padding: 80px 0 100px;
  position: relative;
}
.carrossel-section-header {
  text-align: center;
  padding: 0 32px;
  margin-bottom: 56px;
}
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ouro);
  display: block;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--branco);
}

/* ── SWIPER OVERRIDES ── */
.swiper {
  padding: 20px 48px 60px !important;
}
.swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--ouro) !important;
  background: rgba(26,58,42,0.7);
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 50%;
  width: 44px !important; height: 44px !important;
  transition: background 0.25s, border-color 0.25s;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(201,169,97,0.18);
  border-color: var(--ouro);
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 1rem !important; font-weight: 700; }
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.3) !important;
  opacity: 1 !important;
  width: 8px !important; height: 8px !important;
  transition: background 0.25s, transform 0.25s;
}
.swiper-pagination-bullet-active {
  background: var(--ouro) !important;
  transform: scale(1.2);
}

/* ── CARD DO PRESENTE ── */
.presente-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--verde-mid);
  border: 1px solid rgba(201,169,97,0.15);
  height: 480px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
  width: 100%;
}
.presente-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Imagem de fundo */
.card-imagem {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--verde-lite);
  transition: transform 0.5s ease;
}
.presente-card:hover .card-imagem {
  transform: scale(1.04);
}

/* Gradiente sobre a imagem */
.card-imagem::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,28,18,0.95) 0%,
    rgba(10,28,18,0.65) 45%,
    rgba(10,28,18,0.15) 100%
  );
}

/* Badge ESGOTADO */
.card-badge-esgotado {
  position: absolute;
  top: 20px; left: -32px;
  z-index: 10;
  background: #c0392b;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 40px;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: none;
}
.presente-card.esgotado .card-badge-esgotado { display: block; }

/* Conteúdo sobre a imagem */
.card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--branco);
  line-height: 1.3;
}
.card-descricao {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}
.card-preco {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ouro-lite);
}
.card-quantidade {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.card-quantidade .qtd-numero {
  color: var(--ouro);
  font-weight: 700;
}

/* Botão Presentear */
.btn-comprar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--ouro), var(--ouro-lite));
  color: var(--verde);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
  box-shadow: 0 4px 16px rgba(201,169,97,0.3);
}
.btn-comprar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,97,0.45);
  filter: brightness(1.05);
}
.btn-comprar:disabled,
.presente-card.esgotado .btn-comprar {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.35);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* ── MODAL PAGAMENTO ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.aberto {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--verde-mid);
  border: 1px solid rgba(201,169,97,0.25);
  border-radius: 6px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.35s;
  position: relative;
}
.modal-overlay.aberto .modal { transform: translateY(0); }
.modal-fechar {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-fechar:hover { color: var(--branco); }
.modal-titulo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--branco);
  margin-bottom: 8px;
}
.modal-subtitulo {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.modal-preco-destaque {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--ouro);
  margin-bottom: 28px;
}
.modal-btn-pagar {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--ouro), var(--ouro-lite));
  color: var(--verde);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: filter 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(201,169,97,0.35);
}
.modal-btn-pagar:hover { filter: brightness(1.08); box-shadow: 0 6px 28px rgba(201,169,97,0.5); }
.modal-btn-pagar:disabled { filter: grayscale(1); opacity: 0.5; cursor: not-allowed; }
.modal-loading {
  display: none;
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.modal-loading.visivel { display: block; }

/* ── TOAST NOTIFICAÇÃO ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--verde-mid);
  border: 1px solid rgba(201,169,97,0.3);
  color: var(--branco);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  padding: 14px 28px;
  border-radius: 2px;
  z-index: 300;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.visivel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.sucesso { border-color: #4caf50; }
.toast.erro    { border-color: #c0392b; }

/* ── FOOTER ── */
.footer {
  text-align: center;
  padding: 60px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.footer-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--ouro);
  text-transform: uppercase;
}

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  .header { padding: 14px 20px; }
  .swiper { padding: 16px 20px 56px !important; }
  .presente-card { height: 420px; }
  .modal { padding: 36px 24px; }
}
@media (max-width: 480px) {
  .hero { padding: 100px 20px 48px; }
  .card-overlay { padding: 20px 20px 18px; }
}
