/* =====================================================================
   SITE DE DECORAÇÕES — style.css
   Paleta e tipografia ficam nas variáveis abaixo (:root).
   ===================================================================== */

:root {
  /* Cores */
  --cream: #fbf8f3;
  --ivory: #f6f0e7;
  --sand: #efe6d8;
  --champagne: #e8d9c0;
  --rose: #d8a7a2;
  --rose-soft: #f3e1dc;
  --gold: #b8925a;
  --gold-light: #e2c991;
  --gold-deep: #85663a;      /* dourado com contraste para textos */
  --ink: #2c2420;
  --ink-soft: #4a3f39;
  --muted: #6d6058;
  --line: rgba(133, 102, 58, 0.18);
  --white: #ffffff;
  --error: #a4423b;
  --wa: #1f8f5a;

  --gold-gradient: linear-gradient(135deg, #e7d19c 0%, #c19a5b 45%, #a47c43 70%, #dcc287 100%);

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Formas e sombras */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(73, 52, 30, 0.06);
  --shadow: 0 18px 40px -18px rgba(73, 52, 30, 0.22), 0 4px 14px rgba(73, 52, 30, 0.05);
  --shadow-lg: 0 40px 80px -30px rgba(73, 52, 30, 0.35);

  /* Ritmo */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--rose-soft); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .75rem 1.25rem; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }

.no-scroll { overflow: hidden; }
.no-scroll body { overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
.icon svg { width: 100%; height: 100%; }

/* Fade-in da página */
.js body { opacity: 0; transition: opacity .7s var(--ease); }
.js.is-ready body { opacity: 1; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold-gradient); }
.eyebrow--center::after { content: ""; width: 38px; height: 1px; background: var(--gold-gradient); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.75rem, 6vw, 4.5rem); display: grid; justify-items: center; gap: 1.1rem; }
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section-title em, .hero__title em, .page-intro__title em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(120deg, #a77d45, #c99a8f 60%, #a77d45);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title--left { text-align: left; }
.section-subtitle { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 560px; }
.section-subtitle--left { max-width: 480px; }

.ornament {
  display: block; width: 120px; height: 14px; margin-inline: auto;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 3px, transparent 3.5px),
    linear-gradient(90deg, transparent, var(--gold-light) 30%, transparent 46%, transparent 54%, var(--gold-light) 70%, transparent) center / 100% 1px no-repeat;
}

.link-underline {
  text-decoration: none; font-size: .92rem; letter-spacing: .04em; position: relative; padding-block: .3rem;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.75rem;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 400; font-size: .95rem; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, color .35s, border-color .35s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-of-type { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); }

.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--cream); box-shadow: 0 14px 30px -14px rgba(44, 36, 32, .55); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-gradient); opacity: 0; transition: opacity .45s var(--ease);
}
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(133, 102, 58, .6); color: var(--ink); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover::after { left: 130%; }

.btn--outline { --btn-bg: rgba(255,255,255,.55); --btn-bd: rgba(133,102,58,.45); --btn-fg: var(--ink); backdrop-filter: blur(6px); }
.btn--outline:hover { --btn-bg: var(--white); --btn-bd: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--ghost { --btn-bd: var(--line); --btn-fg: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ivory); --btn-bd: rgba(133,102,58,.4); }

.btn--gold { --btn-bg: var(--gold-gradient); --btn-fg: #2a1f12; background: var(--gold-gradient); background-size: 160% 100%; background-position: 0 0; transition: background-position .6s var(--ease), transform .35s var(--ease), box-shadow .35s; }
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(133,102,58,.7); }

