* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #1f2937;
    background: #ffffff;
    font-weight: 300;
}

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

/* TOPO */

.site-header {
    width: 100%;
    background:
        linear-gradient(
            135deg,
            #020b16 0%,
            #061527 45%,
            #071527 100%
        );
    border-bottom: 1px solid rgba(202,165,77,.25);
    position: sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.header-content {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    width: 210px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: .3s ease;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: .25s;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
    color: #caa54d;
}

.nav-destaque {
    background: #caa54d;
    color: #071527 !important;
    padding: 10px 18px;
    border-radius: 999px;
}

/* HERO */

.hero {
    background:
        linear-gradient(
            to right,
            rgba(7,21,39,.95) 0%,
            rgba(7,21,39,.88) 30%,
            rgba(7,21,39,.45) 65%,
            rgba(7,21,39,.08) 100%
        ),
        url('/assets/img/hero-juridico.webp');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 620px;
    padding: 80px 0;

    display: flex;
    align-items: center;

    color: #ffffff;
}

.hero-content {
    max-width: 620px;
}

.hero-label {
    display: block;
    color: #caa54d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
    max-width: 850px;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 300;
    margin-bottom: 6px;
}

.hero p,
.page-hero p {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.7;
    color: #d8dee8;
    margin-top: 6px;
    margin-bottom: 12px;
}

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

.btn-hero,
.btn-hero-outline {
    min-height: 50px;
    padding: 0 28px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
}

.btn-hero {
    background: #caa54d;
    color: #071527;
}

.btn-hero-outline {
    border: 1px solid rgba(255,255,255,.35);
    color: #ffffff;
}

/* INDICADORES */

.indicadores {
    background: #ffffff;
    padding: 34px 0;
    border-bottom: 1px solid #eef2f7;
}

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

.indicadores div {
    background: #f8fafc;
    border-radius: 20px;
    padding: 22px;
    border: 1px solid #eef2f7;
}

.indicadores strong {
    display: block;
    color: #071527;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 6px;
}

.indicadores span {
    color: #64748b;
    font-size: 14px;
}

/* SERVIÇOS */

.servicos-home {
    padding: 90px 0;
    background: #f8fafc;
}

.section-title {
    max-width: 790px;
    margin-bottom: 44px;
}

.section-title span {
    color: #caa54d;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title h2 {
    color: #071527;
    font-size: 40px;
    font-weight: 300;
    margin: 12px 0;
}

.section-title p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.servico-card {
    min-height: 370px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(15,23,42,.18);
    background: #071527;
}

.servico-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: .4s;
}

.servico-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,21,39,.94), rgba(7,21,39,.24));
}

.servico-card div {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 2;
}

.servico-card h3 {
    font-size: 29px;
    font-weight: 300;
    margin-bottom: 10px;
}

.servico-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #e5e7eb;
}

.servico-card:hover img {
    transform: scale(1.06);
}

.empty-servicos {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    color: #64748b;
}

/* CONTEÚDO */

.conteudo {
    padding: 50px 0 70px;
    background: #f8fafc;
}

.conteudo-pagina {
    max-width: 1000px;
    margin: 0 auto;

    background: #ffffff;

    border-radius: 24px;

    padding: 50px;

    box-shadow:
        0 20px 60px rgba(15,23,42,.06);

    border: 1px solid #eef2f7;
}

.conteudo h2 {
    color: #071527;
    font-size: 34px;
    font-weight: 300;
    margin-bottom: 22px;
    margin-top: 35px;
}

.conteudo p {
    font-size: 17px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 18px;
}

.conteudo ul {
    margin: 18px 0 18px 24px;
}

.conteudo li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* PÁGINAS INTERNAS */

.page-hero {
    color: #ffffff;
    padding: 55px 0 45px;
    background-size: cover;
    background-position: center;
}

