/* ==========================================================================
   Tudo é Festa & Cia — Site
   Paleta tirada da logomarca: bordô, dourado, creme e verde-oliva
   ========================================================================== */
:root {
  --bordo: #8e0b16;
  --bordo-2: #6b0711;
  --bordo-3: #4a040b;
  --ouro: #f2a20c;
  --ouro-2: #d98a00;
  --ouro-claro: #ffd27a;
  --creme: #fff3df;
  --creme-2: #fffaf2;
  --papel: #fffdf8;
  --oliva: #7b7a1f;
  --tinta: #3a1d1f;
  --tinta-2: #6e5456;
  --linha: #f0dfc6;
  --sombra: 0 18px 50px -18px rgba(110, 7, 17, .35);
  --sombra-sm: 0 6px 20px -8px rgba(110, 7, 17, .25);
  --raio: 22px;
  --fonte-titulo: "Lobster", "Pacifico", cursive;
  --fonte: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mola: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; font-family: var(--fonte); color: var(--tinta); background: var(--papel);
  line-height: 1.6; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 8px; }
body.no-scroll { overflow: hidden; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ouro-2);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ouro); }
.section-title {
  font-family: var(--fonte-titulo); font-weight: 400; color: var(--bordo);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.1; margin: .3em 0 .35em;
}
.section-sub { color: var(--tinta-2); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.center { text-align: center; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--bordo); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 800; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--mola), box-shadow .3s var(--ease), background .3s;
  box-shadow: 0 10px 24px -10px rgba(142, 11, 22, .6);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(142, 11, 22, .7); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-ouro { --bg: var(--ouro); --fg: var(--bordo-3); box-shadow: 0 10px 24px -10px rgba(217, 138, 0, .8); }
