/* Páginas de nicho (/sites-para-advogados/ etc.): resposta rápida, mini site, comparativo e etapas */

/* Resposta rápida (AEO) */
.nicho-answer { position: relative; margin-bottom: clamp(56px, 8vw, 96px); padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: var(--rdc-radius-lg); border: 1px solid rgba(106, 155, 255, .35); background: linear-gradient(135deg, rgba(0, 71, 255, .14), rgba(26, 22, 96, .22)); }
.nicho-answer__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 71, 255, .25); color: var(--rdc-blue-ice); font-size: .8125rem; font-weight: 600; }
.nicho-answer p { margin-top: 14px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .88); text-wrap: pretty; max-width: 70ch; }

/* Mini site navegável */
.site-demo { padding: 0; overflow: hidden; }
.site-demo__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #EEF0F4; border-bottom: 1px solid #E1E4EA; }
.site-demo__bar i { width: 10px; height: 10px; border-radius: 50%; background: #CDD1D9; }
.site-demo__bar span { flex: 1; min-width: 0; margin-left: 8px; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: .8125rem; color: #5F6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-demo__bar b { font-weight: 500; color: var(--rdc-blue); }
.site-demo__tabs { display: flex; gap: 4px; padding: 10px 12px 0; background: #fff; border-bottom: 1px solid #E8EAEE; overflow-x: auto; scrollbar-width: none; }
.site-demo__tabs button { flex: none; padding: 9px 14px; border-radius: 10px 10px 0 0; font: inherit; font-size: .875rem; font-weight: 600; color: #5F6368; background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; transition: color .2s, border-color .2s; }
.site-demo__tabs button:hover { color: var(--rdc-black); }
.site-demo__tabs button[aria-selected="true"] { color: var(--rdc-blue); border-bottom-color: var(--rdc-blue); }
.site-demo__tabs button:focus-visible { outline: 2px solid var(--rdc-blue); outline-offset: -2px; }
.site-demo__page { padding: clamp(18px, 3vw, 28px); min-height: 300px; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff, #F7F8FB); animation: sdIn .35s var(--rdc-ease); }
.site-demo__page[hidden] { display: none; }
@keyframes sdIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.site-demo__nav { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid #ECEEF2; }
.site-demo__nav b { font-size: .875rem; color: var(--rdc-black); margin-right: auto; }
.site-demo__nav span { width: 34px; height: 6px; border-radius: 4px; background: #E1E4EA; }
.site-demo__h { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--rdc-black); text-wrap: balance; }
.site-demo__p { margin-top: 8px; font-size: .9375rem; color: #5F6368; text-wrap: pretty; }
.site-demo__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.site-demo__cards span { display: flex; align-items: center; gap: 6px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #E5E8EE; font-size: .8125rem; font-weight: 600; color: var(--rdc-black); }
.site-demo__cards .icon { flex: none; color: var(--rdc-blue); }
.site-demo__wa { align-self: flex-start; margin-top: auto; padding: 10px 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--rdc-blue); color: #fff; font-size: .8125rem; font-weight: 600; }
.site-demo__cards + .site-demo__wa { margin-top: 20px; }
.site-demo .demo__caption { padding: 0 20px 18px; background: #F7F8FB; }
@media (max-width: 520px) { .site-demo__cards { grid-template-columns: 1fr; } }

/* Comparativo */
.nicho-table { overflow-x: auto; border-radius: var(--rdc-radius-lg); border: 1px solid var(--rdc-border); background: var(--rdc-surface); }
.nicho-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.nicho-table th, .nicho-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rdc-border); font-size: .9688rem; line-height: 1.5; }
.nicho-table tbody tr:last-child > * { border-bottom: 0; }
.nicho-table thead th { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 600; }
.nicho-table thead th:last-child { color: var(--rdc-blue-ice); }
.nicho-table tbody th { font-weight: 700; color: #fff; white-space: nowrap; }
.nicho-table td { color: rgba(255, 255, 255, .62); }
.nicho-table td:last-child { color: #fff; background: rgba(0, 71, 255, .08); }
.nicho-table td .icon { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.nicho-table td:nth-child(2) .icon { color: rgba(255, 255, 255, .35); }
.nicho-table td:last-child .icon { color: var(--rdc-blue-light); }

/* Ilustração + etapas (seção clara) */
.nicho-steps { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.nicho-steps__fig img { width: 100%; height: auto; border-radius: var(--rdc-radius-lg); box-shadow: 0 40px 90px -50px rgba(0, 71, 255, .55); background: #fff; }
.nicho-steps__fig figcaption { margin-top: 12px; font-size: .875rem; color: rgba(19, 19, 19, .6); text-wrap: pretty; }
.nicho-steps__list { margin-top: 28px; display: grid; gap: 18px; }
.nicho-steps__list li { display: flex; gap: 16px; align-items: flex-start; }
.nicho-steps__list li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--rdc-blue); color: #fff; font-weight: 700; font-size: .9375rem; box-shadow: 0 8px 20px -8px rgba(0, 71, 255, .7); }
.nicho-steps__list h3 { font-size: 1.0625rem; letter-spacing: -.01em; color: var(--rdc-black); }
.nicho-steps__list p { margin-top: 4px; color: rgba(19, 19, 19, .66); font-size: .9375rem; text-wrap: pretty; }
@media (max-width: 860px) { .nicho-steps { grid-template-columns: 1fr; } }

/* Outros nichos */
.nicho-outros__label { margin-top: 36px; margin-bottom: 14px; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .55); }
.pill-links--soft a { background: transparent; }
