:root {
    --red: #8a0a17;
    --red-dark: #620711;
    --gold: #d9b56c;
    --text: #181818;
    --muted: #666;
    --bg: #fff;
    --soft: #f7f2ef;
    --border: #eadfdb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* HEADER */

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.menu {
    display: flex;
    gap: 26px;
}

.menu a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    transition: 0.3s;
}

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

.menu-button {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */

.hero {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    padding: 96px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: center;
}

.eyebrow,
.section-label {
    display: inline-block;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

h1,
h2 {
    font-family: "Playfair Display", serif;
    line-height: 1.1;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

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

.hero p {
    font-size: 1.12rem;
    max-width: 720px;
    color: #f8e8e8;
}

/* DESTAQUE ATENDIMENTO */

.destaque-atendimento {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 25px 0;
    color: #f5f5f5;
    font-size: 1rem;
    font-weight: 500;
}

/* BOTÕES */

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    text-decoration: none;
    border: 0;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.btn.primary {
    background: var(--red);
    color: white;
    box-shadow: 0 12px 26px rgba(138, 10, 23, 0.25);
}

.hero .btn.primary,
.btn.light {
    background: white;
    color: var(--red);
}

.btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
}

/* HERO CARD */

.hero-card {
    background: white;
    color: var(--text);
    padding: 40px 30px;
    border-radius: 26px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    transition: 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card img {
    width: 190px;
    border-radius: 18px;
    margin-bottom: 24px;
}

.hero-card p {
    color: #3a3a3a;
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 500;
}

/* SECTIONS */

.section {
    padding: 88px 0;
}

.muted {
    background: var(--soft);
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
}

.center-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card,
.lawyer-card,
.contact-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.card h3,
.lawyer-card h3 {
    margin: 0 0 10px;
    color: var(--red);
}

/* ADVOGADOS */

.lawyers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.lawyer-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 18px;
}

.lawyer-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--red);
}

/* CTA */

.cta {
    padding: 72px 0;
    background: var(--red);
    color: white;
}

.cta-box {
    text-align: center;
}

.cta-box p {
    color: #f8e8e8;
}

/* CONTATO */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    font: inherit;
}

/* FOOTER */

.footer {
    background: #151515;
    color: white;
    padding: 26px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25d366;
    color: white;
    text-decoration: none;
    font-weight: 800;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVO */

@media (max-width: 900px) {

    .menu-button {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        padding: 18px 4%;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
    }

    .menu.open {
        display: flex;
    }

    .hero-grid,
    .split,
    .contact-grid,
    .lawyers {
        grid-template-columns: 1fr;
    }

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

    .hero {
        padding: 70px 0;
    }

    .section {
        padding: 64px 0;
    }
}

@media (max-width: 560px) {

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

    .lawyer-card img {
        height: 280px;
    }

    .brand span {
        font-size: 0.95rem;
    }

    .whatsapp-float {
        left: 20px;
        text-align: center;
    }
}

.lawyer-card strong {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}