/* =========================================================================
   Pet Estrela — Componentes
   ========================================================================= */

/* ----------------------------------------------------------------- Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: .72rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-300);
  line-height: 1;
  letter-spacing: .005em;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--color-accent-hover); box-shadow: var(--shadow-md); }

.btn--gold {
  background: linear-gradient(135deg, var(--c-gold-2), var(--c-gold-1));
  color: #4a2f00;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { filter: brightness(1.03); box-shadow: 0 14px 36px rgba(233,176,79,.4); }

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  box-shadow: inset 0 0 0 1.5px rgba(2,51,68,.2);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--color-accent); background: rgba(2,51,68,.04); }

.section--night .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost,
.memorial-hero .btn--ghost { color: #eaf3f7; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.section--night .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover,
.memorial-hero .btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,.32);
}
.btn--whatsapp:hover { background: var(--color-whatsapp-700); }

.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: .9rem 2rem; font-size: var(--fs-400); }
.btn--sm { min-height: 40px; padding: .5rem 1.1rem; }

.btn { max-width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row--center { justify-content: center; }

/* em telas pequenas, botões com texto longo podem quebrar linha */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
}

/* link-seta */
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--color-accent);
  border-bottom: 1.5px solid transparent;
  transition: gap var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.link-arrow:hover { gap: .7rem; border-color: var(--c-gold-1); }
.link-arrow::after { content: "→"; }

/* --------------------------------------------------------------- Cards */
.card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border: 1px solid rgba(2,51,68,.04);
  height: 100%;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card .card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--c-mist);
  color: var(--color-accent);
  margin-bottom: var(--sp-4);
}
.card .card-icon svg { width: 28px; height: 28px; }
.card h3, .card h4 { margin-bottom: var(--sp-2); }
.card p { color: var(--color-text-soft); }

/* card de número/estatística */
.stat { text-align: center; }
.stat .stat-num {
  font-size: var(--fs-700); font-weight: 700; color: var(--color-accent);
  line-height: 1; display: block;
}
.section--night .stat .stat-num { color: var(--c-gold-2); }
.stat .stat-label { font-size: var(--fs-300); color: var(--color-text-soft); margin-top: .3rem; }
.section--night .stat .stat-label { color: #b9d2dd; }

/* ------------------------------------------------------------- Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); width: 100%; }

/* estado padrão sobre o hero (transparente) */
.site-header[data-transparent="true"]:not(.is-scrolled) { background: transparent; }
.site-header[data-transparent="true"]:not(.is-scrolled) .nav-link,
.site-header[data-transparent="true"]:not(.is-scrolled) .brand-name { color: #fff; }
.site-header[data-transparent="true"]:not(.is-scrolled) .brand-star { color: var(--c-gold-2); }
.site-header[data-transparent="true"]:not(.is-scrolled) .nav-toggle span { background: #fff; }

.site-header.is-scrolled,
.site-header:not([data-transparent="true"]) {
  background: rgba(251,251,251,.86);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 rgba(2,51,68,.07);
}

.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand-star { color: var(--c-gold-1); display: grid; place-items: center; }
.brand-star svg { width: 30px; height: 30px; }
.brand-name { font-size: 1.18rem; color: var(--color-accent); letter-spacing: -.01em; line-height: 1; }
.brand-name small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold-1); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); }
.nav-link {
  font-size: var(--fs-300); font-weight: 500; color: var(--color-text);
  padding: .4rem .2rem; position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--c-gold-1); transition: right var(--dur-fast) var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] { color: var(--color-accent); font-weight: 600; }

