/* Paleta e tokens de design */
:root {
    --bg-deep: #0f0f10;           /* grafite quase preto */
    --bg-card: #1a1a1d;
    --text-light: #ffffff;
    --text-dim: #bdbdbf;
    --text-dark: #1a1a1d;
    --accent: #c9a36b;            /* cobre-champanhe */
    --border-soft: rgba(255,255,255,0.08);
    --radius-card: 1.25rem;
    --shadow-card: 0 24px 60px rgba(0,0,0,0.6);
    --container-max: 1280px;
    --font-body: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.5;
}

/* Layout utilitário */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-header,
.footer-grid,
.cards-grid,
.equipe-grid,
.dif-grid,
.contato-grid,
.valores-grid,
.especialistas-inner,
.archive-grid,
.pilares-grid {
    display: grid;
    gap: 2rem;
}

/* HEADER */
.site-header {
    background-color: var(--bg-deep);
    color: var(--text-light);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
    position: relative;
}

.brand-link {
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-main {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: -0.03em;
}
.brand-sub {
    font-weight: 400;
    font-size: .8rem;
    color: var(--text-light);
    opacity: .8;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.nav-list a {
    text-decoration: none;
    color: var(--text-light);
    font-size: .9rem;
    font-weight: 500;
}
.nav-list a:hover { color: var(--accent); }

.cta-whatsapp {
    background-color: var(--accent);
    color: #1a1a1d;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    padding: .6rem .9rem;
    border-radius: var(--radius-card);
    box-shadow: 0 16px 40px rgba(201,163,107,.4);
    white-space: nowrap;
}
.cta-whatsapp:hover { filter: brightness(1.05); }

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: .5rem;
}
.mobile-menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    border-radius: 2px;
}

/* HERO */
.hero {
    background: radial-gradient(circle at 20% 20%, rgba(201,163,107,.15) 0%, rgba(15,15,16,0) 60%), var(--bg-deep);
    color: var(--text-light);
    padding: 4rem 0 3rem 0;
}
.hero-inner { display: grid; gap: 3rem; }
@media(min-width:900px){
    .hero-inner { grid-template-columns: minmax(0,1fr) 360px; align-items: start; }
}
.hero-headline {
    font-size: 2rem; font-weight: 600; line-height: 1.2; color: var(--text-light);
    letter-spacing: -0.04em; margin: 0 0 1rem 0;
}
@media(min-width:900px){ .hero-headline { font-size: 2.5rem; } }
.hero-sub { font-size: 1rem; color: var(--text-dim); max-width: 42ch; margin: 0 0 1.5rem 0; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }

.btn-primary {
    background-color: var(--accent); color: #1a1a1d; font-weight: 600; font-size: .9rem;
    padding: .8rem 1rem; border-radius: var(--radius-card); text-decoration: none;
    box-shadow: 0 16px 40px rgba(201,163,107,.4);
}
.btn-primary.small { font-size: .8rem; padding: .6rem .8rem; }
.btn-outline {
    background-color: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--text-light);
    font-weight: 500; font-size: .9rem; padding: .8rem 1rem; border-radius: var(--radius-card); text-decoration: none;
}
.btn-outline:hover { background-color: rgba(255,255,255,.07); border-color: rgba(255,255,255,.5); }

.hero-bullets { list-style: none; padding: 0; margin: 0; color: var(--text-dim); font-size: .9rem; line-height: 1.5; }
.hero-bullets li { margin-bottom: .4rem; position: relative; padding-left: 1.1rem; }
.hero-bullets li::before { content: "•"; color: var(--accent); position: absolute; left: 0; top: 0; line-height: 1.2; }

.hero-card { color: var(--text-light); }
.hero-card-inner {
    background-color: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-card);
    box-shadow: var(--shadow-card); padding: 1.5rem 1.5rem 1.25rem;
}
.hero-card-label {
    color: var(--accent); font-size: .8rem; font-weight: 600; text-transform: uppercase;
    margin: 0 0 .5rem 0; letter-spacing: .05em;
}
.hero-card-text { font-size: 1rem; font-weight: 500; color: var(--text-light); margin: 0 0 .75rem 0; line-height: 1.4; }
.hero-card-small { font-size: .85rem; color: var(--text-dim); line-height: 1.5; margin: 0; }

/* SEÇÕES GERAIS */
.section-title {
    font-size: 1.4rem; font-weight: 600; color: var(--text-dark); letter-spacing: -0.03em; margin: 0 0 .5rem 0;
}
.section-sub { font-size: 1rem; color: #555; margin: 0; max-width: 50ch; }
.section-link { align-self: end; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--accent); }
.section-link:hover { text-decoration: underline; }

