/*
Theme Name: Classificadão VinhedoOnline
Template: listinghive
Description: Tema filho do ListingHive com a identidade do Classificadão VinhedoOnline.
Version: 1.0.0
Text Domain: classificados-vinhedo
*/

:root {
	--cv-primary: #1F5F8F;
	--cv-primary-dark: #123E60;
	--cv-navy: #0E2F49;
	--cv-accent: #F4B400;
	--cv-ink: #1B2430;
	--cv-muted: #5B6573;
	--cv-ground: #F6F4EF;
	--cv-line: #E6E2D8;
	--cv-radius: 18px;
}

body {
	background: var(--cv-ground);
	color: var(--cv-ink);
	font-family: 'DM Sans', system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.hp-listing__title, .hp-page__title {
	font-family: 'Sora', system-ui, sans-serif;
	letter-spacing: -0.02em;
}

a { color: var(--cv-primary); }
a:hover { color: var(--cv-primary-dark); }

.cv-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Cabeçalho ---------- */

.site-header { background: #fff; border-bottom: 1px solid var(--cv-line); }
.site-header .header-navbar { min-height: 84px; }

.cv-logo { display: flex; align-items: center; gap: 12px; color: var(--cv-primary-dark); text-decoration: none; }
.cv-logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--cv-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.cv-logo__mark .cv-icon { width: 22px; height: 22px; }
.cv-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.cv-logo__name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.3px; color: var(--cv-ink); }
.cv-logo__city { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.2px; color: var(--cv-primary); }

.header-navbar__menu a { font-weight: 500; color: var(--cv-ink); }

.hp-menu--site-header .button--secondary,
.hp-menu__item--listing-submit {
	background: var(--cv-accent) !important;
	border-color: var(--cv-accent) !important;
	color: #1B1B1B !important;
	font-weight: 700;
	border-radius: 12px;
	min-height: 48px;
}

.button--primary, button.button--primary, .hp-form__button.button--primary {
	background: var(--cv-primary-dark);
	border-color: var(--cv-primary-dark);
	color: #fff;
	border-radius: 12px;
}

/* ---------- Página inicial ---------- */

.home .site-content { padding-top: 0; padding-bottom: 0; }
.home .site-content > .container { width: auto; max-width: none; padding: 0; margin: 0; }

.cv-home { overflow-x: hidden; }
.cv-full { width: 100%; }
.cv-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

.cv-hero { background: var(--cv-primary); color: #fff; overflow: hidden; }
.cv-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: 620px; padding-top: 48px; padding-bottom: 48px; }
.cv-hero__text { display: flex; flex-direction: column; gap: 22px; }
.cv-tarja { background: var(--cv-accent); color: #1B1B1B; }
.cv-tarja__inner { max-width: 1280px; margin: 0 auto; padding: 12px 24px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; text-align: center; }
.cv-tarja__text { font: 700 18px 'Sora', sans-serif; letter-spacing: -0.01em; }
.cv-tarja__text strong { font-weight: 800; letter-spacing: .04em; }
.cv-tarja__link { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 10px; background: #1B1B1B; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.cv-tarja__link:hover { background: var(--cv-primary-dark); color: #fff; }
@media (max-width: 720px) {
	.cv-tarja__inner { padding: 10px 16px; gap: 8px; }
	.cv-tarja__text { font-size: 15px; }
	.cv-tarja__link { min-height: 36px; font-size: 14px; }
}
.cv-pill { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 14px; font-weight: 600; }
.cv-hero h1 { margin: 0; color: #fff; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.cv-hero__lead { margin: 0; font-size: 20px; line-height: 1.5; color: #DCE8F2; max-width: 560px; }

.cv-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; align-items: end; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(8,30,50,.35); }
.cv-search__field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 12px; font-weight: 700; color: var(--cv-muted); text-transform: uppercase; letter-spacing: .04em; }
.cv-search__field input, .cv-search__field select { height: 48px; box-sizing: border-box; padding: 0 12px; border-radius: 10px; border: 1.5px solid #DDE3EA; background: #fff; font: 500 16px 'DM Sans', sans-serif; color: var(--cv-ink); text-transform: none; letter-spacing: 0; width: 100%; }
.cv-search__btn { height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--cv-primary-dark); color: #fff; font: 700 16px 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.cv-search__btn:hover { background: var(--cv-navy); }

.cv-hero__checks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: #DCE8F2; }
.cv-hero__checks li { display: flex; align-items: center; gap: 8px; }
.cv-hero__checks .cv-icon { color: var(--cv-accent); stroke-width: 2.6; }

.cv-hero__art { position: relative; height: 560px; }
.cv-hero__circle { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; margin: -240px 0 0 -230px; border-radius: 50%; background: #2C74A8; border: 2px dashed rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.22); }
.cv-hero__circle .cv-icon { width: 170px; height: 170px; stroke-width: 1.2; }
.cv-hero__mascote { position: absolute; left: 50%; top: 60px; margin-left: -175px; width: 320px; }
.cv-mascote { display: block; width: 100%; height: auto; }
.cv-bubble { position: absolute; left: -10px; top: 20px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--cv-primary-dark); font: 800 15px 'Sora', sans-serif; box-shadow: 0 8px 20px rgba(8,30,50,.25); }

.cv-float { position: absolute; width: 220px; box-sizing: border-box; padding: 10px; border-radius: 16px; background: #fff; color: var(--cv-ink); text-decoration: none; box-shadow: 0 18px 40px rgba(8,30,50,.30); display: flex; flex-direction: column; gap: 8px; transition: transform .2s; }
.cv-float:hover { transform: translateY(-4px); color: var(--cv-ink); }
.cv-float { width: 240px; }
.cv-float--1 { left: 20px; top: 130px; transform: rotate(-3deg); }
.cv-float--2 { right: 30px; top: 30px; transform: rotate(2deg); }
.cv-float--3 { right: 60px; top: 320px; transform: rotate(-1deg); }
.cv-float:hover { transform: translateY(-4px) rotate(0); }
.cv-float__img { height: 110px; border-radius: 10px; background: #E6F0F8; color: var(--cv-primary); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.cv-float--2 .cv-float__img { background: #FDF1D6; color: #8A5A00; }
.cv-float--3 .cv-float__img { background: #E7F4EA; color: #256B3A; }
.cv-float__img img { width: 100%; height: 100%; object-fit: cover; }
.cv-float__img .cv-icon { width: 44px; height: 44px; stroke-width: 1.6; }
.cv-float__price { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 8px; background: var(--cv-ink); color: #fff; font-size: 13px; font-weight: 700; }
.cv-float__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cv-float__row strong { font-family: 'Sora', sans-serif; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-tag { flex-shrink: 0; padding: 3px 8px; border-radius: 6px; background: #E6F0F8; color: var(--cv-primary); font-size: 11px; font-weight: 700; }
.cv-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--cv-muted); }
.cv-meta .cv-icon { width: 14px; height: 14px; }

.cv-section { padding-top: 72px; padding-bottom: 56px; }
.cv-section h2, .cv-bairros h2, .cv-cta h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--cv-ink); }
.cv-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.cv-section__head p { margin: 8px 0 0; font-size: 18px; color: var(--cv-muted); }
.cv-more { font-weight: 700; white-space: nowrap; }

.cv-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cv-cat { min-height: 140px; box-sizing: border-box; padding: 18px; border-radius: var(--cv-radius); background: #fff; border: 1px solid var(--cv-line); display: flex; flex-direction: column; gap: 6px; color: var(--cv-ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cv-cat:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18,62,96,.12); color: var(--cv-ink); }
.cv-cat__icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.cv-cat__icon .cv-icon { width: 26px; height: 26px; }
.cv-cat__name { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.25; margin-top: 14px; }
.cv-cat__count { font-size: 13px; color: var(--cv-muted); }
.cv-tone--0 .cv-cat__icon { background: #E6F0F8; color: #1D5C8C; }
.cv-tone--1 .cv-cat__icon { background: #FDF1D6; color: #8A5A00; }
.cv-tone--2 .cv-cat__icon { background: #E7F4EA; color: #256B3A; }
.cv-tone--3 .cv-cat__icon { background: #F6E6EC; color: #8A2B4E; }
.cv-cat--all .cv-cat__icon { background: var(--cv-primary-dark); color: #fff; }

.cv-bairros { padding: 48px; border-radius: 28px; background: var(--cv-primary-dark); color: #fff; display: flex; align-items: center; gap: 48px; }
.cv-bairros h2 { color: #fff; }
.cv-bairros__text { width: 340px; flex-shrink: 0; }
.cv-bairros__text p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: #C9D8E5; }
.cv-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.cv-chip { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.cv-chip:hover { background: rgba(255,255,255,.2); color: #fff; }
.cv-chip--accent { background: var(--cv-accent); border-color: var(--cv-accent); color: #1B1B1B; font-weight: 700; list-style: none; }
.cv-chip--accent:hover { background: #FFC933; color: #1B1B1B; }
.cv-all-bairros summary::-webkit-details-marker { display: none; }
.cv-all-bairros[open] { width: 100%; }
.cv-all-bairros__list { margin-top: 16px; columns: 4 180px; column-gap: 24px; }
.cv-all-bairros__list a { display: block; padding: 6px 0; color: #DCE8F2; break-inside: avoid; }
.cv-all-bairros__list a:hover { color: #fff; }

.cv-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cv-card { border-radius: 20px; background: #fff; border: 1px solid var(--cv-line); overflow: hidden; display: flex; flex-direction: column; color: var(--cv-ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cv-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18,62,96,.12); color: var(--cv-ink); }
.cv-card__img { height: 200px; background: #E6F0F8; color: var(--cv-primary); display: flex; align-items: center; justify-content: center; position: relative; }
.cv-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cv-card__img .cv-icon { width: 64px; height: 64px; stroke-width: 1.4; }
.cv-card__cat { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 8px; background: #fff; color: var(--cv-primary); font-size: 12px; font-weight: 700; }
.cv-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.cv-card__price { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; color: var(--cv-primary-dark); }
.cv-card__title { font-size: 17px; font-weight: 600; }
.cv-card__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--cv-muted); }

.cv-empty { padding: 40px; border-radius: 20px; background: #fff; border: 1px dashed #C9D2DC; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cv-empty p { margin: 0; font-size: 18px; }

.cv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.cv-step { padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--cv-line); }
.cv-step__n { width: 52px; height: 52px; border-radius: 50%; background: var(--cv-accent); color: #1B1B1B; display: flex; align-items: center; justify-content: center; font: 800 22px 'Sora', sans-serif; }
.cv-step h3 { margin: 16px 0 8px; font-size: 22px; }
.cv-step p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--cv-muted); }

.cv-cta { margin-bottom: 72px; padding: 56px 64px; border-radius: 28px; background: var(--cv-accent); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cv-cta h2 { color: #1B1B1B; font-weight: 800; }
.cv-cta p { margin: 10px 0 0; font-size: 19px; color: #3A3320; }

.cv-btn { min-height: 52px; padding: 0 26px; display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.cv-btn--dark { background: var(--cv-primary-dark); color: #fff; }
.cv-btn--dark:hover { background: var(--cv-navy); color: #fff; }
.cv-btn--lg { min-height: 60px; font-size: 18px; }

/* ---------- Rodapé ---------- */

.cv-footer { background: var(--cv-navy); color: #C9D8E5; padding: 48px 0 24px; margin-top: 0; }
.cv-footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cv-footer__brand { display: flex; flex-direction: column; gap: 8px; max-width: 440px; font-size: 15px; line-height: 1.55; }
.cv-footer__name { font: 800 20px 'Sora', sans-serif; color: #fff; }
.cv-footer__whats { align-self: flex-start; margin-top: 8px; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; background: #1FAF5A; color: #fff; font-weight: 700; text-decoration: none; }
.cv-footer__whats:hover { background: #178F49; color: #fff; }
.cv-footer__menu ul { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.cv-footer__menu a { color: #C9D8E5; }
.cv-footer__menu a:hover { color: #fff; }
.cv-footer__copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

/* ---------- Anúncios (páginas do HivePress) ---------- */

.hp-listing--view-block { border-radius: var(--cv-radius); overflow: hidden; border: 1px solid var(--cv-line); background: #fff; }
.hp-listing--view-block .hp-listing__image img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Selo MEI e consulta de CNPJ ---------- */

.cv-selo-mei { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #E7F4EA; color: #1E6B3A; font: 700 13px 'DM Sans', sans-serif; vertical-align: middle; white-space: nowrap; }
.cv-selo-mei .hp-icon { color: #1FAF5A; }
.cv-selo-mei--sm { align-self: flex-start; font-size: 12px; padding: 3px 8px; }
.cv-selo-mei--sm .cv-icon { width: 14px; height: 14px; stroke-width: 2.6; }

.cv-cnpj-status { margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.cv-cnpj-status:empty { display: none; }
.cv-cnpj-status--ok, .cv-cnpj-status--aviso, .cv-cnpj-status--erro, .cv-cnpj-status--carregando { padding: 10px 12px; border-radius: 10px; }
.cv-cnpj-status--ok { background: #E7F4EA; color: #1E6B3A; }
.cv-cnpj-status--aviso { background: #FDF1D6; color: #7A4F00; }
.cv-cnpj-status--erro { background: #FBE4E4; color: #9B1C1C; }
.cv-cnpj-status--carregando { background: #EEF2F6; color: var(--cv-muted); }

/* ---------- Confirmação do WhatsApp e contato ---------- */

.cv-otp { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.cv-otp [hidden] { display: none !important; }
.cv-otp__ok { align-self: flex-start; padding: 8px 12px; border-radius: 10px; background: #E7F4EA; color: #1E6B3A; font-weight: 700; }
.cv-otp__btn, .cv-otp__confirmar { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--cv-primary-dark); color: #fff; font: 700 15px 'DM Sans', sans-serif; cursor: pointer; }
.cv-otp__reenviar { min-height: 44px; padding: 0 14px; border: 1.5px solid #D5DEE8; border-radius: 10px; background: #fff; color: var(--cv-primary-dark); font: 600 14px 'DM Sans', sans-serif; cursor: pointer; }
.cv-otp__codigo { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.cv-otp__label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.cv-otp__input { width: 170px; height: 48px; font: 700 22px 'Sora', sans-serif; letter-spacing: .3em; text-align: center; }
.cv-otp__msg { font-size: 14px; font-weight: 600; }
.cv-otp__msg--ok { color: #1E6B3A; }
.cv-otp__msg--erro { color: #9B1C1C; }

.cv-whats-btn { width: 100%; min-height: 52px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; background: #1FAF5A; color: #fff !important; font: 700 17px 'DM Sans', sans-serif; text-decoration: none; }
.cv-whats-btn:hover { background: #178F49; }
.cv-whats-nota { margin: 8px 0 14px; font-size: 13px; color: var(--cv-muted); text-align: center; }

/* ---------- Telas menores ---------- */

@media (max-width: 1100px) {
	.cv-hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.cv-hero__art { height: 460px; }
	.cv-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cv-bairros { flex-direction: column; align-items: flex-start; }
	.cv-bairros__text { width: auto; }
}

@media (max-width: 720px) {
	.cv-wrap { padding: 0 16px; }
	.cv-hero__inner { padding-top: 28px; padding-bottom: 28px; gap: 8px; }
	.cv-hero__lead { font-size: 17px; }
	.cv-search { grid-template-columns: 1fr 1fr; padding: 12px; }
	.cv-search__field--grow, .cv-search__btn { grid-column: 1 / -1; }
	.cv-hero__art { display: none; }
	.cv-section { padding-top: 40px; padding-bottom: 24px; }
	.cv-section__head { flex-direction: column; align-items: flex-start; }
	.cv-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.cv-cat { min-height: 108px; padding: 12px; }
	.cv-cat__icon { width: 38px; height: 38px; }
	.cv-cat__name { font-size: 13px; margin-top: 8px; }
	.cv-cat__count { display: none; }
	.cv-bairros { padding: 24px 18px; border-radius: 20px; gap: 16px; }
	.cv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cv-card__img { height: 120px; }
	.cv-card__body { padding: 12px; }
	.cv-card__price { font-size: 17px; }
	.cv-card__title { font-size: 14px; }
	.cv-card__foot span:last-child { display: none; }
	.cv-steps { grid-template-columns: 1fr; }
	.cv-cta { flex-direction: column; align-items: stretch; padding: 28px 20px; margin-bottom: 40px; }
	.cv-btn { justify-content: center; }
	.cv-logo__name { font-size: 16px; }
	.cv-logo__city { font-size: 11px; }
}

/* Campo do código do SMS: grande, para ler sem esforço. */
.hp-form__field input[name="cv_codigo"] { height: 64px; font: 800 30px 'Sora', sans-serif; letter-spacing: .35em; text-align: center; border: 2px solid var(--cv-primary); border-radius: 12px; max-width: 280px; }
.hp-form__field input[name="cv_codigo"]:focus { outline: 3px solid var(--cv-accent); outline-offset: 2px; }
.cv-otp__msg { font-size: 16px; }
.cv-otp__ok { font-size: 17px; }

/* Acesso à conta sempre visível, inclusive no celular. */
.hp-menu--site-header .hp-menu__item--user-account,
.hp-menu--site-header .hp-menu__item--user-login { display: inline-flex !important; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #D5DEE8; color: var(--cv-primary-dark) !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hp-menu--site-header .hp-menu__item--user-account span { display: none !important; }
.hp-menu--site-header .hp-menu__item--user-account::after { content: 'Minha conta'; }
.hp-menu--site-header .hp-menu__item--user-login span { display: inline !important; }
@media (max-width: 720px) {
	.hp-menu--site-header .hp-menu__item--user-account,
	.hp-menu--site-header .hp-menu__item--user-login { padding: 0 10px; font-size: 14px; }
}

/* Celular: "Minha conta"/"Entrar" fora do menu ≡ (que esconde esses links). */
.cv-conta-mobile { display: none; }
@media only screen and (max-width: 47.99em) {
	.cv-conta-mobile { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-right: 8px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #D5DEE8; color: var(--cv-primary-dark) !important; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
	.header-navbar__burger > a { color: var(--cv-primary-dark) !important; font-size: 22px; }
}

/* ---------- Boas-vindas e cadastro ---------- */

.page .cv-boasvindas, .page .cv-cad { max-width: 640px; margin: 0 auto; }
.cv-boasvindas h1, .cv-cad__head h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.15; margin: 0 0 10px; }
.cv-boasvindas__sub, .cv-cad__head p { font-size: 18px; line-height: 1.5; color: var(--cv-muted); margin: 0 0 20px; }
.cv-boasvindas__opcoes { display: grid; gap: 14px; margin: 8px 0 24px; }
.cv-boasvindas__opcao { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 18px; border: 2px solid var(--cv-primary); background: #fff; color: var(--cv-primary-dark) !important; text-decoration: none; }
.cv-boasvindas__opcao--novo { background: var(--cv-accent); border-color: var(--cv-accent); color: #1B1B1B !important; }
.cv-boasvindas__titulo { font: 800 22px 'Sora', sans-serif; }
.cv-boasvindas__desc { font-size: 16px; }
.cv-boasvindas__dica { padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--cv-line); font-size: 16px; line-height: 1.55; }
.cv-boasvindas__dica ul { margin: 8px 0 0; padding-left: 20px; }
.cv-boasvindas__comprar { margin-top: 18px; font-size: 16px; }

.cv-cad__login { font-size: 16px; }
.cv-cad__erros { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: #FBE4E4; color: #9B1C1C; font-weight: 600; }
.cv-cad__erros p { margin: 4px 0; }
.cv-cad__form { display: flex; flex-direction: column; gap: 18px; }
.cv-cad__bloco { margin: 0; padding: 20px; border: 1px solid var(--cv-line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.cv-cad__bloco legend { padding: 0 6px; font: 700 18px 'Sora', sans-serif; color: var(--cv-primary-dark); }
.cv-cad__campo { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
.cv-cad__campo small { font-weight: 400; font-size: 14px; color: var(--cv-muted); }
.cv-cad__campo input { height: 52px; padding: 0 14px; border: 1.5px solid #CFD8E2; border-radius: 12px; font: 500 18px 'DM Sans', sans-serif; color: var(--cv-ink); background: #fff; box-sizing: border-box; width: 100%; }
.cv-cad__campo input:focus { outline: 3px solid var(--cv-accent); outline-offset: 1px; border-color: var(--cv-primary); }
.cv-cad__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cv-cad__uf input { text-transform: uppercase; }
.cv-cad__tipos { display: grid; gap: 10px; }
.cv-cad__tipo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid #CFD8E2; border-radius: 14px; cursor: pointer; }
.cv-cad__tipo input { width: 22px; height: 22px; accent-color: var(--cv-primary); }
.cv-cad__tipo span { display: flex; flex-direction: column; }
.cv-cad__tipo strong { font-size: 17px; }
.cv-cad__tipo small { color: var(--cv-muted); font-size: 14px; }
.cv-cad__tipo:has(input:checked) { border-color: var(--cv-primary); background: #EEF5FB; }
.cv-cad__codigo input { height: 64px; font: 800 30px 'Sora', sans-serif; letter-spacing: .35em; text-align: center; border: 2px solid var(--cv-primary); max-width: 280px; }
.cv-cad__reenviar { align-self: flex-start; min-height: 44px; padding: 0 16px; border: 1.5px solid #CFD8E2; border-radius: 10px; background: #fff; color: var(--cv-primary-dark); font: 700 15px 'DM Sans', sans-serif; cursor: pointer; }
.cv-cad__ok { align-self: flex-start; padding: 10px 14px; border-radius: 10px; background: #E7F4EA; color: #1E6B3A; font-weight: 700; font-size: 17px; }
.cv-cad__receita, .cv-cad__otp-msg, .cv-cad__end-msg { font-size: 16px; font-weight: 600; }
.cv-cad__receita:empty, .cv-cad__otp-msg:empty, .cv-cad__end-msg:empty { display: none; }
.is-ok { padding: 10px 12px; border-radius: 10px; background: #E7F4EA; color: #1E6B3A; }
.is-aviso { padding: 10px 12px; border-radius: 10px; background: #FDF1D6; color: #7A4F00; }
.is-erro { padding: 10px 12px; border-radius: 10px; background: #FBE4E4; color: #9B1C1C; }
.is-carregando { padding: 10px 12px; border-radius: 10px; background: #EEF2F6; color: var(--cv-muted); }
.cv-cad__aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.cv-cad__aceite input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.cv-cad__enviar { min-height: 60px; border: 0; border-radius: 14px; background: var(--cv-primary-dark); color: #fff; font: 800 19px 'Sora', sans-serif; cursor: pointer; }
.cv-cad__enviar:hover { background: var(--cv-navy); }
.cv-cad__isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cv-cad [hidden] { display: none !important; }

.cv-meus-dados { margin-bottom: 28px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--cv-line); }
.cv-meus-dados h2 { margin: 0 0 12px; font-size: 22px; }
.cv-meus-dados dl { margin: 0 0 12px; display: grid; gap: 10px; }
.cv-meus-dados dl div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.cv-meus-dados dt { font-weight: 700; color: var(--cv-muted); }
.cv-meus-dados dd { margin: 0; }
.cv-meus-dados__aviso { padding: 10px 12px; border-radius: 10px; background: #FDF1D6; color: #7A4F00; font-weight: 600; }
.cv-meus-dados__alterar { font-weight: 700; }

/* Cabeçalho do celular sem cortar o botão "+". */
@media only screen and (max-width: 47.99em) {
	.cv-logo__mark { width: 34px; height: 34px; }
	.cv-logo__name { font-size: 15px; }
	.cv-logo__city { font-size: 11px; }
	.cv-logo { gap: 8px; }
	.site-header .header-navbar { gap: 6px; }
	.cv-conta-mobile { margin-right: 4px; padding: 0 8px; }
}

/* Boas-vindas no visual da página inicial (banner azul de ponta a ponta). */
.cv-bv.cv-full { width: 100vw; margin-left: calc(50% - 50vw); margin-top: -1px; }
.cv-bv h1 { color: #fff; }
.cv-bv__botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cv-bv__btn { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 18px; border: 2px solid rgba(255,255,255,.6); color: #fff !important; text-decoration: none; transition: transform .15s; }
.cv-bv__btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); }
.cv-bv__btn--novo { background: var(--cv-accent); border-color: var(--cv-accent); color: #1B1B1B !important; box-shadow: 0 18px 40px rgba(8,30,50,.30); }
.cv-bv__btn--novo:hover { background: #FFC933; }
.cv-bv__titulo { font: 800 22px 'Sora', sans-serif; }
.cv-bv__desc { font-size: 16px; opacity: .9; }
.cv-bv__comprar { text-align: center; margin: 24px 0 8px; font-size: 17px; }
.page:has(.cv-bv) .site-content { padding-top: 0; }
.page:has(.cv-bv) .hp-page__title, .page:has(.cv-bv) .page-title, .page:has(.cv-bv) h1.entry-title { display: none; }
@media (max-width: 720px) { .cv-bv__botoes { grid-template-columns: 1fr; } }
@media only screen and (max-width: 47.99em) {
	.site-header .header-navbar { padding-left: 16px !important; padding-right: 16px !important; }
}
/* Página de cadastro sem o título cinza do tema (o formulário já tem o seu). */
.page-id-18 .header-hero { display: none; }