.nav-cta { margin-left: .4rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px;
}
.nav-toggle span { height: 2px; width: 24px; background: var(--color-accent); border-radius: 2px; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(251,251,251,.98);
    backdrop-filter: blur(14px);
    padding: var(--sp-3) clamp(1.1rem,4vw,2rem) var(--sp-6);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: .85rem .2rem; border-bottom: 1px solid var(--color-divider); color: var(--color-text) !important; }
  .nav-link::after { display: none; }
  .nav-cta { margin: var(--sp-4) 0 0; }
  .site-header[data-transparent="true"]:not(.is-scrolled) .nav-link { color: var(--color-text) !important; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  display: flex;
  align-items: center;
  color: #eaf3f7;
  background: var(--grad-night);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  object-fit: cover; width: 100%; height: 100%;
  opacity: .42;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(2,31,43,.92) 0%, rgba(2,51,68,.7) 45%, rgba(2,51,68,.25) 100%);
}
.hero .container { padding-top: var(--header-h); }
.hero__inner { max-width: 660px; padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero h1 { color: #fff; margin-block: var(--sp-3) var(--sp-5); }
.hero .hero__lead { color: #cfe2ea; font-size: var(--fs-500); line-height: var(--lh-snug); max-width: 48ch; margin-bottom: var(--sp-8); }
.hero .script { color: var(--c-gold-2); }

/* estrelas decorativas no céu do hero */
.starfield { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.starfield i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #fff; opacity: .65;
  box-shadow: 0 0 6px 1px rgba(255,255,255,.6);
  animation: twinkle 4s var(--ease) infinite;
}
@keyframes twinkle { 0%,100% { opacity: .25; } 50% { opacity: .9; } }

/* constelações de pets no hero (revelam-se no hover) */
.hero-constellations { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 991px) { .hero-constellations { display: none; } }

/* faixa de constelações no mobile (sem mouse): desenham-se sozinhas, toque redesenha */
.constel-strip { display: none; }
.constel-strip svg { width: 100%; height: auto; pointer-events: auto; overflow: visible; }
.constel-strip__cap { display: block; text-align: center; font-size: var(--fs-200); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,191,125,.85); margin-top: var(--sp-6); margin-bottom: .25rem; }
@media (max-width: 991px) { .constel-strip { display: block; } }
.constel .chit { pointer-events: all; cursor: pointer; fill: transparent; }
.constel .csil {
  fill: rgba(255,191,125,0);
  stroke: var(--c-gold-2); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round;
  opacity: .18;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 0 rgba(255,200,120,0));
  transition: opacity .5s var(--ease), fill .6s var(--ease), filter .6s var(--ease), stroke-dashoffset 1.1s var(--ease);
}
.constel .cstar { fill: #fff; opacity: .5; transition: opacity .4s var(--ease), r .4s var(--ease); }
.constel .cglow { fill: var(--c-gold-2); opacity: 0; transition: opacity .5s var(--ease); }
.constel .clabel {
  fill: var(--c-gold-2); font-family: var(--font-hand); font-size: 30px;
  opacity: 0; transition: opacity .5s var(--ease); transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.constel:hover .csil, .constel.active .csil {
  opacity: .95; fill: rgba(255,191,125,.16);
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(255,200,120,.55));
}
.constel:hover .cstar, .constel.active .cstar { opacity: 1; }
.constel:hover .cglow, .constel.active .cglow { opacity: .9; }
.constel:hover .clabel, .constel.active .clabel { opacity: .95; transform: none; }

.hero-hint {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: var(--sp-6); font-size: var(--fs-200); letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,191,125,.8);
}
.hero-hint::before { content: "✦"; }
@media (max-width: 940px) { .hero-hint { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .constel .csil { transition: opacity .3s, fill .3s; stroke-dashoffset: 0; opacity: .12; }
}

/* faixa de confiança abaixo do hero */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: clamp(1rem, 4vw, 3rem);
  justify-content: center; align-items: center;
  color: var(--color-text-soft); font-size: var(--fs-300); font-weight: 500;
}
.trust-bar .ti { display: inline-flex; align-items: center; gap: .55rem; }
.trust-bar svg { width: 20px; height: 20px; color: var(--c-gold-1); }

/* ------------------------------------------------------- Processo (passos) */
.steps { counter-reset: step; }
.step { position: relative; padding-top: var(--sp-6); }
.step .step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-accent); color: #fff; font-weight: 700;
  margin-bottom: var(--sp-3); box-shadow: var(--shadow-sm);
}
.step h4 { margin-bottom: var(--sp-2); }
.step p { color: var(--color-text-soft); }

/* ----------------------------------------------------------- Planos */
.plan {
  display: flex; flex-direction: column;
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-divider);
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
  border: 1.5px solid var(--c-gold-1);
  box-shadow: var(--shadow-md);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--c-gold-2), var(--c-gold-1));
  color: #4a2f00; font-size: var(--fs-200); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: var(--radius-pill);
  white-space: nowrap; box-shadow: var(--shadow-gold);
}
.plan__name { font-size: var(--fs-500); font-weight: 700; color: var(--color-accent); }
.plan__desc { color: var(--color-text-soft); font-size: var(--fs-300); margin-top: .25rem; min-height: 2.4em; }
.plan__price { margin: var(--sp-4) 0 var(--sp-2); }
.plan__price b { font-size: var(--fs-700); color: var(--color-accent); line-height: 1; }
.plan__price .cur { font-size: var(--fs-400); font-weight: 600; vertical-align: top; margin-right: 2px; }
.plan__inst { font-size: var(--fs-300); color: var(--color-text-soft); }
.plan__list { margin: var(--sp-5) 0; display: grid; gap: .6rem; }
.plan__list li { display: flex; gap: .6rem; font-size: var(--fs-300); color: var(--color-text); align-items: flex-start; }
.plan__list svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--c-gold-1); margin-top: 2px; }
.plan .btn { margin-top: auto; }

