/* Visual do site novo aplicado ao blog (WordPress). Só vale com body.af-visual-novo (mu-plugin af-visual-novo.php). */
body.af-visual-novo{
  --papel:#F2EEE7;--grafite:#151412;--ouro:#DEA500;--ouro-escuro:#8A6412;--branco:#FFFFFF;--linha:#DCD5C7;
  --texto-2:rgba(21,20,18,.74);--escuro-2:rgba(242,238,231,.74);--escuro-linha:rgba(242,238,231,.16);
  --fonte:Georgia,"Times New Roman",serif;
  background:var(--papel)!important;font-family:var(--fonte)!important;color:var(--grafite);
}
body.af-visual-novo .site-content,body.af-visual-novo #primary,body.af-visual-novo .ast-container,body.af-visual-novo .ast-article-single,
body.af-visual-novo .ast-separate-container .ast-article-single{background:transparent!important}

/* sai o que era do site antigo */
body.af-visual-novo #masthead,body.af-visual-novo .ast-mobile-header-wrap,body.af-visual-novo #colophon,
body.af-visual-novo .elementor-987,body.af-visual-novo .af-whatsapp-float{display:none!important}
body.af-visual-novo.ast-theme-transparent-header .site-content,body.af-visual-novo .site-content{padding-top:0!important}

