/* =========================================================
   COMUNIDADE VOOAR LAR (prefixo cm-)
   Base compartilhada pelas páginas /nordestino, /primegourmet, /familia.
   Cada página ajusta o tom pela classe no <body> (cm-page--nome).
   ========================================================= */

.cm-page {
  --cm-primary: #5B3A2E;
  --cm-primary-dark: #2E1C16;
  --cm-accent: #E3B341;
  --cm-accent-light: #EBC468;
  --cm-ink: #0B0B0C;
  --cm-muted: #5B4A43;
  --cm-soft: #F4EFE7;
  --cm-night: #0B0B0C;
  --cm-highlight: #E3B341;
  --cm-gradient: linear-gradient(120deg, var(--cm-primary-dark) 0%, var(--cm-primary) 45%, var(--cm-accent) 100%);
  --cm-radius: 28px;
  --cm-shadow: 0 25px 60px -25px rgba(46,28,22, .35);
  --cm-ease: cubic-bezier(.22, 1, .36, 1);

  margin: 0;
  background: #fff;
  color: var(--cm-ink);
  font-family: 'Poppins', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
/* Nordestino: um toque de sol do Nordeste nos destaques */
.cm-page--nordestino { --cm-highlight: #E3B341; }
/* Família: toque suave de rosa nos destaques */
.cm-page--familia { --cm-highlight: #E3B341; }

.cm-page *, .cm-page *::before, .cm-page *::after { box-sizing: border-box; }
:where(.cm-page) h1, :where(.cm-page) h2, :where(.cm-page) h3 { font-family: 'Bricolage Grotesque', 'Poppins', sans-serif; margin: 0; letter-spacing: -.015em; }
:where(.cm-page) p { margin: 0; }
:where(.cm-page) ul { list-style: none; margin: 0; padding: 0; }
:where(.cm-page) a { color: inherit; text-decoration: none; }
.cm-page img { max-width: 100%; }

/* ---------- reveal ---------- */
.cm-page [data-cm-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--cm-ease), transform .8s var(--cm-ease); }
.cm-page [data-cm-reveal].is-in { opacity: 1; transform: none; }
.cm-page [data-cm-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--cm-ease), transform .6s var(--cm-ease); transition-delay: var(--cm-delay, 0s); }
.cm-page [data-cm-stagger].is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cm-page [data-cm-reveal], .cm-page [data-cm-stagger] > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- botões (texto sempre branco em botão colorido) ---------- */
.cm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--cm-gradient); background-size: 150% 100%; background-position: 0 0;
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem; text-align: center;
  box-shadow: 0 20px 45px -18px rgba(227,179,65, .5);
  transition: transform .35s var(--cm-ease), background-position .5s var(--cm-ease), box-shadow .35s var(--cm-ease);
}
.cm-btn:hover { color: #fff; transform: translateY(-3px); background-position: 100% 0; }
.cm-btn--sm { padding: .7rem 1.2rem; font-size: .85rem; box-shadow: none; }
.cm-btn--lg { padding: 1.15rem 2.2rem; font-size: 1.02rem; }
.cm-btn--light { background: #fff; color: var(--cm-primary-dark); box-shadow: 0 20px 45px -18px rgba(0,0,0,.4); }
.cm-btn--light:hover { color: var(--cm-accent); }

/* ---------- topo ---------- */
.cm-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem clamp(1rem, 5vw, 4rem);
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(91,58,46,.1);
}
.cm-top__logo img { display: block; height: 28px; width: auto; }

/* ---------- seções base ---------- */
.cm-section { padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 5vw, 4rem); }
.cm-section--soft { background: var(--cm-soft); }
.cm-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.cm-page .cm-eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cm-accent); }
.cm-page .cm-title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.15; margin-top: .6rem; }

/* ---------- hero ---------- */
.cm-hero { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem) clamp(3.5rem, 7vw, 5.5rem); background: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(227,179,65,.1), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(91,58,46,.12), transparent 70%); }
.cm-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1180px; margin: 0 auto; }
.cm-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px;
  background: rgba(37,211,102,.1); color: #128C4B; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}