/* --------------------------------------------------------- Depoimentos */
.quote {
  background: var(--color-card); border-radius: var(--radius-card);
  padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(2,51,68,.04); height: 100%;
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.quote__stars { color: var(--c-gold-1); letter-spacing: .15em; }
.quote p { color: var(--color-text); font-size: var(--fs-400); }
.quote__by { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-mist); color: var(--color-accent); display: grid; place-items: center; font-weight: 700; }
.quote__name { font-weight: 600; font-size: var(--fs-300); }
.quote__role { font-size: var(--fs-200); color: var(--color-text-soft); }

/* ------------------------------------------------------ Galeria eternizados */
.gallery { display: grid; gap: clamp(1.1rem, 3vw, 1.8rem); grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }
.star-card {
  display: flex; flex-direction: column;
  background: var(--color-card); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(2,51,68,.05);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.star-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.star-card__photo { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--c-mist); position: relative; }
.star-card__photo--ph { display: grid; place-items: center; }
.star-card__photo--ph .ph-initial { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; color: rgba(255,255,255,.92); text-shadow: 0 2px 10px rgba(2,51,68,.25); }
.star-card__photo--ph svg { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; color: rgba(255,255,255,.85); }
.star-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.star-card__name { font-size: var(--fs-500); font-weight: 700; color: var(--color-accent); line-height: 1.1; }
.star-card__meta { font-size: var(--fs-200); color: var(--color-text-soft); text-transform: uppercase; letter-spacing: .08em; }
.star-card__quote { font-family: var(--font-hand); font-size: 1.5rem; color: var(--c-gold-1); line-height: 1.05; margin-top: .4rem; }
.star-card__years { margin-top: auto; padding-top: var(--sp-3); font-size: var(--fs-200); color: var(--color-muted); display: flex; align-items: center; gap: .4rem; }
.star-card__years svg { width: 14px; height: 14px; color: var(--c-gold-1); }

.gallery-toolbar { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; margin-bottom: var(--sp-8); }
.search-field { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-field input {
  width: 100%; padding: .8rem 1rem .8rem 2.8rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-divider); background: var(--color-card);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.search-field input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(2,51,68,.08); outline: none; }
.search-field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--color-muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .5rem 1rem; border-radius: var(--radius-pill); font-size: var(--fs-300); font-weight: 500;
  background: var(--color-card); border: 1.5px solid var(--color-divider); color: var(--color-text-soft);
  transition: all var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--color-accent); color: var(--color-accent); }
