/* Base + biblioteca de componentes. Estrutura/motion vem do wordpresstovibecode (grupoidecomunicacao.com).
   Para reusar em outro site: troque só tokens.css (cores/fontes), este arquivo não muda. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Textura de grão sutil — dá o "acolhedor/artesanal" que uma paleta pastel lisa não tem sozinha. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }

/* Estado de foco visível */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand-terracota);
  outline-offset: 2px;
}

/* ---------- Botões ---------- */
.shiny-btn { position: relative; display: inline-flex; padding: 1px; border-radius: var(--radius-pill); overflow: hidden; text-decoration: none; color: var(--text); font-weight: 600; }
.shiny-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-gradient);
}
.shiny-btn-inner { position: relative; background: var(--bg-elevated); padding: 1rem 2.5rem; border-radius: var(--radius-pill); z-index: 1; transition: background 0.3s; color: var(--text); }
.shiny-btn:hover .shiny-btn-inner { background: var(--surface-hover); }

.btn-ghost { color: var(--text-muted); text-decoration: none; transition: color 0.3s; display: inline-block; padding: 0.6rem 0; }
.btn-ghost:hover { color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1rem 5%;
  background: var(--glass-bg); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}
.site-header__logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.site-header__logo img { height: 28px; width: auto; }
.site-header__logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-gradient); flex-shrink: 0; }
.site-header__logo-text { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; letter-spacing: -0.01em; }
.site-header__nav { display: flex; gap: 1.5rem; }
.site-header__nav a { color: var(--text-muted); text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.3s var(--ease); }
.site-header__nav a:hover { color: var(--text); }
.site-header__cta { background: var(--text); color: var(--bg); text-decoration: none; padding: 0.5rem 1.25rem; border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 600; transition: transform 0.3s var(--ease); white-space: nowrap; }
.site-header__cta:hover { transform: scale(1.05); }
@media (max-width: 768px) { .site-header__nav { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-elevated); border-top: 1px solid var(--border); padding: 6rem 5% 2rem; margin-top: 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; max-width: 1400px; margin: 0 auto 4rem; }
.site-footer__brand { font-family: var(--font-display); font-style: italic; font-size: 2.5rem; line-height: 1; margin-bottom: 1rem; }
.site-footer__col h4 { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-faint); margin-bottom: 1.5rem; }
.site-footer__col ul { list-style: none; }
.site-footer__col li { margin-bottom: 0.75rem; }
.site-footer__col a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.3s; }
.site-footer__col a:hover { color: var(--text); }
.site-footer__bottom { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
.site-footer__copyright { color: var(--text-faint); font-size: 0.875rem; }
.site-footer__social { display: flex; gap: 1rem; }
@media (max-width: 768px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 8rem 5% 7rem;
  max-width: 1400px;
  margin: 0 auto;
}
.hero__eyebrow { display: inline-block; padding: 0.4rem 1rem; margin-bottom: 1.5rem; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-terracota); }
.hero__text h1 { font-family: var(--font-display); font-size: clamp(2.75rem, 7vw, 5.25rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 1.5rem; max-width: 900px; }
.hero__text p { font-size: 1.125rem; color: var(--text-muted); max-width: 42rem; margin: 0 auto 3rem; }
.hero__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.hero__proof-row { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; justify-content: center; }
.hero--with-photo .hero__proof-row { justify-content: flex-start; }
.hero__text p.hero__proof { font-size: 0.9rem; color: var(--text-faint); margin: 0; max-width: none; }
.hero__avatars { display: flex; align-items: center; }
.hero__avatars[hidden] { display: none; }
.hero__avatar-link { position: relative; display: inline-block; flex-shrink: 0; }
.hero__avatar-link:not(:first-child) { margin-left: -14px; }
.hero__avatar { display: inline-block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--bg); box-shadow: 0 6px 16px rgba(62, 36, 36, 0.2); }
.hero__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero__avatar-tooltip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(6px); opacity: 0; pointer-events: none; z-index: 5; white-space: nowrap; padding: 0.4rem 0.75rem; border-radius: var(--radius-md); background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text); font-size: 0.75rem; font-weight: 600; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.hero__avatar-link:hover .hero__avatar-tooltip, .hero__avatar-link:focus-visible .hero__avatar-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.hero__avatar-link:focus-visible { outline: none; }
.hero__avatar-link:focus-visible .hero__avatar { box-shadow: 0 0 0 2px var(--brand-terracota); }

.hero__inner { width: 100%; }
.hero--with-photo .hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
  text-align: left;
}
.hero--with-photo .hero__text h1 { max-width: none; }
.hero--with-photo .hero__text p { margin-left: 0; margin-right: 0; }
.hero--with-photo .hero__actions { justify-content: flex-start; }

.hero--compact { padding-top: 7rem; }
.hero--compact .hero__text h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); margin-bottom: 1.25rem; }
.hero--compact .hero__text p { margin-bottom: 2rem; }