.cm-badge__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.cm-badge__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: cm-ping 1.8s ease-out infinite; }
@keyframes cm-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.cm-page .cm-hero__title { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 800; line-height: 1.02; margin-top: 1.1rem; }
.cm-hero__title span { display: block; background: linear-gradient(110deg, var(--cm-primary) 10%, var(--cm-accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cm-page .cm-hero__text { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--cm-muted); margin-top: 1.3rem; max-width: 560px; }
.cm-hero__text strong { color: var(--cm-ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--cm-highlight) 38%, transparent) 62%); }
.cm-hero .cm-btn { margin-top: 2rem; }
.cm-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.4rem; }
.cm-checks li { display: flex; align-items: center; gap: .45rem; font-size: .86rem; font-weight: 500; color: var(--cm-muted); }
.cm-checks li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(37,211,102,.14); color: #128C4B; font-size: .7rem; font-weight: 700; }

.cm-hero__media { position: relative; }
.cm-hero__card {
  position: absolute; left: -1.2rem; bottom: 1.6rem; padding: .9rem 1.2rem; border-radius: 18px; background: #fff;
  box-shadow: var(--cm-shadow); display: flex; flex-direction: column; line-height: 1.3;
}
.cm-hero__card strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.05rem; }
.cm-hero__card span { font-size: .8rem; color: var(--cm-muted); }

/* ---------- fotos com placeholder (a foto aparece sozinha quando o arquivo existe) ---------- */
.cm-photo {
  position: relative; overflow: hidden; border-radius: var(--cm-radius); box-shadow: var(--cm-shadow);
  background: linear-gradient(150deg, rgba(91,58,46,.18), rgba(227,179,65,.16));
  display: flex; align-items: center; justify-content: center;
}
.cm-photo--portrait { aspect-ratio: 4 / 5; }
.cm-photo--square { aspect-ratio: 1 / 1; }
.cm-photo__hint { font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cm-muted); }
.cm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- vídeo ---------- */
.cm-video {
  position: relative; max-width: 420px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: var(--cm-radius); overflow: hidden;
  background: var(--cm-night); box-shadow: var(--cm-shadow);
}
.cm-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-video__empty { display: none; }
.cm-video.is-empty video { display: none; }
.cm-video.is-empty .cm-video__empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  background: var(--cm-gradient); color: #fff; font-size: .9rem; font-weight: 500;
}
.cm-video__play { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--cm-accent); display: flex; align-items: center; justify-content: center; padding-left: 4px; }

/* ---------- dúvidas ---------- */
.cm-questions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 860px; margin: 0 auto; }
.cm-questions li {
  padding: .8rem 1.3rem; border-radius: 999px; background: #fff; border: 1px solid rgba(91,58,46,.14);
  font-weight: 600; font-size: .95rem; box-shadow: 0 12px 30px -24px rgba(46,28,22,.5);
}
.cm-page .cm-lead { max-width: 680px; margin: 2.4rem auto 0; text-align: center; font-size: 1.05rem; color: var(--cm-muted); }
.cm-lead strong { color: var(--cm-ink); }

/* ---------- quem sou ---------- */
.cm-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1100px; margin: 0 auto; }
.cm-about__content p:not(.cm-eyebrow) { color: var(--cm-muted); margin-top: 1rem; font-size: 1.02rem; }
.cm-about__content strong { color: var(--cm-ink); }
.cm-creds { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.8rem; }
.cm-creds li { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: 14px; background: var(--cm-soft); font-size: .88rem; font-weight: 500; }

/* ---------- benefícios ---------- */
.cm-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1180px; margin: 0 auto; }
.cm-benefit { background: #fff; border-radius: 22px; padding: 1.8rem 1.5rem; border: 1px solid rgba(91,58,46,.08); box-shadow: 0 18px 40px -30px rgba(46,28,22,.45); }
.cm-benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, rgba(91,58,46,.12), rgba(227,179,65,.12)); font-size: 1.5rem; }
.cm-page .cm-benefit h3 { font-size: 1.12rem; margin-top: 1.1rem; }
.cm-page .cm-benefit p { font-size: .9rem; color: var(--cm-muted); margin-top: .5rem; }

