/* Consórcio Leads — estilos do tema (complementam o theme.json). */

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* Cabeçalho fixo */
.cl-sticky { position: sticky; top: 0; z-index: 50; }
.admin-bar .cl-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .cl-sticky { top: 0; } }
.cl-header { border-bottom: 1px solid var(--wp--preset--color--line); backdrop-filter: saturate(1.4) blur(6px); background: rgba(255,255,255,.94) !important; }
.cl-header .wp-block-site-title a { text-decoration: none; }
.cl-header .wp-block-navigation a { text-decoration: none; color: var(--wp--preset--color--ink); }
.cl-header .wp-block-navigation a:hover { color: var(--wp--preset--color--go); }
.cl-header .cl-btn { padding: .7em 1.1em; font-size: .9rem; }
@media (max-width: 1080px) { .cl-header .cl-btn span { display: none; } .cl-header .cl-btn { padding: .65em; } }
@media (max-width: 600px) { .cl-header .cl-btn { display: none; } }
.cl-brand .wp-block-site-title { margin: 0; }

/* Links do conteúdo */
.wp-block-post-content a:not(.wp-element-button):not(.cl-btn) { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Seções */
.cl-sec { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.cl-sec-sm { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.cl-center { text-align: center; }
.cl-center > * { margin-left: auto !important; margin-right: auto !important; }
.cl-sub { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--large); max-width: 52ch; }
.has-night-background-color .cl-sub { color: #c9d3df; }
.cl-overlap { margin-top: calc(-1 * var(--wp--preset--spacing--60)) !important; position: relative; z-index: 2; }
.cl-hero.cl-sec { padding-bottom: calc(var(--wp--preset--spacing--60) * 2); }
.has-night-background-color a:not(.cl-btn):not(.wp-element-button) { color: #fff; }

/* Hero */
.cl-hero { position: relative; overflow: hidden; }
.cl-hero::before {
	content: ""; position: absolute; inset: auto -10% -60% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
	background: radial-gradient(closest-side, rgba(232,163,61,.18), transparent 70%); pointer-events: none;
}
.cl-hero h1 { text-wrap: balance; }
.cl-hero .cl-lead { font-size: var(--wp--preset--font-size--large); color: #c9d3df; }
@media (min-width: 900px) { .cl-hero h1, .cl-hero .cl-lead { box-sizing: border-box; } .cl-hero h1 { padding-right: 38%; } .cl-hero .cl-lead { padding-right: 42%; } }
.has-night-background-color .cl-stat { color: #fff; }
.has-night-background-color .cl-stat-label, .has-night-background-color .cl-source { color: #a9b8c9; }
.cl-eyebrow { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem !important; font-weight: 800; color: var(--wp--preset--color--gold); margin-bottom: .2rem !important; }
.cl-hero-light .cl-lead { color: var(--wp--preset--color--muted); }

/* Selos de confiança */
.cl-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 0; list-style: none; font-size: .92rem; font-weight: 600; }
.cl-proof li::before { content: "✓"; color: var(--wp--preset--color--gold); font-weight: 900; margin-right: .45em; }

/* Números */
.cl-stat { font-size: clamp(2rem, 4.5vw, 3rem) !important; font-weight: 900; letter-spacing: -.03em; line-height: 1 !important; margin-bottom: .3rem !important; color: var(--wp--preset--color--ink); }
.cl-stat-label { color: var(--wp--preset--color--muted); font-size: .95rem; margin-top: 0 !important; }
.cl-source { font-size: .78rem; color: var(--wp--preset--color--muted); }

/* Cartões */
.cl-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; padding: clamp(1.1rem, 3vw, 1.6rem); height: 100%; box-sizing: border-box; }
.cl-card > *:first-child { margin-top: 0; }
.cl-card h3 { margin-bottom: .4rem; }
.cl-card p { color: var(--wp--preset--color--muted); }
.wp-block-columns.is-cards > .wp-block-column { display: flex; }
.cl-num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--wp--preset--color--ink); color: #fff; font-weight: 800; margin-bottom: .6rem !important; font-size: 1rem !important; }

/* Lista com check */
.cl-checks { list-style: none; padding-left: 0; }
.cl-checks li { position: relative; padding-left: 1.8em; margin-bottom: .55em; }
.cl-checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--wp--preset--color--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.4' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/70% no-repeat; }
.cl-x li::before { background-color: var(--wp--preset--color--bad); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath stroke='white' stroke-width='2.4' d='M4.5 4.5l7 7m0-7l-7 7'/%3E%3C/svg%3E"); }

/* Tabela comparativa */
.cl-table table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .95rem; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; overflow: hidden; }
.cl-table th, .cl-table td { padding: .85rem 1rem; border: 0; border-bottom: 1px solid var(--wp--preset--color--line); text-align: left; vertical-align: top; }
.cl-table thead th { background: var(--wp--preset--color--ink); color: #fff; font-weight: 700; }
.cl-table tbody tr:last-child td { border-bottom: 0; }
.cl-table td:first-child { font-weight: 700; }
@media (max-width: 600px) { .cl-table { overflow-x: auto; } .cl-table table { min-width: 560px; } }

/* FAQ (blocos Detalhes) */
.wp-block-details summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: .2rem; top: -.1rem; font-size: 1.5rem; font-weight: 400; color: var(--wp--preset--color--go); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: #33445a; }

/* Faixa de CTA */
.cl-cta-band .cl-btn { font-size: 1.05rem; }

/* Rodapé */
.cl-footer-list { list-style: none; padding: 0; font-size: .95rem; }
.cl-footer-list li { margin-bottom: .45rem; }
.cl-footer a { text-decoration: none; }
.cl-footer a:hover { text-decoration: underline; }
.cl-footer .cl-aviso { color: #8fa0b5; }

/* Blog */
.wp-block-post-template .cl-card .wp-block-post-featured-image img { border-radius: 12px; }
.wp-block-post-template .cl-card .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--ink); }

/* Respiro para o botão flutuante no rodapé móvel */
@media (max-width: 560px) { .cl-footer { padding-bottom: 6rem !important; } }

/* Chamada "se… então" com urgência real */
.cl-callout { background: #fff7e8; border-left: 4px solid var(--wp--preset--color--gold); border-radius: 10px; padding: 1rem 1.2rem; font-size: 1.05rem; margin-top: 1.6rem !important; color: var(--wp--preset--color--ink); text-align: left; }

/* Blocos de prova humana (vazios até serem preenchidos nas configurações) */
.cl-sc-wrap { padding-top: 0; padding-bottom: 0; }
.cl-sc-wrap .cl-depos, .cl-sc-wrap .cl-consultor { margin-top: var(--wp--preset--spacing--50); margin-bottom: var(--wp--preset--spacing--50); }
.cl-sc-wrap:not(:has(section)) { display: none; }

/* Faixa de confiança logo abaixo do simulador */
.cl-trust-wrap { padding-top: .4rem; padding-bottom: 0; }
