/* IRD2 Advocacia — clone do layout aprovado */
:root{
  --ink:#0f2a36;
  --deep:#062d38;
  --deep2:#0a3d49;
  --teal:#087d74;
  --teal2:#00685b;
  --gold:#c5a059;
  --gold2:#d4b06e;
  --pale:#f4f8f6;
  --stone:#f7f4ee;
  --line:#dce8e4;
  --text:#4a6068;
  --shadow:0 18px 48px rgba(6,45,56,.1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body.advocacia-page{
  margin:0;color:var(--ink);background:#fff;
  font-family:Inter,"Segoe UI",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;line-height:1.55;font-size:16px;overflow-x:hidden;
}
h1,h2,h3{color:var(--ink);letter-spacing:-.04em;line-height:1.12;font-weight:800;margin:0 0 .6em}
h2{font-size:clamp(1.85rem,3.2vw,2.85rem)}
h3{font-size:1.2rem}
p{margin:0 0 1rem;color:var(--text)}
a{color:var(--teal);text-decoration:none}
a:hover{color:var(--teal2)}
img{max-width:100%;height:auto;display:block}
.container{max-width:1180px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.eyebrow{display:inline-block;color:var(--gold);text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:.72rem;margin-bottom:14px}
.section-space{padding:72px 0}
.section-heading{max-width:760px;margin:0 auto 36px}
.section-heading p{font-size:1.05rem}
.text-gold{color:var(--gold)!important}
.text-teal{color:var(--teal)!important}
.section-badge{display:inline-block;background:#e7f3ef;color:#04665e;border-radius:999px;padding:6px 14px;font-weight:800;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px}
.small-label{display:block;letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:800;color:#956a29;margin-bottom:8px}

/* Header */
.legal-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line)}
.legal-header.scrolled{box-shadow:0 10px 28px rgba(16,42,59,.08)}
.topnav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:12px;color:var(--ink)}
.brand:hover{color:var(--ink)}
.brand-logo{font-size:1.85rem;font-weight:900;letter-spacing:-.09em;line-height:1}
.brand-slashes{color:#18a7a1;font-size:1.9rem;letter-spacing:-.32em;padding-right:.14em}
.brand-logo b{color:#0f5463}
.brand-descriptor{border-left:1px solid #cddeda;padding-left:12px;font-size:.68rem;line-height:1.35;color:#45606b;max-width:170px}
.legal-nav{display:flex;align-items:center;gap:22px}
.legal-nav>a:not(.btn-legal){color:var(--ink);font-size:.84rem;font-weight:700}
.legal-nav>a:not(.btn-legal):hover{color:var(--teal)}
.nav-toggle{display:none;border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:#fff;color:var(--ink)}

/* Buttons */
.btn-legal{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:10px;padding:14px 22px;font-weight:800;font-size:.9rem;line-height:1.25;
  transition:transform .18s,background .18s,box-shadow .18s;text-align:center;white-space:nowrap;
}
.btn-legal:hover{transform:translateY(-2px)}
.btn-primary-legal{background:var(--teal);color:#fff!important;box-shadow:0 12px 28px rgba(0,104,91,.22)}
.btn-primary-legal:hover{background:var(--teal2);color:#fff!important}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff!important;border:1.5px solid rgba(255,255,255,.55)}
.btn-ghost:hover{background:rgba(255,255,255,.16);color:#fff!important}
.btn-onwhite{background:#fff;color:var(--deep)!important}
.btn-onwhite:hover{background:#eef7f4}
.btn-case,.btn-review{background:#fff;border:1.5px solid var(--teal);color:var(--teal)!important;padding:12px 16px;font-size:.82rem}
.btn-case:hover,.btn-review:hover{background:#e8f4f0}
.icon{width:22px;height:22px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-sm{width:16px;height:16px}
.icon-lg{width:28px;height:28px}

/* Hero — full-bleed com imagem aprovada (clone do mockup) */
.legal-hero{
  position:relative;isolation:isolate;
  min-height:min(78vh,720px);
  display:flex;align-items:center;
  padding:72px 0 110px;overflow:hidden;
  background:#062832;
}
.hero-bg-img{
  position:absolute;inset:0;width:100%;height:100%;
  max-width:none;object-fit:cover;object-position:center 28%;
  z-index:0;
}
.hero-overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(4,28,36,.88) 0%,rgba(4,28,36,.78) 38%,rgba(4,28,36,.42) 62%,rgba(4,28,36,.18) 100%),
    linear-gradient(180deg,rgba(4,28,36,.25) 0%,transparent 35%,rgba(4,28,36,.35) 100%);
}
.hero-grid{
  position:relative;z-index:2;width:100%;
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:28px;align-items:flex-start;
}
.hero-copy{max-width:620px;padding:12px 0}
.hero-copy .eyebrow{
  display:inline-block;margin-bottom:16px;padding:8px 14px;border-radius:6px;
  background:#e8c46a;color:#1a1408!important;
  text-transform:uppercase;letter-spacing:.12em;font-weight:900;font-size:.7rem;
}
.hero-copy h1{
  color:#fff!important;font-size:clamp(2.4rem,4.4vw,3.85rem);letter-spacing:-.05em;
  margin:0 0 18px;line-height:1.05;text-shadow:0 2px 18px rgba(0,0,0,.25);
}
.hero-copy h1 em{font-style:normal;color:#f0d28a!important}
.hero-intro{color:#eef6f3!important;font-size:1.06rem;max-width:540px;margin-bottom:26px;text-shadow:0 1px 10px rgba(0,0,0,.2)}
.hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.trust-points{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:14px 20px}
.trust-points li{display:inline-flex;align-items:center;gap:7px;color:#e8f4f0!important;font-size:.82rem;font-weight:600}
.trust-points .icon{color:#f0d28a!important}
.btn-ghost{background:rgba(8,24,32,.45)!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.75)!important;backdrop-filter:blur(4px)}
.btn-ghost:hover{background:rgba(255,255,255,.16)!important;color:#fff!important}
.hero-aside{display:flex;justify-content:flex-end;padding-top:8px}
.hero-badge{
  display:flex;align-items:center;gap:10px;margin:0;
  background:linear-gradient(135deg,#d4b06e,#a8843f);color:#1a1408;
  border-radius:12px;padding:12px 14px;box-shadow:0 12px 28px rgba(0,0,0,.28);
  max-width:230px;
}
.hero-badge .icon{color:#1a1408;flex-shrink:0}
.hero-badge strong{display:block;font-size:.78rem;line-height:1.25}
.hero-badge small{display:block;font-size:.7rem;opacity:.9}

/* Benefits */
.benefit-strip{margin-top:-42px;position:relative;z-index:5;padding-bottom:8px}
.benefit-card{
  display:grid;grid-template-columns:repeat(4,1fr);
  background:#fff;border:1px solid var(--line);border-radius:18px;
  box-shadow:var(--shadow);overflow:hidden;
}
.benefit-item{
  display:flex;align-items:center;gap:12px;padding:22px 18px;
  border-right:1px solid var(--line);
}
.benefit-item:last-child{border-right:0}
.benefit-item .icon{width:30px;height:30px;color:var(--gold);flex-shrink:0}
.benefit-item strong{font-size:.88rem;line-height:1.25;color:var(--ink);font-weight:750}

/* Challenges */
#desafios{padding-top:56px}
.city-photo{position:relative;height:360px;border-radius:20px;overflow:hidden;background:#dae9e3}
.city-photo img{width:100%;height:100%;object-fit:cover}
.photo-chip{
  position:absolute;bottom:16px;left:16px;background:#fff;padding:8px 12px;border-radius:9px;
  font-size:.76rem;font-weight:800;color:#1c3d42;display:inline-flex;align-items:center;gap:6px;
}
.challenge-list{list-style:none;padding:0;margin:18px 0}
.challenge-list li{padding:8px 0;display:flex;align-items:flex-start;gap:12px;color:#2a4650;font-weight:600}
.challenge-list .icon{color:var(--gold);width:20px;height:20px;margin-top:2px}
.callout{border-left:4px solid var(--gold);padding:12px 0 12px 18px;background:#fbfaf6;color:#335058;font-size:.98rem}

/* Services */
.services-section{background:var(--pale)}
.service-card{
  height:100%;background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:28px 22px;text-align:center;transition:transform .2s,box-shadow .2s;
}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.service-icon{
  width:58px;height:58px;margin:0 auto 16px;border-radius:14px;background:#e8f5f1;
  display:grid;place-items:center;color:var(--teal);
}
.service-icon .icon{width:28px;height:28px}
.service-card h3{font-size:1.15rem;margin-bottom:10px}
.service-card p{font-size:.88rem;margin-bottom:16px}
.service-card a{font-size:.82rem;font-weight:800;display:inline-flex;align-items:center;gap:5px}
.service-foot{display:flex;justify-content:center;margin-top:32px}

/* Case */
.case-section{padding:28px 0 12px}
.case-panel{
  display:flex;align-items:center;gap:20px;flex-wrap:wrap;
  background:var(--stone);border-radius:20px;padding:30px 28px;
}
.case-intro{flex:1 1 280px;min-width:0}
.case-intro h2{font-size:clamp(1.4rem,2.2vw,2rem);margin:6px 0 10px}
.case-intro p{font-size:.86rem;margin:0}
.case-numbers{flex:1.2 1 320px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.case-numbers>div{border-left:1px solid #d6d3ca;padding-left:14px}
.case-numbers strong{display:block;font-size:clamp(1.5rem,2.4vw,2.15rem);color:#92713b;line-height:1;margin-bottom:6px}
.case-numbers span{font-size:.76rem;color:#304b55}
.case-clarification{color:#71827c;font-size:.74rem;padding:12px 4px 0;margin:0}

/* Method */
.method-section{background:#fff}
.method-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:0;
  background:#edf4f1;border-radius:18px;padding:22px 12px;
}
.method-step{display:flex;gap:12px;padding:12px 14px;border-right:1px solid #d9e7e1}
.method-step:last-child{border-right:0}
.step-number{
  display:grid;place-items:center;background:var(--teal);color:#fff;border-radius:50%;
  width:34px;height:34px;font-size:.85rem;font-weight:900;flex-shrink:0;
}
.method-step strong{display:block;font-size:.9rem;margin-bottom:4px}
.method-step p{font-size:.78rem;margin:0}

/* Ethics — sem logo OAB */
.ethic-section{background:#f7f7f2}
.ethic-box{background:#fff;border-radius:22px;padding:36px;border:1px solid #e5e8df}
.ethic-note{font-size:.82rem;color:#65787c;margin:0}
.ethic-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ethic-item{
  background:#f4f7f4;border-radius:14px;padding:18px;font-size:.86rem;font-weight:700;color:var(--ink);
}
.ethic-item .icon{color:var(--teal);margin-bottom:10px;display:block}

/* Reviews */
.review-section{padding:64px 0 48px;background:#fff}
.review-layout{display:grid;grid-template-columns:.9fr 1.6fr;gap:28px;align-items:start}
.review-header h2{margin-bottom:18px}
.review-summary{display:flex;gap:14px;align-items:center;margin-bottom:16px}
.google-mark{
  font-weight:900;font-size:2.4rem;letter-spacing:-.07em;
  background:linear-gradient(120deg,#4285f4 25%,#ea4335 27%,#fbbc05 56%,#34a853 65%);
  color:transparent;background-clip:text;-webkit-background-clip:text;
}
.review-summary strong{display:block;font-size:1.7rem;line-height:1.15}
.review-summary .stars{color:#e3a02c;font-size:1rem}
.review-summary small{display:block;color:#667a7a;font-size:.75rem;font-weight:500;max-width:200px}
.reviews-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.review-card{
  background:#f9fbf9;border:1px solid #e2eae6;padding:22px;border-radius:16px;
  box-shadow:0 6px 18px rgba(2,26,36,.05);margin:0;
}
.review-top{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.review-top img{width:52px;height:52px;border-radius:50%;object-fit:cover;flex-shrink:0}
.review-top strong{display:block;font-size:.92rem}
.review-top small{display:block;color:#687d7a;font-size:.72rem}
.review-top .stars{color:#e3a02c;font-size:.85rem;letter-spacing:.04em}
.review-card p{font-size:.9rem;line-height:1.5;color:#264149;margin:0}
.review-disclaimer{font-size:.74rem;color:#71817c;margin:16px 0 0}

/* Escopo */
#entregaveis{background:var(--pale)}
.service-included{list-style:none;padding:0;margin:0 0 22px}
.service-included li{display:flex;gap:10px;margin:12px 0;font-size:.95rem;align-items:flex-start}
.service-included .icon{color:var(--teal);margin-top:2px}
.picture-card{margin:0;border-radius:18px;overflow:hidden;min-height:320px;background:#123b43}
.picture-card img{width:100%;height:100%;min-height:320px;object-fit:cover}

/* Content */
.content-section{background:#fff}
.resource-card{height:100%;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.resource-photo{height:188px;background:#d5e1df;position:relative;overflow:hidden}
.resource-photo img{width:100%;height:100%;object-fit:cover}
.resource-label{position:absolute;left:12px;bottom:12px;background:var(--teal);color:#fff;padding:5px 11px;border-radius:6px;font-size:.68rem;text-transform:uppercase;font-weight:900}
.resource-body{padding:22px;flex:1;display:flex;flex-direction:column}
.resource-body h3{font-size:1.12rem}
.resource-body p{font-size:.86rem}
.resource-body a{margin-top:auto;font-size:.82rem;font-weight:800;display:inline-flex;align-items:center;gap:5px}

/* FAQ */
.faq-section{background:#f5f8f7}
.faq-wrap{max-width:920px;margin:0 auto}
.faq-item{background:#fff;border:1px solid #dce9e5;border-radius:12px;margin:10px 0;overflow:hidden}
.faq-item summary{
  cursor:pointer;padding:18px 22px;font-weight:750;color:var(--ink);
  display:flex;justify-content:space-between;align-items:center;gap:18px;list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:after{content:'+';font-weight:450;font-size:1.35rem;color:var(--teal)}
.faq-item[open] summary:after{content:'−'}
.faq-item p{padding:0 22px 20px;margin:0;font-size:.93rem}

/* Final CTA */
.final-cta{
  background:linear-gradient(110deg,#07343d,#06786e);border-radius:22px;padding:42px 40px;
  color:#fff;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;
  position:relative;overflow:hidden;
}
.final-cta:after{
  content:'';position:absolute;right:-120px;top:-130px;width:320px;height:320px;
  border:1px solid #ffffff22;border-radius:50%;
  box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff06;
}
.final-cta-copy{position:relative;z-index:2;max-width:640px}
.final-cta h2{color:#fff;font-size:clamp(1.7rem,2.8vw,2.4rem);margin-bottom:10px}
.final-cta p{color:#d7ebea;margin:0}
.final-cta .btn-legal{position:relative;z-index:2}

/* Footer */
.legal-footer{background:#0a2936;padding:48px 0 24px;color:#dceeea}
.brand-footer .brand-logo{color:#fff}
.brand-footer .brand-logo b{color:#19aea5}
.legal-footer p{color:#c9ddd8;font-size:.9rem;margin-top:12px}
.footer-links{display:flex;gap:22px;flex-wrap:wrap;justify-content:flex-end;font-size:.86rem}
.footer-links a{color:#d4e6e3}
.footer-links a:hover{color:#fff}
.credit{font-size:.72rem;opacity:.78;border-top:1px solid #ffffff22;padding-top:18px;margin-top:28px}
.credit a{color:#d4e6e3;text-decoration:underline}

/* Responsive */
@media(max-width:1100px){
  .legal-nav{gap:14px}
  .legal-nav>a:not(.btn-legal){font-size:.76rem}
  .hero-grid{gap:28px}
}
@media(max-width:991px){
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .legal-hero{min-height:auto;padding:48px 0 88px}
  .hero-overlay{background:linear-gradient(180deg,rgba(4,28,36,.82) 0%,rgba(4,28,36,.72) 55%,rgba(4,28,36,.55) 100%)}
  .hero-aside{justify-content:flex-start}
  .hero-bg-img{object-position:72% center}
  .benefit-card{grid-template-columns:1fr 1fr}
  .benefit-item:nth-child(2){border-right:0}
  .benefit-item:nth-child(1),.benefit-item:nth-child(2){border-bottom:1px solid var(--line)}
  .method-grid{grid-template-columns:1fr 1fr}
  .method-step:nth-child(2){border-right:0}
  .method-step:nth-child(1),.method-step:nth-child(2){border-bottom:1px solid #d9e7e1}
  .review-layout{grid-template-columns:1fr}
  .case-panel{padding:24px}
  .ethic-list{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .topnav{min-height:66px}
  .brand-descriptor{display:none}
  .nav-toggle{display:inline-flex}
  .legal-nav{
    position:absolute;top:66px;left:12px;right:12px;background:#fff;
    box-shadow:0 18px 35px rgba(13,50,51,.12);border:1px solid var(--line);
    border-radius:12px;padding:18px;display:none;flex-direction:column;align-items:stretch;z-index:120;
  }
  .legal-nav.is-open{display:flex}
  .legal-nav>a:not(.btn-legal){font-size:.9rem;padding:8px 0}
  .legal-hero{padding:36px 0 72px}
  .hero-copy h1{font-size:clamp(2.1rem,9vw,2.9rem)}
  .hero-buttons{flex-direction:column;align-items:stretch}
  .hero-buttons .btn-legal{width:100%}
  .hero-badge{max-width:100%;width:100%}
  .hero-bg-img{object-position:78% center}
  .benefit-strip{margin-top:-28px}
  .benefit-card{grid-template-columns:1fr}
  .benefit-item{border-right:0;border-bottom:1px solid var(--line)}
  .benefit-item:last-child{border-bottom:0}
  .city-photo{height:240px}
  .section-space{padding:52px 0}
  .case-numbers{grid-template-columns:1fr;gap:12px}
  .case-numbers>div{border-left:0;border-top:1px solid #d6d3ca;padding:12px 0 0}
  .method-grid{grid-template-columns:1fr}
  .method-step{border-right:0;border-bottom:1px solid #d9e7e1}
  .method-step:last-child{border-bottom:0}
  .ethic-list{grid-template-columns:1fr}
  .reviews-grid{grid-template-columns:1fr}
  .final-cta{padding:28px 22px;flex-direction:column;align-items:flex-start}
  .final-cta .btn-legal{width:100%}
  .footer-links{justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn-legal,.service-card{transition:none}
}