/* ---------- economia ---------- */
.cm-save {
  max-width: 980px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem); border-radius: 34px; text-align: center; color: #fff;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(227,179,65,.35), transparent 70%), linear-gradient(140deg, var(--cm-night), var(--cm-primary-dark) 60%, #5B3A2E);
  box-shadow: var(--cm-shadow);
}
.cm-page .cm-save__label { font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.8); }
.cm-page .cm-save__big { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; line-height: 1.05; margin-top: .6rem; }
.cm-save__big strong { font-size: 1.5em; font-weight: 800; color: var(--cm-highlight); }
.cm-page .cm-save__text { max-width: 560px; margin: 1rem auto 0; color: rgba(255,255,255,.8); }
.cm-save .cm-btn { margin-top: 2rem; }
.cm-page .cm-save__fine { margin-top: 1rem; font-size: .78rem; color: rgba(255,255,255,.55); }

/* ---------- faq ---------- */
.cm-faq { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.cm-faq details { background: #fff; border-radius: 18px; border: 1px solid rgba(91,58,46,.1); padding: 0 1.3rem; }
.cm-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative; font-weight: 600; }
.cm-faq summary::-webkit-details-marker { display: none; }
.cm-faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--cm-accent); transition: transform .3s var(--cm-ease); }
.cm-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cm-faq details p { padding-bottom: 1.2rem; color: var(--cm-muted); font-size: .95rem; }

/* ---------- cta final ---------- */
.cm-final { padding: clamp(4rem, 9vw, 6rem) clamp(1.25rem, 5vw, 4rem); background: var(--cm-gradient); text-align: center; color: #fff; }
.cm-final__inner { max-width: 640px; margin: 0 auto; }
.cm-page .cm-final h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.15; }
.cm-page .cm-final p { color: rgba(255,255,255,.85); margin-top: 1rem; font-size: 1.05rem; }
.cm-final .cm-btn { margin-top: 2rem; }

/* ---------- rodapé ---------- */
.cm-footer { background: var(--cm-night); color: rgba(255,255,255,.6); text-align: center; padding: 3rem 1.25rem 6rem; font-size: .88rem; }
.cm-footer__logo { height: 32px; width: auto; filter: brightness(0) invert(1); }
.cm-footer p { margin-top: 1rem; }
.cm-footer a { color: #fff; font-weight: 600; }
.cm-footer a:hover { color: var(--cm-accent-light); }
.cm-page .cm-footer__bottom { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; color: rgba(255,255,255,.45); }

/* ---------- barra fixa (celular) ---------- */
.cm-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(91,58,46,.12); transform: translateY(110%); transition: transform .45s var(--cm-ease);
}
.cm-sticky .cm-btn { width: 100%; }
.cm-sticky.is-visible { transform: none; }

