/*
 * Visual novo (v2): página inicial (functions/home-v2.php). Carregado só na home e só com o v2 ligado
 * (functions/visual-v2.php), depois do global-v2.css. Tokens --ea-* do global-v2.css (cores de cada site, claro e
 * escuro). Seções com fundo de ponta a ponta e conteúdo no eixo do cabeçalho e do rodapé da home (1140px).
 *
 * Grades: empresas e notícias em 3 colunas, comentários e mais acessadas em 2, categorias em 9 (8 + "Todas") e cidades em 5.
 * Até 900px categorias em 4; até 760px as de 3 colunas e cidades em 2; até 540px categorias e cidades em 2 e o resto em 1.
 */

body.ea-v2.home,
body.ea-v2.home .main-container {
    background: var(--ea-branco);
}

body.ea-v2 .ea-home {
    --ea-home-linha: var(--ea-meio-preto);
    --ea-home-tom: var(--ea-quase-branco);
    --ea-home-roxo: #201c43;
    font-family: var(--ea-font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ea-texto);
}

body.ea-v2 .ea-home a {
    color: var(--ea-cor1-texto);
    text-underline-offset: 3px;
}

body.ea-v2 .ea-home :focus-visible {
    outline: 2px solid var(--ea-foco);
    outline-offset: 3px;
}

body.ea-v2 .ea-home-wrap {
    width: 100%;
    max-width: calc(var(--ea-largura-conteudo) + 2 * var(--ea-esp-5));
    margin: 0 auto;
    padding: 0 var(--ea-esp-4);
}

@media (min-width: 768px) {
    body.ea-v2 .ea-home-wrap {
        padding: 0 var(--ea-esp-5);
    }
}

/* ---------------------------------------------------------------- seções */
body.ea-v2 .ea-home-secao {
    padding: clamp(24px, 4vw, 46px) 0;
}

/* fundo alternado, como no protótipo (categorias, comentários, notícias, boas-vindas) */
body.ea-v2 .ea-home > section:nth-of-type(odd).ea-home-secao {
    background: var(--ea-home-tom);
}

body.ea-v2 .ea-home .ea-home-titulo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    font: 800 clamp(21px, 3vw, 30px)/1.2 var(--ea-font-sans);
    letter-spacing: -.02em;
    color: var(--ea-texto-forte);
    text-transform: none;
}

body.ea-v2 .ea-home .ea-home-titulo::before,
body.ea-v2 .ea-home .ea-home-titulo::after {
    content: none;
}

body.ea-v2 .ea-home .ea-home-titulo .ea-ico {
    color: var(--ea-cor1-texto);
}

body.ea-v2 .ea-home .ea-card {
    min-width: 0;
    background: var(--ea-superficie);
    border: 1px solid var(--ea-home-linha);
    border-radius: 16px;
    box-shadow: var(--ea-sombra-card);
}

