/* CC — Acesso de membros · REIS
   Paleta do tema (colorPalette Blocksy): dourado-azeitona #8E7F53 · creme #E2DDD0 · grafite #111518.
   Títulos em Merriweather, texto em Roboto — as fontes que a loja já carrega. Zero bordô. */
.ccam-r {
	--r-ouro: #8E7F53;
	--r-ouro-esc: #75683f;
	--r-creme: #E2DDD0;
	--r-creme-claro: #F3F0E8;
	--r-grafite: #111518;
	--r-texto: #2c2c2d;
	--r-suave: #66625a;
	--r-linha: #d4cfc2;
	--r-erro: #b3261e;
	--r-ok: #3f6b3a;
	font-family: 'Roboto', system-ui, sans-serif;
}

/* ---------- faixa da primeira página ---------- */
.ccam-r[data-ccam-mover] { background: var(--r-creme); color: var(--r-texto); padding: clamp(44px, 6vw, 84px) 16px; scroll-margin-top: 90px; }
.ccam-r__in { max-width: 820px; margin: 0 auto; text-align: center; }
.ccam-r__olho { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--r-ouro); margin: 0 0 10px; }
.ccam-r__h { font-family: 'Merriweather', Georgia, serif; font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; color: var(--r-grafite); margin: 0 0 14px; }
.ccam-r__lead { font-size: 17px; line-height: 1.6; color: var(--r-suave); margin: 0 auto 30px; max-width: 620px; }

.ccam-r__passos { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: none; }
.ccam-r__passos li { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--r-creme-claro); border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 500; color: var(--r-grafite); }
.ccam-r__passos b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--r-ouro); color: #fff; display: grid; place-items: center; font-family: 'Merriweather', Georgia, serif; font-size: 15px; }