/* Foto orgânica: blob de gradiente atrás, moldura assimétrica em vez de retângulo com borda —
   quebra o vocabulário "card de tech" herdado e combina com o tom acolhedor da marca. */
.hero__photo { position: relative; padding: 1.5rem 1.5rem 2.5rem 0; }
.hero__photo::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 88%; height: 92%;
  background: var(--brand-gradient);
  border-radius: 42% 58% 68% 32% / 45% 38% 62% 55%;
  z-index: 0;
}
.hero__photo img {
  position: relative; z-index: 1;
  width: 100%;
  border: none;
  border-radius: 40% 60% 62% 38% / 44% 42% 58% 56%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 30px 60px -25px rgba(62, 36, 36, 0.35);
  transform: rotate(-1.25deg);
}
.hero:not(.hero--with-photo) { text-align: center; }
@media (max-width: 900px) {
  .hero--with-photo .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero--with-photo .hero__actions { justify-content: center; }
  .hero__photo { max-width: 320px; margin: 0 auto; padding: 1rem 1rem 2rem 0; }
}

/* ---------- Process steps (c_process_steps) — pilares numerados, sem grade de cards idênticos ---------- */
.process-steps { padding: 5rem 5% 6rem; max-width: 880px; margin: 0 auto; }
.process-steps__items { list-style: none; display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 2rem; padding: 2.25rem 0; border-top: 1px solid var(--border); transition: padding-left 0.4s var(--ease); }
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-step:hover { padding-left: 0.5rem; }
.process-step__number { grid-row: 1 / 3; font-family: var(--font-display); font-size: 2.25rem; color: var(--brand-terracota); line-height: 1; padding-top: 0.1rem; }
.process-step h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-muted); font-size: 0.98rem; max-width: 46rem; }
@media (max-width: 640px) { .process-step { grid-template-columns: 2.25rem 1fr; column-gap: 1.25rem; } .process-step__number { font-size: 1.5rem; } }

/* ---------- Feature grid (c_feature_grid) — mantido no CSS pro componente ficar disponível,
   mesmo não sendo usado nesta versão da página (pilares usa process-steps) ---------- */
.feature-grid { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; }
.feature-grid__heading { text-align: center; margin-bottom: 3rem; }
.feature-grid__heading h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
.feature-grid__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; transition: all 0.5s var(--ease); }
.feature-card:hover { transform: translateY(-8px); border-color: var(--brand-coral); background: var(--surface-hover); box-shadow: 0 12px 32px -12px rgba(243, 133, 118, 0.35); }
.feature-card__icon { width: 48px; height: 48px; background: var(--bg-elevated); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.feature-card__logo { max-height: 72px; width: auto; margin-bottom: 1.75rem; background: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-md); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }
.feature-grid--media .feature-card { padding: 0; overflow: hidden; }
.feature-card__media { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feature-card__body { padding: 1.75rem 2rem 2rem; }
.feature-card__body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.75rem; }
.feature-card__body p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Rich text (c_rich_text) ---------- */
.rich-text { max-width: 700px; margin: 5rem auto; padding: 0 5%; color: var(--text-muted); font-size: 1.05rem; }
.rich-text h2 { font-family: var(--font-display); color: var(--text); font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 400; margin: 0 0 1.5rem; }
.rich-text p { margin-bottom: 1.25rem; }
.rich-text img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.rich-text blockquote {
  position: relative;
  background: var(--surface); border-radius: var(--radius-md);
  padding: 1.75rem 2rem; margin: 0 0 1.5rem;
  color: var(--text); font-style: italic; font-family: var(--font-display); font-size: 1.15rem;
}

/* ---------- CTA banner (c_cta_banner) — reaproveitado como faixa "drenched" de cor cheia,
   usado só na base bíblica: o único momento de página onde a marca toma a superfície inteira. */