/* ---------------------------------------------------------------- grades */
body.ea-v2 .ea-home-grade {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ea-v2 .ea-home-grade > li {
    margin: 0;
}

body.ea-v2 .ea-home-grade--tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.ea-v2 .ea-home-grade--duas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.ea-v2 .ea-home-grade--categorias { grid-template-columns: repeat(9, minmax(0, 1fr)); } /* 8 fotos + "Todas" */
body.ea-v2 .ea-home .ea-home-grade--categorias .ea-home-foto { font-size: 14.5px; }
/* Cidades/bairros vizinhos ($geos_vizinhos, 5 ou 6): uma linha só, cartões de larguras iguais ocupando todo o espaço
   (com 6, cada cartão fica menor). */
body.ea-v2 .ea-home-grade--cidades {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
}

@media (max-width: 900px) {
    body.ea-v2 .ea-home-grade--categorias { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    /* 6 cidades no tablet: 2 linhas de 3 (6 numa linha ficariam estreitas demais) */
    body.ea-v2 .ea-home-grade--cidades:has(> li:nth-child(6)) {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body.ea-v2 .ea-home-grade--tres,
    body.ea-v2 .ea-home-grade--cidades,
    body.ea-v2 .ea-home-grade--cidades:has(> li:nth-child(6)) {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    body.ea-v2 .ea-home-grade--tres,
    body.ea-v2 .ea-home-grade--duas { grid-template-columns: minmax(0, 1fr); }
    body.ea-v2 .ea-home-grade--categorias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- 1. abertura */
body.ea-v2.home #banner.ea-home-hero {
    position: relative;
    isolation: isolate;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background-color: var(--ea-home-roxo);
    background-blend-mode: normal;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* a foto (background do #banner, de cada site) fica à direita; à esquerda, o roxo para o texto */
body.ea-v2.home #banner.ea-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, var(--ea-home-roxo) 0%, var(--ea-home-roxo) 34%, rgba(32, 28, 67, .55) 62%, rgba(32, 28, 67, .15) 100%),
        linear-gradient(rgba(33, 29, 67, .2), rgba(33, 29, 67, .45));
}

body.ea-v2 .ea-home-hero__conteudo {
    display: grid;
    align-content: center;
    min-height: 365px;
    padding-top: 44px;
    padding-bottom: 44px;
}

body.ea-v2 .ea-home .ea-home-hero__titulo {
    max-width: 16ch;
    margin: 0;
    padding: 0;
    font: 800 clamp(34px, 5vw, 62px)/1.04 var(--ea-font-sans);
    letter-spacing: -.045em;
    color: #fff;
    text-align: left;
    text-shadow: none;
}

body.ea-v2 .ea-home-hero__texto {
    max-width: 52ch;
    margin: 14px 0 18px;
    color: #f0eaf8;
}

body.ea-v2.home #banner #home_formulario_pesquisa.ea-home-hero__busca {
    width: 100%;
    max-width: 570px;
    margin: 0;
}

body.ea-v2 .ea-home .ea-home-hero__atalhos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

body.ea-v2 .ea-home .ea-home-hero__atalhos a {
    color: #fff;
    font-size: 14px;
}

body.ea-v2 .ea-home .ea-home-hero :focus-visible {
    outline-color: var(--ea-foco-sobre-cor);
}

@media (max-width: 760px) {
    body.ea-v2.home #banner.ea-home-hero::before {
        background: linear-gradient(90deg, rgba(32, 28, 67, .92), rgba(32, 28, 67, .55));
    }

    body.ea-v2 .ea-home-hero__conteudo {
        min-height: 300px;
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

/* busca do v2 (functions/busca-v2.php) na abertura: maior, sem borda, com sombra. Com as sugestões abertas, a
   abertura deixa a lista passar por cima da seção de baixo (normalmente ela corta o que sai dela). */
body.ea-v2.home #home_formulario_pesquisa .ea-busca {
    height: 54px;
    border: 0;
    background: var(--ea-superficie);
    box-shadow: var(--ea-sombra);
}

body.ea-v2.home #home_formulario_pesquisa .ea-busca:focus-within {
    box-shadow: var(--ea-sombra), 0 0 0 3px var(--ea-foco-sobre-cor);
}

body.ea-v2.home #home_formulario_pesquisa .ea-busca__campo {
    padding-left: 20px;
    font-size: 16px;
}

body.ea-v2.home #home_formulario_pesquisa .ea-busca__botao {
    width: 44px;
    height: 44px;
    margin-right: 5px;
}

body.ea-v2.home #home_formulario_pesquisa .ea-busca__lupa {
    width: 22px;
    height: 22px;
}

body.ea-v2.home #home_formulario_pesquisa .ea-busca__lista {
    width: 100%;
}

body.ea-v2.home #banner.ea-home-hero:has(.ea-busca--aberta) {
    z-index: 30;
    overflow: visible;
}

/* Google CSE da abertura (___gcse_1): só o visual */
body.ea-v2.home #home_formulario_pesquisa .gsc-control-searchbox-only {
    max-width: none;
    margin: 0;
}

body.ea-v2.home #home_formulario_pesquisa form.gsc-search-box {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.ea-v2.home #home_formulario_pesquisa table.gsc-search-box {
    width: 100% !important;
    border: 0;
    border-collapse: separate;
    border-radius: 13px;
    background: var(--ea-superficie);
    box-shadow: var(--ea-sombra);
    overflow: hidden;
}

body.ea-v2.home #home_formulario_pesquisa table.gsc-search-box:focus-within {
    outline: 2px solid var(--ea-foco-sobre-cor);
    outline-offset: 2px;
}

body.ea-v2.home #home_formulario_pesquisa .gsc-input-box {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 var(--ea-esp-3) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ea-v2.home #home_formulario_pesquisa .gsib_b {
    height: auto !important;
}

body.ea-v2.home #home_formulario_pesquisa input.gsc-input,
body.ea-v2.home #gsc-i-id2 {
    background: transparent !important;
    font: 400 16px/20px var(--ea-font-sans) !important;
    color: var(--ea-texto-forte) !important;
}