.chip[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* ------------------------------------------------------- Memorial individual */
.memorial-hero {
  background: var(--grad-night); color: #dceaf0; position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem,5vw,3rem)); padding-bottom: clamp(2.5rem,6vw,4rem);
}
.memorial-card {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  grid-template-columns: minmax(0, 320px) 1fr;
}
@media (max-width: 720px) { .memorial-card { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.memorial-photo {
  width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-xl); border: 4px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg);
}
.memorial-photo--ph { display: grid; place-items: center; aspect-ratio: 1; }
.memorial-photo--ph span { font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; color: rgba(255,255,255,.92); text-shadow: 0 3px 14px rgba(2,51,68,.3); }
.memorial-name { color: #fff; font-size: var(--fs-800); margin-bottom: .3rem; }
.memorial-quote { font-family: var(--font-hand); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--c-gold-2); line-height: 1.05; margin: var(--sp-3) 0; }
.memorial-dates { display: inline-flex; align-items: center; gap: .6rem; color: #bcd5e0; font-size: var(--fs-400); }

/* vela virtual */
.candle { display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; }
.candle__flame {
  width: 16px; height: 24px; border-radius: 50% 50% 45% 45%;
  background: radial-gradient(circle at 50% 70%, #fff 0%, var(--c-gold-3) 30%, var(--c-gold-1) 65%, #e76f1a 100%);
  box-shadow: 0 0 18px 5px rgba(255,180,80,.6);
  transform-origin: bottom center;
  animation: flicker 2.2s ease-in-out infinite;
}
.candle__body { width: 26px; height: 56px; border-radius: 6px; background: linear-gradient(180deg,#fff,#f0e6d4); box-shadow: var(--shadow-xs); }
@keyframes flicker {
  0%,100% { transform: scale(1) rotate(-1deg); opacity: 1; }
  50% { transform: scale(1.06) rotate(1deg); opacity: .92; }
}
.candle-count { font-weight: 700; color: var(--c-gold-1); }

/* mural de homenagens */
.tribute { background: var(--color-card); border-radius: var(--radius-card); padding: var(--sp-5); box-shadow: var(--shadow-xs); border: 1px solid rgba(2,51,68,.05); }
.tribute__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.tribute__author { font-weight: 600; color: var(--color-accent); }
.tribute__date { font-size: var(--fs-200); color: var(--color-muted); }

/* qr box */
.qr-box { display: inline-flex; flex-direction: column; align-items: center; gap: var(--sp-3); padding: var(--sp-5); background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.qr-box canvas, .qr-box img, .qr-box svg { width: 180px; height: 180px; }

/* ----------------------------------------------------------- Timeline */
.timeline { display: grid; gap: 0; position: relative; margin-top: var(--sp-6); }
.tl-step { display: grid; grid-template-columns: 44px 1fr; gap: var(--sp-4); padding-bottom: var(--sp-8); position: relative; }
.tl-step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 38px; bottom: -6px; width: 2px; background: var(--color-divider); }
.tl-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-gray-1); color: var(--color-muted); border: 2px solid var(--color-divider); }
.tl-dot svg { width: 20px; height: 20px; }
.tl-step[data-state="done"] .tl-dot { background: var(--c-gold-1); color: #4a2f00; border-color: var(--c-gold-1); }
.tl-step[data-state="done"]:not(:last-child)::before { background: var(--c-gold-1); }
.tl-step[data-state="current"] .tl-dot { background: var(--color-accent); color: #fff; border-color: var(--color-accent); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(2,51,68,.3);} 50% { box-shadow: 0 0 0 8px rgba(2,51,68,0);} }
.tl-step h4 { margin-bottom: .15rem; }
.tl-step .tl-time { font-size: var(--fs-200); color: var(--color-muted); }
.tl-step[data-state="todo"] h4 { color: var(--color-muted); }

/* ----------------------------------------------------------- Formulários */
.field { display: grid; gap: .4rem; margin-bottom: var(--sp-4); }
.field label { font-weight: 600; font-size: var(--fs-300); color: var(--color-accent); }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-divider); background: var(--color-card); color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(2,51,68,.08); outline: none;
}
.field--inline { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 540px) { .field--inline { grid-template-columns: 1fr; } }
.form-note { font-size: var(--fs-200); color: var(--color-text-soft); }

/* aviso/callout */
.callout {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-sm);
  background: var(--c-sand); border: 1px solid #f0e2c8; color: var(--color-text);
  font-size: var(--fs-300);
}
.callout svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--c-gold-1); margin-top: 2px; }
.callout--info { background: var(--c-mist); border-color: #d6e6ee; }
.callout--info svg { color: var(--color-accent); }

/* selo / badge */
.seal { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1.2rem; border-radius: var(--radius-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.seal svg { width: 26px; height: 26px; color: var(--c-gold-2); }
.seal span { font-size: var(--fs-300); }

/* faq */
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-item summary {
  cursor: pointer; padding: var(--sp-5) 0; font-weight: 600; color: var(--color-accent);
  list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--c-gold-1); transition: transform var(--dur-fast) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: var(--sp-5); color: var(--color-text-soft); }

/* ----------------------------------------------------------- Footer */
.site-footer { background: var(--grad-night); color: #c2d6df; padding-top: clamp(3rem, 7vw, var(--sp-20)); position: relative; overflow: hidden; }
.site-footer a { color: #c2d6df; transition: color var(--dur-fast) var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--sp-8); grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #9fbecb; font-size: var(--fs-300); margin-top: var(--sp-3); }
.footer-col h5 { color: #fff; font-size: var(--fs-300); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: .7rem; font-size: var(--fs-300); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-300); margin-bottom: .7rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--c-gold-2); flex: 0 0 auto; margin-top: 2px; }
.footer-social { display: flex; gap: .7rem; margin-top: var(--sp-4); }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.footer-social a:hover { background: rgba(255,255,255,.16); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: clamp(2.5rem,6vw,var(--sp-16)); border-top: 1px solid rgba(255,255,255,.1); padding: var(--sp-6) 0; display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: var(--fs-200); color: #88a8b6; }

/* botão flutuante whatsapp */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--color-whatsapp); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.42);
  transition: transform var(--dur-fast) var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--color-whatsapp); animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* page hero genérico (páginas internas) */
.page-hero {
  background: var(--grad-night); color: #dceaf0;
  padding-top: calc(var(--header-h) + clamp(2.2rem, 6vw, 4rem));
  padding-bottom: clamp(2.2rem, 6vw, 4rem);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe2ea; margin-inline: auto; }
.page-hero .breadcrumb { font-size: var(--fs-200); color: #9fbecb; letter-spacing: .04em; margin-bottom: var(--sp-3); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* media: empilhar imagem+texto */
.split { display: grid; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-card); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split--reverse > :first-child { order: 0; } }

/* painel decorativo (no lugar de foto enquanto o cliente não envia imagens) */
.media-panel {
  min-height: clamp(280px, 40vw, 420px);
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, var(--c-pastel-2) 0%, var(--c-pastel-3) 55%, #eaf6fb 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.media-panel::after {
  content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%);
  top: -60px; right: -60px;
}
.media-panel--night {
  background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14); box-shadow: none;
}
.media-panel--night::after { background: radial-gradient(circle, rgba(255,191,125,.18), transparent 70%); }
.media-panel__art { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); color: var(--color-accent); position: relative; z-index: 1; text-align: center; }
.media-panel__art svg { width: clamp(64px, 10vw, 92px); height: clamp(64px, 10vw, 92px); opacity: .85; }
.media-panel__art .script { color: var(--c-gold-1); }
.media-panel--night .media-panel__art { color: var(--c-gold-2); }
.media-panel--night .media-panel__art .script { color: var(--c-gold-2); }

