/* =========================================================
   Zuzunely · Junho sem pressa — Modo sazonal (takeover da home)
   Tudo prefixado com .zjd-* para não vazar no seu tema.
   ========================================================= */

:root {
  --zjd-warm: #b04b3a;
  --zjd-warm-deep: #7a2e1f;
  --zjd-gold: #c8965b;
  --zjd-cream: #fff8f0;
}

/* ---------- Announcement bar ---------- */

.zjd-announce {
  background: var(--zjd-warm);
  color: var(--zjd-cream);
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--zjd-warm-deep);
  animation: zjd-slide-down 500ms ease both;
}
@keyframes zjd-slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.zjd-announce-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 64px);
}
.zjd-announce-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zjd-announce-cd {
  display: flex;
  align-items: center;
  gap: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.zjd-pip {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.4;
}
.zjd-announce-right {
  text-align: right;
}
.zjd-announce a {
  color: var(--zjd-cream) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  font-weight: 500;
}
.zjd-announce a:hover {
  color: #fff !important;
}

.zjd-heart {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: currentColor;
  transform: rotate(-45deg);
  position: relative;
}
.zjd-heart::before,
.zjd-heart::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 50%;
}
.zjd-heart::before { top: -5px; left: 0; }
.zjd-heart::after  { left: 5px; top: 0; }

@media (max-width: 720px) {
  .zjd-announce-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .zjd-announce-cd { justify-content: center; }
  .zjd-announce-right { text-align: center; }
}

/* ---------- Selo no logo (injetado via JS) ---------- */

.zjd-logo-host {
  position: relative !important;
}
.zjd-seal {
  position: absolute;
  top: -10px;
  right: -38px;
  background: var(--zjd-warm);
  color: var(--zjd-cream);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 10px 3px;
  border-radius: 999px;
  transform: rotate(8deg);
  z-index: 50;
  pointer-events: none;
  animation: zjd-seal-in 600ms cubic-bezier(.2,.7,.2,1) both;
  white-space: nowrap;
}
@keyframes zjd-seal-in {
  from { opacity: 0; transform: rotate(8deg) translateY(-6px) scale(0.85); }
  to   { opacity: 1; transform: rotate(8deg) translateY(0) scale(1); }
}

/* ---------- Pétalas no hero ---------- */

.zjd-petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
  opacity: 0;
  animation: zjd-fade-in 1.2s ease 200ms both;
}
@keyframes zjd-fade-in {
  to { opacity: 1; }
}
.zjd-petal {
  position: absolute;
  animation: zjd-fall linear infinite;
  will-change: transform;
}
@keyframes zjd-fall {
  0%   { transform: translateY(-10vh) rotate(0deg) translateX(0); }
  50%  { transform: translateY(50vh) rotate(180deg) translateX(20px); }
  100% { transform: translateY(110vh) rotate(360deg) translateX(0); }
}

/* ---------- Card-portal injetado na home ---------- */

.zjd-portal-wrap {
  font-family: "Outfit", system-ui, sans-serif;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 4vw, 64px);
  max-width: 1320px;
  margin: 0 auto;
}

.zjd-portal {
  background: linear-gradient(135deg, var(--zjd-warm) 0%, var(--zjd-warm-deep) 100%);
  color: var(--zjd-cream);
  padding: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--zjd-warm-deep);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.zjd-portal::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.zjd-portal::after {
  content: "♥";
  position: absolute;
  top: 20px;
  right: 32px;
  font-size: 22px;
  color: rgba(255,248,240,0.55);
  font-family: Georgia, serif;
}

.zjd-portal-body { position: relative; z-index: 2; }

.zjd-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.zjd-line {
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.zjd-portal h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  margin: 10px 0 12px;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--zjd-cream);
}
.zjd-portal h2 em {
  color: var(--zjd-gold);
  font-style: italic;
}

.zjd-portal p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  max-width: 44ch;
  opacity: 0.95;
  margin: 0;
  color: var(--zjd-cream);
}

.zjd-portal-cd {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 180px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.zjd-portal-cd .u {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,248,240,0.25);
  padding: 12px 8px 10px;
  text-align: center;
}
.zjd-portal-cd .n {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.zjd-portal-cd .l {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 6px;
}

.zjd-portal-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.zjd-btn {
  background: var(--zjd-cream);
  color: var(--zjd-warm-deep);
  border: 1px solid var(--zjd-cream);
  padding: 14px 22px 13px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  transition: background 200ms, color 200ms, border-color 200ms, transform 150ms;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 500;
}
.zjd-btn:hover {
  background: var(--zjd-gold);
  border-color: var(--zjd-gold);
  transform: translateY(-1px);
}
.zjd-btn.ghost {
  background: transparent;
  color: var(--zjd-cream);
}
.zjd-btn.ghost:hover {
  background: var(--zjd-cream);
  color: var(--zjd-warm-deep);
}
.zjd-btn .arr {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.zjd-portal-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.zjd-ph {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 9px),
    rgba(0,0,0,0.15);
  border: 1px dashed rgba(255,248,240,0.2);
  aspect-ratio: 3/4;
}

@media (max-width: 880px) {
  .zjd-portal { grid-template-columns: 1fr; padding: clamp(28px, 5vw, 48px); gap: 24px; }
  .zjd-portal-cd { grid-template-columns: repeat(4, 1fr); width: auto; }
  .zjd-portal-ctas { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Body tweaks quando seasonal está on ---------- */

body.zuzu-seasonal {
  /* opcional: ajustar coisas globais se necessário */
}