.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .86rem; }
.btn--lg { min-height: 58px; padding: 1rem 2.25rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }
.btn:disabled { cursor: progress; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 248, 243, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s, background-color .4s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(73,52,30,.35); background: rgba(251, 248, 243, .9); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header__nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.5rem); }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; min-width: 0; flex: 1 1 auto; }
.site-header__nav { flex: none; }
.brand__mark {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  border: 1px solid rgba(184,146,90,.55);
  background:
    radial-gradient(circle, transparent 54%, rgba(184,146,90,.15) 55%, transparent 70%),
    url("assets/logo.png") center / 74% no-repeat;
}
.brand__text { display: grid; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__tag { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; }

/* ---------- Fundo decorativo ---------- */
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.blob--rose { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -8vw; top: -10vw; background: radial-gradient(circle, #f3dcd6, transparent 70%); }
.blob--champagne { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; left: -12vw; bottom: -16vw; background: radial-gradient(circle, #efe0c4, transparent 70%); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(184,146,90,.22); }
.ring--1 { width: 520px; height: 520px; left: -220px; top: 18%; }
.ring--2 { width: 280px; height: 280px; right: 6%; bottom: -120px; border-style: dashed; border-color: rgba(184,146,90,.18); }
.sparkle {
  position: absolute; width: 18px; height: 18px; background: var(--gold-gradient);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: .55; animation: twinkle 5s ease-in-out infinite;
}
.sparkle--1 { left: 8%; top: 22%; }
.sparkle--2 { left: 46%; top: 12%; width: 12px; height: 12px; animation-delay: 1.4s; }
.sparkle--3 { left: 40%; bottom: 14%; width: 14px; height: 14px; animation-delay: 2.6s; }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .25; } 50% { transform: scale(1) rotate(45deg); opacity: .7; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem); }
.hero__content { display: grid; justify-items: start; gap: 1.35rem; max-width: 620px; }
.hero__intro { display: grid; gap: .1rem; }
.hero__hello { font-size: .95rem; letter-spacing: .06em; color: var(--muted); }
.hero__name { position: relative; display: inline-block; justify-self: start; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.2; padding-bottom: .25em; }
.shimmer-text {
  background: linear-gradient(90deg, var(--gold-deep) 0%, #b07a6f 22%, var(--gold-deep) 44%, var(--gold-deep) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmerText 7s ease-in-out infinite;
}
@keyframes shimmerText { 0% { background-position: 100% 0; } 55%, 100% { background-position: -40% 0; } }
.hero__underline { position: absolute; left: 0; bottom: 0; width: 100%; height: .5em; overflow: visible; }
.hero__underline path { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.js .hero__underline path { stroke-dashoffset: 420; }
.js.is-ready .hero__underline path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) 1.1s; }

/* Título: palavras surgindo */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(108%); }
.js.is-ready .split .w > span { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(380ms + var(--w, 0) * 85ms); }
.hero__title { font-size: clamp(2.6rem, 5vw, 4.1rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero__subtitle { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--ink-soft); font-weight: 400; max-width: 540px; }
.hero__text { color: var(--muted); max-width: 520px; padding-left: 1.25rem; border-left: 1px solid rgba(184,146,90,.4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .6rem; }
.hero__detail { display: flex; align-items: center; gap: .9rem; margin-top: .5rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--muted); }
.hero__detail-line { width: 46px; height: 1px; background: var(--gold-gradient); flex: none; }

.hero__visual { position: relative; justify-self: end; width: min(100%, 440px); --px: 0; --py: 0; }
.layer { translate: calc(var(--px) * var(--depth, 1) * 16px) calc(var(--py) * var(--depth, 1) * 16px); transition: translate .9s var(--ease); }
.hero__frame { position: relative; aspect-ratio: 4 / 5; }
.hero__frame::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__image {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--ivory);
}
.hero__image .media { position: absolute; inset: 0; }
/* Revelação da foto da decoradora (cortina de baixo para cima) */
.js .hero__image--perfil { clip-path: inset(100% 0 0 0); }
.js.is-ready .hero__image--perfil { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease) .35s; }
.js .hero__image--perfil .media img { transform: scale(1.18); }
.js.is-ready .hero__image--perfil .media.is-loaded img { transform: scale(1); transition: opacity .6s ease, transform 2.2s var(--ease) .35s; }
.media--perfil .media__placeholder { gap: .8rem; background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.85), transparent 50%), repeating-linear-gradient(45deg, rgba(184,146,90,.07) 0 1px, transparent 1px 14px), linear-gradient(165deg, #f5e4d8, #ead6c2); }
.media--perfil .media__placeholder .icon { width: 72px; height: 72px; color: var(--gold); }
.media--perfil .media__placeholder span:last-child { font-size: 1.45rem; }

/* Círculo com decoração */
.hero__mini { position: absolute; left: -3.5rem; bottom: 16%; width: clamp(120px, 14vw, 172px); aspect-ratio: 1; z-index: 2; }
.hero__mini-inner {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow); background: var(--ivory);
  animation: floaty 7s ease-in-out infinite -2s;
}
.hero__mini-inner .media { position: absolute; inset: 0; }
.hero__mini-inner img { animation: kenburns 18s ease-in-out infinite alternate; }
.js .hero__mini-inner { opacity: 0; scale: .6; }
.js.is-ready .hero__mini-inner { opacity: 1; scale: 1; transition: opacity .8s var(--ease) 1.2s, scale 1s cubic-bezier(.34,1.56,.64,1) 1.2s; }