/* ---------- responsivo ---------- */
@media (min-width: 900px) {
  .cm-sticky { display: none; }
  .cm-footer { padding-bottom: 3rem; }
}
@media (max-width: 1024px) {
  .cm-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cm-hero__inner, .cm-about { grid-template-columns: 1fr; }
  .cm-hero__media { max-width: 420px; margin: 0 auto; width: 100%; }
  .cm-hero__card { left: 1rem; }
  .cm-about__media { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .cm-top .cm-btn--sm { display: none; }
  .cm-top { justify-content: center; }
  .cm-hero .cm-btn, .cm-save .cm-btn, .cm-final .cm-btn { width: 100%; }
  .cm-benefits, .cm-creds { grid-template-columns: 1fr; }
  .cm-questions li { font-size: .88rem; padding: .7rem 1.1rem; }
}

/* ---------- página de links (comunidade.vooarlar.com.br) ---------- */
.cm-links-page {
  min-height: 100vh; min-height: 100svh;
  background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(227,179,65,.14), transparent 70%), radial-gradient(ellipse 70% 50% at 0% 100%, rgba(91,58,46,.18), transparent 70%), #fff;
}
.cm-links { max-width: 520px; margin: 0 auto; padding: clamp(2.5rem, 8vw, 4.5rem) 1.25rem 2.5rem; text-align: center; }
.cm-links__logo { height: 40px; width: auto; margin-bottom: 1.8rem; }
.cm-page .cm-links__title { font-size: clamp(1.9rem, 6vw, 2.5rem); font-weight: 800; line-height: 1.1; margin-top: 1rem; }
.cm-page .cm-links__text { color: var(--cm-muted); margin-top: .8rem; font-size: .98rem; }
.cm-links__list { display: grid; gap: .9rem; margin-top: 2.2rem; text-align: left; }
.cm-link {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; border-radius: 20px;
  background: var(--cm-gradient); background-size: 150% 100%; background-position: 0 0; color: #fff;
  box-shadow: 0 20px 40px -22px rgba(227,179,65,.55);
  transition: transform .35s var(--cm-ease), background-position .5s var(--cm-ease);
}
.cm-link:hover { color: #fff; transform: translateY(-3px); background-position: 100% 0; }
.cm-link__icon { flex: 0 0 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(255,255,255,.18); }
.cm-link__body { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.cm-link__body strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.1rem; font-weight: 700; }
.cm-link__body small { font-size: .82rem; color: rgba(255,255,255,.82); margin-top: .15rem; }
.cm-link__arrow { font-size: 1.2rem; transition: transform .3s var(--cm-ease); }
.cm-link:hover .cm-link__arrow { transform: translateX(4px); }
.cm-page .cm-links__foot { margin-top: 2.4rem; font-size: .85rem; color: var(--cm-muted); }
.cm-links__foot a, .cm-links__credit a { font-weight: 600; color: var(--cm-primary); }
.cm-page .cm-links__credit { margin-top: .5rem; font-size: .75rem; color: var(--cm-muted); opacity: .8; }

/* ================= PRIME GOURMET (cores do Prime: dourado sobre escuro) ================= */
.cm-page--primegourmet {
  --pg-gold: #E3B341; --pg-gold-2: #EBC468; --pg-dark: #0B0B0C; --pg-dark-2: #2E1C16; --pg-card: rgba(244,239,231,.05);
  --pg-text: rgba(244,239,231,.74); --pg-line: rgba(255,255,255,.1);
  background: var(--pg-dark); color: #fff;
}
.cm-page--primegourmet h1, .cm-page--primegourmet h2, .cm-page--primegourmet h3 { color: #fff; }

/* botões dourados (texto escuro, como no site do Prime) */
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.6rem; border-radius: 10px;
  background: var(--pg-gold); color: #111; font-weight: 600; font-size: .95rem; border: 1px solid var(--pg-gold);
  box-shadow: 0 14px 30px -14px rgba(227,179,65,.6); transition: background .25s, transform .25s, box-shadow .25s;
}
.pg-btn:hover { background: var(--pg-gold-2); color: #111; transform: translateY(-2px); }
.pg-btn--sm { padding: .65rem 1.1rem; font-size: .85rem; box-shadow: none; }
.pg-btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.pg-btn--ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.pg-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.pg-btn--ghost svg { color: var(--pg-gold); }

/* topo branco com a logo */
.pg-top {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1rem, 5vw, 4rem); background: #F4EFE7; border-bottom: 1px solid rgba(91,58,46,.18);
}
.pg-top__brand { display: flex; align-items: center; gap: 1rem; }
.cm-page .pg-top__logo { height: 44px; width: auto; display: block; }
.pg-top__vl { padding-left: 1rem; border-left: 1px solid #e5e7eb; display: flex; align-items: center; }
.cm-page .pg-top__vl img { height: 30px; width: auto; display: block; }


/* hero com vídeo de fundo */
.pg-hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: center; overflow: hidden; background: #0B0B0C; }
.pg-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.88) 0%, rgba(11,11,12,.7) 45%, rgba(11,11,12,.35) 100%), linear-gradient(0deg, rgba(11,11,12,.6), transparent 40%); }
.pg-hero__content { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 4rem); }
.cm-page .pg-hero__title { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.04; max-width: 820px; letter-spacing: -.02em; }
.pg-hero__title span { color: var(--pg-gold); }
.cm-page .pg-hero__text { margin-top: 1.4rem; max-width: 620px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.85); }
.pg-hero__text strong { color: #fff; }
.pg-hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.pg-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; margin-top: 2.4rem; }
.pg-checks li { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: rgba(255,255,255,.75); }
.pg-checks li::before { content: '✓'; color: var(--pg-gold); font-weight: 700; }