.btn-ghost { --bg: transparent; --fg: var(--bordo); box-shadow: inset 0 0 0 2px var(--bordo); }
.btn-ghost:hover { --bg: var(--bordo); --fg: #fff; }
.btn-wa { --bg: #1faa55; --fg: #fff; box-shadow: 0 10px 24px -10px rgba(31,170,85,.8); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .4s, box-shadow .4s, height .4s;
}
.header.scrolled {
  background: rgba(255, 250, 242, .88); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 6px 30px -18px rgba(74, 4, 11, .5);
  --header-h: 66px;
}
.header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: calc(var(--header-h) - 18px); width: auto; transition: height .4s; filter: drop-shadow(0 3px 6px rgba(74,4,11,.12)); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 8px 14px; font-weight: 800; color: var(--bordo-2); border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ouro); transform: translateX(-50%) scale(0); transition: transform .35s var(--mola);
}
.nav a:hover::after, .nav a.active::after { transform: translateX(-50%) scale(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bordo); color: #fff; box-shadow: var(--sombra-sm); transition: transform .3s var(--mola);
}
.cart-btn:hover { transform: scale(1.08) rotate(-6deg); }
.cart-btn.bump { animation: bump .6s var(--mola); }
@keyframes bump { 0%{transform:scale(1)} 30%{transform:scale(1.3) rotate(-10deg)} 60%{transform:scale(.92) rotate(6deg)} 100%{transform:scale(1)} }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--ouro); color: var(--bordo-3); font-size: .75rem; font-weight: 900; display: grid; place-items: center;
  border: 2px solid var(--papel); transform: scale(0); transition: transform .35s var(--mola);
}
.cart-count.show { transform: scale(1); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; color: var(--bordo); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; position: relative; transition: transform .35s var(--ease), background .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: calc(var(--header-h) + 30px) 0 120px;
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(242,162,12,.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(142,11,22,.10), transparent 60%),
    linear-gradient(180deg, var(--creme-2), var(--creme));
}
.hero::before { /* padrão de bolinhas sutil */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(142,11,22,.09) 1.4px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero h1 {
  font-family: var(--fonte-titulo); font-weight: 400; color: var(--bordo);
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; margin: 18px 0 20px;
}
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); }
.hero h1 .w.in { animation: wordIn .8s var(--mola) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero h1 .destaque { color: var(--ouro-2); position: relative; }
.hero p.lead { font-size: 1.15rem; color: var(--tinta-2); max-width: 540px; margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid var(--linha); font-weight: 800; font-size: .88rem; color: var(--bordo-2);
}
.hero-badges svg { color: var(--ouro-2); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .halo {
  position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.6) 40%, transparent 70%);
}
.hero-art .ring {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(242,162,12,.55); animation: spin 60s linear infinite;
}
.hero-art .ring.r2 { width: 104%; border-color: rgba(142,11,22,.18); border-style: dotted; animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo {
  position: relative; width: min(560px, 100%); opacity: 0; transform: scale(.6) rotate(-8deg);
  filter: drop-shadow(0 30px 40px rgba(110,7,17,.25));
}
.hero-logo.in { animation: logoIn 1.2s var(--mola) forwards, float 6s ease-in-out 1.2s infinite; }
@keyframes logoIn { to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.sparkle { position: absolute; color: var(--ouro); animation: twinkle 2.4s ease-in-out infinite; pointer-events: none; }
.sparkle.s1 { top: 6%; right: 10%; width: 34px; }
.sparkle.s2 { bottom: 16%; left: 2%; width: 22px; animation-delay: .8s; }
.sparkle.s3 { top: 40%; right: -2%; width: 18px; animation-delay: 1.5s; color: var(--bordo); }
@keyframes twinkle { 0%,100% { transform: scale(.6) rotate(0); opacity: .4 } 50% { transform: scale(1.15) rotate(45deg); opacity: 1 } }
.balloon { position: absolute; width: 54px; pointer-events: none; animation: balloon 9s ease-in-out infinite; }
.balloon.b1 { left: -4%; top: 8%; }
.balloon.b2 { right: 0; bottom: 4%; width: 42px; animation-delay: -3s; }
@keyframes balloon { 0%,100% { transform: translateY(0) rotate(-5deg) } 50% { transform: translateY(-26px) rotate(5deg) } }

/* Borda ondulada (igual à cobertura do bolo da logo) */
.wave { position: absolute; left: 0; right: 0; height: 50px; z-index: 3; pointer-events: none; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave.bottom { bottom: -1px; }
.wave.top { top: -1px; transform: scaleY(-1); }
.scroll-hint {
  position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); z-index: 4;
  width: 28px; height: 44px; border: 2px solid var(--bordo); border-radius: 20px; opacity: .6;
}
.scroll-hint::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--bordo); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 80%,100% { transform: translateY(16px); opacity: 0 } }

/* ---------- Faixa (marquee) ---------- */
.ribbon { background: var(--bordo); color: var(--creme); overflow: hidden; padding: 16px 0; position: relative; }
.ribbon-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-family: var(--fonte-titulo); font-size: 1.55rem; white-space: nowrap; }
.ribbon-track span i { color: var(--ouro); font-style: normal; font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 54px; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  position: relative; padding: 34px 26px 30px; border-radius: var(--raio); background: #fff;
  border: 1px solid var(--linha); box-shadow: var(--sombra-sm); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d;
}
.service::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,162,12,.25), transparent 70%); transition: transform .6s var(--ease);
}
.service:hover { box-shadow: var(--sombra); }
.service:hover::before { transform: scale(1.6); }
.service .ic {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--creme); color: var(--bordo); transition: transform .5s var(--mola), background .3s, color .3s;
}
.service:hover .ic { transform: rotate(-10deg) scale(1.08); background: var(--bordo); color: var(--ouro-claro); }
.service h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--bordo-2); font-weight: 900; }
.service p { margin: 0; color: var(--tinta-2); font-size: .97rem; }