/* lista com checks */
.check-list { display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--c-gold-1); margin-top: 1px; }

/* ----------------------------------------------------------- Seletor de planos */
.selector {
  background: var(--color-card); border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-md);
  border: 1px solid var(--color-divider);
}
.selector__q { margin-bottom: var(--sp-8); }
.selector__q > h4 { margin-bottom: var(--sp-4); }
.selector__q[hidden] { display: none; }
.opt-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.opt {
  padding: .9rem 1.3rem; border-radius: var(--radius-pill); font-weight: 600; font-size: var(--fs-300);
  background: var(--color-surface-alt); border: 1.5px solid transparent; color: var(--color-text);
  transition: all var(--dur-fast) var(--ease);
}
.opt:hover { border-color: var(--c-pastel-1); transform: translateY(-1px); }
.opt[aria-pressed="true"] { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.opt-group--multi .opt[aria-pressed="true"] { background: linear-gradient(135deg, var(--c-gold-2), var(--c-gold-1)); color: #4a2f00; }

.sel-result {
  margin-top: var(--sp-6); padding-top: var(--sp-8);
  border-top: 1px dashed var(--color-divider);
}
.sel-result__head .kicker { margin-bottom: .4rem; }
.sel-result__head h3 { color: var(--color-accent); }
.sel-result__price { margin: var(--sp-4) 0; }
.sel-result__price b { font-size: var(--fs-700); color: var(--color-accent); }
.sel-result__price small { color: var(--color-text-soft); font-weight: 500; font-size: var(--fs-400); }

/* tabela comparativa simples */
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-300); }
.compare th, .compare td { padding: .9rem 1rem; text-align: center; border-bottom: 1px solid var(--color-divider); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--color-text); font-weight: 500; }
.compare thead th { color: var(--color-accent); font-size: var(--fs-400); }
.compare .yes { color: var(--c-gold-1); font-weight: 700; }
.compare .no { color: var(--color-muted); }
.compare tbody tr:hover { background: var(--color-surface-alt); }