/* Selo giratório */
.hero__seal { position: absolute; right: -2.25rem; top: 9%; width: clamp(96px, 10vw, 126px); aspect-ratio: 1; z-index: 2; display: grid; place-items: center; }
.hero__seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.hero__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero__seal text { font-family: var(--font-body); font-size: 9.4px; letter-spacing: 2.4px; fill: var(--gold-deep); font-weight: 500; }
.hero__seal-core { position: relative; width: 38%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--gold-gradient); color: #fff; }
.hero__seal-core svg { position: static; width: 46%; height: 46%; animation: pulseStar 3s ease-in-out infinite; }
@keyframes pulseStar { 0%, 100% { transform: scale(.85) rotate(0); } 50% { transform: scale(1.1) rotate(45deg); } }
.js .hero__seal { opacity: 0; scale: .5; }
.js.is-ready .hero__seal { opacity: 1; scale: 1; transition: opacity .8s var(--ease) 1.45s, scale 1s cubic-bezier(.34,1.56,.64,1) 1.45s, translate .9s var(--ease); }

.hero__badge-wrap { position: absolute; right: -1.75rem; bottom: 2.2rem; z-index: 3; }
.js .hero__badge-wrap { opacity: 0; }
.js.is-ready .hero__badge-wrap { opacity: 1; transition: opacity .9s var(--ease) 1.7s, translate .9s var(--ease); }

/* Balões flutuando ao fundo */
.balloons { position: absolute; inset: 0; }
.balloon {
  position: absolute; bottom: -180px; width: var(--s); height: calc(var(--s) * 1.18);
  border-radius: 50% 50% 47% 47%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), var(--c) 42%, var(--c2) 100%);
  opacity: 0; animation: rise var(--t) linear infinite; animation-delay: var(--dl);
}
.balloon::after { content: ""; position: absolute; top: 100%; left: 50%; width: 1px; height: calc(var(--s) * 1.6); background: linear-gradient(rgba(133,102,58,.35), transparent); }
.balloon::before { content: ""; position: absolute; top: calc(100% - 2px); left: calc(50% - 3px); border: 3px solid transparent; border-bottom-color: var(--c2); }
@keyframes rise {
  0% { transform: translate3d(0, 0, 0) rotate(-5deg); opacity: 0; }
  8% { opacity: .5; }
  50% { transform: translate3d(26px, -62vh, 0) rotate(5deg); }
  88% { opacity: .45; }
  100% { transform: translate3d(-12px, -128vh, 0) rotate(-4deg); opacity: 0; }
}
.b1 { left: 3%;  --s: 44px; --c: #e9d29d; --c2: #b98f4f; --t: 26s; --dl: -4s; }
.b2 { left: 17%; --s: 28px; --c: #f2cdc8; --c2: #cf9a95; --t: 22s; --dl: -13s; }
.b3 { left: 36%; --s: 20px; --c: #f6ead6; --c2: #d6bf99; --t: 31s; --dl: -21s; }
.b4 { left: 54%; --s: 36px; --c: #f2cdc8; --c2: #cf9a95; --t: 28s; --dl: -8s; }
.b5 { left: 70%; --s: 24px; --c: #e9d29d; --c2: #b98f4f; --t: 24s; --dl: -17s; }
.b6 { left: 86%; --s: 50px; --c: #f6ead6; --c2: #d6bf99; --t: 33s; --dl: -1s; }
.b7 { left: 95%; --s: 22px; --c: #f2cdc8; --c2: #cf9a95; --t: 20s; --dl: -10s; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero__outline {
  position: absolute; inset: -16px 16px 16px -16px; z-index: -1;
  border: 1px solid rgba(184,146,90,.55); border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.hero__badge {
  position: relative;
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1.3rem .9rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow); font-size: .82rem; line-height: 1.3; color: var(--ink);
  animation: floaty 6s ease-in-out infinite;
}
.hero__badge em { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-deep); }
.hero__badge-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-gradient); color: #fff; flex: none; }
.hero__badge-icon svg { width: 18px; height: 18px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(133,102,58,.45); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span { width: 3px; height: 8px; border-radius: 3px; background: var(--gold); animation: scrollcue 2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Entrada animada */
.js .enter { opacity: 0; transform: translateY(26px); }
.js.is-ready .enter {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + 150ms);
}
.js .enter--visual { transform: translateY(30px) scale(.97); }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: var(--section); }
.section--portfolio { background: linear-gradient(180deg, var(--cream), var(--ivory) 40%, var(--cream)); }
.section-cta { display: flex; justify-content: center; margin-top: clamp(2.75rem, 6vw, 4rem); }

/* Revelação na rolagem */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); transition: opacity .22s ease, transform .22s ease; }
.cards-grid.is-switching { opacity: 0; transform: translateY(10px); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(133,102,58,.08);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .9s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.js .card.reveal.is-visible:hover { transform: translateY(-6px); }

.card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0;
  background: var(--ivory); overflow: hidden; cursor: zoom-in;
}
.card__media .media { position: absolute; inset: 0; }
.card__media img { transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(44,36,32,.28));
  opacity: .6; transition: opacity .5s; pointer-events: none;
}
.card:hover .card__media::after { opacity: 1; }
.card__chip {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  padding: .38rem .85rem; border-radius: 999px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.88); backdrop-filter: blur(6px); color: var(--ink);
}
.card__zoom {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.9); color: var(--ink);
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card__zoom .icon { width: 18px; height: 18px; }
.card:hover .card__zoom { opacity: 1; transform: none; }

