.comments-area a,
.page-content a {
    text-decoration: underline
}

.alignright {
    float: right;
    margin-left: 1rem
}

.alignleft {
    float: left;
    margin-right: 1rem
}

.aligncenter {
    clear: both;
    display: block;
    margin-inline: auto
}

.alignwide {
    margin-inline: -80px
}

.alignfull {
    margin-inline: calc(50% - 50vw);
    max-width: 100vw
}

.alignfull,
.alignfull img {
    width: 100vw
}

.wp-caption {
    margin-block-end: 1.25rem;
    max-width: 100%
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px
}

.wp-caption img {
    display: block;
    margin-inline: auto
}

.wp-caption-text {
    margin: 0
}

.gallery-caption {
    display: block;
    font-size: .8125rem;
    line-height: 1.5;
    margin: 0;
    padding: .75rem
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin: 20px auto
}

.sticky {
    display: block;
    position: relative
}

.bypostauthor {
    font-size: inherit
}

.hide {
    display: none !important
}

.post-password-form {
    margin: 50px auto;
    max-width: 500px
}

.post-password-form p {
    align-items: flex-end;
    display: flex;
    width: 100%
}

.post-password-form [type=submit] {
    margin-inline-start: 3px
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #333;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 12px 24px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

.post .entry-title a {
    text-decoration: none
}

.post .wp-post-image {
    max-height: 500px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

@media(max-width:991px) {
    .post .wp-post-image {
        max-height: 400px
    }
}

@media(max-width:575px) {
    .post .wp-post-image {
        max-height: 300px
    }
}

#comments .comment-list {
    font-size: .9em;
    list-style: none;
    margin: 0;
    padding: 0
}

#comments .comment,
#comments .pingback {
    position: relative
}

#comments .comment .comment-body,
#comments .pingback .comment-body {
    border-block-end: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    padding-block-end: 30px;
    padding-block-start: 30px;
    padding-inline-end: 0;
    padding-inline-start: 60px
}

#comments .comment .avatar,
#comments .pingback .avatar {
    border-radius: 50%;
    left: 0;
    margin-inline-end: 10px;
    position: absolute
}

body.rtl #comments .comment .avatar,
body.rtl #comments .pingback .avatar,
html[dir=rtl] #comments .comment .avatar,
html[dir=rtl] #comments .pingback .avatar {
    left: auto;
    right: 0
}

#comments .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-block-end: .9rem
}

#comments .comment-metadata,
#comments .reply {
    font-size: 11px;
    line-height: 1
}

#comments .children {
    list-style: none;
    margin: 0;
    padding-inline-start: 30px;
    position: relative
}

#comments .children li:last-child {
    padding-block-end: 0
}

#comments ol.comment-list .children:before {
    content: "↪";
    display: inline-block;
    font-size: 1em;
    font-weight: 400;
    left: 0;
    line-height: 100%;
    position: absolute;
    top: 45px;
    width: auto
}

body.rtl #comments ol.comment-list .children:before,
html[dir=rtl] #comments ol.comment-list .children:before {
    content: "↩";
    left: auto;
    right: 0
}

@media(min-width:768px) {

    #comments .comment-author,
    #comments .comment-metadata {
        line-height: 1
    }
}

@media(max-width:767px) {
    #comments .comment .comment-body {
        padding: 30px 0
    }

    #comments .children {
        padding-inline-start: 20px
    }

    #comments .comment .avatar {
        float: left;
        position: inherit
    }

    body.rtl #comments .comment .avatar,
    html[dir=rtl] #comments .comment .avatar {
        float: right
    }
}

.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*=elementor-page-]) .site-main {
    margin-inline-end: auto;
    margin-inline-start: auto;
    width: 100%
}

@media(max-width:575px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        padding-inline-end: 10px;
        padding-inline-start: 10px
    }
}

@media(min-width:576px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 500px
    }

    .site-footer.footer-full-width .footer-inner,
    .site-header.header-full-width .header-inner {
        max-width: 100%
    }
}

@media(min-width:768px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 600px
    }

    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%
    }
}

@media(min-width:992px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 800px
    }

    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%
    }
}

@media(min-width:1200px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 1140px
    }

    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%
    }
}

.site-header+.elementor {
    min-height: calc(100vh - 320px)
}


/*
Theme Name: Real Estate Brothers
Author: Virtual Plus
Author URI: https://virtualplus.pt
Description: 
Tema personalizado desenvolvido para utilização com Elementor.
Inclui blocos prontos (Hero, CTA, Decisão) que podem ser inseridos através do Elementor → Meus Modelos.
Não requer programação para edição de conteúdo.

# Version: 1.0
# Requires at least: 6.0
# Tested up to: 6.4
# Requires PHP: 8.0

*/

/* --- VARIÁVEIS & RESET (REB) --- */
:root {
    /* Palette Stricta */
    --bg: #000000;
    --panel: #0a0a0a;
    --panel-border: #333333;

    --text-main: #FFFFFF;
    --text-muted: #9ca3af;
    /* Cinza médio para leitura */
    --text-dim: #4b5563;
    /* Cinza escuro para detalhes */

    --brand-yellow: #FFFF00;

    /* Functional Mappings */
    --primary: #FFFF00;
    --primary-dim: rgba(255, 255, 0, 0.15);

    /* Spacing & Layout */
    --max-width: 1160px;
    --header-height: 72px;
    --radius-sm: 8px;
    --radius-md: 16px;

    /* Effects */
    --shadow-soft: 0 10px 40px -10px rgba(255, 255, 0, 0.05);
    --glow: 0 0 25px rgba(255, 255, 0, 0.15);
}