/* ---------- Catálogo ---------- */
.catalog { background: linear-gradient(180deg, var(--papel), var(--creme-2) 40%, var(--papel)); }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.segment {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--linha); box-shadow: var(--sombra-sm);
}
.segment button { position: relative; z-index: 1; padding: 11px 24px; border-radius: 999px; font-weight: 900; color: var(--tinta-2); transition: color .35s; white-space: nowrap; }
.segment button.on { color: #fff; }
.segment .pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--bordo); transition: transform .5s var(--mola), width .5s var(--mola); box-shadow: 0 8px 18px -8px rgba(142,11,22,.8); }
.search { position: relative; flex: 1; max-width: 360px; min-width: 220px; }
.search input {
  width: 100%; padding: 14px 20px 14px 48px; border-radius: 999px; border: 1px solid var(--linha); background: #fff;
  outline: none; transition: border-color .25s, box-shadow .25s;
}
.search input:focus { border-color: var(--ouro); box-shadow: 0 0 0 4px rgba(242,162,12,.2); }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--tinta-2); }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 18px; scrollbar-width: thin; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  background: #fff; border: 1px solid var(--linha); font-weight: 800; font-size: .92rem; color: var(--bordo-2);
  transition: all .3s var(--ease);
}
.chip svg { width: 18px; height: 18px; color: var(--ouro-2); transition: color .3s; }
.chip:hover { border-color: var(--ouro); transform: translateY(-2px); }
.chip.on { background: var(--ouro); border-color: var(--ouro); color: var(--bordo-3); }
.chip.on svg { color: var(--bordo); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--raio); overflow: hidden;
  border: 1px solid var(--linha); box-shadow: var(--sombra-sm); cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.card:hover { transform: translateY(-8px); box-shadow: var(--sombra); }