/* ===== cabeçalho e rodapé do site novo (escopo .afn) ===== */
.afn *,.afn *::before,.afn *::after{box-sizing:border-box}
.afn{font-family:var(--fonte);color:var(--grafite);line-height:1.6}
.afn p,.afn ul,.afn h2,.afn h3{margin:0;padding:0}
.afn img,.afn svg{display:block;max-width:100%}
.afn a{color:inherit}
.afn .wrap{max-width:1160px;margin:0 auto;padding:0 32px}
#afn-topo{position:sticky;top:0;z-index:999}
.admin-bar #afn-topo{top:32px}
.afn .topo{background:var(--papel);border-bottom:1px solid var(--linha)}
.afn .topo .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;height:76px}
.afn .marca{display:block;width:150px;flex:none}
.afn .marca svg{width:100%;height:auto}
.afn .menu{display:flex;align-items:center;gap:26px;font-size:15px}
.afn .menu a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;color:var(--grafite)}
.afn .menu a[aria-current="page"]{border-bottom-color:var(--ouro)}
.afn .menu a:hover{border-bottom-color:var(--linha)}
.afn .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:var(--fonte);font-size:16px;font-weight:700;text-decoration:none;padding:15px 26px;border-radius:2px;border:1px solid var(--grafite);background:var(--grafite);color:var(--papel)!important;cursor:pointer}
.afn .menu .btn{padding:11px 18px;font-size:15px;border-bottom:1px solid var(--grafite)}
.afn .abre-menu{display:none;background:none;border:1px solid var(--grafite);width:42px;height:42px;align-items:center;justify-content:center;cursor:pointer;color:var(--grafite);padding:0;border-radius:0}
.afn .abre-menu svg{width:20px;height:20px}
.afn .faixa-recife{position:relative;display:flex;align-items:center;justify-content:center;padding:130px 24px;background:url("/af/img/riomar.webp") 78% 18%/cover;border-bottom:2px solid var(--ouro)}
.afn .faixa-recife::before{content:"";position:absolute;inset:0;background:rgba(242,238,231,.18)}
.afn .faixa-recife .btn{position:relative;background:var(--ouro);border-color:var(--ouro);color:var(--grafite)!important}
.afn .rodape{text-align:center;font-size:15px;background:var(--papel);color:var(--texto-2);border-top:1px solid var(--linha)}
.afn .rodape .wrap{padding-top:72px;padding-bottom:48px}
.afn .logo-rodape{width:300px;height:auto;margin:0 auto}
.afn .icones{list-style:none;display:flex;justify-content:center;gap:18px;margin:44px 0 40px}
.afn .icones a{display:block;color:var(--ouro-escuro)}
.afn .icones svg{width:26px;height:26px}
.afn .rodape .fim{border-top:1px solid var(--linha);padding-top:24px;max-width:1000px;margin:0 auto;line-height:1.9}
.afn .rodape .fim p:first-child{color:var(--grafite)}
.afn .rodape .fim a{color:var(--ouro-escuro);text-decoration:none}
.afn .barra-cel{display:none}
@media (max-width:980px){
  .afn .menu a:not(.btn){display:none}
  .afn .abre-menu{display:inline-flex}
  .afn .menu.aberto{display:flex;position:absolute;top:76px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:var(--papel);border-bottom:1px solid var(--linha);padding:8px 24px 24px}
  .afn .menu.aberto a:not(.btn){display:block;padding:14px 0;border-bottom:1px solid var(--linha);font-size:17px}
  .afn .menu.aberto .btn{margin-top:16px}
}
@media (max-width:782px){.admin-bar #afn-topo{top:46px}}
@media (max-width:640px){
  .afn .wrap{padding:0 20px}
  .afn .marca{width:128px}
  .afn .menu>.btn{display:none}
  .afn .menu.aberto>.btn{display:inline-flex}
  .afn .faixa-recife{padding:90px 20px}
  .afn .logo-rodape{width:230px}
  .afn .barra-cel{display:block;position:fixed;left:0;right:0;bottom:0;z-index:998;background:var(--grafite);border-top:2px solid var(--ouro)}
  .afn .barra-cel a{display:block;text-align:center;color:var(--papel);text-decoration:none;font-size:16px;font-weight:700;padding:14px}
  body.af-visual-novo{padding-bottom:52px}
}

/* ===== artigo ===== */
body.af-visual-novo .af-post-hero{background:var(--papel)!important;background-image:none!important;border-bottom:1px solid var(--linha)!important;padding-top:72px!important;padding-bottom:40px!important}
body.af-visual-novo .af-post-hero__title{color:var(--grafite)!important;font-family:var(--fonte)!important;font-weight:400!important;letter-spacing:-.005em}
body.af-visual-novo .af-post-hero__title::after{content:"";display:block;width:56px;height:2px;background:var(--ouro);margin-top:22px}
body.af-visual-novo .af-post-hero__tag{color:var(--ouro-escuro)!important;font-weight:400!important;letter-spacing:.24em!important}
body.af-visual-novo .af-post-hero__crumb,body.af-visual-novo .af-post-hero__crumb a,body.af-visual-novo .af-post-hero__meta{color:var(--texto-2)!important}
body.af-visual-novo .af-post-hero__crumb a:hover{color:var(--grafite)!important}
body.af-visual-novo .af-post-hero__sep{color:var(--ouro)!important}
body.af-visual-novo .entry-content,body.af-visual-novo .entry-content p,body.af-visual-novo .entry-content li{font-family:var(--fonte)!important;font-size:18px;line-height:1.7;color:var(--grafite)}
body.af-visual-novo .entry-content h2,body.af-visual-novo .entry-content h3,body.af-visual-novo .entry-content h4{font-family:var(--fonte)!important;font-weight:400!important;color:var(--grafite)!important;letter-spacing:-.005em}
body.af-visual-novo .entry-content h2::after{content:"";display:block;width:56px;height:2px;background:var(--ouro);margin-top:14px}
body.af-visual-novo .entry-content a{color:var(--ouro-escuro);text-decoration:underline;text-decoration-color:var(--ouro);text-underline-offset:4px}
body.af-visual-novo .entry-content blockquote{border-left:3px solid var(--ouro);background:var(--branco);padding:18px 22px;font-style:normal}
body.af-visual-novo .entry-content strong{color:var(--grafite)}
body.af-visual-novo .comments-area,body.af-visual-novo .comment-respond{font-family:var(--fonte)}
body.af-visual-novo .comment-reply-title{font-family:var(--fonte)!important;font-weight:400!important}
body.af-visual-novo .comment-form input[type=submit],body.af-visual-novo .comment-form .submit{background:var(--grafite)!important;color:var(--papel)!important;border:0!important;border-radius:2px!important;font-family:var(--fonte)!important;text-transform:none!important;letter-spacing:0!important;padding:14px 24px!important}

/* cartões "continue lendo", trilho e chips de área */
body.af-visual-novo .af-related__title,body.af-visual-novo .af-areas-inline__title,body.af-visual-novo .af-areas-rail__title{color:var(--ouro-escuro)!important;font-weight:400!important;letter-spacing:.24em!important;font-family:var(--fonte)!important}
body.af-visual-novo .af-related__item{border-radius:8px!important;border-left:3px solid var(--ouro)!important}
body.af-visual-novo .af-related__cat{color:var(--ouro-escuro)!important;font-weight:400!important;letter-spacing:.2em!important}
body.af-visual-novo .af-related__t{font-family:var(--fonte)!important;font-weight:400!important;font-size:17px!important;color:var(--grafite)!important}
body.af-visual-novo .af-areas-rail{font-family:var(--fonte);border-radius:4px!important;box-shadow:none!important;border:1px solid var(--linha)!important;top:120px!important}
body.af-visual-novo .af-areas-rail a:hover{color:var(--grafite)!important;background:rgba(222,165,0,.08)!important}
body.af-visual-novo .af-chip{font-family:var(--fonte);background:var(--branco)}
body.af-visual-novo .af-chip.is-active{background:var(--grafite)!important;border-color:var(--grafite)!important}

/* arquivo do blog e das categorias (template Elementor 1458) */
body.af-visual-novo .elementor-location-archive{background:transparent}
body.af-visual-novo .elementor-location-archive h1,body.af-visual-novo .elementor-location-archive h2,body.af-visual-novo .elementor-location-archive .elementor-heading-title{font-family:var(--fonte)!important;font-weight:400!important;color:var(--grafite)!important}
body.af-visual-novo .elementor-post__card{background:var(--branco)!important;border:1px solid var(--linha)!important;border-left:3px solid var(--ouro)!important;border-radius:8px!important;box-shadow:none!important}
body.af-visual-novo .elementor-post__title,body.af-visual-novo .elementor-post__title a{font-family:var(--fonte)!important;font-weight:400!important;color:var(--grafite)!important}
body.af-visual-novo .elementor-post__excerpt p,body.af-visual-novo .elementor-post__meta-data,body.af-visual-novo .elementor-post__text{font-family:var(--fonte)!important;color:var(--texto-2)!important}
body.af-visual-novo .elementor-post__read-more{font-family:var(--fonte)!important;color:var(--grafite)!important;font-weight:700!important;text-transform:none!important;border-bottom:2px solid var(--ouro)}
body.af-visual-novo .elementor-post__badge{background:var(--grafite)!important;font-family:var(--fonte)!important;font-weight:400!important;letter-spacing:.14em}
body.af-visual-novo .elementor-pagination a,body.af-visual-novo .elementor-pagination span{font-family:var(--fonte)}

/* listagem do blog e categorias: título no papel, grade em branco, faixa grafite antes da foto (01/10) */
body.af-visual-novo .elementor-1458 .elementor-element-6865291{border-bottom:1px solid var(--linha);padding-bottom:40px}
body.af-visual-novo .elementor-1458 .elementor-element-058315b{background:var(--branco)!important;padding-top:72px!important;padding-bottom:88px!important}
body.af-visual-novo .elementor-1458 .elementor-element-058315b .elementor-post__card{background:var(--papel)!important}
body.af-visual-novo .elementor-1458 .elementor-element-058315b .elementor-widget-wrap{box-shadow:none!important}
.afn .afn-fecho{background:var(--grafite);color:var(--papel);padding:112px 0}
.afn .afn-fecho .wrap{max-width:1160px}
.afn .afn-fecho .etiqueta{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--ouro)}
.afn .afn-fecho h2{font-family:var(--fonte);font-weight:400;font-size:clamp(28px,3.4vw,38px);line-height:1.2;margin-top:14px;color:var(--papel)}
.afn .afn-fecho h2::after{content:"";display:block;width:56px;height:2px;background:var(--ouro);margin-top:20px}
.afn .afn-fecho .lead{color:rgba(242,238,231,.74);font-size:18px;max-width:62ch}
.afn .afn-fecho .btn{background:var(--ouro);border-color:var(--ouro);color:var(--grafite)!important}
.afn .afn-fecho .btn svg{width:20px;height:20px}
@media (max-width:640px){.afn .afn-fecho{padding:80px 0}}

