:root {
    --navy: #0F2A3D;
    --navy-2: #173A52;
    --ink: #1B2430;
    --muted: #5B6773;
    --line: #E3E6EA;
    --soft: #F3F4F6;
    --white: #FFFFFF;
    --wa: #1FA855;
    --radius: 6px;
    --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-size: 17px;
}

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

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

/* ---------- Faixa listrada (identidade da apresentação) ---------- */
.stripe {
    height: 6px;
    background: repeating-linear-gradient(-55deg, var(--navy) 0 10px, #D9DEE3 10px 20px);
}

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
    text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-cta {
    background: var(--navy); color: var(--white); padding: 10px 18px; border-radius: var(--radius);
}
.nav .nav-cta:hover { color: var(--white); background: var(--navy-2); text-decoration: none; }
.menu-toggle {
    display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--navy);
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); }
.hero .container {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
    padding-top: 72px; padding-bottom: 72px;
}
.eyebrow {
    text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 600; opacity: 0.8;
    margin-bottom: 14px;
}
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.15; font-weight: 600; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; opacity: 0.9; max-width: 560px; }
.hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.price-tag { margin-top: 22px; font-size: 16px; opacity: .9; }
.price-tag strong { font-size: 22px; color: var(--white); opacity: 1; }
.price-note { margin-top: 18px; font-size: 15px; opacity: .75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: var(--radius);
    font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #E9EEF2; }
.btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-whatsapp { background: var(--wa); color: var(--white); }
.btn-whatsapp:hover { background: #178f49; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Seções ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--soft); }
.section h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.section .intro { color: var(--muted); max-width: 680px; margin-bottom: 40px; }

/* Caminhos (home) */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--white);
    display: flex; flex-direction: column;
}
.path h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.path p { color: var(--muted); margin-bottom: 18px; }
.path ul { list-style: none; margin-bottom: 26px; flex: 1; }
.path li { padding: 8px 0; border-top: 1px solid var(--line); }
.path li a { text-decoration: none; font-weight: 500; }
.path li a:hover { color: var(--navy); text-decoration: underline; }
.path .btn { align-self: flex-start; }

/* Cards de serviço */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-wide { grid-column: 1 / -1; flex-direction: row !important; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 32px 36px; }
.card-wide > div { max-width: 640px; }
.card-wide h3 { font-size: 22px; }
.card-wide .more { margin-top: 0; white-space: nowrap; }
.card {
    background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy);
    border-radius: var(--radius); padding: 26px;
}
.section-soft .card { border-color: var(--line); border-top-color: var(--navy); }
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card.featured h3 { color: var(--white); }
.card.featured p { color: rgba(255,255,255,0.85); }
.badge {
    display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
    background: var(--white); color: var(--navy); padding: 3px 8px; border-radius: 4px; margin-bottom: 12px; font-weight: 600;
}

/* Lista de inclusos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checklist { list-style: none; }
.checklist li {
    position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line);
}
.checklist li::before {
    content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px;
    border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}
.side-img { border-radius: var(--radius); overflow: hidden; }

/* Etapas */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before {
    counter-increment: step; content: counter(step);
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white);
    font-weight: 600; margin-bottom: 14px;
}
.step h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; }

/* Diferenciais */
.diffs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.diff { padding: 22px 20px; background: var(--soft); border-radius: var(--radius); border-left: 3px solid var(--navy); }
.diff strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 17px; }
.diff span { color: var(--muted); font-size: 16px; }

/* CTA final */
.cta { background: var(--navy-2); color: var(--white); text-align: center; }
.section.cta h2 { margin-bottom: 10px; color: var(--white); }
.cta p { color: rgba(255,255,255,0.82); margin: 0 auto 28px; max-width: 600px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 15px; }
.footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; }
.footer li { padding: 4px 0; }
.footer .name { color: var(--white); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 0; font-size: 14px; text-align: center; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .hero .container, .split, .paths { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr 1fr; }
    .diffs { grid-template-columns: 1fr 1fr; }
    .hero .container { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
    .steps { grid-template-columns: 1fr; }
    .footer .container { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .nav {
        display: none; position: absolute; top: 76px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
    .brand img { height: 44px; }
    .section { padding: 56px 0; }
    body { font-size: 16px; }
}

/* ---------- Carrossel (home) ---------- */
.carousel { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.carousel .slides { position: relative; height: clamp(520px, 72vh, 680px); }
.slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,42,61,0.94) 0%, rgba(15,42,61,0.8) 45%, rgba(15,42,61,0.25) 100%);
}
.slide-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
}
.slide-title { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; font-weight: 600; max-width: 640px; margin-bottom: 18px; }
.slide-content .lead { font-size: 19px; opacity: 0.92; max-width: 560px; }
.car-prev, .car-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5);
    background: rgba(15,42,61,0.35); color: var(--white); font-size: 18px; cursor: pointer;
}
.car-prev { left: 16px; }
.car-next { right: 16px; }
.car-prev:hover, .car-next:hover { background: rgba(15,42,61,0.7); }
.dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.dot {
    width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--white);
    background: transparent; cursor: pointer; padding: 0;
}
.dot.active { background: var(--white); }

/* ---------- Cards clicáveis ---------- */
.card-link { text-decoration: none; display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,42,61,0.12); }
.card-link p { flex: 1; }
.card .more { margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--navy); }
.card.featured .more { color: var(--white); }
.badge-navy { background: var(--navy); color: var(--white); }