.card-media { position: relative; aspect-ratio: 4/3.2; overflow: hidden; background: var(--creme); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--bordo);
  background: radial-gradient(circle at 30% 20%, #fff, var(--creme) 60%, #fbe2b8);
}
.ph svg { width: 34%; height: auto; opacity: .85; transition: transform .8s var(--mola); }
.card:hover .ph svg { transform: scale(1.12) rotate(-8deg); }
.tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 10px -4px rgba(0,0,0,.3); }
.tag.aluguel { background: var(--bordo); color: #fff; }
.tag.venda { background: var(--ouro); color: var(--bordo-3); }
.tag.star { background: #fff; color: var(--ouro-2); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--oliva); }
.card h3 { margin: 4px 0 10px; font-size: 1.1rem; line-height: 1.3; color: var(--tinta); font-weight: 900; }
.prices { margin-top: auto; display: grid; gap: 2px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-size: 1.22rem; color: var(--bordo); font-weight: 900; }
.price small { color: var(--tinta-2); font-size: .82rem; font-weight: 700; }
.price .lbl { font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-2); min-width: 54px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.add-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--creme); color: var(--bordo); transition: transform .4s var(--mola), background .3s, color .3s;
}
.add-btn:hover { background: var(--bordo); color: #fff; transform: rotate(90deg) scale(1.08); }
.see-more { font-weight: 800; color: var(--bordo-2); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.see-more svg { transition: transform .3s var(--ease); }
.card:hover .see-more svg { transform: translateX(4px); }
.empty { text-align: center; padding: 60px 20px; color: var(--tinta-2); grid-column: 1/-1; }
.empty svg { width: 70px; height: 70px; color: var(--ouro); margin: 0 auto 12px; }

/* ---------- Como funciona ---------- */
.steps-sec { background: var(--bordo); color: var(--creme); padding: 150px 0 140px; overflow: hidden; }
.steps-sec .wave path { fill: var(--papel); }
.steps-sec .section-title { color: #fff; }
.steps-sec .section-sub { color: rgba(255,243,223,.8); }
.steps-sec::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(rgba(255,210,122,.5) 1.2px, transparent 1.5px); background-size: 30px 30px;
}
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ouro) 0 10px, transparent 10px 20px); opacity: .6;
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step .num {
  position: relative; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--creme); color: var(--bordo); box-shadow: 0 0 0 10px rgba(255,243,223,.12);
}
.step .num b {
  position: absolute; top: -6px; right: -6px; width: 32px; height: 32px; border-radius: 50%; background: var(--ouro);
  color: var(--bordo-3); font-weight: 900; display: grid; place-items: center; font-size: .95rem;
}
.step h3 { font-family: var(--fonte-titulo); font-weight: 400; font-size: 1.7rem; color: var(--ouro-claro); margin: 0 0 8px; }
.step p { margin: 0; color: rgba(255,243,223,.85); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-art { position: relative; }
.about-card {
  position: relative; border-radius: 34px; padding: 40px; background: var(--creme);
  box-shadow: var(--sombra); overflow: hidden;
}
.about-card::before {
  content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(142,11,22,.25); border-radius: 24px; pointer-events: none;
}
.about-card img { position: relative; width: 100%; }
.about-float {
  position: absolute; right: -18px; bottom: -34px; background: var(--bordo); color: #fff; padding: 18px 22px; border-radius: 20px;
  box-shadow: var(--sombra); display: flex; align-items: center; gap: 12px; animation: float 5s ease-in-out infinite;
}
.about-float strong { font-family: var(--fonte-titulo); font-weight: 400; font-size: 2rem; color: var(--ouro-claro); line-height: 1; }
.about-text p { color: var(--tinta-2); font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.stat { padding: 20px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--linha); text-align: center; }
.stat strong { display: block; font-family: var(--fonte-titulo); font-weight: 400; font-size: 2.3rem; color: var(--bordo); line-height: 1.1; }
.stat span { font-size: .85rem; font-weight: 800; color: var(--tinta-2); }

/* ---------- Contato / CTA ---------- */
.cta {
  position: relative; border-radius: 36px; padding: 70px 50px; overflow: hidden; text-align: center; color: #fff;
  background: radial-gradient(800px 300px at 50% 0%, rgba(242,162,12,.35), transparent 70%), linear-gradient(135deg, var(--bordo), var(--bordo-3));
  box-shadow: var(--sombra);
}
.cta .section-title { color: #fff; }
.cta p { color: rgba(255,243,223,.9); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta .btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--linha); transition: transform .4s var(--ease), box-shadow .4s; }
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--sombra-sm); }
.contact-item .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--creme); color: var(--bordo); display: grid; place-items: center; flex-shrink: 0; }
.contact-item small { display: block; font-weight: 900; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oliva); }
.contact-item strong { color: var(--tinta); word-break: break-word; }

/* ---------- Rodapé ---------- */
.footer { position: relative; background: var(--bordo-3); color: rgba(255,243,223,.8); padding: 120px 0 30px; margin-top: 110px; }
.footer .wave path { fill: var(--papel); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer img.flogo { width: 220px; background: var(--creme); padding: 14px 18px; border-radius: 20px; }
.footer h4 { color: var(--ouro-claro); font-family: var(--fonte-titulo); font-weight: 400; font-size: 1.4rem; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--ouro-claro); }
.footer-bottom { border-top: 1px solid rgba(255,243,223,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .88rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,243,223,.1); transition: background .3s, transform .3s var(--mola); }
.socials a:hover { background: var(--ouro); color: var(--bordo-3); transform: translateY(-3px); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 62px; height: 62px; border-radius: 50%;
  background: #1faa55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31,170,85,.7);
  transition: transform .35s var(--mola);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1faa55; animation: pulse 2.2s ease-out infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6 } 100% { transform: scale(1.7); opacity: 0 } }
.wa-float:hover { transform: scale(1.1) rotate(8deg); }
.wa-float .tip {
  position: absolute; right: 74px; white-space: nowrap; background: #fff; color: var(--tinta); padding: 8px 14px; border-radius: 12px;
  font-weight: 800; font-size: .88rem; box-shadow: var(--sombra-sm); opacity: 0; transform: translateX(10px); transition: all .3s var(--ease); pointer-events: none;
}
.wa-float:hover .tip { opacity: 1; transform: none; }