/* Georgia em tudo, sem tocar nos ícones */
body.af-visual-novo .afn,body.af-visual-novo .afn *:not(svg):not(path){font-family:var(--fonte)!important}
body.af-visual-novo #content *:not(i):not(svg):not(path):not(.fa):not([class^="eicon"]):not([class*=" eicon"]):not([class*="dashicons"]):not([class*="fa-"]){font-family:var(--fonte)!important}
body.af-visual-novo .elementor-location-archive .elementor-heading-title{letter-spacing:-.005em;text-transform:none!important}

/* ===== páginas do escritório no WordPress (simuladores, newsletter, privacidade, obrigado) ===== */
body.af-visual-novo.page .entry-header .entry-title,body.af-visual-novo.page h1.entry-title{font-family:var(--fonte)!important;font-weight:400!important;color:var(--grafite)!important;text-transform:none!important;letter-spacing:-.005em}
body.af-visual-novo.page .entry-header .entry-title::after{content:"";display:block;width:56px;height:2px;background:var(--ouro);margin-top:18px}
body.af-visual-novo.page .entry-content h1,body.af-visual-novo.page .entry-content h2,body.af-visual-novo.page .entry-content h3{text-transform:none!important}
body.af-visual-novo.page .site-content>.ast-container{padding-top:48px;padding-bottom:64px}
/* obrigado (Elementor 110): sai o rodapé azul antigo, o fundo e o título seguem a home */
body.af-visual-novo .elementor-110 .elementor-element-481c67c{display:none!important}
body.af-visual-novo .elementor-110 .elementor-element-e6e21d7{background:var(--papel)!important}
body.af-visual-novo .elementor-110 h2{font-family:var(--fonte)!important;font-weight:400!important;color:var(--grafite)!important}
body.af-visual-novo .elementor-110 h2::after{content:"";display:block;width:56px;height:2px;background:var(--ouro);margin:18px auto 0}
body.af-visual-novo .elementor-110 .elementor-widget-image{display:none!important}
body.af-visual-novo .elementor-110 .elementor-inner-column:has(.elementor-widget-image){display:none!important}
body.af-visual-novo .elementor-110 .elementor-inner-column:not(:has(.elementor-widget-image)){width:100%!important;max-width:100%!important}
body.af-visual-novo .elementor-110 .elementor-widget-heading,body.af-visual-novo .elementor-110 .elementor-widget-text-editor{text-align:center}
body.af-visual-novo .elementor-110 .e-con,body.af-visual-novo .elementor-110 .elementor-column{justify-content:center}
/* nos simuladores o título já vem dentro do bloco grafite */
body.af-visual-novo.page-id-4554 .entry-header,body.af-visual-novo.page-id-4665 .entry-header{display:none!important}
body.af-visual-novo .elementor-110 p,body.af-visual-novo .elementor-110 .elementor-widget-text-editor{color:var(--texto-2)!important}
/* títulos das páginas em caixa normal, como na home */
body.af-visual-novo.page .entry-content h1,body.af-visual-novo.page .entry-content .elementor-heading-title{text-transform:none!important;font-weight:400!important;color:var(--grafite)!important}
/* os simuladores viram um bloco grafite, como a seção de avaliações da home */
body.af-visual-novo #af-calc,body.af-visual-novo #af-rt{
  --preto:#151412;--dourado:#DEA500;--dourado-soft:rgba(222,165,0,.14);
  --cinza:rgba(242,238,231,.62);--cinza-claro:rgba(242,238,231,.80);--bg:#151412;--card:#1D1B18;--card-2:#26231F;
  --linha:rgba(242,238,231,.16);--branco:#F2EEE7;--sombra:0 8px 30px rgba(0,0,0,.25);
  font-family:Georgia,"Times New Roman",serif!important;border-top:2px solid var(--ouro)}