.card__body { display: grid; gap: .35rem; padding: 1.4rem 1.4rem 1.5rem; }
.card__cat { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.card__title { font-size: 1.75rem; line-height: 1.15; }
.card__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.card__actions .btn { flex: 1 1 auto; }

.card--skeleton { aspect-ratio: 4 / 6; background: linear-gradient(100deg, var(--ivory) 30%, #fff 50%, var(--ivory) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }

/* ---------- Portão "menino / menina / ambos" ---------- */
.gate-area { position: relative; }
.gate-content { transition: filter 1s var(--ease), opacity 1s var(--ease), transform 1s var(--ease), max-height 1.4s var(--ease); }
.gate-area.is-locked .gate-content {
  filter: blur(18px) saturate(.85); opacity: .75; transform: scale(.985);
  max-height: 820px; overflow: hidden; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
}
.gate-area.is-locked.is-choosing .gate-content { filter: blur(10px) saturate(.95); }
.gate-area.is-unlocked .gate-content { max-height: 12000px; }

.gate { position: absolute; inset: 0; z-index: 6; display: flex; justify-content: center; align-items: flex-start; padding: clamp(2.5rem, 8vw, 6rem) 0 0; }
.gate__panel {
  position: sticky; top: calc(var(--header-h) + 2rem);
  width: min(620px, 100%); display: grid; justify-items: center; gap: 1rem; text-align: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 253, 249, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -36px rgba(73, 52, 30, .45), inset 0 0 0 8px rgba(255,255,255,.35);
  opacity: 0; transform: translateY(24px) scale(.97);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.gate.is-in .gate__panel { opacity: 1; transform: none; }
.gate.is-leaving { pointer-events: none; }
.gate.is-leaving .gate__panel { opacity: 0; transform: translateY(-16px) scale(.96); transition-duration: .6s; }
.gate__title { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; max-width: 460px; }
.gate__subtitle { color: var(--muted); max-width: 420px; }
.gate__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1rem); width: 100%; margin-top: .75rem; }
.gate__option {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; gap: .55rem;
  padding: 1.25rem .5rem 1.1rem; min-height: 132px;
  border: 1px solid rgba(133,102,58,.18); border-radius: var(--radius);
  background: #fff; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
  animation: optionIn .8s var(--ease) both; animation-delay: calc(.35s + var(--o, 0) * .1s);
}
.gate__option::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: .55; transition: opacity .4s, transform .6s var(--ease);
}
.gate__option:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c2); }
.gate__option:hover::before { opacity: .9; transform: translateY(-14%); }
.gate__option:hover .gate__icon svg { animation: bob 1.4s ease-in-out infinite; }
.gate__option.is-chosen { border-color: var(--c2); box-shadow: 0 0 0 3px var(--c), var(--shadow); transform: scale(1.04); }
.gate__option.is-chosen::before { opacity: 1; transform: scale(2.2); }
.gate__icon { width: 56px; height: 56px; }
.gate__icon svg { width: 100%; height: 100%; overflow: visible; }
.gate__label { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
@keyframes optionIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(3deg); } }