body.ea-v2.home #home_formulario_pesquisa td.gsc-search-button {
    padding: 0 !important;
}

body.ea-v2.home #home_formulario_pesquisa .gsc-search-button-v2 {
    height: 40px;
    margin: 6px !important;
    padding: 0 var(--ea-esp-5) !important;
    border: 0 !important;
    border-radius: 10px !important;
    background-color: var(--ea-cor2) !important;
    cursor: pointer;
}

body.ea-v2.home #home_formulario_pesquisa .gsc-search-button-v2 svg {
    fill: var(--ea-texto-sobre-laranja) !important;
}

@media (max-width: 479px) {
    body.ea-v2.home #home_formulario_pesquisa .gsc-search-button-v2 {
        padding: 0 var(--ea-esp-3) !important;
    }
}

/* ---------------------------------------------------------------- 2. Guia + anúncio */
body.ea-v2 .ea-home-anuncio {
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}

/* ---------------------------------------------------------------- fotos (categorias e cidades) */
body.ea-v2 .ea-home .ea-home-foto {
    display: flex;
    align-items: flex-end;
    min-height: 104px;
    height: 100%;
    padding: 11px;
    border-radius: 13px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: break-word; /* não quebra palavra no meio ("Comunicaçã-o"); hifeniza se precisar */
    hyphens: auto;
}

/* categorias: foto do tema (assets/images/icone_home/<slug>.webp, em --ea-foto) */
body.ea-v2 .ea-home .ea-home-grade--categorias .ea-home-foto:not(.ea-home-todas-botao) {
    background: linear-gradient(0deg, rgba(23, 20, 43, .93), rgba(23, 20, 43, .12)), var(--ea-foto, none) center / cover no-repeat, var(--ea-cor1);
}

body.ea-v2 .ea-home .ea-home-foto:hover {
    text-decoration: underline;
}

/* cidades: a foto vem do cstm.css de cada site (.vizinhos.bairroN { background-image }) */
/* cidades: a foto vem do cstm.css de cada site (.col-md-2.vizinhos.bairroN { background-image }); aqui só a forma,
   sem mexer no background-image */
body.ea-v2 .ea-home .ea-home-foto--cidade {
    position: relative;
    isolation: isolate;
    float: none;
    width: auto;
    max-width: none;
    min-height: 126px;
    margin: 0;
    padding: 11px;
    box-sizing: border-box;
    background-color: var(--ea-cor1);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

body.ea-v2 .ea-home .ea-home-foto--cidade::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(0deg, rgba(23, 20, 43, .93), rgba(23, 20, 43, .12));
}

@media (max-width: 540px) {
    body.ea-v2 .ea-home .ea-home-grade--categorias .ea-home-foto {
        min-height: 85px;
    }
}

/* "Todas as categorias": 9º bloco laranja (como na home antiga) que abre o painel com animação */
body.ea-v2 .ea-home .ea-home-grade .ea-home-todas-botao {
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    border: 0;
    background: var(--ea-cor2);
    color: var(--ea-texto-sobre-laranja);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: filter .2s ease, box-shadow .2s ease;
}

body.ea-v2 .ea-home .ea-home-grade .ea-home-todas-botao:hover {
    filter: brightness(1.07);
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

body.ea-v2 .ea-home .ea-home-grade .ea-home-todas-botao[aria-expanded="true"] {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85);
}

body.ea-v2 .ea-home-todas-botao__seta {
    flex: none;
    font-size: 18px;
    stroke-width: 2.5;
    transition: transform .35s ease;
}

body.ea-v2 .ea-home-todas-botao[aria-expanded="true"] .ea-home-todas-botao__seta {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    body.ea-v2 .ea-home-grade__todas {
        grid-column: 1 / -1;
    }

    body.ea-v2 .ea-home .ea-home-grade__todas .ea-home-todas-botao {
        min-height: 52px;
        align-items: center;
    }
}

/* painel: fechado = altura 0 e invisível; aberto = cresce e aparece (grid-template-rows 0fr -> 1fr) */
body.ea-v2 .ea-home .ea-home-todas {
    display: grid;
    grid-template-rows: 0fr;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows .55s ease, opacity .35s ease, visibility 0s linear .55s;
}

body.ea-v2 .ea-home .ea-home-todas.aberto {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition: grid-template-rows .55s ease, opacity .45s ease .05s, visibility 0s;
}