.ccam-r__cartao { background: #fff; border-radius: 12px; border-top: 4px solid var(--r-ouro); padding: clamp(22px, 3vw, 36px); text-align: left; box-shadow: 0 12px 34px rgba(17,21,24,.10); }

/* seletor em pílula */
.ccam-r .ccam-abas { display: inline-flex; background: var(--r-creme-claro); border-radius: 999px; padding: 4px; margin: 0 0 24px; gap: 4px; }
.ccam-r .ccam-aba { background: transparent !important; color: var(--r-suave) !important; border: 0; border-radius: 999px; padding: 10px 20px; font: 500 15px/1 'Roboto', sans-serif; cursor: pointer; box-shadow: none; min-height: 0; }
.ccam-r .ccam-aba.is-on { background: var(--r-grafite) !important; color: #fff !important; }
.ccam-r .ccam-aba:focus-visible { outline: 2px solid var(--r-ouro); outline-offset: 2px; }

/* campos em caixa */
.ccam-r .ccam-grade { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 16px; }
.ccam-r .ccam-campo { grid-column: span 3; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ccam-r .ccam-inteiro { grid-column: 1 / -1; }
.ccam-r .ccam-curto { grid-column: span 2; }
.ccam-r .ccam-campo > span { font-size: 14px; font-weight: 500; color: var(--r-grafite); }
.ccam-r .ccam-campo em { font-style: normal; font-weight: 400; color: var(--r-suave); }
.ccam-r .ccam-campo input, .ccam-r .ccam-campo select { width: 100%; background: #fff; border: 1px solid var(--r-linha); border-radius: 8px; padding: 11px 12px; font: 400 16px/1.3 'Roboto', sans-serif; color: var(--r-texto); height: auto; min-height: 0; box-shadow: none; }
.ccam-r .ccam-campo input:focus, .ccam-r .ccam-campo select:focus { outline: none; border-color: var(--r-ouro); box-shadow: 0 0 0 3px rgba(142,127,83,.2); }
.ccam-r .ccam-endereco { margin: 0; font-size: 14px; color: var(--r-grafite); background: var(--r-creme-claro); border-radius: 8px; padding: 10px 12px; }
.ccam-r .ccam-aceite { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: var(--r-suave); cursor: pointer; }
.ccam-r .ccam-aceite input { margin-top: 3px; accent-color: var(--r-ouro); flex: none; width: 18px; height: 18px; }
.ccam-r .ccam-aceite a { color: var(--r-ouro-esc); font-weight: 500; }
.ccam-r .ccam-cliente-lead { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--r-suave); }

.ccam-r .ccam-enviar { display: block; width: 100%; margin-top: 22px; background: var(--r-ouro) !important; color: #fff !important; border: 0; border-radius: 8px; padding: 15px 20px; font: 700 16px/1 'Roboto', sans-serif; cursor: pointer; text-align: center; text-decoration: none; min-height: 0; }
.ccam-r .ccam-enviar:hover { background: var(--r-ouro-esc) !important; }
.ccam-r .ccam-enviar[disabled] { opacity: .6; cursor: wait; }
.ccam-r .ccam-status { margin: 12px 0 0; font-size: 14px; min-height: 1em; color: var(--r-suave); text-align: center; }
.ccam-r .ccam-status.is-erro { color: var(--r-erro); }
.ccam-r .ccam-ok { text-align: center; padding: 18px 8px; }
.ccam-r .ccam-ok { position: relative; padding-top: 84px; }
.ccam-r .ccam-ok::before { content: ''; position: absolute; top: 18px; left: 50%; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; background: var(--r-ok); }
.ccam-r .ccam-ok::after { content: ''; position: absolute; top: 31px; left: 50%; width: 11px; height: 20px; margin-left: -6px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ccam-r .ccam-ok p { margin: 0; font-family: 'Merriweather', Georgia, serif; font-size: 18px; line-height: 1.55; color: var(--r-grafite); }
.ccam-r .ccam-ok:focus { outline: none; }

.ccam .ccam-isca { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* [hidden] vence o display dos campos */
.ccam [hidden] { display: none !important; }
.ccam-r .ccam-longo { grid-column: span 4; }

@media (max-width: 700px) {
	.ccam-r__passos { grid-template-columns: 1fr; }
	.ccam-r .ccam-grade { grid-template-columns: repeat(2, 1fr); }
	.ccam-r .ccam-campo, .ccam-r .ccam-curto, .ccam-r .ccam-longo { grid-column: 1 / -1; }
	.ccam-r .ccam-abas { display: flex; }
	.ccam-r .ccam-aba { flex: 1; padding: 10px 8px; font-size: 14px; }
}

/* Foto de campanha da REIS ao lado do formulário. */
.ccam-r__in:has(.ccam-r__corpo) { max-width: 1080px; }
.ccam-r__corpo { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 34px rgba(17,21,24,.12); text-align: left; }
.ccam-r__foto { background-color: var(--r-grafite); background-size: cover; background-position: 68% 30%; min-height: 320px; }
.ccam-r__corpo .ccam-r__cartao { border-radius: 0; box-shadow: none; border-top: 0; border-left: 4px solid var(--r-ouro); }
@media (max-width: 700px) {
	.ccam-r__corpo { grid-template-columns: 1fr; }
	.ccam-r__foto { min-height: 200px; background-position: 50% 25%; }
	.ccam-r__corpo .ccam-r__cartao { border-left: 0; border-top: 4px solid var(--r-ouro); }
}

/* ---------- carta de cadastro (formato aprovado 30/09) ---------- */
.ccam-rc { --r-parede: #F5F2EA; background: var(--r-parede); padding: clamp(40px, 6vw, 80px) 16px; }
.ccam-rc__carta { max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid rgba(22,25,28,.16); outline: 1px solid rgba(22,25,28,.16); outline-offset: -10px; padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); }
.ccam-rc__h { font-family: 'Merriweather', Georgia, serif; font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--r-grafite); margin: 0; text-wrap: balance; }
.ccam-rc__lead { color: var(--r-suave); font-size: 16px; line-height: 1.6; margin: 16px 0 26px; }
.ccam-rc__passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: rc; }
.ccam-rc__passos li { counter-increment: rc; display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: baseline; }
.ccam-rc__passos li::before { content: counter(rc, upper-roman); grid-row: span 2; font-family: 'Merriweather', Georgia, serif; font-style: italic; color: var(--r-ouro); font-size: 20px; }
.ccam-rc__passos b { font-weight: 500; color: var(--r-grafite); font-size: 16px; }
.ccam-rc__passos span { grid-column: 2; color: var(--r-suave); font-size: 15px; }
/* abas sublinhadas e campos em "papel" dentro da carta */
.ccam-rc .ccam-abas { display: flex; background: none; border-radius: 0; padding: 0; gap: 24px; border-bottom: 1px solid rgba(22,25,28,.16); margin: 0 0 22px; }
.ccam-rc .ccam-aba { background: none !important; color: var(--r-suave) !important; border: 0; border-bottom: 2px solid transparent !important; border-radius: 0; padding: 0 0 12px; margin-bottom: -1px; font: 500 15px/1 'Roboto', sans-serif; flex: none; }
.ccam-rc .ccam-aba.is-on { background: none !important; color: var(--r-grafite) !important; border-bottom-color: var(--r-ouro) !important; }
.ccam-rc .ccam-campo > span { font-size: 13px; font-weight: 400; color: var(--r-suave); }
.ccam-rc .ccam-campo input, .ccam-rc .ccam-campo select { background: var(--r-parede); border: 1px solid transparent; border-bottom-color: rgba(22,25,28,.16); border-radius: 0; }
.ccam-rc .ccam-campo input:focus, .ccam-rc .ccam-campo select:focus { background: #fff; border-color: var(--r-ouro); box-shadow: none; }
.ccam-rc .ccam-endereco { border-radius: 0; background: var(--r-parede); }
.ccam-rc .ccam-enviar { display: inline-block; width: auto; background: var(--r-grafite) !important; border-radius: 0; padding: 15px 26px; font-weight: 500; }
.ccam-rc .ccam-enviar:hover { background: #000 !important; }
.ccam-rc .ccam-status { text-align: left; }
.ccam-rc .ccam-ok { text-align: left; padding: 18px 0 0; border-top: 2px solid var(--r-ouro); }
.ccam-rc .ccam-ok::before, .ccam-rc .ccam-ok::after { content: none; }
.ccam-rc .ccam-ok { position: static; padding-top: 18px; }
@media (max-width: 860px) { .ccam-rc__carta { grid-template-columns: 1fr; } }

/* ---------- catálogo e produto ----------
   Convite em texto dourado-escuro sublinhado, sem botão cheio. */
.ccam-convite { display: inline-block; margin-top: 10px; font-family: 'Roboto', sans-serif; font-size: 15px; font-weight: 500; color: #75683f !important; background: none !important; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 5px; transition: color .15s ease; }
.ccam-convite:hover, .ccam-convite:focus-visible { color: #111518 !important; text-decoration-thickness: 2px !important; }
.ccam-convite:focus-visible { outline: 2px solid #8E7F53; outline-offset: 4px; border-radius: 2px; }
.ccam-produto-cta { margin: 18px 0 26px; padding: 20px 22px; background: #F3F0E8; border-radius: 10px; }
.ccam-produto-cta p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: #2c2c2d; }
.ccam-produto-botao { display: inline-block; padding: 11px 20px; border: 1px solid #111518; border-radius: 8px; color: #111518 !important; background: transparent; font-weight: 500; font-size: 15px; text-decoration: none !important; transition: background .15s ease, color .15s ease; }
.ccam-produto-botao:hover, .ccam-produto-botao:focus-visible { background: #111518; color: #fff !important; }

/* Sem preço, o tema deixa um parágrafo vazio e um separador solto antes do convite. */
.entry-summary p.price:empty, .entry-summary p.price:empty + .ct-product-divider, .entry-summary .ct-product-add-to-cart:empty { display: none !important; }

/* ---------- página própria de cadastro ---------- */
.ccam-pagina-cadastro .hero-section, .ccam-pagina-cadastro .entry-header, .ccam-pagina-cadastro .blocksy-woo-messages-default { display: none !important; }
.ccam-pagina-cadastro .site-main > [data-vertical-spacing] { padding-top: 0 !important; padding-bottom: 0 !important; }
.ccam-pagina-cadastro .entry-content > .ccam { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; max-width: 100vw !important; width: 100vw; }
.ccam-ja-logado { text-align: center; padding: 60px 16px; font-size: 18px; }

/* ---------- página do link de acesso ---------- */
/* O link abre no endereço da página inicial, onde o Blocksy deixa o cabeçalho transparente e branco:
   fundo grafite para o menu continuar legível. */
.ccam-acesso.ccam-r { background: var(--r-grafite); padding: clamp(130px, 14vw, 170px) 16px clamp(60px, 8vw, 100px); min-height: 70vh; }
.ccam-r .ccam-acesso__cartao { max-width: 440px; margin: 0 auto; background: #fff; border-radius: 12px; border-top: 4px solid var(--r-ouro); padding: 36px 30px; text-align: center; box-shadow: 0 12px 34px rgba(17,21,24,.10); }
.ccam-r .ccam-acesso__h { font-family: 'Merriweather', Georgia, serif; font-size: 26px; color: var(--r-grafite); margin: 0 0 10px; }
.ccam-r .ccam-acesso__lead { color: var(--r-suave); font-size: 16px; margin: 0 0 20px; }
.ccam-r.ccam-acesso .ccam-campo { display: flex; flex-direction: column; gap: 6px; text-align: left; }