/* seções */
.pg-section { padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 5vw, 4rem); background: var(--pg-dark); }
.pg-section--alt { background: var(--pg-dark-2); }
.pg-head { max-width: 760px; margin: 0 auto 2.8rem; text-align: center; }
.cm-page .pg-eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pg-gold); }
.cm-page .pg-title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.15; margin-top: .6rem; }
.pg-title span { color: var(--pg-gold); }

.pg-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1180px; margin: 0 auto; }
.pg-feature { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 18px; padding: 1.8rem 1.5rem; }
.pg-feature__num { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--pg-gold); line-height: 1; }
.cm-page .pg-feature h3 { font-size: 1.12rem; margin-top: 1rem; }
.cm-page .pg-feature p { font-size: .9rem; color: var(--pg-text); margin-top: .5rem; }

.pg-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; max-width: 1180px; margin: 0 auto; }
.pg-partner { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 16px; overflow: hidden; transition: transform .35s var(--cm-ease), border-color .35s; }
.pg-partner:hover { transform: translateY(-4px); border-color: rgba(227,179,65,.5); }
.cm-page .pg-partner img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.pg-partner div { padding: .9rem 1rem 1.1rem; }
.pg-partner span { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pg-gold); }
.cm-page .pg-partner h3 { font-size: 1.02rem; margin-top: .25rem; line-height: 1.25; }
.cm-page .pg-note { max-width: 720px; margin: 2rem auto 0; text-align: center; font-size: .85rem; color: var(--pg-text); }

.pg-steps { max-width: 760px; margin: 0 auto; display: grid; gap: .9rem; counter-reset: step; }
.pg-steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; align-items: center; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 16px; padding: 1.1rem 1.3rem 1.1rem 1rem; }
.pg-steps li::before { content: counter(step); grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--pg-gold); color: #111; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.2rem; }
.pg-steps strong { color: #fff; }
.pg-steps span { font-size: .9rem; color: var(--pg-text); }

.pg-price { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem); border-radius: 24px; border: 1px solid rgba(227,179,65,.35); background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(227,179,65,.14), transparent 70%), var(--pg-card); }
.cm-page .pg-price__logo { height: 54px; width: auto; margin: 0 auto; }
.cm-page .pg-price__label { margin-top: 1.4rem; font-size: .85rem; color: var(--pg-text); }
.cm-page .pg-price__big { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 700; margin-top: .3rem; color: rgba(255,255,255,.8); }
.pg-price__big strong { font-size: 1.8em; color: var(--pg-gold); }
.cm-page .pg-price__text { max-width: 520px; margin: .8rem auto 0; color: var(--pg-text); }
.pg-price .pg-btn { margin-top: 1.8rem; }
.cm-page .pg-price__fine { margin-top: 1rem; font-size: .78rem; color: rgba(255,255,255,.45); }