.contato-hero {
    background:
        radial-gradient(circle at top left, rgba(202,165,77,.16), transparent 35%),
        linear-gradient(135deg,#06111f,#0b2340 55%,#071527);
}

/* CTA FINAL */

.cta-final {
    background:
        radial-gradient(
            circle at top left,
            rgba(202,165,77,.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #06111f,
            #0b2340 55%,
            #071527
        );
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.cta-final .container {
    max-width: 800px;
}

.cta-final h2 {
    color: #ffffff;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 300;
    margin-bottom: 14px;
}

.cta-final p {
    color: #d8dee8;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.cta-final a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 30px;
    border-radius: 999px;
    background: #caa54d;
    color: #071527;
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
}

.cta-final a:hover {
    background: #d8b866;
}

/* CONTATO */

.contato-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contato-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contato-info h2 {
    color: #071527;
    font-size: 34px;
    font-weight: 300;
    margin-bottom: 14px;
}

.contato-info p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 14px;
}

.info-card strong {
    display: block;
    color: #071527;
    font-weight: 300;
    margin-bottom: 6px;
}

.info-card span {
    color: #64748b;
}

.form-contato {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 50px rgba(15,23,42,.08);
}

.form-contato input,
.form-contato textarea {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 14px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

.form-contato button {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: #071527;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
}

.alert {
    padding: 13px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-size: 14px;
}

.erro-site {
    background: #fee2e2;
    color: #991b1b;
}

.sucesso-site {
    background: #ecfdf5;
    color: #047857;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    box-shadow: 0 14px 35px rgba(0,0,0,.25);
}

.whatsapp-float:hover {
    background: #1ebe5d;
}

/* RODAPÉ */

.site-footer {
    background: #071527;
    color: #d8dee8;
    padding: 30px 0;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.site-footer a {
    color: #caa54d;
    text-decoration: none;
}

/* ÂNCORAS */

main {
    position: relative;
    z-index: 1;
}

#servicos {
    scroll-margin-top: 110px;
}

/* TABLET */

@media (max-width: 1100px) {

    .header-content {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        gap: 18px;
        min-height: auto;
    }

    .site-logo {
        width: 190px;
        max-width: 90vw;
    }

    .site-nav {
        justify-content: center;
    }

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

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

/* MOBILE */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 0;
    }

    .site-header {
        position: relative;
    }

    .header-content {
        padding: 18px 0 16px;
        gap: 14px;
    }

    .site-logo {
        width: 150px;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 8px 12px;
        justify-content: center;
    }

    .site-nav a {
        font-size: 13px;
    }

    .nav-destaque {
        padding: 8px 14px;
    }

    .hero {
        min-height: 420px;
        padding: 50px 0;
        background-position: center center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 30px;
    }

    .hero p,
    .page-hero p {
        font-size: 15px;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn-hero,
    .btn-hero-outline {
        min-height: 46px;
        padding: 0 20px;
        font-size: 14px;
    }

    .indicadores-grid,
    .contato-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .servico-card {
        min-height: 310px;
    }

    .cta-final {
        padding: 58px 0;
    }

    .cta-final h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        min-height: 44px;
        padding: 0 18px;
        font-size: 13px;
    }
}

html {
    scroll-behavior: smooth;
}

#servicos {
    scroll-margin-top: 110px;
}

/* ==========================
   DROPDOWN SERVIÇOS
========================== */

.dropdown {
    position: relative;
}

.dropdown-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-link::after {
    content: "▼";
    font-size: 10px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;

    min-width: 280px;

    background: #ffffff;

    border-radius: 14px;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 20px 40px rgba(0,0,0,.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all .25s ease;

    z-index: 99999;

    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {

    display: block;

    padding: 14px 18px;

    color: #071527;

    text-decoration: none;

    font-size: 14px;

    font-weight: 400;

    border-bottom: 1px solid #f3f4f6;

    transition: .2s;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {

    background: #f8fafc;

    padding-left: 22px;
}

/* CELULARES PEQUENOS */

@media (max-width: 380px) {

    .site-logo {
        width: 130px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .site-nav {
        gap: 6px 10px;
    }
}

@media (max-width: 768px) {

    .conteudo-pagina {

        padding: 28px 22px;

        border-radius: 18px;
    }

}