/* MAP & Advogados — v2: claro, direto, leve (mobile first) */
:root{
  --navy:#132a4f;
  --petrol:#1d5a73;
  --sky:#d8e8f0;
  --sand:#f3efe8;
  --ink:#1d2433;
  --muted:#5b6474;
  --line:#e6e8ec;
  --green:#25a35a;
  --green-d:#1d8a4b;
  --r:12px;
  --head:"Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --body:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--body);font-size:17px;line-height:1.55;color:var(--ink);background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:var(--petrol)}
h1,h2,h3{font-family:var(--head);color:var(--navy);line-height:1.18;margin:0 0 .45em;font-weight:700;letter-spacing:-.01em}
h1{font-size:clamp(1.85rem,7.6vw,2.9rem)}
h2{font-size:clamp(1.45rem,5.8vw,2.1rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em}
.wrap{max-width:1040px;margin:0 auto;padding:0 18px}
.sec{padding:48px 0}
.sec--sand{background:var(--sand)}
.muted{color:var(--muted)}

/* Topo */
.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:60px}
.top__logo img{height:34px;width:auto}
.top__nav{display:none;gap:24px}
.top__nav a{color:var(--ink);text-decoration:none;font-weight:600;font-size:.95rem}
.top__wa{display:inline-flex;align-items:center;gap:6px;background:var(--green);color:#fff;text-decoration:none;font-weight:700;font-size:.88rem;padding:8px 14px;border-radius:999px}
.top__wa svg{width:18px;height:18px}

/* Botão principal */
.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:14px 22px;border-radius:10px;background:var(--green);color:#fff;font-family:var(--head);font-weight:700;font-size:1.05rem;text-decoration:none;box-shadow:0 4px 14px rgba(37,163,90,.28)}
.btn:hover{background:var(--green-d)}
.btn svg{width:22px;height:22px;flex:none}
.link{display:inline-block;margin-top:14px;color:var(--navy);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* Abertura */
.hero{padding:28px 0 36px}
.hero__tag{font-family:var(--head);font-weight:600;color:var(--petrol);font-size:.95rem;margin-bottom:10px}
.hero p.sub{font-size:1.1rem;color:var(--muted)}
.hero__note{font-size:.88rem;color:var(--muted);margin:12px 0 0}
.rating{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-size:.92rem;color:var(--ink);text-decoration:none}
.rating .st{color:#f4b400;letter-spacing:1px}
.photo{margin:26px 0 0}
.photo img{width:100%;aspect-ratio:1/1.05;object-fit:cover;object-position:50% 10%;border-radius:var(--r);background:var(--sand)}
.photo figcaption{margin-top:10px;font-size:.88rem;color:var(--muted);line-height:1.4}
.photo figcaption b{color:var(--navy);display:block;font-size:.95rem}

/* Situações (blocos coloridos) */
.cases{display:grid;gap:12px;margin-top:22px}
.case{display:block;border-radius:var(--r);padding:22px 20px;color:#fff;text-decoration:none}
.case h3{color:#fff;margin-bottom:6px}
.case p{margin:0 0 14px;opacity:.92;font-size:.98rem}
.case span{font-family:var(--head);font-weight:600;font-size:.9rem;display:flex;justify-content:space-between}
.case:nth-child(4n+1){background:var(--navy)}
.case:nth-child(4n+2){background:var(--petrol)}
.case:nth-child(4n+3){background:var(--sky);color:var(--navy)}
.case:nth-child(4n+4){background:#fff;color:var(--navy);border:1px solid var(--line)}
.case:nth-child(4n+3) h3,.case:nth-child(4n+4) h3{color:var(--navy)}

/* Lista simples */
.list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}
.list li{display:flex;gap:10px;align-items:flex-start}
.list li::before{content:"";flex:none;width:20px;height:20px;margin-top:2px;border-radius:50%;background:var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132a4f' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat}

/* Passo a passo */
.steps{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:20px}
.steps li{display:grid;grid-template-columns:42px 1fr;gap:2px 10px}
.steps b{font-family:var(--head);color:var(--petrol);font-size:1.3rem;grid-row:span 2}
.steps strong{font-family:var(--head);color:var(--navy);font-size:1.08rem}
.steps p{margin:0;color:var(--muted);font-size:.97rem}

/* Equipe */
.team{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}
.team img,.team .ph{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:top;border-radius:var(--r);background:var(--sand)}
.team .ph{display:grid;place-items:center;font-family:var(--head);font-size:2rem;color:var(--navy);font-weight:700}
.team b{display:block;margin-top:8px;color:var(--navy);font-size:.95rem;line-height:1.3}
.team span{display:block;font-size:.82rem;color:var(--muted);line-height:1.35}

/* Escritório */
.office{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.office img{border-radius:var(--r);aspect-ratio:1;object-fit:cover;width:100%}
.place{margin-top:14px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.place b{color:var(--navy);font-family:var(--head)}
.place p{margin:4px 0 8px;color:var(--muted);font-size:.95rem}

/* Dúvidas */
.faq{margin-top:14px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:16px 30px 16px 0;font-weight:600;color:var(--navy);position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:2px;top:11px;font-size:1.5rem;color:var(--petrol)}
.faq details[open] summary::after{content:"−"}
.faq p{color:var(--muted);margin:0 0 16px}

/* Chamada final */
.cta{background:var(--navy);color:#fff;border-radius:16px;padding:28px 22px;margin:0 18px}
.cta h2{color:#fff}
.cta p{color:#cfd8e6}

/* Rodapé */
.foot{padding:36px 0 100px;font-size:.88rem;color:var(--muted);border-top:1px solid var(--line);margin-top:48px}
.foot img{height:34px;width:auto;margin-bottom:12px}
.foot p{margin:0 0 8px}
.foot a{color:var(--ink)}
.foot__links{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0}

/* Botão flutuante do WhatsApp */
.float{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:30;display:flex;align-items:center;gap:8px;background:var(--green);color:#fff;text-decoration:none;font-weight:700;font-family:var(--head);font-size:.95rem;padding:0 18px 0 14px;height:56px;border-radius:999px;box-shadow:0 6px 20px rgba(0,0,0,.22);transform:translateY(130px);transition:transform .25s}
.float.on{transform:none}
.float svg{width:26px;height:26px}

/* Acesso rápido / legal */
.links{display:grid;gap:12px;max-width:440px;margin:0 auto}
.links a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border-radius:10px;border:1px solid var(--line);color:var(--navy);text-decoration:none;font-weight:700;font-family:var(--head);background:#fff}
.links a.btn{border:0;color:#fff;background:var(--green)}
.links svg{width:22px;height:22px}
.legal{max-width:740px}
.legal h2{font-size:1.25rem;margin-top:1.5em}

@media (min-width:800px){
  .top__nav{display:flex}
  .sec{padding:72px 0}
  .hero{padding:56px 0}
  .hero__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
  .photo{margin:0}
  .btn{width:auto;display:inline-flex}
  .cases{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:repeat(3,1fr)}
  .team{grid-template-columns:repeat(4,1fr)}
  .split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
  .cta{max-width:1004px;margin:0 auto;padding:44px}
  .foot{padding-bottom:40px}
}
.team .ph{background:#fff;border:1px solid var(--line)}

/* ===== Tema escuro (body.escuro) ===== */
.escuro{--bg:#0b1628;--s1:#12223b;--s2:#1a2f50;--tx:#eef2f8;--mu:#a9b5c9;--ln:rgba(255,255,255,.1);--ac:#7cc4dd;background:var(--bg);color:var(--tx)}
.escuro h1,.escuro h2,.escuro h3{color:#fff}
.escuro a{color:var(--ac)}
.escuro .muted,.escuro .hero p.sub,.escuro .hero__note,.escuro .steps p,.escuro .faq p,.escuro .place p,.escuro .team span,.escuro .photo figcaption,.escuro .foot{color:var(--mu)}
.escuro .hero{background:radial-gradient(120% 70% at 90% 0%,#1a3358 0%,var(--bg) 60%)}
.escuro .hero__tag{color:var(--ac)}
.escuro .top{background:rgba(11,22,40,.92);backdrop-filter:blur(8px);border-color:var(--ln)}
.escuro .top__nav a{color:#dfe6f2}
.escuro .rating{color:var(--tx)}
.escuro .photo img{background:var(--s1)}
.escuro .photo figcaption b,.escuro .team b,.escuro .place b,.escuro .steps strong,.escuro .faq summary{color:#fff}
.escuro .steps b{color:var(--ac)}
.escuro .sec--sand{background:var(--s1)}
.escuro .case:nth-child(4n+1){background:#1f4170}
.escuro .case:nth-child(4n+2){background:#1d5a73}
.escuro .case:nth-child(4n+3){background:#e9e2d6;color:#132a4f}
.escuro .case:nth-child(4n+4){background:var(--s2);color:#fff;border:1px solid var(--ln)}
.escuro .case:nth-child(4n+3) h3{color:#132a4f}
.escuro .case:nth-child(4n+4) h3{color:#fff}
.escuro .list li::before{background-color:#1f4170;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cc4dd' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.escuro .team img,.escuro .team .ph{background:var(--s2)}
.escuro .team .ph{color:#fff;border-color:var(--ln)}
.escuro .place{background:var(--s2);border-color:var(--ln)}
.escuro .faq details{border-color:var(--ln)}
.escuro .faq summary::after{color:var(--ac)}
.escuro .cta{background:linear-gradient(135deg,#1d5a73,#1f4170)}
.escuro .foot{border-color:var(--ln)}
.escuro .foot a{color:#dfe6f2}
.escuro .links a{background:var(--s1);border-color:var(--ln);color:#fff}
.escuro .links a.btn{background:var(--green)}
.team--sm{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.team--sm b{font-size:.82rem}
.team--sm span{font-size:.75rem}
.team--sm .ph{font-size:1.4rem}
@media (min-width:800px){.team--sm{grid-template-columns:repeat(5,1fr)}}
.escuro .btn,.escuro .top__wa,.escuro .float,.escuro .case,.escuro .links a.btn{color:#fff}

/* ===== Abertura com foto do escritório ===== */
:root{--hg:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 34%,#fff 54%);--hgd:linear-gradient(90deg,#fff 0%,#fff 38%,rgba(255,255,255,.6) 58%,rgba(255,255,255,0) 80%)}
.escuro{--hg:linear-gradient(180deg,rgba(11,22,40,.1) 0%,rgba(11,22,40,.6) 34%,#0b1628 56%);--hgd:linear-gradient(90deg,#0b1628 0%,#0b1628 36%,rgba(11,22,40,.7) 56%,rgba(11,22,40,.05) 82%)}
.hero--foto{position:relative;overflow:hidden;padding:0}
.escuro .hero--foto{background:var(--bg)}
.hero__bg{position:absolute;inset:0 0 auto 0;height:78vh;max-height:760px;z-index:0}
.hero__bg img{width:100%;height:100%;object-fit:cover;object-position:62% 40%}
.hero__bg::after{content:"";position:absolute;inset:0;background:var(--hg)}
.hero--foto .wrap{position:relative;z-index:1;padding-top:40vh;padding-bottom:40px}
.hero__box{max-width:600px}
.lawyer{display:flex;gap:12px;align-items:center;margin-top:20px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;max-width:420px}
.lawyer img{width:56px;height:70px;object-fit:cover;object-position:top;border-radius:8px;flex:none}
.lawyer b{display:block;color:var(--navy);font-size:.98rem}
.lawyer span{display:block;font-size:.84rem;color:var(--muted)}
.escuro .lawyer{background:var(--s1);border-color:var(--ln)}
.escuro .lawyer b{color:#fff}
.escuro .lawyer span{color:var(--mu)}
.office{grid-template-columns:1fr 1fr}
@media (min-width:800px){
  .hero__bg{inset:0;height:auto;max-height:none;left:30%}
  .hero__bg::after{background:var(--hgd)}
  .hero--foto .wrap{padding-top:96px;padding-bottom:96px;min-height:620px}
}
/* ajuste: mostrar a parede com o logo e manter o botão na primeira tela */
.hero__bg{height:60vh;max-height:620px}
.hero__bg img{object-position:64% 72%}
:root{--hg:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.15) 42%,#fff 68%)}
.escuro{--hg:linear-gradient(180deg,rgba(11,22,40,.05) 0%,rgba(11,22,40,.25) 42%,#0b1628 70%)}
.hero--foto .wrap{padding-top:36vh}
@media (min-width:800px){.hero__bg{height:auto;max-height:none}.hero__bg img{object-position:60% 55%}.hero--foto .wrap{padding-top:96px}}

/* ===== Paleta v3: sem azul-piscina ===== */
:root{--petrol:#34558b}
.case:nth-child(4n+1){background:#132a4f;color:#fff}
.case:nth-child(4n+2){background:#2f3642;color:#fff}
.case:nth-child(4n+3){background:#efe6d8;color:#132a4f}
.case:nth-child(4n+4){background:#fff;color:#132a4f;border:1px solid var(--line)}
.case:nth-child(4n+1) h3,.case:nth-child(4n+2) h3{color:#fff}
.case:nth-child(4n+3) h3,.case:nth-child(4n+4) h3{color:#132a4f}
.list li::before{background-color:#e7ecf5}
.escuro{--ac:#a7bde3}
.escuro .case:nth-child(4n+1){background:#1f4170;color:#fff}
.escuro .case:nth-child(4n+2){background:#2a313d;color:#fff}
.escuro .case:nth-child(4n+3){background:#efe6d8;color:#132a4f}
.escuro .case:nth-child(4n+4){background:var(--s2);color:#fff;border:1px solid var(--ln)}
.escuro .case:nth-child(4n+3) h3{color:#132a4f}
.escuro .case:nth-child(4n+4) h3{color:#fff}
.escuro .cta{background:linear-gradient(135deg,#1f4170,#16294a)}
.escuro .list li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7bde3' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}

/* ===== v4: logo maior e sem bege ===== */
.top .wrap{height:72px}
.top__logo img{height:46px}
.foot img{height:44px}
@media (min-width:800px){.top .wrap{height:84px}.top__logo img{height:54px}}
:root{--sand:#eef1f5}
.case:nth-child(4n+3){background:#3b5a86;color:#fff}
.case:nth-child(4n+3) h3{color:#fff}
.escuro .case:nth-child(4n+3){background:#3b5a86;color:#fff}
.escuro .case:nth-child(4n+3) h3{color:#fff}

/* ===== Blog ===== */
.posts{display:grid;gap:12px;margin-top:18px}
.post-card{display:block;padding:16px 18px;border-radius:12px;border:1px solid var(--line);background:#fff;text-decoration:none;color:var(--ink)}
.post-card h3{font-size:1.05rem;margin:4px 0 6px;color:var(--navy)}
.post-card p{margin:0;font-size:.92rem;color:var(--muted)}
.post-card__date{font-size:.8rem;color:var(--petrol);font-weight:600}
.article{max-width:740px}
.crumbs{font-size:.85rem;color:var(--muted);margin-bottom:14px}
.crumbs a{color:inherit}
.article h1{font-size:clamp(1.6rem,6.4vw,2.4rem)}
.post-meta{color:var(--muted);font-size:.9rem}
.post-cover{border-radius:12px;margin:10px 0 20px}
.post-body{font-size:1.06rem;line-height:1.7}
.post-body h2{font-size:1.3rem;margin:1.6em 0 .5em}
.post-body img{border-radius:10px;margin:16px 0}
.post-body li{margin-bottom:6px}
.post-cta{margin:36px 0;padding:22px;border-radius:14px;background:var(--navy);color:#fff}
.post-cta b{font-family:var(--head);font-size:1.15rem}
.post-cta p{color:#cfd8e6;margin:6px 0 14px}
.more-title{font-size:1.3rem;margin-top:24px}
.escuro .post-card{background:var(--s1);border-color:var(--ln);color:var(--tx)}
.escuro .post-card h3{color:#fff}
.escuro .post-card p,.escuro .crumbs,.escuro .post-meta{color:var(--mu)}
.escuro .post-card__date{color:var(--ac)}
.escuro .post-cta{background:linear-gradient(135deg,#1f4170,#16294a)}
@media (min-width:800px){.posts{grid-template-columns:repeat(3,1fr)}.article .posts{grid-template-columns:1fr}}
.pager{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:24px;font-size:.92rem;color:var(--muted)}
.pager a{font-weight:700;text-decoration:none}
.escuro .pager{color:var(--mu)}
/* foto da recepção recortada (sem o espelho) */
.hero__bg img{object-position:50% 52%}
@media (min-width:800px){.hero__bg img{object-position:50% 48%}}