/* Barra de escolha após o portão */
.publico-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; margin: -1rem auto clamp(1.75rem, 4vw, 2.5rem); opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.publico-bar.is-in { opacity: 1; transform: none; }
.publico-bar__label { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.segmented__opt {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .4rem 1.1rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-soft); font-size: .9rem; transition: background-color .35s var(--ease), color .35s, box-shadow .35s;
}
.segmented__opt:hover { background: var(--ivory); }
.segmented__dot { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--c) 45%, var(--c2)); }
.segmented__opt[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: 0 8px 18px -10px rgba(44,36,32,.6); }
.page-intro + .section--gallery .publico-bar { margin-top: 0; }

/* ---------- Pesquisa por tema ---------- */
.toolbar { display: grid; justify-items: center; gap: 1rem; margin: -1rem auto clamp(1.75rem, 4vw, 2.5rem); opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.toolbar.is-in { opacity: 1; transform: none; }
.toolbar .publico-bar { margin: 0; }
.search {
  position: relative; width: min(480px, 100%); margin-inline: auto;
  display: flex; align-items: center;
}
.search__icon { position: absolute; left: 1.15rem; width: 20px; height: 20px; color: var(--gold-deep); pointer-events: none; transition: transform .4s var(--ease); }
.search__icon svg { width: 100%; height: 100%; }
.search__input {
  width: 100%; min-height: 52px; padding: .8rem 3rem .8rem 3.1rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 1rem; font-weight: 400; color: var(--ink);
  box-shadow: var(--shadow-sm); appearance: none; -webkit-appearance: none;
  transition: border-color .3s, box-shadow .35s var(--ease);
}
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__input::placeholder { color: #8c7f76; }
.search__input:hover { border-color: rgba(133,102,58,.4); }
.search__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,146,90,.16), var(--shadow); }
.search:focus-within .search__icon { transform: scale(1.1) rotate(-8deg); }
.search__clear {
  position: absolute; right: .45rem; width: 40px; height: 40px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--ivory); color: var(--ink);
  transition: background-color .3s, transform .3s var(--ease);
}
.search__clear svg { width: 16px; height: 16px; }
.search__clear:hover { background: var(--sand); transform: rotate(90deg); }
#preview-vazio { margin-top: 0; }

/* ---------- Mídia + placeholder ---------- */
.media { position: relative; width: 100%; height: 100%; background: linear-gradient(100deg, var(--ivory) 30%, #fffdf9 50%, var(--ivory) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
.media.is-loaded, .media.is-missing { animation: none; background: var(--ivory); }
.media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform 1.2s var(--ease); }
.media.is-loaded img { opacity: 1; }
.media--contain img { object-fit: contain; }
@keyframes shimmer { to { background-position: -300% 0; } }

.media__placeholder {
  position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: .6rem;
  color: var(--gold-deep); text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.9), transparent 55%),
    repeating-linear-gradient(45deg, rgba(184,146,90,.05) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #f7efe3, #f2e3dc);
}
.media__placeholder::before {
  content: ""; position: absolute; inset: 12%; border: 1px solid rgba(184,146,90,.35);
  border-radius: 999px 999px 14px 14px;
}
.media__placeholder .icon { width: 28px; height: 28px; color: var(--gold); }
.media__placeholder span:last-child { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }
.media.is-missing .media__placeholder { display: grid; }