/* Áreas de Atuação */
.areas-section { background-color: #fff; padding: 3rem 0; }
.cards-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); }
.card-area {
    background-color: #fafafa; border: 1px solid #eee; border-radius: var(--radius-card);
    box-shadow: 0 24px 60px rgba(0,0,0,.06); display: flex; flex-direction: column; overflow: hidden;
}
.card-thumb { width: 100%; max-height: 200px; overflow: hidden; background-color: #000; }
.card-img { width: 100%; height: auto; display: block; object-fit: cover; }
.card-body { padding: 1.25rem 1.25rem 1rem; }
.card-title {
    margin: 0 0 .5rem 0; font-size: 1rem; font-weight: 600; color: var(--text-dark); letter-spacing: -0.02em;
}
.card-text { margin: 0 0 1rem 0; font-size: .9rem; color: #444; line-height: 1.5; }
.card-more { font-size: .85rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.card-more:hover { text-decoration: underline; }

/* EQUIPE */
.equipe-section { background-color: #f4f4f5; padding: 3rem 0; }
.equipe-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); }
.card-equipe {
    background-color: #fff; border: 1px solid #e8e8e8; border-radius: var(--radius-card);
    box-shadow: 0 24px 60px rgba(0,0,0,.04); overflow: hidden; display: flex; flex-direction: column;
}
.equipe-thumb { width: 100%; max-height: 240px; overflow: hidden; background: #000; }
.equipe-img { width: 100%; height: auto; display: block; object-fit: cover; }
.equipe-body { padding: 1.25rem 1.25rem 1rem; }
.equipe-nome { margin: 0 0 .5rem 0; font-size: 1rem; font-weight: 600; color: var(--text-dark); letter-spacing: -0.02em; }
.equipe-bio { margin: 0 0 1rem 0; font-size: .9rem; color: #444; line-height: 1.5; }

/* DIFERENCIAIS */
.diferenciais-section { background-color: #fff; padding: 3rem 0; }
.dif-grid { grid-template-columns: 1fr; }
@media(min-width:900px){
    .dif-grid { grid-template-columns: minmax(0,1fr) 360px; align-items: start; }
}
.dif-text .section-title { color: var(--text-dark); margin-bottom: 1rem; }
.dif-list { list-style: none; padding: 0; margin: 0; }
.dif-list li { margin-bottom: 1.25rem; font-size: .95rem; color: #2a2a2a; line-height: 1.5; }
.dif-list strong { color: var(--text-dark); font-weight: 600; letter-spacing: -0.02em; }
.dif-card-inner {
    background-color: var(--bg-deep); border-radius: var(--radius-card); border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card); padding: 1.5rem; color: var(--text-light);
}
.dif-card-head {
    color: var(--accent); font-size: .8rem; font-weight: 600; text-transform: uppercase; margin: 0 0 .5rem; letter-spacing: .05em;
}
.dif-card-body { color: var(--text-light); font-size: .9rem; line-height: 1.5; margin: 0 0 1rem 0; }

/* NOSSOS PILARES — AGORA SEM BADGE */
.pilares-section { background-color: #fff; padding: 3rem 0; }
.pilares-grid {
    grid-template-columns: 1fr;
}
@media(min-width:900px){
    .pilares-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.pilar-card {
    background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
    border: 1px solid #ececec;
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(0,0,0,.06);
    padding: 1.25rem 1.25rem 1rem;
    overflow: hidden;
}
.pilar-head {
    margin: 0 0 .5rem 0;
    font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text-dark);
}
.pilar-body {
    margin: 0;
    font-size: .95rem; color: #2a2a2a; line-height: 1.55;
}

/* NOSSOS VALORES */
.valores-section { background-color: #fff; padding: 3rem 0; }
.valores-grid { display: grid; gap: 1.5rem; }
@media(min-width:700px){ .valores-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(min-width:1100px){ .valores-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.valor-card {
    background-color: #fafafa; border: 1px solid #eee; border-radius: var(--radius-card);
    box-shadow: 0 24px 60px rgba(0,0,0,.06); padding: 1.25rem 1.25rem 1rem;
}
.valor-head {
    margin: 0 0 .5rem 0; font-size: .9rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: .05em;
}
.valor-body { margin: 0; font-size: .9rem; color: #2a2a2a; line-height: 1.5; }

/* ESPECIALISTAS */
.especialistas-banner {
    background-color: var(--bg-deep); color: var(--text-light); padding: 3rem 0;
    border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
}
.especialistas-inner { display: grid; gap: 2rem; }
@media(min-width:900px){
    .especialistas-inner { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
}
.especialistas-title {
    margin: 0 0 .5rem 0; font-size: 1.4rem; font-weight: 600; color: var(--text-light); letter-spacing: -0.03em;
}
.especialistas-sub { margin: 0; font-size: .95rem; color: var(--text-dim); max-width: 50ch; line-height: 1.5; }
.especialistas-cta { display: flex; flex-direction: column; gap: .75rem; }
@media(min-width:600px){
    .especialistas-cta { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}

/* CONTATO + MAPA (novo responsivo) */
.contato-section { background-color: #f4f4f5; padding: 3rem 0; }
.contato-grid { grid-template-columns: 1fr; }
@media(min-width:900px){ .contato-grid { grid-template-columns: minmax(0,1fr) 360px; } }
.contato-info .section-title { margin-bottom: .5rem; }
.contato-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem 0; font-size: .95rem; color: #2a2a2a; line-height: 1.5; }
.contato-list a { color: var(--text-dark); text-decoration: none; font-weight: 500; }
.contato-list a:hover { color: var(--accent); }

.map-card {
    background-color: #fff;
    border-radius: var(--radius-card);
    border: 1px solid #ddd;
    box-shadow: 0 24px 60px rgba(0,0,0,.04);
    padding: 1.25rem;
    font-size: .9rem;
    color: #333;
    line-height: 1.4;
}
.mapa-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 .5rem 0;
}
.mapa-small {
    margin: 0 0 1rem 0;
    color: #444;
    font-size: .9rem;
    line-height: 1.4;
}

/* wrapper do mapa responsivo */
.map-embed {
    width: 100%;
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
}

/* iframe ocupa toda a largura do card e altura fixa controlada */
.map-embed iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
}

/* PAGE / POST / ARCHIVE */
.page-default, .post-default, .archive-default { padding: 3rem 0; }
.page-title, .post-title, .archive-title {
    font-size: 1.6rem; font-weight: 600; color: var(--text-dark); letter-spacing: -0.03em; margin: 0 0 1rem 0;
}
.page-content, .post-content { font-size: 1rem; color: #2a2a2a; line-height: 1.6; }
.post-meta { font-size: .8rem; color: #666; margin-bottom: 1rem; }
.post-thumb, .archive-thumb { margin-bottom: 1rem; }
.post-img, .archive-img { width: 100%; height: auto; border-radius: .75rem; }
.archive-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); }
.archive-card {
    background-color: #fff; border: 1px solid #e8e8e8; border-radius: var(--radius-card);
    box-shadow: 0 24px 60px rgba(0,0,0,.04); overflow: hidden; display: flex; flex-direction: column;
}
.archive-body { padding: 1.25rem 1.25rem 1rem; }
.archive-item-title { margin: 0 0 .5rem 0; font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text-dark); }
.archive-item-title a { color: inherit; text-decoration: none; }
.archive-item-title a:hover { color: var(--accent); }
.archive-text { font-size: .9rem; color: #444; line-height: 1.5; margin: 0 0 1rem 0; }

/* FOOTER */
.site-footer {
    background-color: var(--bg-deep);
    color: var(--text-light);
    padding-top: 3rem;
    border-top: 1px solid var(--border-soft);
    margin-top: 3rem;
    font-size: .9rem;
    line-height: 1.5;
}
.footer-grid {
    grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr));
    gap: 2rem;
}
.footer-brand { margin-bottom: .75rem; }
.footer-name {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.03em;
}
.footer-note { color: var(--text-dim); font-size: .8rem; }
.footer-desc {
    color: var(--text-dim);
    margin: 0;
    font-size: .9rem;
    max-width: 42ch;
}

.footer-title {
    color: var(--text-light);
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 .75rem 0;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-dim);
}
.footer-list li {
    margin-bottom: .75rem;
}
.footer-list strong {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    margin-top: 2rem;
    padding: 1rem 0 2rem 0;
    color: var(--text-dim);
    font-size: .75rem;
}
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
@media(min-width:700px){
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* RESPONSIVIDADE MENU MOBILE */
@media(max-width:900px){
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--bg-deep);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem;
        gap: 1rem;
        min-width: 240px;
        display: none;
    }
    .main-nav.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .nav-list { flex-direction: column; gap: .75rem; }
    .cta-whatsapp { width: 100%; text-align: center; }
}

/* ===== PERFIL DO PROFISSIONAL (single-equipe) ===== */

/* container da imagem destacada do advogado */
body.single-equipe .post-thumb,
body.single-equipe .archive-thumb,
body.single-equipe .equipe-thumb {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* própria imagem destacada (foto do advogado) */
body.single-equipe .post-thumb img,
body.single-equipe .archive-thumb img,
body.single-equipe .equipe-thumb img,
body.single-equipe .post-img,
body.single-equipe .equipe-img {
    max-width: 300px;  /* era 220px */
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* título do profissional */
body.single-equipe .post-title,
body.single-equipe .page-title {
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: .5rem;
}

/* meta/linhazinha abaixo do nome, se existir */
body.single-equipe .post-meta {
    text-align: center;
    color: #777;
    font-size: .8rem;
    margin-bottom: 2rem;
}

/* texto/bio do profissional */
body.single-equipe .post-content,
body.single-equipe .page-content {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.6;
    color: #2a2a2a;
}