/* ----------------------------------------------------------- Impressão / PDF */
@media print {
  *, *::before, *::after { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .wa-float, .skip-link, .nav-toggle, .site-header { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
  .page-hero, .hero { padding-top: 2rem !important; }
  .section { padding-block: 1.4rem !important; }
  .card, .plan, .quote, .compare tr, .split > * { break-inside: avoid; }
  .section-head { break-after: avoid; }
  a { text-decoration: none; }
}

/* artigo (blog) */
.article { max-width: 68ch; }
.article p { color: var(--color-text-soft); font-size: var(--fs-400); }
.article h3 { margin-bottom: .4rem; }

/* estado vazio / loading */
.state { text-align: center; padding: var(--sp-16) var(--sp-4); color: var(--color-text-soft); }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--color-divider); border-top-color: var(--color-accent); margin: 0 auto var(--sp-4); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------- Assistente de IA (chat) */
.pe-chat__launch {
  position: fixed; right: clamp(16px,3vw,28px); bottom: 92px; z-index: 95;
  display: inline-flex; align-items: center; gap: .5rem;
  height: 52px; padding: 0 1.1rem 0 .9rem; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--c-gold-2), var(--c-gold-1)); color: #4a2f00;
  font-weight: 700; font-size: var(--fs-300); box-shadow: var(--shadow-gold);
  transition: transform var(--dur-fast) var(--ease);
}
.pe-chat__launch:hover { transform: translateY(-2px); }
.pe-chat__launch svg { width: 22px; height: 22px; }
.pe-chat.is-open .pe-chat__launch { display: none; }
@media (max-width: 480px) { .pe-chat__launch span { display: none; } .pe-chat__launch { width: 52px; padding: 0; justify-content: center; } }

.pe-chat__panel {
  position: fixed; right: clamp(16px,3vw,28px); bottom: 92px; z-index: 96;
  width: min(372px, calc(100vw - 2*clamp(16px,3vw,28px)));
  height: min(72vh, 560px); display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--color-divider);
}
.pe-chat__head { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: var(--grad-night); color: #fff; }
.pe-chat__avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--c-gold-2); flex: 0 0 auto; }
.pe-chat__avatar svg { width: 20px; height: 20px; }
.pe-chat__title { flex: 1; line-height: 1.15; }
.pe-chat__title b { font-size: var(--fs-300); color: #fff; }
.pe-chat__title small { color: #bcd5e0; font-size: var(--fs-200); display: block; }
.pe-chat__close { color: #fff; font-size: 1.6rem; line-height: 1; width: 32px; height: 32px; border-radius: 8px; }
.pe-chat__close:hover { background: rgba(255,255,255,.12); }

.pe-chat__msgs { flex: 1; overflow-y: auto; padding: var(--sp-4); display: flex; flex-direction: column; gap: .6rem; background: var(--color-surface-alt); }
.pe-msg { max-width: 85%; padding: .6rem .85rem; border-radius: 14px; font-size: var(--fs-300); line-height: 1.45; }
.pe-msg--bot { background: #fff; color: var(--color-text); border: 1px solid var(--color-divider); border-bottom-left-radius: 4px; align-self: flex-start; }
.pe-msg--user { background: var(--color-accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.pe-msg a { text-decoration: underline; }
.pe-msg--user a { color: #fff; }

.pe-typing { display: inline-flex; gap: 4px; padding: 2px 0; }
.pe-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-muted); animation: peblink 1.2s infinite; }
.pe-typing i:nth-child(2) { animation-delay: .2s; } .pe-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes peblink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.pe-chat__sug { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 var(--sp-4) .5rem; background: var(--color-surface-alt); }
.pe-chat__chip { font-size: var(--fs-200); padding: .4rem .7rem; border-radius: var(--radius-pill); border: 1.5px solid var(--c-pastel-1); color: var(--color-accent); background: #fff; transition: background var(--dur-fast) var(--ease); }
.pe-chat__chip:hover { background: var(--c-pastel-2); }

.pe-chat__form { display: flex; gap: .5rem; padding: .6rem; border-top: 1px solid var(--color-divider); background: #fff; align-items: flex-end; }
.pe-chat__form textarea { flex: 1; resize: none; border: 1.5px solid var(--color-divider); border-radius: 14px; padding: .55rem .8rem; font: inherit; font-size: var(--fs-300); max-height: 110px; }
.pe-chat__form textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(2,51,68,.08); }
.pe-chat__send { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: var(--color-accent); color: #fff; display: grid; place-items: center; }
.pe-chat__send:hover { background: var(--color-accent-hover); }
.pe-chat__send svg { width: 20px; height: 20px; }
.pe-chat__note { font-size: var(--fs-200); color: var(--color-text-soft); padding: 0 var(--sp-4) .7rem; background: #fff; text-align: center; }
.pe-chat__note a { color: var(--color-accent); text-decoration: underline; }

body.pe-chat-aberto .wa-float { display: none; }
@media (max-width: 480px) {
  .pe-chat__panel { bottom: 0; right: 0; left: 0; width: 100%; height: 82vh; border-radius: var(--radius-card) var(--radius-card) 0 0; }
}