/* ---------- Números (quem somos) ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.numbers div { border-top: 3px solid var(--navy); padding-top: 12px; }
.numbers strong { display: block; font-size: 22px; color: var(--navy); }
.numbers span { color: var(--muted); font-size: 15px; }

@media (max-width: 820px) {
    .car-prev, .car-next { display: none; }
    .slide::after { background: rgba(15,42,61,0.82); }
    .carousel .slides { height: 560px; }
    .numbers { grid-template-columns: 1fr; }
}

/* ajustes */
img { height: auto; }
.card .badge { align-self: flex-start; }
.side-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* logo maior */
.header .container { height: 88px; }
.brand img { height: 58px; width: auto; }
@media (max-width: 820px) {
        .header .container { height: 72px; }
        .brand img { height: 46px; }
        .nav { top: 72px; }
}

/* ---------- Títulos de seção com marcador ---------- */
.section h2:not(.slide-title)::before {
    content: ""; display: block; width: 40px; height: 3px; background: var(--navy); margin-bottom: 14px;
}
.section.cta h2::before { margin-left: auto; margin-right: auto; background: rgba(255,255,255,.5); }

/* ---------- Quadro informativo (usucapião) ---------- */
.info-box {
    background: var(--soft); border-radius: var(--radius); border-left: 3px solid var(--navy); padding: 30px 32px;
}
.info-box h3 { color: var(--navy); font-size: 21px; margin-bottom: 10px; }
.info-box p { color: var(--ink); margin-bottom: 16px; }
.info-box ul { list-style: none; }
.info-box li { padding: 8px 0 8px 22px; position: relative; border-top: 1px solid var(--line); font-weight: 500; }
.info-box li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }

/* ---------- Dúvidas frequentes ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
    font-weight: 600; color: var(--navy); font-size: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 24px; font-weight: 400; color: var(--navy);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); padding: 0 40px 22px 0; }

@media (max-width: 600px) {
    .cards, .diffs { grid-template-columns: 1fr; }
    .card-wide { flex-direction: column !important; align-items: flex-start; padding: 26px; gap: 16px; }
    .info-box { padding: 24px; }
    .faq-item summary { font-size: 17px; }
}

/* ---------- Serviços em lista (home e "Outros serviços") ---------- */
.svc-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: start; }
.svc-group-title {
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--navy);
}
.svc {
    display: flex; align-items: center; gap: 16px; padding: 18px 8px 18px 4px;
    border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
    transition: background .15s;
}
.svc:hover { background: var(--soft); }
.svc-icon {
    flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%;
    background: #E8EEF3; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.svc-text { flex: 1; min-width: 0; }
.svc-text strong { display: block; font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.svc-text small { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.svc-arrow {
    flex: none; width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round; transition: transform .15s;
}
.svc:hover .svc-arrow { transform: translateX(4px); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.section-soft .svc:hover { background: var(--white); }

/* ---------- Lista de pontos (Quem somos) ---------- */
.checks { list-style: none; margin-top: 22px; }
.checks li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid var(--line); font-weight: 500; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before {
    content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
    border-left: 2px solid var(--wa); border-bottom: 2px solid var(--wa); transform: rotate(-45deg);
}

@media (max-width: 900px) {
    .svc-groups { grid-template-columns: 1fr; }
    .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-text strong { font-size: 17px; }
}

/* ---------- Ajustes de uso no celular ---------- */
.wa-float { transition: opacity .2s, transform .2s; }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 900px) {
    .hero-img { display: none; }                 /* foto decorativa ocupava uma tela inteira antes do conteúdo */
    .split > .info-box.info-first { order: -1; } /* "trabalhamos com seu advogado" antes da lista técnica */
}
@media (max-width: 900px) {
    .footer li { padding: 0; }
    .footer li a { display: inline-block; padding: 10px 0; }   /* área de toque maior no celular */
}

/* ---------- Categorias dentro de uma página de serviço ---------- */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat { border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 28px; background: var(--white); }
.cat h3 { font-size: 21px; color: var(--navy); margin-bottom: 6px; }
.cat p { color: var(--muted); margin-bottom: 14px; }

/* ---------- Grupo "Projetos" na home: largura total, itens em duas colunas ---------- */
.svc-group-wide { grid-column: 1 / -1; }
.svc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
@media (max-width: 900px) {
    .cats, .svc-pair { grid-template-columns: 1fr; }
}

/* ---------- Formulário de contato (seção CTA) ---------- */
.contact-form-wrap { max-width: 640px; margin: 40px auto 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.18); text-align: left; }
.contact-form-title { text-align: center; margin-bottom: 20px !important; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: rgba(255,255,255,.85); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
    font: inherit; font-size: 16px; padding: 12px 14px; border-radius: var(--radius);
    border: 1px solid #D9DEE3; background: var(--white); color: var(--navy);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8A97A3; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--white); outline-offset: 1px; }
.contact-form button { justify-content: center; font-family: inherit; background: var(--wa); color: var(--white); }
.contact-form button:hover { background: #178f49; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; text-align: center; font-size: 15px; margin: 0 !important; }
@media (max-width: 640px) { .contact-form { grid-template-columns: 1fr; } }
