/*
Theme Name: HabilitaMente Blocos
Theme URI: https://habilitamente.com.br
Author: Benjamin Castillo Badillo
Description: Tema de blocos editável da HabilitaMente, com padrões Gutenberg, Hotmart e duas direções visuais.
Version: 1.1.3
Text Domain: habilitamente
*/

:root {
  --hm-blue: var(--wp--preset--color--hm-blue, #1e6fb8);
  --hm-cyan: var(--wp--preset--color--hm-cyan, #14a9df);
  --hm-navy: var(--wp--preset--color--hm-navy, #16496f);
  --hm-orange: var(--wp--preset--color--hm-orange, #ed642c);
  --hm-orange-soft: var(--wp--preset--color--hm-orange-soft, #ff9b55);
  --hm-ink: var(--wp--preset--color--hm-ink, #243746);
  --hm-muted: #667985;
  --hm-paper: #fff;
  --hm-sky: var(--wp--preset--color--hm-sky, #eef8fd);
  --hm-cream: var(--wp--preset--color--hm-cream, #fff8f1);
  --hm-line: rgba(30, 111, 184, .14);
  --hm-shadow: 0 26px 70px rgba(22, 73, 111, .13);
  --hm-radius: var(--wp--custom--habilitamente--radius, 30px);
  --hm-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--hm-ink);
  font-family: var(--wp--preset--font-family--system, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  background: #fff;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
.hm-container { width: min(var(--hm-container), calc(100% - 40px)) !important; max-width: var(--hm-container) !important; margin-inline: auto !important; }
.hm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hm-eyebrow { margin: 0 0 13px; color: var(--hm-orange); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hm-title { margin: 0; color: var(--hm-navy); font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.06; letter-spacing: -.045em; }
.hm-lead { max-width: 700px; margin: 20px auto 0; color: var(--hm-muted); font-size: clamp(1.03rem, 1.6vw, 1.2rem); }
.hm-section { padding: clamp(74px, 9vw, 118px) 0; }
.hm-section-head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.hm-btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn-primary { color: #fff; background: linear-gradient(135deg, var(--hm-orange), #f47d45); box-shadow: 0 13px 28px rgba(237, 100, 44, .25); }
.hm-btn-secondary { color: var(--hm-navy); border-color: var(--hm-line); background: rgba(255,255,255,.78); }
.hm-btn-blue { color: #fff; background: linear-gradient(135deg, var(--hm-blue), var(--hm-cyan)); box-shadow: 0 13px 28px rgba(30,111,184,.22); }

.hm-header { position: fixed; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background .2s ease, box-shadow .2s ease; }
.hm-header.is-scrolled { border-color: var(--hm-line); background: rgba(255,255,255,.91); box-shadow: 0 8px 30px rgba(22,73,111,.07); backdrop-filter: blur(16px); }
.hm-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hm-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--hm-navy); text-decoration: none; font-size: 1.25rem; font-weight: 950; letter-spacing: -.04em; }
.hm-brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 15px 18px 14px 19px; color: #fff; background: linear-gradient(145deg, var(--hm-orange), var(--hm-cyan)); box-shadow: 0 9px 20px rgba(22,73,111,.14); }
.hm-brand-word span { color: var(--hm-orange); }
.hm-menu { display: flex; align-items: center; gap: 18px; }
.hm-menu a:not(.hm-btn) { color: var(--hm-navy); text-decoration: none; font-size: .87rem; font-weight: 750; }
.hm-menu a:not(.hm-btn):hover { color: var(--hm-orange); }
.hm-menu .hm-variant-link { padding: 8px 12px; border: 1px solid var(--hm-line); border-radius: 999px; background: rgba(255,255,255,.6); }
.hm-menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; color: var(--hm-navy); background: var(--hm-sky); cursor: pointer; }

.hm-hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; padding: 132px 0 72px; background: radial-gradient(circle at 6% 14%, rgba(237,100,44,.13), transparent 28rem), radial-gradient(circle at 93% 74%, rgba(20,169,223,.16), transparent 30rem), linear-gradient(135deg, var(--hm-cream), #fff 45%, var(--hm-sky)); }
.hm-hero::after { content: ""; position: absolute; inset: 0; opacity: .36; pointer-events: none; background-image: radial-gradient(rgba(30,111,184,.14) 1px, transparent 1px); background-size: 29px 29px; mask-image: linear-gradient(to bottom, #000, transparent 77%); }
.hm-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.hm-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; padding: 8px 13px; border: 1px solid var(--hm-line); border-radius: 999px; color: var(--hm-navy); background: rgba(255,255,255,.7); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hm-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--hm-orange); box-shadow: 0 0 0 6px rgba(237,100,44,.1); }
.hm-hero h1 { max-width: 690px; margin: 0; color: var(--hm-navy); font-size: clamp(3.25rem, 6vw, 5.65rem); line-height: .95; letter-spacing: -.068em; }
.hm-hero h1 em { display: block; color: var(--hm-orange); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
.hm-hero-copy { max-width: 650px; margin: 25px 0 0; color: var(--hm-muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hm-proof { display: flex; flex-wrap: wrap; gap: 13px 25px; margin-top: 31px; color: var(--hm-navy); font-size: .84rem; font-weight: 750; }
.hm-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hm-proof span::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--hm-blue); background: rgba(20,169,223,.12); }
.hm-visual { position: relative; display: grid; place-items: center; min-height: 540px; }
.hm-orbit { position: absolute; width: 88%; aspect-ratio: 1; border: 1px dashed rgba(30,111,184,.22); border-radius: 50%; animation: hm-spin 35s linear infinite; }
.hm-orbit::before, .hm-orbit::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--hm-orange); box-shadow: 0 0 0 7px rgba(237,100,44,.1); }
.hm-orbit::before { top: 9%; left: 19%; }
.hm-orbit::after { right: 7%; bottom: 24%; background: var(--hm-cyan); box-shadow: 0 0 0 7px rgba(20,169,223,.1); }
.hm-brain { position: relative; z-index: 1; width: min(460px, 83%); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.9); border-radius: 44% 56% 52% 48% / 44% 41% 59% 56%; background: rgba(255,255,255,.72); box-shadow: var(--hm-shadow); animation: hm-float 7s ease-in-out infinite; }
.hm-brain svg { width: 80%; filter: drop-shadow(0 18px 22px rgba(22,73,111,.09)); }
.hm-brain .hm-link-orange { stroke: var(--hm-orange); }
.hm-brain .hm-link-blue { stroke: var(--hm-blue); }
.hm-brain .hm-node-orange { fill: var(--hm-orange); }
.hm-brain .hm-node-orange-soft { fill: var(--hm-orange-soft); }
.hm-brain .hm-node-blue { fill: var(--hm-blue); }
.hm-brain .hm-node-cyan { fill: var(--hm-cyan); }
.hm-node { transform-box: fill-box; transform-origin: center; animation: hm-breathe 4.8s ease-in-out infinite; }
.hm-node:nth-of-type(3n) { animation-delay: -.9s; }
.hm-node:nth-of-type(4n) { animation-delay: -1.8s; }
.hm-floating-note { position: absolute; z-index: 2; max-width: 190px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; color: var(--hm-navy); background: rgba(255,255,255,.86); box-shadow: 0 15px 40px rgba(22,73,111,.12); font-size: .78rem; font-weight: 800; backdrop-filter: blur(12px); }
.hm-note-one { top: 13%; left: 0; }
.hm-note-two { right: 0; bottom: 15%; }

.hm-intro { background: #fff; }
.hm-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-pillar { position: relative; isolation: isolate; overflow: hidden; padding: 30px; border: 1px solid var(--hm-line); border-radius: 25px; background: linear-gradient(145deg, #fff, var(--hm-sky)); transition: transform .2s ease, box-shadow .2s ease; }
.hm-pillar:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(22,73,111,.09); }
.hm-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 18px; color: #fff; background: linear-gradient(145deg, var(--hm-blue), var(--hm-cyan)); font-size: 1.35rem; }
.hm-pillar > :not(.hm-card-network),
.hm-audience-card > :not(.hm-card-network) { position: relative; z-index: 2; }
.hm-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-icon::before { font-size: 1.45rem; font-weight: 500; line-height: 1; }
.hm-pillar:nth-child(1) .hm-icon::before { content: "◎"; }
.hm-pillar:nth-child(2) .hm-icon::before { content: "↗"; }
.hm-pillar:nth-child(3) .hm-icon::before { content: "✦"; }
.hm-pillar:nth-child(2) .hm-icon { background: linear-gradient(145deg, var(--hm-orange), var(--hm-orange-soft)); }
.hm-pillar h3 { margin: 0 0 9px; color: var(--hm-navy); font-size: 1.25rem; }
.hm-pillar p { margin: 0; color: var(--hm-muted); }

.hm-audience { background: linear-gradient(180deg, var(--hm-sky), #fff); }
.hm-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-audience-card { position: relative; overflow: hidden; min-height: 260px; padding: 33px; border: 1px solid rgba(255,255,255,.9); border-radius: var(--hm-radius); background: rgba(255,255,255,.76); box-shadow: 0 18px 45px rgba(22,73,111,.08); }
.hm-audience-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -48px; bottom: -50px; border-radius: 50%; background: rgba(20,169,223,.1); }
.hm-audience-card:nth-child(2)::after { background: rgba(237,100,44,.11); }
.hm-audience-card h3 { margin: 22px 0 10px; color: var(--hm-navy); font-size: 1.45rem; }
.hm-audience-card p { margin: 0; color: var(--hm-muted); }
.hm-tag { display: inline-flex; padding: 6px 11px; border-radius: 999px; color: var(--hm-blue); background: rgba(20,169,223,.11); font-size: .72rem; font-weight: 900; text-transform: uppercase; }

/* Rede decorativa: geométrica na proposta principal e orgânica em Rede Viva. */
.hm-card-network { position: absolute; z-index: 0; width: 138px; height: 112px; top: 18px; right: 14px; opacity: .15; pointer-events: none; transform: rotate(-5deg); transition: opacity .3s ease, transform .45s cubic-bezier(.2,.72,.2,1); }
.hm-card-network::before,
.hm-card-network::after { content: ""; position: absolute; height: var(--wp--custom--habilitamente--connection-size, 1px); transform-origin: left center; background: var(--hm-blue); }
.hm-card-network::before { width: 94px; top: 41px; left: 18px; transform: rotate(13deg); box-shadow: 13px 31px 0 var(--hm-orange); }
.hm-card-network::after { width: 68px; top: 76px; left: 37px; transform: rotate(-31deg); box-shadow: 24px -42px 0 var(--hm-cyan); }
.hm-card-network i { position: absolute; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.75); border-radius: var(--wp--custom--habilitamente--node-radius, 4px); background: var(--hm-blue); box-shadow: 0 3px 8px rgba(22,73,111,.14); animation: hm-node-drift 5.2s ease-in-out infinite; }
.hm-card-network i:nth-child(1) { top: 30px; left: 10px; }
.hm-card-network i:nth-child(2) { top: 48px; left: 57px; width: 18px; height: 18px; background: var(--hm-orange); animation-delay: -.8s; }
.hm-card-network i:nth-child(3) { top: 59px; right: 8px; background: var(--hm-cyan); animation-delay: -1.6s; }
.hm-card-network i:nth-child(4) { bottom: 7px; left: 28px; width: 10px; height: 10px; background: var(--hm-orange); animation-delay: -2.4s; }
.hm-card-network i:nth-child(5) { top: 4px; right: 28px; width: 11px; height: 11px; animation-delay: -3.2s; }
.hm-card-network-large { width: 178px; height: 142px; top: auto; right: -18px; bottom: -12px; opacity: .12; transform: rotate(9deg) scale(1.12); }
.hm-pillar:hover .hm-card-network,
.hm-audience-card:hover .hm-card-network { opacity: .28; transform: rotate(0) translate(-4px, 3px) scale(1.04); }
.hm-audience-card:hover .hm-card-network-large { transform: rotate(4deg) translate(-7px, -3px) scale(1.18); }

/* Entrada progressiva: só oculta elementos quando o JavaScript está ativo. */
.hm-motion-ready .hm-reveal { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(4px); }
.hm-motion-ready .hm-reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); transition: opacity .7s cubic-bezier(.2,.72,.2,1) var(--hm-delay, 0ms), transform .7s cubic-bezier(.2,.72,.2,1) var(--hm-delay, 0ms), filter .55s ease var(--hm-delay, 0ms); }
.hm-motion-ready .hm-pillar.is-visible:hover,
.hm-motion-ready .hm-audience-card.is-visible:hover { transform: translateY(-7px) scale(1.012); transition-delay: 0ms; }
.hm-pillar .hm-icon,
.hm-audience-card .hm-tag { transition: transform .28s ease, box-shadow .28s ease; }
.hm-pillar:hover .hm-icon { transform: translateY(-2px) rotate(-3deg) scale(1.07); box-shadow: 0 10px 24px rgba(30,111,184,.18); }
.hm-pillar:nth-child(2):hover .hm-icon { transform: translateY(-2px) rotate(3deg) scale(1.07); box-shadow: 0 10px 24px rgba(237,100,44,.2); }
.hm-audience-card:hover .hm-tag { transform: translateY(-2px); }

.hm-products { background: #fff; }
.hm-product { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border: 1px solid var(--hm-line); border-radius: 34px; background: #fff; box-shadow: var(--hm-shadow); }
.hm-product-art { position: relative; min-height: 530px; display: grid; place-items: center; overflow: hidden; padding: 48px; color: #fff; background: linear-gradient(145deg, var(--hm-navy), var(--hm-blue) 58%, var(--hm-cyan)); }
.hm-product-art::before { content: ""; position: absolute; width: 380px; height: 380px; top: -220px; right: -130px; border-radius: 50%; background: rgba(237,100,44,.38); }
.hm-journal { position: relative; z-index: 1; width: min(310px, 90%); padding: 30px 28px; border: 1px solid rgba(255,255,255,.35); border-radius: 14px 31px 31px 14px; background: rgba(255,255,255,.14); box-shadow: 18px 24px 50px rgba(8,35,55,.24); backdrop-filter: blur(10px); transform: rotate(-3deg); }
.hm-journal small { display: block; color: #bfefff; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hm-journal strong { display: block; margin-top: 16px; font-family: Georgia, serif; font-size: 2.25rem; line-height: 1.05; }
.hm-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 26px; }
.hm-days span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--hm-navy); background: #fff; font-size: .72rem; font-weight: 900; }
.hm-days span:nth-child(2n) { background: #ffd8c8; }
.hm-product-copy { padding: clamp(40px, 6vw, 70px); }
.hm-product-copy h3 { margin: 0; color: var(--hm-navy); font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.06; letter-spacing: -.04em; }
.hm-product-copy > p { color: var(--hm-muted); font-size: 1.06rem; }
.hm-list { display: grid; gap: 12px; margin: 27px 0; padding: 0; list-style: none; }
.hm-list li { display: flex; gap: 11px; }
.hm-list li::before { content: "✓"; flex: 0 0 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--hm-blue); background: var(--hm-sky); font-weight: 950; }
.hm-checkout-note { margin-top: 13px; color: var(--hm-muted); font-size: .78rem; }

.hm-steps { background: var(--hm-cream); }
.hm-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: hm-step; }
.hm-step { counter-increment: hm-step; position: relative; padding: 28px 24px; border: 1px solid rgba(237,100,44,.13); border-radius: 24px; background: rgba(255,255,255,.75); }
.hm-step::before { content: counter(hm-step, decimal-leading-zero); display: block; margin-bottom: 25px; color: var(--hm-orange); font-family: Georgia, serif; font-size: 2.1rem; }
.hm-step h3 { margin: 0 0 8px; color: var(--hm-navy); }
.hm-step p { margin: 0; color: var(--hm-muted); font-size: .92rem; }

.hm-about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.hm-portrait { position: relative; min-height: 510px; overflow: hidden; border-radius: 42% 58% 46% 54% / 50% 42% 58% 50%; background: linear-gradient(145deg, var(--hm-sky), #fff0e7); box-shadow: var(--hm-shadow); }
.hm-portrait::before { content: "AR"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(22,73,111,.19); font-family: Georgia, serif; font-size: 8rem; }
.hm-portrait::after { content: "Foto profissional em breve"; position: absolute; inset: auto 25px 25px; padding: 11px; border-radius: 14px; color: var(--hm-navy); background: rgba(255,255,255,.76); text-align: center; font-size: .78rem; font-weight: 800; backdrop-filter: blur(10px); }
.hm-about-copy p:not(.hm-eyebrow) { color: var(--hm-muted); font-size: 1.04rem; }

.hm-faq { background: linear-gradient(180deg, #fff, var(--hm-sky)); }
.hm-faq-list { max-width: 850px; margin: 0 auto; display: grid; gap: 13px; }
.hm-faq details { border: 1px solid var(--hm-line); border-radius: 19px; background: rgba(255,255,255,.82); }
.hm-faq summary { cursor: pointer; list-style: none; padding: 20px 54px 20px 22px; color: var(--hm-navy); font-weight: 850; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; float: right; margin-right: -31px; color: var(--hm-orange); font-size: 1.3rem; }
.hm-faq details[open] summary::after { content: "−"; }
.hm-faq details p { margin: 0; padding: 0 22px 22px; color: var(--hm-muted); }

.hm-final { position: relative; overflow: hidden; padding: 90px 0; color: #fff; background: linear-gradient(135deg, var(--hm-navy), var(--hm-blue)); }
.hm-final::before { content: ""; position: absolute; width: 420px; height: 420px; top: -250px; right: -100px; border-radius: 50%; background: rgba(237,100,44,.32); }
.hm-final-inner { position: relative; z-index: 1; max-width: 850px; text-align: center; }
.hm-final h2 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.hm-final h2.wp-block-heading { color: #fff !important; }
.hm-final p { max-width: 650px; margin: 20px auto 29px; color: #dceffc; font-size: 1.08rem; }
.hm-footer { padding: 38px 0; color: #d8ebf7; background: var(--hm-navy); }
.hm-footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.hm-footer p { margin: 5px 0 0; font-size: .78rem; opacity: .76; }
.hm-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.hm-footer-links a { color: #fff; text-decoration: none; font-size: .78rem; }

.hm-whatsapp { position: fixed; z-index: 80; right: 25px; bottom: 25px; display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; filter: drop-shadow(0 12px 24px rgba(13,65,53,.25)); }
.hm-whatsapp-label { padding: 10px 4px 10px 16px; border-radius: 999px 0 0 999px; background: #128c5e; font-size: .79rem; font-weight: 850; transform: translateX(18px); transition: transform .2s ease, opacity .2s ease; }
.hm-whatsapp-icon { position: relative; width: 59px; height: 59px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: #25d366; box-shadow: 0 12px 25px rgba(18,140,94,.28); transition: transform .2s ease, box-shadow .2s ease; }
.hm-whatsapp-icon::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(37,211,102,.34); border-radius: 50%; animation: hm-whatsapp-pulse 2.4s ease-out infinite; }
.hm-whatsapp-icon svg { width: 31px; height: 31px; }
.hm-whatsapp:hover .hm-whatsapp-icon { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 32px rgba(18,140,94,.34); }
.hm-whatsapp:hover .hm-whatsapp-label { transform: translateX(14px); }

@keyframes hm-float { 50% { transform: translateY(-13px) rotate(1deg); } }
@keyframes hm-breathe { 50% { transform: scale(1.08); } }
@keyframes hm-spin { to { transform: rotate(360deg); } }
@keyframes hm-whatsapp-pulse { 70%, 100% { opacity: 0; transform: scale(1.28); } }
@keyframes hm-node-drift { 50% { transform: translateY(-4px) scale(1.08); } }

@media (max-width: 960px) {
  .hm-menu-toggle { display: grid; place-items: center; }
  .hm-menu { position: fixed; inset: 82px 20px auto; display: none; padding: 22px; border: 1px solid var(--hm-line); border-radius: 22px; background: #fff; box-shadow: var(--hm-shadow); }
  .hm-menu.is-open { display: grid; }
  .hm-menu a { padding: 7px; }
  .hm-hero-grid, .hm-product, .hm-about-grid { grid-template-columns: 1fr; }
  .hm-hero-copy-wrap { text-align: center; }
  .hm-hero h1, .hm-hero-copy { margin-inline: auto; }
  .hm-pill, .hm-actions, .hm-proof { justify-content: center; }
  .hm-visual { min-height: 470px; }
  .hm-pillars, .hm-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-product-art { min-height: 440px; }
  .hm-portrait { min-height: 420px; }
}

@media (max-width: 650px) {
  .hm-container { width: min(100% - 28px, var(--hm-container)); }
  .hm-section { padding: 70px 0; }
  .hm-nav { min-height: 72px; }
  .hm-menu { inset: 72px 14px auto; }
  .hm-hero { min-height: auto; padding: 110px 0 62px; }
  .hm-hero h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
  .hm-actions .hm-btn { width: 100%; }
  .hm-visual { min-height: 360px; }
  .hm-floating-note { display: none; }
  .hm-pillars, .hm-audience-grid, .hm-steps-grid { grid-template-columns: 1fr; }
  .hm-product-art { min-height: 380px; padding: 30px; }
  .hm-product-copy { padding: 34px 25px; }
  .hm-footer-grid { align-items: flex-start; flex-direction: column; }
  .hm-whatsapp { right: 16px; bottom: 16px; }
  .hm-whatsapp-label { display: none; }
  .hm-whatsapp-icon { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Proposta alternativa — Território 1: Rede Viva
   Mesmo conteúdo, nova expressão visual para comparação com a cliente.
   -------------------------------------------------------------------------- */
.rv-page {
  --hm-blue: #2a6f77;
  --hm-cyan: #6fa8ae;
  --hm-navy: #214f55;
  --hm-orange: #d9622b;
  --hm-orange-soft: #f2a65a;
  --hm-ink: #2b2b28;
  --hm-muted: #665e55;
  --hm-sky: #f3e9dd;
  --hm-cream: #f9f3ec;
  --hm-line: rgba(42,111,119,.18);
  --hm-shadow: 0 28px 72px rgba(57,83,76,.14);
  font-family: Mulish, ui-sans-serif, system-ui, sans-serif;
  background: #fffdf9;
}
.rv-page h1,
.rv-page h2,
.rv-page h3,
.rv-page .hm-title,
.rv-page .hm-brand,
.rv-page .hm-journal strong { font-family: Quicksand, Mulish, ui-sans-serif, system-ui, sans-serif; }
.rv-page .hm-header.is-scrolled { background: rgba(255,253,249,.93); box-shadow: 0 8px 30px rgba(57,83,76,.08); }
.rv-page .hm-brand-mark { border-radius: 48% 52% 43% 57% / 55% 42% 58% 45%; background: linear-gradient(145deg, #d9622b, #f2a65a); transform: rotate(-3deg); }
.rv-page .hm-brand-word { color: #2a6f77; }
.rv-page .hm-brand-word span { color: #d9622b; }
.rv-page .hm-menu .hm-variant-link { color: #9c451f; border-color: rgba(217,98,43,.22); background: #fff4eb; }
.rv-page .hm-btn-primary { background: linear-gradient(135deg, #d9622b, #f18449); box-shadow: 0 13px 28px rgba(217,98,43,.25); }
.rv-page .hm-btn-blue { background: linear-gradient(135deg, #2a6f77, #6fa8ae); box-shadow: 0 13px 28px rgba(42,111,119,.22); }

.rv-page .hm-hero { background: radial-gradient(circle at 7% 15%, rgba(242,166,90,.27), transparent 28rem), radial-gradient(circle at 92% 76%, rgba(111,168,174,.22), transparent 30rem), linear-gradient(135deg, #f9f1e7, #fffdf9 46%, #edf5f3); }
.rv-page .hm-hero::after { opacity: .28; background-image: radial-gradient(rgba(42,111,119,.17) 1.2px, transparent 1.2px); background-size: 32px 32px; }
.rv-page .hm-pill { color: #2a6f77; border-color: rgba(42,111,119,.18); background: rgba(255,253,249,.76); }
.rv-page .hm-pill::before { background: #d9622b; }
.rv-page .hm-hero h1 { color: #2a6f77; }
.rv-page .hm-hero h1 em { color: #d9622b; font-family: Georgia, "Times New Roman", serif; }
.rv-page .hm-proof span::before { color: #2a6f77; background: rgba(111,168,174,.18); }
.rv-page .hm-orbit { border-color: rgba(42,111,119,.22); border-radius: 46% 54% 48% 52% / 51% 45% 55% 49%; }
.rv-page .hm-brain { border-radius: 42% 58% 55% 45% / 49% 42% 58% 51%; background: rgba(255,253,249,.72); box-shadow: 0 28px 72px rgba(57,83,76,.14); }
.rv-page .hm-brain svg g:first-child path:nth-child(-n+2) { stroke: #d9622b; }
.rv-page .hm-brain svg g:first-child path:nth-child(n+3) { stroke: #2a6f77; }
.rv-page .hm-brain .hm-node:nth-child(odd) { fill: #d9622b; }
.rv-page .hm-brain .hm-node:nth-child(even) { fill: #f2a65a; }
.rv-page .hm-brain .hm-node:nth-child(n+13):nth-child(odd) { fill: #2a6f77; }
.rv-page .hm-brain .hm-node:nth-child(n+13):nth-child(even) { fill: #6fa8ae; }
.rv-page .hm-floating-note { color: #2a6f77; background: rgba(255,253,249,.88); box-shadow: 0 15px 40px rgba(57,83,76,.12); }

.rv-page .hm-intro { position: relative; background: #fffdf9; }
.rv-page .hm-intro::before { content: ""; position: absolute; width: 210px; height: 90px; top: 35px; left: -55px; border: 2px solid rgba(217,98,43,.12); border-radius: 50%; transform: rotate(-14deg); }
.rv-page .hm-pillar { border-color: rgba(42,111,119,.16); background: linear-gradient(145deg, #fffdf9, #f3e9dd); box-shadow: 0 14px 34px rgba(57,83,76,.05); }
.rv-page .hm-pillar:nth-child(2) { transform: translateY(12px); }
.rv-page .hm-pillar .hm-icon { border-radius: 48% 52% 43% 57% / 55% 42% 58% 45%; background: linear-gradient(145deg, #2a6f77, #6fa8ae); }
.rv-page .hm-pillar:nth-child(2) .hm-icon { background: linear-gradient(145deg, #d9622b, #f2a65a); }
.rv-page .hm-pillar:nth-child(3) .hm-icon { background: linear-gradient(145deg, #6fa8ae, #2a6f77); }
.rv-page .hm-card-network { opacity: .2; transform: rotate(-9deg); }
.rv-page .hm-card-network::before,
.rv-page .hm-card-network::after { height: 3px; border-radius: 999px; background: #6fa8ae; }
.rv-page .hm-card-network::before { transform: rotate(19deg); box-shadow: 12px 30px 0 #d9622b; }
.rv-page .hm-card-network::after { transform: rotate(-37deg); box-shadow: 23px -41px 0 #2a6f77; }
.rv-page .hm-card-network i { border-width: 0; border-radius: 50%; background: #2a6f77; box-shadow: 0 0 0 5px rgba(111,168,174,.12); }
.rv-page .hm-card-network i:nth-child(2),
.rv-page .hm-card-network i:nth-child(4) { background: #d9622b; box-shadow: 0 0 0 5px rgba(217,98,43,.1); }
.rv-page .hm-card-network i:nth-child(3) { background: #6fa8ae; }
.rv-page .hm-pillar:hover .hm-card-network,
.rv-page .hm-audience-card:hover .hm-card-network { opacity: .34; transform: rotate(-3deg) translate(-5px, 2px) scale(1.06); }

.rv-page .hm-audience { background: linear-gradient(180deg, #f3e9dd, #fffdf9); }
.rv-page .hm-audience-card { border-color: rgba(255,255,255,.86); background: rgba(255,253,249,.78); box-shadow: 0 18px 45px rgba(57,83,76,.08); }
.rv-page .hm-audience-card::after { border-radius: 45% 55% 62% 38% / 46% 40% 60% 54%; background: rgba(111,168,174,.14); }
.rv-page .hm-tag { color: #2a6f77; background: rgba(111,168,174,.16); }

.rv-page .hm-product { border-color: rgba(42,111,119,.18); background: #fffdf9; }
.rv-page .hm-product-art { background: radial-gradient(circle at 18% 20%, rgba(242,166,90,.42), transparent 15rem), linear-gradient(145deg, #214f55, #2a6f77 58%, #6fa8ae); }
.rv-page .hm-product-art::before { background: rgba(217,98,43,.3); }
.rv-page .hm-journal { border-radius: 16px 38px 38px 16px; background: rgba(255,253,249,.14); transform: rotate(-4deg); }
.rv-page .hm-days span:nth-child(2n) { background: #f2c397; }
.rv-page .hm-steps { background: #f9f3ec; }
.rv-page .hm-step { border-color: rgba(217,98,43,.14); background: rgba(255,253,249,.78); }
.rv-page .hm-about { background: #fffdf9; }
.rv-page .hm-portrait { background: linear-gradient(145deg, #dcecea, #f7e1d2); box-shadow: 0 28px 72px rgba(57,83,76,.13); }
.rv-page .hm-faq { background: linear-gradient(180deg, #fffdf9, #f3e9dd); }
.rv-page .hm-faq details { border-color: rgba(42,111,119,.17); background: rgba(255,253,249,.84); }
.rv-page .hm-final { background: radial-gradient(circle at 90% 10%, rgba(242,166,90,.28), transparent 18rem), linear-gradient(135deg, #214f55, #2a6f77); }
.rv-page .hm-footer { background: #193f43; }

@media (max-width: 960px) {
  .rv-page .hm-pillar:nth-child(2) { transform: none; }
}

/* --------------------------------------------------------------------------
   Compatibilidade com o editor de blocos e os padrões Gutenberg.
   -------------------------------------------------------------------------- */
body { --wp--style--global--content-size: 760px; --wp--style--global--wide-size: 1180px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content { margin: 0; }
.wp-block-post-content > .alignfull { margin-inline: 0; width: 100%; max-width: none; }
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0 !important; }
.hm-page-content { padding: 140px 20px 80px; }
.hm-header.wp-block-group { width: 100%; max-width: none; margin: 0; padding: 0; }
.hm-header .hm-nav { width: min(var(--hm-container), calc(100% - 40px)); }
.hm-header .wp-block-site-logo { margin: 0; }
.hm-header .custom-logo-link { display: block; }
.hm-header .custom-logo { width: 46px; height: 46px; object-fit: contain; }
.hm-header .hm-brand::before { content: ""; flex: 0 0 48px; width: 48px; height: 42px; background: url("assets/mente.svg") center / contain no-repeat; filter: drop-shadow(0 7px 12px rgba(22,73,111,.1)); }
.hm-header .hm-brand:has(.custom-logo)::before { display: none; }
.hm-brand-word { margin: 0; font-weight: 950 !important; letter-spacing: -.04em; }
.hm-brand-word a { color: inherit; text-decoration: none; }
.hm-brand-word span { color: var(--hm-orange); font-weight: 950; }
.hm-menu.wp-block-navigation { gap: 18px; }
.hm-menu .wp-block-navigation-item__content { color: var(--hm-navy); font-size: .87rem; font-weight: 750; text-decoration: none; }
.hm-menu .wp-block-navigation-item__content:hover { color: var(--hm-orange); }
.hm-hero .wp-block-columns,
.hm-product.wp-block-columns,
.hm-about-grid.wp-block-columns,
.hm-pillars.wp-block-columns,
.hm-audience-grid.wp-block-columns,
.hm-steps-grid.wp-block-columns { margin-bottom: 0; }
.hm-hero-grid.wp-block-columns { width: min(var(--hm-container), calc(100% - 40px)) !important; max-width: var(--hm-container) !important; display: grid !important; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important; gap: clamp(42px, 7vw, 90px) !important; align-items: center !important; }
.hm-pillars.wp-block-columns,
.hm-audience-grid.wp-block-columns { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
.hm-product.wp-block-columns { display: grid !important; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) !important; gap: 0 !important; }
.hm-steps-grid.wp-block-columns { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; }
.hm-about-grid.wp-block-columns { display: grid !important; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; gap: clamp(40px, 7vw, 90px) !important; align-items: center !important; }
.hm-pillars.wp-block-columns,
.hm-audience-grid.wp-block-columns,
.hm-product.wp-block-columns,
.hm-steps-grid.wp-block-columns,
.hm-about-grid.wp-block-columns { width: min(var(--hm-container), 100%) !important; max-width: var(--hm-container) !important; margin-inline: auto !important; }
.rv-page .hm-hero-grid.wp-block-columns,
.rv-page .hm-pillars.wp-block-columns,
.rv-page .hm-audience-grid.wp-block-columns,
.rv-page .hm-product.wp-block-columns,
.rv-page .hm-steps-grid.wp-block-columns,
.rv-page .hm-about-grid.wp-block-columns { width: min(var(--hm-container), calc(100% - 40px)) !important; max-width: var(--hm-container) !important; margin-inline: auto !important; }
.hm-hero .wp-block-column,
.hm-product .wp-block-column,
.hm-about-grid .wp-block-column,
.hm-pillars .wp-block-column,
.hm-audience-grid .wp-block-column,
.hm-steps-grid .wp-block-column { min-width: 0; }
.hm-hero-grid > .wp-block-column,
.hm-pillars > .wp-block-column,
.hm-audience-grid > .wp-block-column,
.hm-product > .wp-block-column,
.hm-steps-grid > .wp-block-column,
.hm-about-grid > .wp-block-column { width: auto !important; flex-basis: auto !important; flex-grow: 0 !important; }
.hm-actions .wp-block-button.hm-btn { padding: 0; border: 0; background: transparent; box-shadow: none; }
.hm-actions .wp-block-button__link,
.hm-final .wp-block-button__link { min-height: 52px; display: inline-flex; align-items: center; padding: 13px 23px; border-radius: 999px; color: inherit; background: transparent; }
.hm-actions .hm-btn-primary .wp-block-button__link,
.hm-final .hm-btn-primary .wp-block-button__link { color: #fff; background: linear-gradient(135deg, var(--hm-orange), #f47d45); box-shadow: 0 13px 28px rgba(237,100,44,.25); }
.hm-actions .hm-btn-secondary .wp-block-button__link { color: var(--hm-navy); border: 1px solid var(--hm-line); background: rgba(255,255,255,.78); }
.hm-proof p { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hm-proof p::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--hm-blue); background: rgba(20,169,223,.12); }
.hm-pillar > .wp-block-html,
.hm-audience-card > .wp-block-html { margin: 0; }
.hm-product-copy .wp-block-shortcode { margin: 27px 0 0; }
.hm-footer.wp-block-group { width: 100%; max-width: none; margin: 0; padding: 38px 0; }
.hm-footer .wp-block-site-title { margin: 0; color: #fff; font-weight: 950; }
.hm-footer .wp-block-site-title a { color: inherit; text-decoration: none; }
.hm-footer .wp-block-navigation-item__content { color: #fff; font-size: .78rem; text-decoration: none; }
.hm-footer .wp-block-navigation__container { gap: 18px; }

/* No editor, as animações ficam pausadas e os elementos permanecem visíveis. */
.editor-styles-wrapper .hm-header { position: relative; }
.editor-styles-wrapper .hm-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
.editor-styles-wrapper .hm-card-network i,
.editor-styles-wrapper .hm-node,
.editor-styles-wrapper .hm-orbit,
.editor-styles-wrapper .hm-brain { animation: none !important; }
.editor-styles-wrapper .hm-whatsapp { display: none; }

@media (max-width: 960px) {
  .hm-menu.wp-block-navigation { gap: 0; }
  .hm-menu .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; background: #fff; }
  .hm-menu .wp-block-navigation__responsive-container-content { align-items: flex-start; }
  .hm-hero-grid.wp-block-columns,
  .hm-product.wp-block-columns,
  .hm-about-grid.wp-block-columns { grid-template-columns: 1fr !important; }
  .hm-pillars.wp-block-columns,
  .hm-audience-grid.wp-block-columns,
  .hm-steps-grid.wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 650px) {
  .hm-pillars.wp-block-columns,
  .hm-audience-grid.wp-block-columns,
  .hm-steps-grid.wp-block-columns { grid-template-columns: 1fr !important; }
}