.cta-banner {
  margin: 6rem 0; padding: 6rem 8%;
  text-align: center;
  background: var(--brand-gradient-deep);
  border-radius: 0;
  position: relative; overflow: hidden;
  color: #fff6f3;
}
.cta-banner::before {
  content: '\201C';
  position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 13rem; line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.cta-banner h2 {
  position: relative;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.4;
  max-width: 44rem; margin: 0 auto 1.5rem;
}
.cta-banner p { position: relative; color: #fff6f3; max-width: 34rem; margin: 0 auto; font-size: 1.02rem; }

/* ---------- Split content (c_split_content) — usado na oferta secundária (e-book/livro),
   cada produto com seu próprio momento assimétrico em vez de um card gêmeo. ---------- */
.split-content { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 5rem auto; padding: 0 5%; }
.split-content--reverse { direction: rtl; }
.split-content--reverse > * { direction: ltr; }
.split-content__text h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 400; margin-bottom: 1rem; }
.split-content__text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.split-content__media img {
  border-radius: 8% 92% 90% 10% / 12% 8% 92% 88%;
  width: 100%; max-width: 320px; margin: 0 auto;
  border: none;
  box-shadow: 0 24px 48px -20px rgba(62, 36, 36, 0.3);
}
@media (max-width: 768px) { .split-content { grid-template-columns: 1fr; gap: 2rem; } .split-content--reverse { direction: ltr; } }

/* ---------- Image grid (c_image_grid) ---------- */
.image-grid { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; }
.image-grid__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.image-grid__item { margin: 0; }
.image-grid__item img { border-radius: var(--radius-lg); border: 1px solid var(--border); width: 100%; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.image-grid__item figcaption { margin-top: 1rem; color: var(--text-muted); font-size: 0.95rem; text-align: center; }
.js-lightbox-trigger { cursor: pointer; }
.js-lightbox-trigger:hover { transform: scale(1.02); border-color: var(--brand-coral); }
.js-lightbox-trigger:focus-visible { outline: 2px solid var(--brand-terracota); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(62, 36, 36, 0.85); backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox__image { max-width: min(90vw, 1100px); max-height: 80vh; width: auto; border-radius: var(--radius-md); cursor: default; }
.lightbox__caption { margin-top: 1.25rem; color: #fff; font-size: 0.95rem; text-align: center; max-width: 700px; }
.lightbox__caption:empty { display: none; }
.lightbox__close { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background 0.3s var(--ease); }
.lightbox__close:hover { background: var(--surface-hover); }

/* ---------- Offer grid (c_offer_grid) — ofertas sem preço; a "featured" ganha destaque real,
   não é um card gêmeo do lado (evita grade de cards idênticos quando as ofertas têm peso diferente). ---------- */
.offer-grid { padding: 5rem 5% 6rem; max-width: 1400px; margin: 0 auto; }
.offer-grid__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: stretch; }
.offer-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; transition: all 0.5s var(--ease); }
.offer-card:hover { transform: translateY(-6px); border-color: var(--brand-coral); background: var(--surface-hover); box-shadow: 0 12px 32px -12px rgba(243, 133, 118, 0.35); }
.offer-card__image { width: 140px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.offer-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; }
.offer-card p { color: var(--text-muted); font-size: 0.95rem; }
.offer-card--featured {
  background: var(--brand-gradient-deep);
  border: none;
  color: #fff6f3;
  transform: scale(1.04);
  box-shadow: 0 20px 45px -18px rgba(166, 91, 80, 0.5);
}
.offer-card--featured:hover { transform: scale(1.04) translateY(-6px); border-color: transparent; background: var(--brand-gradient-deep); }
.offer-card--featured h3 { color: #fff6f3; }
.offer-card--featured p { color: #fff6f3; }
.offer-card--featured .shiny-btn-inner { background: #fff6f3; color: var(--brand-terracota); }
.offer-card--featured .shiny-btn:hover .shiny-btn-inner { background: #fff; }
.offer-card__eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; background: rgba(255, 255, 255, 0.22); padding: 0.35rem 0.9rem; border-radius: var(--radius-pill); }
@media (max-width: 640px) { .offer-card--featured { transform: none; } .offer-card--featured:hover { transform: translateY(-6px); } }

/* ---------- Link tree header (c_link_tree_header) — cabeçalho da árvore de links /bio ---------- */
.link-tree-header { position: relative; text-align: center; padding-bottom: 2rem; }
.link-tree-header__media { position: relative; width: 100%; aspect-ratio: 4/5; max-height: 60vh; overflow: hidden; }
.link-tree-header__media img { width: 100%; height: 100%; object-fit: cover; }
.link-tree-header__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-elevated) 92%, var(--bg) 100%);
}
.link-tree-header__body { position: relative; margin-top: -4rem; padding: 0 1.5rem; }
.link-tree-header__body h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.link-tree-header__title { color: var(--text-muted); margin-top: 0.35rem; font-size: 1rem; }
.link-tree-header__social { display: flex; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; font-size: 1.4rem; }
.link-tree-header__social a { text-decoration: none; }

/* ---------- Link list (c_link_list) — lista de links empilhados, /bio ---------- */
.link-list { max-width: 480px; margin: 2rem auto 4rem; padding: 0 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.link-list__item {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 1rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.link-list__item:hover { border-color: var(--brand-coral); background: var(--surface-hover); transform: translateY(-2px); }
.link-list__item-icon { margin-right: 0.5rem; }
.link-list__item--featured {
  flex-direction: column;
  align-items: stretch;
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  text-align: center;
  background: var(--brand-gradient-deep);
  border: none;
}
.link-list__item--featured .link-list__item-label { color: #fff6f3; }
.link-list__item-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.link-list__item--featured .link-list__item-label { padding: 1.25rem; }