* {
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: black;
    /* Grelha subtil */
    background-image:
        linear-gradient(#111 1px, transparent 1px),
        linear-gradient(90deg, #111 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Vinheta */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 20%, #000 100%);
    z-index: -1;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    color: #fff;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1.05 !important;
    margin: 0 0 1rem;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem) !important;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
}

h3 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: normal;
    margin: 0 0 1.5rem;
}


.lead1 {
    /* color:#fff;
    font-size: 1.25rem; */
    margin-bottom: 2.5rem;
    max-width: 60ch;
    opacity: 0.9;
}

.lead1 p {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 !important;
}

.lead2 {
    margin-top: -1.2rem;
    margin-bottom: 2.5rem;
    max-width: 50ch;
}

.lead2 p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s;
}

.eyebrow p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--brand-yellow);
    padding-bottom: 4px;
}

/* --- LAYOUT UTILS --- */
.container {
    max-width: 1160px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    position: relative !important;
    z-index: 1 !important;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section--tight {
    padding: 80px 0;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* --- COMPONENTS: CARDS --- */
.card {
    background: #111;
    padding: 32px;
    border-radius: 16px;
}

.card--highlight {
    background: #0f0f0f;
}

.border-yellow {
    border: 1px solid var(--brand-yellow);
}

.card-list li {
    border-bottom: 1px solid #222;
    padding: 8px 0;
}

.card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 32px;
    /* Ajuste de transição: mais suave e premium */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-yellow);
    box-shadow: var(--shadow-soft);
}

.card--highlight {
    background: #0f0f0f;
}

.card--no-hover:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--panel-border);
}

/* --- COMPONENTS: BUTTONS --- */
.btn {
    align-items: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    font-size: 1rem;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    /* AJUSTE PREMIUM: Transição mais lenta e orgânica (0.4s) */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

.btn--primary {
    background: var(--brand-yellow) !important;
    color: #000 !important;
    border-color: var(--brand-yellow) !important;
}

.btn--primary:hover {
    background: #e6e600 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 25px rgba(255, 255, 0, 0.3) !important;
}


.btn--ghost {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid #333 !important;
}

.btn--ghost:hover {
    border-color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
}

.btn--outline-yellow {
    background: transparent;
    color: var(--brand-yellow);
    border: 1px solid rgba(255, 255, 0, 0.3);
}

.btn--outline-yellow:hover {
    border-color: var(--brand-yellow);
    background: rgba(255, 255, 0, 0.05);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--panel-border);
    height: var(--header-height);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo-square {
    width: 28px;
    height: 28px;
    background: var(--brand-yellow);
    border-radius: 4px;
}

.menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.menu a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--brand-yellow);
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* --- HERO --- */
.hero {
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 255, 0, 0.08) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--panel-border);
    background: #0a0a0a;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.5;
}

.trust-row {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 24px;
}

.stat {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: center;
}

.stat b {
    color: #fff;
    font-size: 1.1rem;
}

/* --- PILLARS --- */
.pillar-icon {
    width: 54px !important;
    height: 54px !important;
    border: 1px solid var(--panel-border);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-yellow) !important;
    border-radius: 8px;
}

.pillar-icon svg {
    fill: none !important;
}

.card:hover .pillar-icon {
    border-color: var(--brand-yellow);
    background: rgba(255, 255, 0, 0.05);
}

/* --- CASE STUDY (NEW) --- */
.case-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--panel);
}

.case-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-visual {
    background: #111;
    position: relative;
    min-height: 300px;
}

.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.7;
}

.case-stat {
    margin-top: 8px;
}

.case-stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.case-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- CTA FINAL --- */
.cta-box {
    border: 1px solid var(--brand-yellow);
    background: radial-gradient(circle at center, rgba(255, 255, 0, 0.05), #000);
    padding: 80px 20px;
    text-align: center;
    border-radius: var(--radius-md);
}

/* Footer */
footer {
    border-top: 1px solid var(--panel-border);
    padding: 80px 0 40px;
    background: #000;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links a:hover {
    color: var(--brand-yellow);
    text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {

    .hero-split,
    .grid-2,
    .grid-4,
    .case-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    h1 {
        font-size: 2.8rem;
    }

    .menu,
    .header-actions {
        display: none;
    }

    .case-visual {
        min-height: 250px;
        order: -1;
    }

    /* Imagem primeiro no mobile */
}

.text-yellow {
    color: var(--brand-yellow);
}

.border-yellow {
    border-color: var(--brand-yellow) !important;
}

.elementor-icon-list-item {
    line-height: normal !important;
}

.custom-logo {
    height: 60px;
    width: 60px;
}

/* Pillars */
.pillar-card { 
    position: relative; overflow: hidden; 
    border-top: 4px solid transparent; transition: border-color 0.3s;
}
.pillar-card:hover { border-top-color: var(--brand-yellow); }
.pillar-num { 
    font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.03); 
    position: absolute; bottom: -10px; right: 10px; line-height: 1; pointer-events: none;
}
.card:hover .pillar-num { color: rgba(255,255,0,0.08); }