body.ea-v2 .ea-home-todas__dentro {
    min-height: 0;
    overflow: hidden;
}

body.ea-v2 .ea-home .ea-home-todas__cartao {
    margin-top: 12px;
    padding: 18px 20px 20px;
    transform: scale(.97) translateY(-8px);
    transform-origin: top right;
    transition: transform .55s ease;
}

body.ea-v2 .ea-home-todas.aberto .ea-home-todas__cartao {
    transform: none;
}

body.ea-v2 .ea-home .ea-home-todas__titulo {
    margin: 0 0 14px;
    padding: 0;
    font: 800 17px/1.3 var(--ea-font-sans);
    color: var(--ea-texto-forte);
}

body.ea-v2 .ea-home-todas__lista {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 4 190px;
    column-gap: 28px;
}

body.ea-v2 .ea-home-todas__lista > li {
    margin: 0 0 12px;
    break-inside: avoid;
}

/* categoria principal: título da coluna */
body.ea-v2 .ea-home .ea-home-todas__lista > li > a {
    display: inline-block;
    margin-bottom: 2px;
    font-weight: 700;
    color: var(--ea-cor1-texto);
    text-decoration: none;
}

body.ea-v2 .ea-home-todas__lista ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ea-v2 .ea-home-todas__lista ul li {
    margin: 1px 0;
}

body.ea-v2 .ea-home .ea-home-todas__lista ul a {
    font-size: 14px;
    color: var(--ea-texto);
    text-decoration: none;
}

body.ea-v2 .ea-home .ea-home-todas__lista a:hover {
    color: var(--ea-cor1-texto);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    body.ea-v2 .ea-home-todas,
    body.ea-v2 .ea-home-todas.aberto,
    body.ea-v2 .ea-home .ea-home-todas__cartao,
    body.ea-v2 .ea-home-todas-botao__seta {
        transition: none;
    }
}

/* ---------------------------------------------------------------- 4 a 6. cartões de empresa e comentário */
body.ea-v2 .ea-home .ea-home-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px;
}

body.ea-v2 .ea-home-item > div {
    min-width: 0;
}

body.ea-v2 .ea-home-marca {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 11px;
    background: var(--ea-home-tom);
    color: var(--ea-cor1-texto);
    font-size: 19px;
}

/* empresa com foto: a primeira foto no lugar do ícone */
body.ea-v2 .ea-home .ea-home-marca--foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.ea-v2 .ea-home > section:nth-of-type(odd) .ea-home-marca {
    background: var(--ea-branco);
}

/* comentário: a inicial do nome sobre a cor primária, como na página da empresa (functions/avatares-comentarios.php) */
body.ea-v2 .ea-home > section .ea-home-marca.ea-home-marca--letra {
    /* a cor de cada pessoa vem de .guia-avatar-cor--N (style.css) */
    background: var(--guia-av-fundo, rgb(var(--cor-primaria)));
    color: var(--guia-av-texto, var(--ea-texto-sobre-cor));
    font-weight: 600;
    font-size: 21px;
    line-height: 1;
}

/* empresa com logotipo: ele inteiro (quadrado com sobras transparentes) sobre branco, também no escuro, como na
   página da empresa (logotipos costumam ser feitos para fundo claro) */
body.ea-v2 .ea-home .ea-home-marca.ea-home-marca--logo,
body.ea-v2 .ea-home > section:nth-of-type(n) .ea-home-marca.ea-home-marca--logo { /* vence o fundo das seções alternadas */
    padding: 3px;
    background: #fff;
}

body.ea-v2 .ea-home .ea-home-marca--logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.ea-v2 .ea-home .ea-home-item h3,
body.ea-v2 .ea-home .ea-home-noticia h3 {
    margin: 0 0 2px;
    padding: 0;
    font: 700 16px/1.3 var(--ea-font-sans);
    overflow-wrap: anywhere;
}

body.ea-v2 .ea-home .ea-home-item h3 a,
body.ea-v2 .ea-home .ea-home-noticia h3 a {
    color: var(--ea-texto-forte);
    text-decoration: none;
}

body.ea-v2 .ea-home .ea-home-item h3 a:hover,
body.ea-v2 .ea-home .ea-home-noticia h3 a:hover {
    color: var(--ea-cor1-texto);
    text-decoration: underline;
}

body.ea-v2 .ea-home .ea-home-item p,
body.ea-v2 .ea-home .ea-home-item small {
    display: block;
    margin: 0;
    font-size: 13.5px;
    color: var(--ea-texto-suave);
}