/* ---------- Página de portfólio ---------- */
.page-intro { position: relative; isolation: isolate; padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2rem, 5vw, 3.5rem); text-align: center; }
.page-intro__inner { display: grid; justify-items: center; gap: 1.2rem; max-width: 820px; }
.page-intro__title { font-size: clamp(2.6rem, 6.5vw, 4.8rem); line-height: 1.02; }
.page-intro__subtitle { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--muted); max-width: 600px; }

.section--gallery { padding-top: 0; }
.filters-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "busca contador" "filtros filtros";
  align-items: center; gap: .85rem 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem); padding-block: .85rem;
  background: rgba(251,248,243,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.filters-bar .search { grid-area: busca; max-width: 440px; margin: 0; }
.filters { grid-area: filtros; display: flex; flex-wrap: wrap; gap: .55rem; }
.filters-count { grid-area: contador; flex: none; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-soft);
  font-size: .88rem; letter-spacing: .02em; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.chip:hover { border-color: rgba(133,102,58,.45); transform: translateY(-1px); }
.chip__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-size: .72rem; background: var(--ivory); color: var(--gold-deep); transition: inherit; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: 0 10px 22px -14px rgba(44,36,32,.6); }
.chip[aria-pressed="true"] .chip__count { background: var(--gold-gradient); color: #2a1f12; }

.empty-state { display: grid; justify-items: center; gap: .9rem; text-align: center; max-width: 520px; margin: 1rem auto 0; padding: 3rem 1.5rem; border: 1px dashed rgba(184,146,90,.45); border-radius: var(--radius-lg); background: rgba(255,255,255,.6); color: var(--muted); }
.empty-state__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-gradient); color: #fff; }
.empty-state__icon svg { width: 20px; }
.empty-state__title { font-size: 1.9rem; }