/* ---------- Overlay / Modal / Gaveta ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(42, 6, 10, .55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: fixed; z-index: 90; left: 50%; top: 50%; width: min(980px, 100% - 30px); max-height: calc(100svh - 40px);
  background: var(--papel); border-radius: 28px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); overflow: hidden;
  transform: translate(-50%, -46%) scale(.94); opacity: 0; visibility: hidden; transition: all .5s var(--mola);
  display: grid; grid-template-columns: 1.1fr 1fr;
}
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.modal-x {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--bordo); display: grid; place-items: center; box-shadow: var(--sombra-sm); transition: transform .4s var(--mola);
}
.modal-x:hover { transform: rotate(90deg); }
.gallery { position: relative; background: var(--creme); min-height: 320px; display: flex; flex-direction: column; }
.gallery-main { position: relative; flex: 1; overflow: hidden; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fadeImg .5s var(--ease); }
@keyframes fadeImg { from { opacity: 0; transform: scale(1.04); } }
.gallery-main .ph svg { width: 30%; }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: rgba(255,255,255,.6); }
.thumbs button { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; overflow: hidden; opacity: .6; outline: 2px solid transparent; transition: opacity .3s, outline-color .3s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; outline-color: var(--ouro); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 36px 34px 30px; overflow-y: auto; max-height: calc(100svh - 40px); }
.modal-info h2 { font-family: var(--fonte-titulo); font-weight: 400; color: var(--bordo); font-size: 2.1rem; line-height: 1.15; margin: 6px 0 12px; }
.modal-info .desc { color: var(--tinta-2); white-space: pre-line; margin: 0 0 20px; }
.opt-title { font-weight: 900; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-2); margin: 18px 0 10px; }
.mod-opts { display: grid; gap: 10px; }
.mod-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 16px;
  border: 2px solid var(--linha); background: #fff; cursor: pointer; transition: border-color .25s, background .25s;
}
.mod-opt input { accent-color: var(--bordo); width: 18px; height: 18px; }
.mod-opt.on { border-color: var(--bordo); background: #fff7f0; }
.mod-opt .l { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.mod-opt .r { text-align: right; } .mod-opt .r strong { color: var(--bordo); }
.mod-opt .r small { display: block; color: var(--tinta-2); font-size: .8rem; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; border: 2px solid var(--linha); background: #fff; }
.qty button { width: 42px; height: 42px; border-radius: 50%; font-size: 1.3rem; font-weight: 900; color: var(--bordo); transition: background .2s; }
.qty button:hover { background: var(--creme); }
.qty input { width: 54px; text-align: center; border: 0; outline: 0; font-weight: 900; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 32px; height: 32px; font-size: 1.05rem; } .qty.sm input { width: 38px; font-size: .95rem; }
.modal-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 200px; }
.stock-note { font-size: .85rem; color: var(--oliva); font-weight: 800; margin-top: 10px; }

.drawer {
  position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--papel);
  box-shadow: -30px 0 80px -30px rgba(0,0,0,.5); transform: translateX(105%); transition: transform .55s var(--ease), visibility .55s;
  display: flex; flex-direction: column; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--linha); background: var(--creme-2); }
.drawer-head h2 { margin: 0; font-family: var(--fonte-titulo); font-weight: 400; color: var(--bordo); font-size: 1.8rem; }
.drawer-head .modal-x { position: static; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--linha); background: #fff; }
.cart-group { margin-bottom: 18px; }
.cart-group h3 { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); margin: 6px 0 10px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--linha); margin-bottom: 10px; animation: cardIn .4s var(--ease) both; }
.cart-item .thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--creme); }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .thumb .ph svg { width: 50%; }
.cart-item h4 { margin: 0 0 2px; font-size: .95rem; line-height: 1.25; }
.cart-item .unit { font-size: .8rem; color: var(--tinta-2); }
.cart-item .right { display: grid; justify-items: end; gap: 6px; }
.cart-item .sub { font-weight: 900; color: var(--bordo); font-size: .95rem; }
.rm { color: var(--tinta-2); font-size: .78rem; font-weight: 800; text-decoration: underline; }
.rm:hover { color: var(--bordo); }
.totals { display: grid; gap: 6px; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; font-weight: 800; color: var(--tinta-2); }
.totals div.big { font-size: 1.15rem; color: var(--tinta); }
.totals div.big strong { color: var(--bordo); }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--tinta-2); }
.cart-empty svg { width: 90px; height: 90px; color: var(--ouro); margin: 0 auto 14px; animation: float 4s ease-in-out infinite; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 5px; font-weight: 800; font-size: .85rem; color: var(--tinta-2); }
.field.full { grid-column: 1/-1; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--linha); background: #fff; outline: none; font-weight: 600; color: var(--tinta);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--ouro); box-shadow: 0 0 0 4px rgba(242,162,12,.18); }
.field.err input { border-color: #d0342c; }
.hp { position: absolute; left: -9999px; }
.note { font-size: .8rem; color: var(--tinta-2); margin: 10px 0 0; text-align: center; }
.step-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--bordo-2); margin-bottom: 12px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 999px;
  background: var(--tinta); color: #fff; font-weight: 800; box-shadow: var(--sombra); transition: transform .5s var(--mola);
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 30px); visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { color: var(--ouro); flex-shrink: 0; }

/* Imagem voando para o carrinho */
.flyer { position: fixed; z-index: 200; width: 70px; height: 70px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: var(--sombra); background: var(--creme); border: 3px solid #fff; }
.flyer img { width: 100%; height: 100%; object-fit: cover; }
.flyer .ph svg { width: 55%; }
#burst { position: fixed; inset: 0; pointer-events: none; z-index: 210; width: 100%; height: 100%; }

/* Revelar ao rolar */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].shown { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .hero p.lead { margin-inline: auto; }
  .hero-ctas, .hero-badges { justify-content: center; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .modal { grid-template-columns: 1fr; overflow-y: auto; }
  .gallery { min-height: 0; } .gallery-main { aspect-ratio: 4/3; flex: none; }
  .modal-info { max-height: none; overflow: visible; }
}
@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85%); flex-direction: column; align-items: stretch; justify-content: center;
    gap: 6px; padding: 30px; background: var(--papel); box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
    transform: translateX(105%); transition: transform .5s var(--ease), visibility .5s; z-index: -1; visibility: hidden;
  }
  .nav a { font-size: 1.3rem; padding: 14px 18px; }
  .nav a::after { left: 6px; top: 50%; bottom: auto; transform: translateY(-50%) scale(0); }
  .nav a:hover::after, .nav a.active::after { transform: translateY(-50%) scale(1); }
  .menu-open .nav { transform: none; visibility: visible; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 28px); }
  .services { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card h3 { font-size: .95rem; }
  .price strong { font-size: 1.02rem; }
  .price .lbl { min-width: 0; }
  .see-more { display: none; }
  .add-btn { width: 40px; height: 40px; }
  .tags { top: 8px; left: 8px; } .tag { font-size: .62rem; padding: 4px 8px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .segment { width: 100%; } .segment button { padding: 11px 8px; }
  .search { max-width: none; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .stat strong { font-size: 1.7rem; } .stat span { font-size: .72rem; }
  .cta { padding: 50px 22px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .modal { top: auto; bottom: 0; left: 0; width: 100%; max-height: 94svh; border-radius: 26px 26px 0 0; transform: translateY(100%); }
  .modal.open { transform: none; }
  .modal-info { padding: 24px 20px; }
  .about-float { right: 10px; }
  .hero { padding-top: calc(var(--header-h) + 10px); }
  .hero-art { max-width: 300px; }
  .balloon.b1 { width: 40px; } .balloon.b2 { width: 32px; }
  .hero h1 { margin-top: 12px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero h1 .w, .hero-logo, [data-reveal] { opacity: 1 !important; transform: none !important; }
}