body.af-visual-novo #af-calc *,body.af-visual-novo #af-rt *{font-family:Georgia,"Times New Roman",serif!important}
body.af-visual-novo #af-calc .afc-head,body.af-visual-novo #af-rt .head{background:#151412!important}
body.af-visual-novo #af-calc .brand .af-logo,body.af-visual-novo #af-rt .af-logo{display:none!important}
body.af-visual-novo #af-calc h1,body.af-visual-novo #af-rt h1{font-weight:400!important;letter-spacing:-.005em}
body.af-visual-novo #af-calc .saveband,body.af-visual-novo #af-rt .band,body.af-visual-novo #af-rt .cta,body.af-visual-novo #af-calc .cta,
body.af-visual-novo #af-rt .alert.warn,body.af-visual-novo #af-calc .insight{background:#1F1B12!important}
body.af-visual-novo #af-calc .saveband.ok{background:#15201A!important}
body.af-visual-novo #af-rt .premissa{background:#1D1B18!important}
body.af-visual-novo #af-calc .btn,body.af-visual-novo #af-rt .btn,body.af-visual-novo #af-calc .cta a.primary,body.af-visual-novo #af-rt .cta a.primary{border-radius:2px!important;color:#151412!important}
body.af-visual-novo #af-rt input,body.af-visual-novo #af-rt select{background-color:#1D1B18!important}
/* dentro do simulador, os títulos não seguem a regra de título do artigo */
body.af-visual-novo #af-calc h1,body.af-visual-novo #af-calc h2,body.af-visual-novo #af-calc h3,body.af-visual-novo #af-calc h4,
body.af-visual-novo #af-rt h1,body.af-visual-novo #af-rt h2,body.af-visual-novo #af-rt h3,body.af-visual-novo #af-rt h4{color:var(--branco)!important}
body.af-visual-novo #af-calc h2::after,body.af-visual-novo #af-rt h2::after{content:none!important;display:none!important}
body.af-visual-novo #af-calc p,body.af-visual-novo #af-calc li,body.af-visual-novo #af-rt p,body.af-visual-novo #af-rt li{color:inherit;font-size:inherit;line-height:inherit}
body.af-visual-novo #af-calc a,body.af-visual-novo #af-rt a{text-decoration:none}

/* restos do cabeçalho escuro antigo, em branco sobre o bege */
body.af-visual-novo.single-post .entry-header .entry-meta,body.af-visual-novo.single-post .ast-single-post-order .entry-meta{display:none!important}
body.af-visual-novo .post-navigation a,body.af-visual-novo .post-navigation .ast-post-nav,body.af-visual-novo .navigation .nav-links a{color:var(--texto-2)!important}
body.af-visual-novo .post-navigation a:hover{color:var(--grafite)!important}