/* ---------- Orçamento personalizado ---------- */
.section--custom { background: linear-gradient(180deg, var(--cream), var(--rose-soft) 140%); overflow: hidden; }
.section--custom::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -260px; top: -200px; border-radius: 50%;
  border: 1px solid rgba(184,146,90,.2); pointer-events: none;
}
.custom { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.custom__intro { display: grid; gap: 1.3rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.custom__steps { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.custom__steps li { display: flex; align-items: center; gap: 1rem; color: var(--ink-soft); }
.custom__steps span { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(184,146,90,.55); font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-deep); background: #fff; }
.custom__privacy { font-size: .86rem; color: var(--muted); }

.form {
  position: relative; padding: clamp(1.5rem, 4vw, 2.75rem);
  background: rgba(255,255,255,.92); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(184,146,90,.18);
}
.form::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(184,146,90,.14); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-weight: 400; }
.req { color: var(--gold-deep); }
.opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border: 1px solid rgba(133,102,58,.28); border-radius: var(--radius-sm);
  background: var(--cream); font-size: 1rem; font-weight: 400; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #8c7f76; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(133,102,58,.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184,146,90,.16); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(164,66,59,.1); }
.field__error { min-height: 0; font-size: .82rem; color: var(--error); font-weight: 400; }
.field__error:empty { display: none; }
.form__hint { margin: 1.1rem 0 1.2rem; font-size: .8rem; color: var(--muted); }
.form__status { margin-top: 1rem; font-size: .9rem; text-align: center; min-height: 1.4em; }
.form__status.is-error { color: var(--error); }
.form__status.is-ok { color: var(--wa); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(.75rem, 3vw, 2rem); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(36, 28, 24, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s ease; }
.modal__panel {
  position: relative; width: min(1120px, 100%); height: min(720px, calc(100svh - 4rem)); max-height: calc(100svh - 2rem);
  display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden;
  background: var(--cream); border-radius: var(--radius-lg); box-shadow: 0 50px 100px -30px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink);
  transition: transform .35s var(--ease), background-color .3s;
}
.modal__close:hover { transform: rotate(90deg); background: #fff; }
.modal__close .icon { width: 20px; height: 20px; }

.modal__gallery { display: grid; grid-template-rows: 1fr auto; gap: .75rem; padding: 1rem; background: var(--ivory); min-height: 0; }
.gallery__stage { position: relative; min-height: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery__main { position: absolute; inset: 0; touch-action: pan-y; }
.gallery__main .media { position: absolute; inset: 0; transition: opacity .45s ease, transform .6s var(--ease); }
.gallery__main .media.is-entering { opacity: 0; transform: scale(1.02); }
.gallery__nav {
  position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  border: 0; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), background-color .3s;
}
.gallery__nav:hover { background: #fff; transform: scale(1.06); }
.gallery__nav--prev { left: .9rem; }
.gallery__nav--next { right: .9rem; }
.gallery__nav .icon { width: 20px; height: 20px; }
.gallery__count { position: absolute; left: 50%; bottom: .9rem; transform: translateX(-50%); z-index: 3; padding: .25rem .8rem; border-radius: 999px; font-size: .78rem; letter-spacing: .1em; background: rgba(44,36,32,.6); color: #fff; }
.gallery__thumbs { display: flex; gap: .6rem; overflow-x: auto; padding: .2rem; scrollbar-width: thin; }
.gallery__thumb { position: relative; flex: none; width: 74px; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 10px; overflow: hidden; opacity: .55; outline-offset: 2px; transition: opacity .3s, transform .3s var(--ease), box-shadow .3s; }
.gallery__thumb .media { position: absolute; inset: 0; }
.gallery__thumb:hover { opacity: .85; }
.gallery__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--gold); }

.modal__info { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.75rem, 4vw, 3rem); overflow-y: auto; }
.modal__cat { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-top: 1.5rem; }
.modal__title { font-size: clamp(2.1rem, 4vw, 3rem); }
.modal__info .ornament { margin-inline: 0; }
.modal__desc { color: var(--muted); }
.modal__actions { margin-top: auto; padding-top: 1rem; }
.modal__note { font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 60px; padding: 0 1.2rem 0 1.1rem; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-size: .92rem; letter-spacing: .03em;
  box-shadow: 0 18px 36px -14px rgba(31,143,90,.6);
  opacity: 0; transform: translateY(20px) scale(.9);
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s, background-color .3s;
}
.wa-float.is-visible { opacity: 1; transform: none; }
.wa-float:hover { background: #17784b; transform: translateY(-3px); box-shadow: 0 24px 40px -14px rgba(31,143,90,.7); }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: pulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.no-scroll .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(251,248,243,.78); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(232,217,192,.14); }
.site-footer__brand { display: grid; gap: .5rem; }
.site-footer__brand .brand__mark { margin-bottom: .4rem; border-color: rgba(226,201,145,.5); }
.site-footer__name { font-family: var(--font-display); font-size: 1.9rem; color: var(--cream); }
.site-footer__tagline { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold-light); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
.site-footer__links li { display: grid; gap: .2rem; }
.site-footer__label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.site-footer__links a { text-decoration: none; color: var(--cream); border-bottom: 1px solid rgba(226,201,145,.35); padding-bottom: 2px; transition: border-color .3s; }
.site-footer__links a:hover { border-color: var(--gold-light); }
.site-footer__copy { max-width: var(--container); margin: 0 auto; padding: 1.4rem var(--gutter) 6rem; font-size: .82rem; color: rgba(251,248,243,.55); }
.site-footer :focus-visible { outline-color: var(--gold-light); }

/* ---------- Utilitários de visibilidade ---------- */
.show-xs { display: none; }

/* =====================================================================
   RESPONSIVIDADE
   ===================================================================== */
@media (max-width: 1080px) {
  .hero__mini { left: -1.5rem; }
  .hero__seal { right: -1rem; }
  .hero__badge-wrap { right: -.75rem; }
  .modal__panel { grid-template-columns: 1.15fr 1fr; }
}

/* Tablet */
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__content { max-width: 680px; }
  .hero__visual { justify-self: center; width: min(100%, 460px); margin-top: 1rem; }
  .hero__frame { aspect-ratio: 4 / 5; }
  .hero__visual { width: min(100%, 400px); }
  .hero__scroll { display: none; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom { grid-template-columns: 1fr; }
  .custom__intro { position: static; }
  .filters-bar { position: static; grid-template-columns: 1fr; grid-template-areas: "busca" "filtros" "contador"; gap: .6rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filters-bar .search { max-width: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: .2rem .1rem .5rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }
  .filters-count { font-size: .8rem; }

  .modal { padding: 0; place-items: end center; }
  .modal__panel {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr;
    max-height: 94svh; height: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow-y: auto; transform: translateY(40px);
  }
  .modal__panel { display: block; }
  .modal__gallery { display: grid; grid-template-rows: auto auto; padding-top: 4.25rem; }
  .gallery__stage { aspect-ratio: 4 / 4.2; }
  .modal__info { overflow: visible; padding-bottom: 2.5rem; }
  .modal__cat { margin-top: 0; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .hide-sm { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.12rem; }
  .brand__tag { overflow: hidden; text-overflow: ellipsis; }
  .brand__tag { font-size: .58rem; letter-spacing: .18em; }

  .hero { padding-top: 1.5rem; }
  .hero__content { gap: 1.1rem; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { width: min(100%, 340px); margin-top: 2rem; }
  .hero__mini { left: -1rem; bottom: 10%; width: 108px; }
  .hero__mini-inner { border-width: 4px; }
  .hero__seal { right: -.75rem; top: 4%; width: 92px; }
  .hero__seal text { font-size: 9px; letter-spacing: 2px; }
  .hero__badge-wrap { right: -.5rem; bottom: -1rem; }
  .hero__badge { padding: .6rem 1rem .6rem .6rem; font-size: .74rem; }
  .b4, .b5, .b6 { display: none; }
  .hero__badge-icon { width: 32px; height: 32px; }
  .hero__outline { inset: -10px 10px 10px -10px; }
  .hero__detail { font-size: 1.05rem; align-items: flex-start; }
  .hero__detail-line { margin-top: .8rem; width: 28px; }

  .cards-grid { grid-template-columns: 1fr; }
  .card__media { aspect-ratio: 4 / 4.4; }
  .card__actions { flex-direction: column; }
  .card__actions .btn { width: 100%; }
  .card__zoom { opacity: 1; transform: none; }

  .form__grid { grid-template-columns: 1fr; }
  .gate { padding-top: 1.5rem; }
  .gate__panel { top: calc(var(--header-h) + 1rem); }
  .gate__option { min-height: 112px; padding: 1rem .25rem .9rem; }
  .gate__icon { width: 44px; height: 44px; }
  .gate__label { font-size: 1.2rem; }
  .gate-area.is-locked .gate-content { max-height: 640px; }
  .publico-bar { margin-top: -.5rem; }
  .segmented__opt { padding: .4rem .85rem; }
  .section-cta .btn { width: 100%; }

  .gallery__nav { width: 42px; height: 42px; margin-top: -21px; }
  .gallery__thumb { width: 60px; }

  .wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .site-header__nav .btn--sm { padding-inline: .9rem; }
}

/* Dispositivos sem hover (toque): sem efeitos de elevação "presos" */
@media (hover: none) {
  .card:hover, .js .card.reveal.is-visible:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
}

/* =====================================================================
   PREFERÊNCIA POR MENOS MOVIMENTO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .enter, .js .reveal { opacity: 1; transform: none; }
  .js .split .w > span { transform: none; }
  .js .hero__image--perfil { clip-path: none; }
  .js .hero__image--perfil .media img { transform: none; }
  .js .hero__underline path { stroke-dashoffset: 0; }
  .js .hero__mini-inner, .js .hero__seal, .js .hero__badge-wrap { opacity: 1; scale: 1; }
  .balloons { display: none; }
  .gate__panel, .publico-bar, .toolbar { opacity: 1; transform: none; }
  .layer { translate: none; }
}

/* Link público direcionado: sinaliza o público sem permitir alterá-lo. */
.publico-bar.publico-bar--fixed{display:flex;justify-content:center;padding:14px 20px;border:1px solid rgba(184,146,90,.3);border-radius:16px;background:rgba(248,239,227,.82);margin-bottom:24px}
.publico-bar.publico-bar--fixed .publico-bar__label{font-weight:500;color:#7e6245}

/* ---------- Ajustes de responsividade (celular, tablet, notebook, PC) ---------- */

@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 600px) {
  .hero__seal { right: -.6rem; }
  .hero__mini { left: -.6rem; }
}
