/* ============================================================
   Bruna Gomes Advocacia — Sistema visual
   Cores da marca: dourado #C4A978 · verde petróleo #0a383e
   Fontes: Georgia (títulos) · Montserrat (texto)
   ============================================================ */

:root {
    --teal-900: #0a383e;
    --teal-700: #12525a;
    --teal-100: #e6edee;
    --gold-500: #c4a978;
    --gold-300: #ddc7a0;
    --gold-100: #f3ead9;
    --cream: #faf6ef;
    --cream-deep: #f1e9db;
    --ink: #24312f;
    --ink-soft: #55635f;
    --white: #ffffff;
    --border: #e5dcc9;

    --font-display: Georgia, 'Times New Roman', serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-lg: 28px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-soft: 0 20px 60px -25px rgba(10, 56, 62, 0.35);
    --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--teal-900);
    line-height: 1.15;
    margin: 0 0 0.5em;
    font-weight: 400;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-500);
    font-weight: 600;
}
.eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold-500);
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
    background: var(--gold-500);
    color: var(--teal-900);
}
.btn-gold:hover { background: var(--gold-300); box-shadow: var(--shadow-soft); }

.btn-outline {
    border-color: rgba(250,246,239,0.5);
    color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-outline-dark {
    border-color: var(--teal-900);
    color: var(--teal-900);
}
.btn-outline-dark:hover { background: var(--teal-900); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 246, 239, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand img.mark { width: 34px; height: 34px; }
.brand .word {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--teal-900);
    letter-spacing: 0.01em;
    line-height: 1.1;
}
.brand .word small {
    display: block;
    font-weight: 500;
    font-size: 0.6rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a.nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
}
.main-nav a.nav-link.active,
.main-nav a.nav-link:hover { color: var(--teal-900); }
.main-nav a.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--gold-500);
    border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--teal-900);
    margin: 5px 0;
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    background: var(--teal-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero .inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
    padding: 72px 24px 0;
}
.hero-copy .eyebrow { color: var(--gold-300); }
.hero-copy .eyebrow::before { background: var(--gold-300); }
.hero h1 { color: var(--white); margin-top: 14px; }
.hero h1 em { color: var(--gold-300); font-style: normal; }
.hero-copy p.lead {
    color: rgba(250,246,239,0.82);
    font-size: 1.08rem;
    max-width: 480px;
    margin-top: 18px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-credential {
    margin-top: 40px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-credential div strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-300);
}
.hero-credential div span {
    font-size: 0.78rem;
    color: rgba(250,246,239,0.7);
}

.hero-figure {
    position: relative;
    align-self: end;
    display: flex;
    justify-content: center;
}
.hero-figure .arch {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3/4.1;
    overflow: hidden;
    border-radius: 190px 190px 12px 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.15);
}
.hero-figure .arch img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-figure .ring {
    position: absolute;
    top: -26px; right: 6px;
    width: 92px; height: 92px;
    border: 1.5px solid var(--gold-300);
    border-radius: 50%;
    opacity: 0.55;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-top: 12px; }
.section-head p { font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }

.bg-cream-deep { background: var(--cream-deep); }
.bg-teal { background: var(--teal-900); color: var(--white); }
.bg-teal h2, .bg-teal h3 { color: var(--white); }
.bg-teal p { color: rgba(250,246,239,0.78); }

/* Split intro (Consultoria / Atuação) */
.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.split-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
}
.split-card .num {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold-500);
    letter-spacing: 0.08em;
}
.split-card h3 { margin-top: 10px; }

/* Areas grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.area-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    border: 1px solid var(--border);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--gold-300);
}
.area-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--gold-100);
    display: flex; align-items: center; justify-content: center;
    color: var(--teal-900);
}
.area-icon svg { width: 22px; height: 22px; }
.area-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.area-card p { font-size: 0.92rem; margin-bottom: 0; }
.area-card .link { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--teal-900); }
.area-card .link::after { content: ' →'; color: var(--gold-500); }

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}
.about-figure { position: relative; }
.about-figure img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.about-figure .badge {
    position: absolute;
    bottom: -18px; left: -18px;
    background: var(--gold-500);
    color: var(--teal-900);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.85rem;
    box-shadow: var(--shadow-soft);
}
.about-figure .badge strong { display: block; font-size: 1.3rem; }

.credential-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.credential-list li {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 0.95rem; color: var(--ink);
}
.credential-list li::before {
    content: '';
    flex: none;
    width: 8px; height: 8px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--gold-500);
}

/* Blog */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.post-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-deep); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb.placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-500);
}
.post-card .thumb.placeholder svg { width: 44px; height: 44px; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .date { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; }
.post-card h3 { font-size: 1.15rem; margin: 0; }
.post-card p { font-size: 0.92rem; flex: 1; }
.post-card .read-more { font-size: 0.85rem; font-weight: 700; color: var(--teal-900); }
.post-card .read-more::after { content: ' →'; color: var(--gold-500); }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-md);
    color: var(--ink-soft);
}