body.ea-v2 .ea-home-item small + p,
body.ea-v2 .ea-home-item p + small {
    margin-top: 2px;
}

body.ea-v2 .ea-home .ea-home-comentario blockquote {
    margin: 12px 0 0;
    padding: 10px 0 0;
    border: 0;
    border-top: 1px solid var(--ea-home-linha);
    background: none;
    font: inherit;
    font-size: 15px;
    font-style: normal;
    color: var(--ea-texto);
    quotes: none;
}

body.ea-v2 .ea-home .ea-home-comentario blockquote::before,
body.ea-v2 .ea-home .ea-home-comentario blockquote::after {
    content: none;
}

body.ea-v2 .ea-home-comentario {
    flex-wrap: wrap;
}

body.ea-v2 .ea-home-comentario > div {
    flex: 1 1 0;
}

/* ---------------------------------------------------------------- cartão inteiro clicável (empresas, comentários,
   mais acessadas e notícias): o link do título se estende por cima do cartão (::after); o link da categoria da notícia
   fica acima dele. Um link só por cartão para o leitor de tela e o teclado. */
body.ea-v2 .ea-home .ea-home-item,
body.ea-v2 .ea-home .ea-home-noticia {
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.ea-v2 .ea-home .ea-home-item h3 a::after,
body.ea-v2 .ea-home .ea-home-noticia h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

body.ea-v2 .ea-home .ea-home-item:hover,
body.ea-v2 .ea-home .ea-home-noticia:hover {
    border-color: var(--ea-cor1-texto);
    box-shadow: var(--ea-sombra);
    transform: translateY(-2px);
}

body.ea-v2 .ea-home .ea-home-item:hover h3 a,
body.ea-v2 .ea-home .ea-home-noticia:hover h3 a {
    color: var(--ea-cor1-texto);
}

/* foco do teclado: contorno no cartão todo */
body.ea-v2 .ea-home .ea-home-item h3 a:focus-visible,
body.ea-v2 .ea-home .ea-home-noticia h3 a:focus-visible {
    outline: none;
}

body.ea-v2 .ea-home .ea-home-item:has(h3 a:focus-visible),
body.ea-v2 .ea-home .ea-home-noticia:has(h3 a:focus-visible) {
    outline: 2px solid var(--ea-foco);
    outline-offset: 3px;
}

body.ea-v2 .ea-home .ea-home-noticia__meta a {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    body.ea-v2 .ea-home .ea-home-item:hover,
    body.ea-v2 .ea-home .ea-home-noticia:hover {
        transform: none;
    }
}

/* ---------------------------------------------------------------- 7. notícias */
body.ea-v2 .ea-home .ea-home-noticia {
    padding: 0;
    overflow: hidden;
}

body.ea-v2 .ea-home-noticia__foto {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 9;
    background: var(--ea-foto-ausente);
}

body.ea-v2 .ea-home-noticia__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

body.ea-v2 .ea-home-noticia__sem-foto {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--ea-texto-suave);
    font-size: 34px;
}

body.ea-v2 .ea-home-noticia__texto {
    padding: 14px 15px 16px;
}

body.ea-v2 .ea-home-noticia__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-bottom: 8px;
    font-size: 13px;
}

body.ea-v2 .ea-home .ea-home-noticia__meta a {
    color: var(--ea-texto-suave);
    text-decoration: none;
}

body.ea-v2 .ea-home .ea-home-noticia__meta a:hover {
    text-decoration: underline;
}

body.ea-v2 .ea-home-noticia__meta time {
    color: var(--ea-texto-suave);
    white-space: nowrap;
}

body.ea-v2 .ea-home-noticia__meta time::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 6px 2px 0;
    border-radius: 50%;
    background: var(--ea-cor2);
}

/* ---------------------------------------------------------------- 9. boas-vindas: largura toda */
body.ea-v2 .ea-home-sobre {
    width: 100%;
}

body.ea-v2 .ea-home .ea-home-sobre p {
    max-width: none;
    margin: 0;
}

body.ea-v2 .ea-home .ea-home-sobre p + p {
    margin-top: 14px;
}

body.ea-v2 .ea-home .ea-home-sobre strong {
    color: var(--ea-texto-forte);
}

