/*
Theme Name: Neves & Rolim Institucional
Theme URI: https://neveserolim.com.br
Author: Neves & Rolim Advocacia
Description: Tema institucional exclusivo para a Neves & Rolim Advocacia.
Version: 1.2.1
Text Domain: neves-rolim
*/

:root {
  --navy: #071a2d;
  --navy-2: #0b2947;
  --blue: #123f68;
  --gold: #cda65d;
  --gold-light: #e9cf9d;
  --white: #ffffff;
  --mist: #f3f6f8;
  --ink: #17212b;
  --muted: #637080;
  --line: rgba(7, 26, 45, .12);
  --shadow: 0 20px 60px rgba(7, 26, 45, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Arial, sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--mist); }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-title { max-width: 800px; margin: 0 0 22px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.06; font-weight: 500; }
.section-lead { max-width: 760px; margin: 0 0 42px; color: var(--muted); font-size: 1.08rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 99px; font-weight: 800; transition: .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px rgba(205,166,93,.22); }
.btn-outline { border-color: rgba(255,255,255,.42); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }

.topbar { background: #04111f; color: rgba(255,255,255,.78); font-size: .82rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar strong { color: var(--gold-light); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,26,45,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; width: 220px; height: 63px; overflow: hidden; flex: 0 0 auto; }
.brand img { display: block; width: 346px; max-width: none; height: auto; transform: translate(-63px, -91px); }
.nav { display: flex; align-items: center; gap: 27px; color: rgba(255,255,255,.86); font-size: .92rem; font-weight: 700; }
.nav a:hover { color: var(--gold-light); }
.menu-toggle { display: none; border: 0; background: transparent; color: white; font-size: 1.5rem; }

.hero { position: relative; overflow: hidden; min-height: 740px; display: grid; align-items: center; color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(205,166,93,.18), transparent 27%), linear-gradient(125deg, #04111f 0%, #08233d 55%, #123f68 100%); }
.hero:before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to left, #000, transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; padding: 82px 0 98px; }
.hero h1 { max-width: 790px; margin: 0 0 24px; font-family: Georgia, serif; font-size: clamp(2.85rem, 6vw, 5.25rem); line-height: .99; font-weight: 500; letter-spacing: -.035em; }
.hero h1 span { color: var(--gold-light); }
.hero-copy { max-width: 680px; margin: 0 0 34px; color: rgba(255,255,255,.76); font-size: 1.13rem; }
.hero-topics { display: flex; flex-wrap: wrap; gap: 9px; margin: -10px 0 30px; }
.hero-topics span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.055); font-size: .78rem; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-people { justify-self: end; width: min(430px, 100%); padding: 12px; border: 1px solid rgba(233,207,157,.3); border-radius: 28px; background: rgba(4,17,31,.62); box-shadow: var(--shadow); }
.hero-portraits { height: 338px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; overflow: hidden; border-radius: 19px; }
.hero-portraits img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.88) contrast(1.02); }
.hero-people-caption { padding: 20px 16px 14px; }
.rating-inline { display: block; margin-bottom: 10px; color: var(--gold); font-size: .82rem; letter-spacing: .08em; }
.rating-inline b { margin-left: 8px; color: rgba(255,255,255,.8); letter-spacing: 0; }
.hero-people-caption strong { display: block; margin-bottom: 7px; font-family: Georgia, serif; font-size: 1.42rem; line-height: 1.12; font-weight: 500; }
.hero-people-caption small { display: block; color: rgba(255,255,255,.66); line-height: 1.5; }
.trust-strip { position: relative; z-index: 2; margin-top: -46px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust-item { padding: 28px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.trust-item span { color: var(--muted); font-size: .88rem; }

.section-heading-row { display: grid; grid-template-columns: 1.1fr .75fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.section-heading-row .section-title, .section-heading-row .section-lead { margin-bottom: 0; }
.client-paths { padding-top: 120px; }
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card { min-height: 320px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 35px rgba(7,26,45,.06); transition: .3s ease; }
.path-card:hover { transform: translateY(-6px); border-color: rgba(205,166,93,.75); box-shadow: var(--shadow); }
.path-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--gold-light); font-family: Georgia, serif; }
.path-card h3 { margin: 30px 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.12; font-weight: 500; }
.path-card p { margin: 0 0 24px; color: var(--muted); }
.path-card strong { margin-top: auto; color: var(--blue); font-size: .9rem; }

.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.monogram-panel { min-height: 520px; border-radius: var(--radius); display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(205,166,93,.17), transparent 35%), #061523; box-shadow: var(--shadow); }
.monogram-panel img { width: min(68%, 360px); border-radius: 18px; }
.check-list { padding: 0; margin: 30px 0 0; list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li:before { content: "✓"; flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--gold-light); font-weight: 900; }

.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card { position: relative; min-height: 270px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: .3s ease; overflow: hidden; }
.area-card:after { content: ""; position: absolute; width: 110px; height: 110px; right: -45px; bottom: -55px; border: 1px solid var(--gold); border-radius: 50%; opacity: .35; }
.area-card:hover { transform: translateY(-7px); border-color: rgba(205,166,93,.65); box-shadow: var(--shadow); }
.area-number { color: var(--gold); font-family: Georgia, serif; font-size: 1rem; }
.area-card h3 { margin: 36px 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.area-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.area-featured { grid-column: span 2; padding-right: min(38%, 310px); color: white; background: linear-gradient(125deg, var(--navy), var(--blue)); border-color: transparent; }
.area-featured:after { width: 230px; height: 230px; right: 40px; bottom: -82px; opacity: .45; box-shadow: 0 0 0 30px rgba(205,166,93,.06), 0 0 0 60px rgba(205,166,93,.04); }
.area-featured h3 { color: white; font-size: 2rem; }
.area-featured p { color: rgba(255,255,255,.72); }
.area-badge { display: inline-flex; margin-bottom: 28px; padding: 7px 12px; border-radius: 99px; color: var(--gold-light); background: rgba(205,166,93,.12); border: 1px solid rgba(205,166,93,.35); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.area-link { display: inline-block; margin-top: 24px; color: var(--gold-light); font-weight: 800; }

.process { background: linear-gradient(180deg, #fff, #f7f9fa); }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--gold); font-family: Georgia, serif; font-size: 1.15rem; }
.steps h3 { margin: 0 0 7px; color: var(--navy); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.steps p { margin: 0; color: var(--muted); }

.partners { color: white; background: linear-gradient(125deg, var(--navy), var(--navy-2)); }
.partners .section-title { color: white; }
.partners-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; margin-bottom: 44px; }
.partners-intro p { color: rgba(255,255,255,.68); }
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.partner-card { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.partner-photo { display: block; width: 100%; height: 480px; object-fit: cover; object-position: center 22%; filter: saturate(.84) contrast(1.02); }
.partner-info { padding: 28px 32px 32px; border-top: 3px solid var(--gold); }
.partner-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; }
.partner-card p { margin: 7px 0 0; color: var(--gold-light); }
.team-note { margin-top: 28px; padding: 24px 28px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.05); color: rgba(255,255,255,.74); }

.reviews-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: center; }
.rating-card { padding: 38px; color: white; background: var(--navy); border-radius: var(--radius); text-align: center; }
.rating-card .score { font-family: Georgia, serif; font-size: 4.3rem; line-height: 1; }
.rating-card .stars { color: var(--gold); letter-spacing: .12em; font-size: 1.25rem; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote { margin: 0; padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; color: var(--muted); }
.quote strong { display: block; margin-top: 14px; color: var(--navy); }

.units-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.units-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.unit { padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.unit strong { display: block; color: var(--navy); }
.unit a { color: var(--blue); font-weight: 750; font-size: .92rem; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 44px 24px 0; color: var(--navy); cursor: pointer; list-style: none; font-family: Georgia, serif; font-size: 1.25rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--gold); font-family: Arial, sans-serif; font-size: 1.7rem; font-weight: 300; }
.faq-list details[open] summary:after { content: "−"; }
.faq-list details p { margin: -6px 44px 24px 0; color: var(--muted); }

.cta { padding: 70px 0; color: white; background: linear-gradient(120deg, var(--blue), var(--navy)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.05; }

.footer { padding: 62px 0 28px; color: rgba(255,255,255,.72); background: #04111f; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .9fr; gap: 60px; }
.footer-logo { width: 245px; margin-bottom: 20px; }
.footer h3 { margin-top: 0; color: white; font-family: Georgia, serif; font-weight: 500; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.whatsapp-float { position: fixed; z-index: 80; right: 20px; bottom: 20px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: white; font-size: 1.55rem; box-shadow: 0 12px 32px rgba(0,0,0,.24); }

@media (max-width: 960px) {
  .nav { position: fixed; inset: 120px 18px auto; padding: 24px; display: none; flex-direction: column; align-items: stretch; background: var(--navy); border-radius: 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid, .about-grid, .partners-intro, .reviews-grid, .section-heading-row, .process-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-people { justify-self: start; width: min(540px, 100%); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area-featured { grid-column: span 2; }
  .units-grid { grid-template-columns: repeat(3, 1fr); }
  .paths-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .topbar-inner { min-height: 32px; justify-content: center; text-align: center; }
  .topbar-inner span:last-child { display: none; }
  .header-inner { min-height: 70px; }
  .brand { width: 190px; height: 54px; }
  .brand img { width: 299px; transform: translate(-54px, -79px); }
  .hero { min-height: auto; }
  .hero-grid { padding: 70px 0 90px; gap: 46px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-copy { font-size: 1.02rem; }
  .hero-topics { margin-top: -12px; }
  .hero-people { width: 100%; padding: 9px; border-radius: 22px; }
  .hero-portraits { height: 285px; border-radius: 15px; }
  .hero-people-caption { padding: 17px 13px 12px; }
  .hero-people-caption strong { font-size: 1.22rem; }
  .trust-grid, .areas-grid, .partner-grid, .quotes, .units-grid, .footer-grid { grid-template-columns: 1fr; }
  .area-featured { grid-column: span 1; padding-right: 30px; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .monogram-panel { min-height: 390px; }
  .partner-photo { height: 430px; }
  .path-card { min-height: 0; }
  .steps li { grid-template-columns: 52px 1fr; }
  .units-head, .cta-inner { align-items: flex-start; flex-direction: column; }
}