/* Single post */
.post-header { max-width: 760px; margin: 0 auto; text-align: center; }
.post-header .date { color: var(--gold-500); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.post-cover { max-width: 920px; margin: 34px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.post-content { max-width: 720px; margin: 46px auto 0; font-size: 1.05rem; color: var(--ink); }
.post-content h2, .post-content h3 { margin-top: 1.4em; }
.post-content p { color: var(--ink); }
.post-content img { border-radius: var(--radius-md); margin: 20px 0; }
.post-content a { color: var(--teal-700); text-decoration: underline; text-decoration-color: var(--gold-300); }
.post-content ul, .post-content ol { padding-left: 1.3em; color: var(--ink); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-900); margin-bottom: 30px; }
.back-link::before { content: '←'; color: var(--gold-500); }

/* Areas de atuação — página completa */
.area-detail {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 26px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.area-detail:last-child { border-bottom: none; }
.area-detail .area-icon { width: 64px; height: 64px; border-radius: 16px; }
.area-detail .area-icon svg { width: 30px; height: 30px; }
.area-detail h3 { font-size: 1.5rem; }
.area-detail ul.services {
    list-style: none; padding: 0; margin: 18px 0 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 8px 24px;
}
.area-detail ul.services li {
    font-size: 0.93rem; color: var(--ink);
    padding-left: 18px; position: relative;
}
.area-detail ul.services li::before {
    content: '';
    position: absolute; left: 0; top: 8px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-500);
}
.cross-link {
    margin-top: 18px;
    background: var(--gold-100);
    border-left: 3px solid var(--gold-500);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
    color: var(--teal-900);
}
.cross-link a { font-weight: 700; text-decoration: underline; }

/* Contact strip */
.contact-strip {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.contact-methods { display: grid; gap: 14px; margin-top: 26px; }
.contact-method {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    transition: background .15s ease, transform .15s ease;
}
.contact-method:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }
.contact-method .ic {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gold-500); color: var(--teal-900);
    display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-method .ic svg { width: 20px; height: 20px; }
.contact-method .label { display: block; margin-bottom: 3px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-300); }
.contact-method .value { display: block; font-weight: 600; }

/* Footer */
.site-footer {
    background: var(--teal-900);
    color: rgba(250,246,239,0.75);
    padding-top: 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding: 56px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand .word { color: var(--white); }
.footer-brand p { margin-top: 14px; max-width: 300px; font-size: 0.9rem; }
.footer-col h4 {
    color: var(--gold-300);
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.footer-col a, .footer-col span { display: block; margin-bottom: 10px; font-size: 0.92rem; color: rgba(250,246,239,0.82); }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0 26px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.78rem;
    color: rgba(250,246,239,0.5);
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom a { color: rgba(250,246,239,0.5); }
.footer-bottom a:hover { color: var(--gold-300); }

/* Page hero (páginas internas) */
.page-hero {
    background: var(--teal-900);
    color: var(--white);
    padding: 64px 0 56px;
    text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(250,246,239,0.78); max-width: 620px; margin: 14px auto 0; }
.breadcrumb { font-size: 0.8rem; color: var(--gold-300); text-transform: uppercase; letter-spacing: 0.08em; }

/* WhatsApp floating button */
.wa-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--teal-900);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
    z-index: 60;
    transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 900px) {
    .hero .inner { grid-template-columns: 1fr; padding-top: 40px; }
    .hero-figure { order: -1; }
    .hero-figure .arch { max-width: 280px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-strip { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .brand .word small { display: none; }
    .header-cta .btn { padding: 10px 16px; font-size: 0.82rem; }
}
@media (max-width: 760px) {
    .main-nav, .header-cta .btn-outline-dark-label { display: none; }
    .nav-toggle { display: block; }
    .site-header.nav-open .main-nav {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 20px 24px 26px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .area-detail { grid-template-columns: 1fr; }
    .area-detail .area-icon { margin-bottom: 6px; }
    .footer-inner { grid-template-columns: 1fr; }
    section { padding: 64px 0; }
}