/* ---------------------------------------------------------------- 10. cadastro */
body.ea-v2 .ea-home-cadastro {
    padding: clamp(28px, 4vw, 52px) 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background:
        radial-gradient(ellipse at 10% 105%, #523678 0%, transparent 54%),
        radial-gradient(ellipse at 95% 0%, #40366f 0%, transparent 55%),
        var(--ea-home-roxo);
    color: #fff;
}

body.ea-v2 .ea-home-cadastro__grade {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 6vw, 72px);
}

body.ea-v2 .ea-home .ea-home-cadastro h2 {
    max-width: 24ch;
    margin: 0 0 14px;
    padding: 0;
    font: 800 clamp(29px, 4.2vw, 50px)/1.08 var(--ea-font-sans);
    letter-spacing: -.04em;
    color: #fff;
    text-wrap: balance;
}

body.ea-v2 .ea-home .ea-home-cadastro p {
    max-width: 65ch;
    margin: 0;
    color: #f0eaf8;
}

body.ea-v2 .ea-home .ea-home-cadastro p + p {
    margin-top: 6px;
}

body.ea-v2 .ea-home .ea-home-cadastro__botao {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 8px 23px;
    border-radius: var(--ea-raio-pill);
    background: var(--ea-cor2);
    color: var(--ea-texto-sobre-laranja);
    font-weight: 700;
    text-decoration: none;
}

body.ea-v2 .ea-home .ea-home-cadastro__botao:hover {
    filter: brightness(1.08);
    text-decoration: none;
}

body.ea-v2 .ea-home .ea-home-cadastro :focus-visible {
    outline-color: var(--ea-foco-sobre-cor);
}

body.ea-v2 .ea-home-previa {
    margin: 0;
    padding: clamp(12px, 2vw, 20px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    background: rgba(22, 19, 44, .4);
}

body.ea-v2 .ea-home-previa figcaption {
    margin-bottom: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #e8ddf7;
}

body.ea-v2 .ea-home-previa ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ea-v2 .ea-home-previa li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: #292344;
    overflow: hidden;
}

body.ea-v2 .ea-home-previa li.ea-home-previa__destaque {
    min-height: 76px;
    padding: 16px 64px 16px 12px; /* espaço à direita para a faixa */
    border-color: #ffad36;
    background: #3c2e4e;
}

body.ea-v2 .ea-home-previa__icone {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #dfd2ff;
    font-size: 18px;
}

body.ea-v2 .ea-home-previa__destaque .ea-home-previa__icone {
    background: rgba(255, 173, 54, .14);
    color: #ffad36;
}

body.ea-v2 .ea-home-previa strong,
body.ea-v2 .ea-home-previa small {
    display: block;
}

body.ea-v2 .ea-home-previa strong {
    color: #fff;
}

body.ea-v2 .ea-home-previa small {
    font-size: 12.5px;
    color: #e2d7ef;
}

body.ea-v2 .ea-home-previa__faixa {
    position: absolute;
    top: 13px;
    right: -26px;
    width: 105px;
    background: #ffad36;
    color: #211d43;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 19px;
    text-align: center;
    transform: rotate(45deg);
}

@media (max-width: 760px) {
    body.ea-v2 .ea-home-cadastro__grade {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    body.ea-v2 .ea-home .ea-home-cadastro h2,
    body.ea-v2 .ea-home .ea-home-cadastro p {
        margin-right: auto;
        margin-left: auto;
    }

    body.ea-v2 .ea-home-previa {
        justify-self: center;
        width: min(100%, 480px);
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ea-v2 .ea-home * {
        transition: none !important;
    }
}

/* busca do WordPress na abertura (sites sem a do Google: functions/busca.php), com o visual da caixa do Google acima */
body.ea-v2.home #banner #home_formulario_pesquisa #searchform.search-form fieldset {
    border: 0;
    border-radius: 13px;
    background: var(--ea-superficie);
    box-shadow: var(--ea-sombra);
}

body.ea-v2.home #banner #home_formulario_pesquisa #searchform.search-form fieldset:focus-within {
    outline-color: var(--ea-foco-sobre-cor);
}

body.ea-v2.home #banner #home_formulario_pesquisa #searchform.search-form input#s {
    height: 52px;
    font-size: 16px;
}

body.ea-v2.home #banner #home_formulario_pesquisa #searchform.search-form #search-image {
    width: auto;
    height: 40px;
    margin: 6px;
    padding: 0 var(--ea-esp-5);
    border-radius: 10px;
    font-size: 18px;
}

@media (max-width: 479px) {
    body.ea-v2.home #banner #home_formulario_pesquisa #searchform.search-form #search-image {
        padding: 0 var(--ea-esp-3);
    }
}