.pg-cross { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; background: #F4EFE7; border-radius: 20px; padding: 1.8rem 2rem; color: #111; }
.cm-page .pg-cross__logo { height: 38px; width: auto; flex-shrink: 0; }
.pg-cross__body { flex: 1; }
.cm-page .pg-cross h2 { color: #2E1C16; font-size: 1.3rem; }
.cm-page .pg-cross p { color: #5B3A2E; font-size: .92rem; margin-top: .3rem; }
.pg-cross .pg-btn--ghost { background: #2E1C16; color: #fff; border-color: #2E1C16; flex-shrink: 0; }
.pg-cross .pg-btn--ghost:hover { background: #5B3A2E; color: #fff; }

.pg-faq { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.pg-faq details { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 14px; padding: 0 1.3rem; }
.pg-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative; font-weight: 600; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--pg-gold); transition: transform .3s; }
.pg-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pg-faq details p { padding-bottom: 1.2rem; color: var(--pg-text); font-size: .95rem; }

.pg-final { padding: clamp(4rem, 9vw, 6rem) clamp(1.25rem, 5vw, 4rem); text-align: center; background: radial-gradient(ellipse 60% 90% at 50% 100%, rgba(227,179,65,.18), transparent 70%), var(--pg-dark); border-top: 1px solid var(--pg-line); }
.pg-final__inner { max-width: 640px; margin: 0 auto; }
.cm-page .pg-final h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.15; }
.pg-final h2 span { color: var(--pg-gold); }
.cm-page .pg-final p { color: var(--pg-text); margin-top: 1rem; font-size: 1.05rem; }
.pg-final .pg-btn { margin-top: 2rem; }

.pg-footer { background: #0B0B0C; color: rgba(255,255,255,.55); text-align: center; padding: 3rem 1.25rem 6rem; font-size: .88rem; border-top: 1px solid var(--pg-line); }
.pg-footer__logos { display: flex; align-items: center; justify-content: center; gap: 1rem; color: rgba(255,255,255,.4); }
.cm-page .pg-footer__logos img { height: 34px; width: auto; }
.cm-page .pg-footer__logos .pg-footer__vl { height: 26px; filter: brightness(0) invert(1); }
.pg-footer p { margin-top: 1rem; }
.pg-footer a { color: #fff; font-weight: 600; }
.pg-footer a:hover { color: var(--pg-gold); }
.cm-page .pg-footer__legal { font-size: .75rem; color: rgba(255,255,255,.4); max-width: 560px; margin-left: auto; margin-right: auto; }
.cm-page .pg-footer__bottom { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--pg-line); font-size: .78rem; color: rgba(255,255,255,.4); }

.pg-sticky { background: rgba(11,11,12,.94); border-top-color: var(--pg-line); }
.pg-sticky .pg-btn { width: 100%; }

@media (min-width: 900px) { .pg-footer { padding-bottom: 3rem; } }
@media (max-width: 1024px) { .pg-features, .pg-partners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .cm-page .pg-top__vl img { height: 22px; }
  .cm-page .pg-top__logo { height: 36px; }
  .pg-cross { flex-direction: column; align-items: flex-start; }
  .pg-cross .pg-btn { width: 100%; }
}
@media (max-width: 560px) {
  .pg-top .pg-btn--sm { display: none; }
  .pg-top { justify-content: center; }
  .pg-hero { min-height: 0; }
  .pg-hero__shade { background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.85) 70%); }
  .pg-hero__ctas .pg-btn, .pg-price .pg-btn, .pg-final .pg-btn { width: 100%; }
  .pg-features { grid-template-columns: 1fr; }
  .pg-partners { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .pg-partner div { padding: .7rem .75rem .85rem; }
  .cm-page .pg-partner h3 { font-size: .9rem; }
}
@media (max-width: 560px) { .pg-br { display: none; } }

/* Prime: bloco "por que a gente indica" + selo acima do título */
.cm-page .pg-hero__kicker { display: inline-block; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: 6px; background: rgba(227,179,65,.16); color: var(--pg-gold); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.pg-why { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1100px; margin: 0 auto; }
.pg-why__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; display: block; border: 1px solid var(--pg-line); }
.pg-why__text .pg-title { text-align: left; }
.cm-page .pg-why__text p:not(.pg-eyebrow) { color: var(--pg-text); margin-top: 1rem; font-size: 1.02rem; }
.pg-why__text strong { color: #fff; }
@media (max-width: 860px) { .pg-why { grid-template-columns: 1fr; } .pg-why__photo { max-width: 420px; } }

/* chamada pro transfer (usada na página Família) */
.cm-cross {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: #fff; border-radius: 28px; padding: clamp(1.8rem, 4vw, 2.8rem); border: 1px solid rgba(91,58,46,.1); box-shadow: var(--cm-shadow);
}
.cm-page .cm-cross__text { color: var(--cm-muted); margin-top: .8rem; max-width: 560px; }
.cm-cross .cm-btn { flex-shrink: 0; }
@media (max-width: 760px) {
  .cm-cross { flex-direction: column; align-items: flex-start; }
  .cm-cross .cm-btn { width: 100%; }
}

/* galeria de 3 fotos (Família) */
.cm-gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1180px; margin: 0 auto; }
.cm-gallery3 figure { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -30px rgba(46,28,22,.45); border: 1px solid rgba(91,58,46,.08); }
.cm-page .cm-gallery3 img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.cm-gallery3 figcaption { padding: .9rem 1.1rem 1rem; font-weight: 600; font-size: .92rem; }
@media (max-width: 760px) { .cm-gallery3 { grid-template-columns: 1fr; max-width: 440px; } }

/* Família: primeira seção com texto centralizado e foto em faixa larga (diferente da Nordestino) */
.fm-hero { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem); text-align: center; background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(227,179,65,.1), transparent 70%); }
.fm-hero__text { max-width: 760px; margin: 0 auto; }
.cm-page .fm-hero__title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; line-height: 1.02; margin-top: 1.1rem; }
.fm-hero__title span { background: linear-gradient(110deg, var(--cm-primary) 10%, var(--cm-accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cm-page .fm-hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--cm-muted); margin: 1.2rem auto 0; max-width: 620px; }
.fm-hero__lead strong { color: var(--cm-ink); background: linear-gradient(transparent 62%, rgba(227,179,65,.4) 62%); }
.fm-hero .cm-btn { margin-top: 1.8rem; }
.fm-hero__banner { position: relative; max-width: 1180px; margin: clamp(2.2rem, 5vw, 3.2rem) auto 0; border-radius: 32px; overflow: hidden; box-shadow: var(--cm-shadow); }
.cm-page .fm-hero__banner img { width: 100%; height: auto; aspect-ratio: 1400 / 640; object-fit: cover; display: block; }
.fm-hero__tags { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100% - 2rem); }
.fm-hero__tags li { padding: .5rem 1rem; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .85rem; font-weight: 600; color: var(--cm-ink); box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); }
.fm-hero__tags li::before { content: '✓ '; color: #128C4B; }
.cm-gallery3--two { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
@media (max-width: 760px) {
  .fm-hero .cm-btn { width: 100%; }
  .cm-page .fm-hero__banner img { aspect-ratio: 4 / 3; }
  .fm-hero__tags { position: static; transform: none; width: auto; max-width: none; padding: .9rem; background: #fff; justify-content: flex-start; }
  .fm-hero__tags li { box-shadow: none; background: var(--cm-soft); font-size: .8rem; }
  .cm-gallery3--two { grid-template-columns: 1fr; }
}

/* Família: foto do pórtico de Gramado suave atrás da primeira seção, dissolvendo no branco embaixo */
.fm-hero { position: relative; isolation: isolate; background: #fff; }
.fm-hero::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 78%; z-index: -1;
  background:
    radial-gradient(ellipse 48% 62% at 50% 46%, rgba(255,255,255,.72), rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.8) 55%, #fff 100%),
    url('familia/bg-gramado.webp') center 38% / cover no-repeat;
}
@media (max-width: 760px) { .fm-hero::before { height: 62%; background-position: center, center, 50% 35%; } }

/* ================= PALETA MARROM (2026-09-27) ================= */
/* em fundo claro, texto pequeno em dourado não tem contraste: usa marrom; dourado fica pros destaques e fundos escuros */
.cm-page .cm-eyebrow { color: var(--cm-primary); }
.cm-page--nordestino, .cm-page--familia { background: #fff; }
.cm-hero__title span, .fm-hero__title span { background: linear-gradient(110deg, #5B3A2E 0%, #B07F2A 55%, #E3B341 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cm-btn { box-shadow: 0 20px 45px -18px rgba(46,28,22,.55); }
.cm-final { background: linear-gradient(120deg, #0B0B0C 0%, #2E1C16 50%, #5B3A2E 100%); }
.cm-save__big strong { color: #E3B341; }
.cm-faq summary::after, .cm-faq summary { color: inherit; }
.cm-faq summary::after { color: #B07F2A; }
.cm-partner li::before, .cm-exp-dot { background: #E3B341; }
.cm-benefit__icon, .cm-partner__icon { background: rgba(227,179,65,.18); }
/* marca em texto no topo (enquanto a logo da comunidade não chega) */
.cm-wordmark { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.15rem; color: #2E1C16; letter-spacing: -.01em; }
.cm-wordmark span { color: #B07F2A; }
.cm-footer__name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.3rem; color: #F4EFE7; }
.cm-footer__name span { color: #E3B341; }
/* Prime: topo creme só com a logo do Prime */
.pg-top__brand { gap: 0; }

/* logos próprias das comunidades */
.cm-page .cm-top__brandlogo { height: 44px; width: auto; display: block; }
.cm-page .cm-footer__brandlogo { height: 96px; width: auto; margin: 0 auto; display: block; }
@media (max-width: 560px) { .cm-page .cm-top__brandlogo { height: 38px; } }

/* Família: logo ilustrada (texto escuro) — no rodapé escuro vai num selo creme */
.cm-page .cm-top__brandlogo--fam { height: 52px; }
.cm-footer__badge { display: inline-block; background: #F4EFE7; border-radius: 20px; padding: .8rem 1.2rem; }
.cm-page .cm-footer__badge img { height: 110px; width: auto; display: block; }

/* página de links: as 4 logos lado a lado no topo (a página é estreita, então vão em 2x2) */
.cm-links__logos { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; gap: 1.2rem 1.4rem; margin-bottom: 1.8rem; }
.cm-page .cm-links__logos img { height: 78px; width: auto; max-width: 100%; display: block; }
.cm-page .cm-links__logos img.is-wide { height: 48px; }
/* desktop: as 4 logos numa linha só, mais largas que a coluna dos botões */
@media (min-width: 761px) {
  .cm-links__logos { display: flex; justify-content: center; gap: 0; width: min(92vw, 900px); margin-left: 50%; transform: translateX(-50%); }
  .cm-links__logos img { padding: 0 1.6rem; }
  .cm-links__logos img + img { border-left: 1px solid rgba(91,58,46,.2); }
  .cm-page .cm-links__logos img { height: 80px; }
  .cm-page .cm-links__logos img.is-wide { height: 46px; }
}
@media (max-width: 420px) {
  .cm-page .cm-links__logos img { height: 62px; }
  .cm-page .cm-links__logos img.is-wide { height: 36px; }
}
/* botão do transfer: mesmo marrom dos outros, com um respiro acima */
.cm-link--standalone { margin-top: .9rem; text-align: left; }
.cm-page .cm-links__logos img[src*="lacador"] { height: 62px; }
@media (max-width: 760px) { .cm-page .cm-links__logos img[src*="lacador"] { height: 52px; } }

/* ajuda quando o link do grupo falha (Nordestino) */
.cm-page .cm-help { margin-top: 1.1rem; font-size: .88rem; color: var(--cm-muted); display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.cm-help a {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 999px; background: #25D366; color: #fff;
  font-weight: 600; font-size: .92rem; box-shadow: 0 12px 26px -14px rgba(18,140,75,.7);
  transition: background .25s, transform .25s;
}
.cm-help a:hover { background: #1EBE5A; color: #fff; transform: translateY(-2px); }
.cm-help svg { width: 18px; height: 18px; }
.cm-page .cm-help--dark { color: rgba(244,239,231,.75); align-items: center; }
.cm-save .cm-help, .cm-final .cm-help { align-items: center; }
@media (max-width: 560px) { .cm-help a { width: 100%; } }
.cm-faq details p a { color: #128C4B; font-weight: 600; text-decoration: underline; }

/* Instagram (rodapés e página de links) */
.cm-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.cm-social a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(244,239,231,.25); color: #F4EFE7; font-size: .85rem; font-weight: 600; transition: background .25s, border-color .25s; }
.cm-social a:hover { background: rgba(227,179,65,.15); border-color: #E3B341; color: #fff; }
.cm-social--light a { border-color: rgba(91,58,46,.25); color: #2E1C16; background: #fff; }
.cm-social--light a:hover { background: #F4EFE7; color: #2E1C16; }

/* página de links: botão do transfer e parceiro */
.cm-link--transfer { margin-top: .9rem; background: #F4EFE7; color: #2E1C16; box-shadow: none; border: 1px solid rgba(91,58,46,.2); }
.cm-link--transfer:hover { color: #2E1C16; background: #EFE6D8; }
.cm-link--transfer .cm-link__icon { background: #fff; }
.cm-link--transfer .cm-link__body small { color: #5B3A2E; }
.cm-partner-strip { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(91,58,46,.15); }
.cm-partner-strip span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #5B3A2E; }
.cm-page .cm-partner-strip img { height: 52px; width: auto; display: block; }
