:root {
  --bg: #FFF6F5;
  --surface: #FFFFFF;
  --ink: #3A1F22;
  --ink-soft: #9A7A7D;

  --rose: #E8517A;
  --rose-soft: #FDE3EA;
  --red: #C4283B;
  --line: rgba(58,31,34,0.1);
  --radius: 18px;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .logo { font-family: var(--font-display); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--rose); font-weight: 500; }
.container { max-width: 1160px; margin: auto; padding: 0 24px; }

.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--red); background: var(--rose-soft);
  padding: 5px 12px; border-radius: 20px; margin-bottom: 18px;
}
.tag-invert { background: rgba(255,255,255,0.18); color: #fff; }
.tag-center { display: flex; justify-content: center; margin: 0 auto 16px; width: fit-content; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ================= NAVBAR ================= */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255,246,245,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); z-index: 1000; }
.nav-flex { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.15rem; font-weight: 600; }
.logo span { color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.nav-cta) { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { background: var(--red); color: #fff; padding: 10px 20px; border-radius: 20px; text-decoration: none; font-weight: 600; font-size: 0.86rem; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= BOTÕES ================= */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--rose), var(--red)); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(196,40,59,.3); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.w100 { width: 100%; }

/* ================= HERO + PÉTALAS ================= */
.hero { position: relative; padding: 150px 0 100px; overflow: hidden; }

.petals { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.petal {
  position: absolute; top: -40px;
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--rose), var(--red));
  border-radius: 0 50% 50% 50%;
  opacity: 0.75;
  animation: petalFall linear infinite;
}
@keyframes petalFall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.8; }
  100% { transform: translateY(110vh) translateX(var(--drift, 40px)) rotate(360deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .petal { display: none; } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.18; font-weight: 600; margin: 0 0 20px; }
.hero p { color: var(--ink-soft); font-size: 1.02rem; max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual img {
  width: 100%; height: 420px; object-fit: cover; border-radius: 24px;
  box-shadow: 0 30px 60px rgba(196,40,59,.18);
}

/* ================= SECTIONS ================= */
.section { padding: 100px 0; text-align: center; }
.section h2 { font-size: 2.1rem; margin: 0 0 12px; }
.section-desc { color: var(--ink-soft); max-width: 520px; margin: 0 auto 40px; }

/* ================= FILTROS + CATÁLOGO ================= */
.filtros { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filtro-btn {
  font-family: var(--font-mono); font-size: 0.8rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
  padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: all .2s ease;
}
.filtro-btn:hover { border-color: var(--rose); color: var(--rose); }
.filtro-btn.is-active { background: var(--rose); border-color: var(--rose); color: #fff; }

.catalogo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.flor-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.flor-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(58,31,34,.12); }
.flor-card.is-hidden { display: none; }
.flor-img { aspect-ratio: 4/3; overflow: hidden; }
.flor-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.flor-card:hover .flor-img img { transform: scale(1.06); }
.flor-info { padding: 20px; }
.flor-info h3 { font-size: 1.05rem; margin: 0 0 6px; }
.flor-info p { color: var(--ink-soft); font-size: 0.86rem; margin: 0 0 12px; }
.flor-preco { font-family: var(--font-display); font-weight: 600; color: var(--red); font-size: 1.15rem; }

/* ================= MONTE SEU BUQUÊ ================= */
.montar { background: linear-gradient(155deg, var(--red), var(--rose)); color: #fff; padding: 100px 0; }
.montar-head { max-width: 560px; margin: 0 auto 50px; text-align: center; }
.montar-head h2 { font-size: 2.1rem; margin: 0 0 12px; }
.montar-head p { color: rgba(255,255,255,0.85); }

.montar-grid { max-width: 1080px; margin: auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: start; }

.montar-card h3 { font-size: 0.85rem; color: rgba(255,255,255,0.75); font-weight: 600; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.03em; font-family: var(--font-mono); }
.montar-card h3:not(:first-child) { margin-top: 28px; }

.opcoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opcao {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px; padding: 12px 14px; color: #fff; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  transition: border-color .2s ease, background .2s ease; text-align: left;
}
.opcao span { font-weight: 400; font-size: 0.74rem; color: rgba(255,255,255,0.75); }
.opcao:hover { border-color: #fff; }
.opcao.is-active { background: #fff; color: var(--red); }
.opcao.is-active span { color: rgba(196,40,59,0.7); }

.montar-resumo { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius); padding: 26px; position: sticky; top: 20px; }
.montar-resumo h4 { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.15rem; }
.resumo-lista { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; min-height: 40px; }
.resumo-lista li { display: flex; justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.9); }
.resumo-lista li span:last-child { color: rgba(255,255,255,0.65); font-family: var(--font-mono); font-size: 0.76rem; }

.resumo-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.25); margin-bottom: 18px; }
.resumo-total span { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.resumo-total strong { font-family: var(--font-display); font-size: 1.6rem; color: #fff; }

.montar-resumo .btn-primary { background: #fff; color: var(--red); }
.montar-resumo .btn-primary:hover { box-shadow: 0 16px 30px rgba(0,0,0,.2); }

/* ================= SOBRE ================= */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; text-align: left; }
.sobre-media img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.sobre-text h2 { font-size: 1.9rem; }
.sobre-text p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 22px; }
.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; font-size: 0.94rem; }
.bullets i { color: var(--rose); }

/* ================= CTA FINAL ================= */
.cta { background: var(--rose-soft); padding: 100px 0; text-align: center; }
.cta-inner { max-width: 520px; margin: auto; }
.cta h2 { font-size: 2rem; margin: 0 0 10px; }
.cta p { color: var(--ink-soft); margin-bottom: 28px; }
.cta .tag-invert { background: rgba(196,40,59,0.1); color: var(--red); }

/* ================= FOOTER ================= */
.footer { background: var(--ink); color: rgba(255,255,255,.65); text-align: center; padding: 30px; font-size: 0.85rem; }

/* ================= WHATSAPP ================= */
.whatsapp {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; background: #25d366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; z-index: 1000; box-shadow: 0 12px 28px rgba(0,0,0,.25);
  animation: float 2.5s infinite; transition: transform .3s ease;
}
.whatsapp:hover { transform: scale(1.08); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ================= RESPONSIVO ================= */
@media (max-width: 1024px) { .catalogo-grid { grid-template-columns: repeat(2,1fr); } }

@media (max-width: 900px) {
  .hero-grid, .sobre-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .sobre-media { order: -1; }
  .sobre-text { text-align: center; }
  .bullets { align-items: center; }

  .montar-grid { grid-template-columns: 1fr; }
  .montar-resumo { position: static; }
  .opcoes { grid-template-columns: repeat(2, 1fr); }

  .catalogo-grid { grid-template-columns: 1fr; }

  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; right: 20px; background: var(--surface);
    border: 1px solid var(--line); flex-direction: column; align-items: flex-start;
    gap: 16px; width: 210px; padding: 20px; border-radius: 14px;
    box-shadow: 0 20px 40px rgba(58,31,34,.15); display: none; z-index: 1001;
  }
  .nav-links.active { display: flex; }
}
