/*
Theme Name: João Pedro Schuab
Theme URI: https://joaopedroschuab.com.br
Author: K-Brand
Author URI: https://www.kbrand.com.br/
Description: Tema institucional para o site de João Pedro Schuab — Advocacia e Consultoria Jurídica.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jps
*/

:root{
  --ink: #0B131C;
  --ink-deep: #060A10;
  --ink-soft: #121D29;
  --paper: #E2E7EB;
  --paper-deep: #D6DCE1;
  --steel-dark: #5A6B78;
  --steel: #7C8D9D;
  --steel-light: #CED3D9;
  --white: #F3F5F6;
  --line: rgba(206,211,217,0.16);
  --line-on-paper: rgba(11,19,28,0.1);
}

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

html{ scroll-behavior:smooth; }

body{
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

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

.container{
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

h1, h2, h3{
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.kicker{
  display:flex;
  align-items:center;
  gap:14px;
  font-family:'Inter Tight', sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel-dark);
  font-weight: 600;
}

.kicker::before{
  content:'';
  width: 36px;
  height: 1px;
  background: var(--steel);
  display:block;
}

section.on-dark .kicker{ color: var(--steel-light); }

a{ color:inherit; text-decoration:none; }

em{
  font-style: italic;
  font-weight: 500;
  font-family: 'Source Serif 4', serif;
}

/* ===================== BUTTONS ===================== */

.btn-steel{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--steel-light), var(--steel) 55%, var(--steel-dark));
  color: var(--ink-deep);
  font-family:'Inter Tight', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
  box-shadow: 0 8px 24px -8px rgba(11,19,28,0.35);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-steel .short{ display:none; }

.btn-steel:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-dark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 32px;
  background: var(--ink);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .35s ease, background .35s ease;
  border: 1px solid var(--ink);
  cursor: pointer;
}

.btn-dark:hover{ transform: translateY(-2px); background: #000; }

.btn-outline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 14px 30px;
  border: 1px solid var(--line-on-paper);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color .35s ease, background .35s ease;
}

.btn-outline:hover{ border-color: var(--ink); background: rgba(11,19,28,0.04); }

.btn-outline.on-dark{
  border-color: var(--line);
  color: var(--white);
}

.btn-outline.on-dark:hover{ border-color: var(--steel-light); background: rgba(206,211,217,0.06); }

.link-underline{
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(11,19,28,0.35);
  padding-bottom: 6px;
  transition: border-color .3s ease, color .3s ease;
}

.link-underline:hover{ color: var(--steel-dark); border-color: var(--steel-dark); }

/* ===================== HEADER ===================== */

header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  padding: 26px 0;
  transition: background-color .5s ease, padding .4s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled{
  background: rgba(11,19,28,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}

.logo{
  display:flex;
  align-items:center;
  height: 61px;
  transition: height .4s ease;
}

header.scrolled .logo{ height: 48px; }

.logo img{ height: 100%; width: auto; }

nav.main-nav{
  display:flex;
  align-items:center;
  gap: 40px;
}

nav.main-nav a{
  font-size: 12px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--white);
  opacity: 0.85;
  position: relative;
  padding-bottom: 4px;
  transition: opacity .3s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

nav.main-nav a::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0%;
  height:1px;
  background: var(--steel-light);
  transition: width .35s ease;
}

nav.main-nav a:hover, nav.main-nav a.current-menu-item{ opacity:1; }
nav.main-nav a:hover::after, nav.main-nav a.current-menu-item::after{ width:100%; }
nav.main-nav .current-menu-item > a{ opacity:1; }
nav.main-nav .current-menu-item > a::after{ width:100%; }

.header-right{ display:flex; align-items:center; gap: 28px; }

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:6px;
  background:none;
  border:none;
  cursor:pointer;
  padding: 6px;
  z-index: 200;
}

.menu-toggle span{ width: 26px; height: 1px; background: var(--white); display:block; transition: all .3s ease; }
.menu-toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2){ opacity:0; }
.menu-toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  inset:0;
  z-index: 90;
  background: rgba(6,10,16,0.98);
  backdrop-filter: blur(10px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap: 40px;
  padding: 0 clamp(24px, 8vw, 80px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}

.mobile-nav.active{ opacity:1; visibility: visible; transform: translateY(0); }
.mobile-nav nav{ display:flex; flex-direction:column; gap: 26px; }
.mobile-nav nav a{ font-family:'Source Serif 4', serif; font-size: 2.2rem; color: var(--white); font-weight: 500; }
.mobile-nav nav a:hover{ color: var(--steel-light); }

/* ===================== HERO ===================== */

.hero{
  position: relative;
  min-height: clamp(680px, 100vh, 1000px);
  display:flex;
  flex-direction: column;
  background: var(--ink);
  overflow:hidden;
}

.hero-bgname{
  position:absolute;
  top: 8%;
  left:0;
  width:100%;
  text-align:center;
  font-family:'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 10rem);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(206,211,217,0.16);
  white-space: nowrap;
  z-index: 1;
  pointer-events:none;
}

.hero-media{
  position:absolute;
  inset:0;
  z-index:2;
  background: var(--ink);
}

.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: grayscale(0.55) contrast(1.05);
}

.hero-media::after{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(11,19,28,0.1) 0%, rgba(11,19,28,0.05) 45%, rgba(11,19,28,0.55) 78%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(11,19,28,0.75) 20%, rgba(11,19,28,0) 55%);
}

.hero-inner{
  position:relative;
  z-index: 3;
  width:100%;
  flex: 1;
  display:flex;
  align-items:flex-end;
  padding-top: 90px;
}

.hero-content{
  max-width: 620px;
  padding-bottom: clamp(56px, 8vw, 100px);
}

.hero-content .kicker{ margin-bottom: 22px; color: var(--steel-light); }

.hero-content h1{
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: var(--white);
  margin-bottom: 24px;
}

.hero-content h1 em{
  background: linear-gradient(120deg, var(--steel-light), var(--steel) 60%, var(--steel-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.14em;
  margin-right: -0.14em;
}

.hero-content p.lead{
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(243,245,246,0.72);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions{ display:flex; align-items:center; flex-wrap: wrap; gap: 22px; }

.hero-card{
  position:absolute;
  z-index:4;
  right: clamp(16px, 3vw, 48px);
  bottom: clamp(40px, 6vw, 90px);
  background: rgba(11,19,28,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 30px;
  display:flex;
  gap: 40px;
}

.hero-card .item{ display:flex; flex-direction:column; gap:6px; }
.hero-card .item .l{ font-size: 10.5px; letter-spacing: 0.1em; text-transform:uppercase; color: rgba(243,245,246,0.5); }
.hero-card .item .v{ font-family:'Source Serif 4', serif; font-size: 1.15rem; color: var(--white); }

/* ===================== ABOUT SPLIT ===================== */

.about-split{
  position: relative;
  background: var(--paper);
  padding: clamp(90px, 12vw, 140px) 0;
}

.about-split .grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 6vw, 90px);
  align-items:center;
}

.about-split .media{
  position:relative;
  overflow:hidden;
  background: var(--ink-soft);
}

.about-split .media::before{ content:''; display:block; padding-top: 122%; }

.about-split .media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: center 15%;
  filter: grayscale(0.6) contrast(1.05);
}

.about-split .content h2{
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--ink);
  margin: 20px 0 22px;
}

.about-split .content p{
  font-size: 15px;
  line-height: 1.9;
  color: rgba(11,19,28,0.65);
  max-width: 520px;
  margin-bottom: 32px;
}

.about-meta{
  display:flex;
  gap: clamp(30px, 5vw, 70px);
  border-top: 1px solid var(--line-on-paper);
  padding-top: 26px;
  margin-bottom: 34px;
}

.about-meta .item .l{ font-size: 10.5px; letter-spacing: 0.1em; text-transform:uppercase; color: rgba(11,19,28,0.45); margin-bottom: 8px; display:block; }
.about-meta .item .v{ font-family:'Source Serif 4', serif; font-size: 1.05rem; color: var(--ink); }

/* ===================== CASE CARDS ===================== */

.cases{
  position: relative;
  background: var(--paper-deep);
  padding: clamp(90px, 12vw, 140px) 0;
  border-top: 1px solid var(--line-on-paper);
}

.cases-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 40px;
  margin-bottom: clamp(50px, 6vw, 76px);
}

.cases-head h2{
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ink);
  margin-top: 18px;
}

.cases-head p{ max-width: 320px; font-size: 14px; line-height: 1.8; color: rgba(11,19,28,0.55); }

.cases-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.case-card{
  background: var(--ink);
  border-radius: 6px;
  padding: 34px 30px;
  display:flex;
  flex-direction:column;
  min-height: 300px;
  position:relative;
  overflow:hidden;
  transition: transform .4s ease;
}

.case-card:hover{ transform: translateY(-6px); }

.case-card .tag{
  align-self:flex-start;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  background: var(--steel-light);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.case-card h3{
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 14px;
  line-height:1.3;
}

.case-card p{
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(243,245,246,0.55);
  flex:1;
  margin-bottom: 22px;
}

.case-card .go{
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel-light);
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.case-card .go .arrow{ transition: transform .3s ease; }
.case-card:hover .go .arrow{ transform: translateX(4px); }

/* ===================== PROCESS ===================== */

.process{
  position: relative;
  background: var(--paper);
  padding: clamp(90px, 12vw, 140px) 0;
}

.process .grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 6vw, 90px);
  align-items:center;
}

.process .media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 420px;
  overflow: visible;
}

.process .media svg, .process .media img{ width: 200%; max-width:none; height:auto; opacity: 0.32; }

.process .content h2{
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--ink);
  margin: 18px 0 40px;
}

.step{
  display:flex;
  gap: 22px;
  align-items:flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--line-on-paper);
}

.step:last-child{ border-bottom: 1px solid var(--line-on-paper); }

.step .n{
  flex-shrink:0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Source Serif 4', serif;
  font-size: 14px;
  color: var(--ink);
}

.step h4{ font-family:'Source Serif 4', serif; font-weight:500; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.step p{ font-size: 13.5px; line-height: 1.75; color: rgba(11,19,28,0.55); max-width: 440px; }

/* ===================== SERVICES (DARK) ===================== */

.services{
  position: relative;
  background: var(--ink);
  padding: clamp(90px, 12vw, 140px) 0;
  border-top: 1px solid var(--line);
}

.services-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 40px;
  margin-bottom: clamp(50px, 6vw, 76px);
}

.services-head h2{
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--white);
  margin-top: 18px;
}

.services-list{ border-top: 1px solid var(--line); }

.service-row{ border-bottom: 1px solid var(--line); }

.service-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  padding: 28px 4px;
  background:none;
  border:none;
  cursor:pointer;
  text-align:left;
  color: var(--white);
}

.service-q .left{ display:flex; align-items:center; gap: 24px; }
.service-q .idx{ font-family:'Source Serif 4', serif; font-size: 13px; color: var(--steel-light); width: 26px; }
.service-q .name{ font-family:'Source Serif 4', serif; font-size: 1.3rem; font-weight:500; }

.service-q .icon{ flex-shrink:0; width: 24px; height: 24px; position: relative; }

.service-q .icon::before,
.service-q .icon::after{
  content:'';
  position:absolute;
  background: var(--steel-light);
  transition: transform .35s ease, opacity .35s ease;
}

.service-q .icon::before{ left:0; top:50%; width:100%; height:1px; transform: translateY(-50%); }
.service-q .icon::after{ left:50%; top:0; width:1px; height:100%; transform: translateX(-50%); }

.service-row.active .service-q .icon::after{ transform: translateX(-50%) rotate(90deg); opacity:0; }

.service-a{ max-height:0; overflow:hidden; transition: max-height .45s ease; }
.service-a p{
  padding: 0 4px 30px 50px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243,245,246,0.58);
}

.service-a a{
  display:inline-block;
  margin: 0 0 30px 50px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel-light);
  border-bottom: 1px solid rgba(206,211,217,0.35);
  padding-bottom: 4px;
}

/* ===================== FAQ ===================== */

.faq{
  position: relative;
  background: var(--paper-deep);
  padding: clamp(90px, 12vw, 140px) 0;
}

.faq .grid{
  display:grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(48px, 6vw, 90px);
  align-items:flex-start;
}

.faq-intro .avatar{
  width: 64px; height:64px;
  border-radius:50%;
  overflow:hidden;
  margin-bottom: 22px;
  background: var(--ink-soft);
}

.faq-intro .avatar img{ width:100%; height:100%; object-fit:cover; object-position: center 15%; filter: grayscale(0.6); }

.faq-intro h2{
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--ink);
  margin-bottom: 16px;
}

.faq-intro p{ font-size: 14px; line-height: 1.85; color: rgba(11,19,28,0.6); max-width: 300px; margin-bottom: 28px; }

.faq-list{ border-top: 1px solid var(--line-on-paper); }

.faq-item{ border-bottom: 1px solid var(--line-on-paper); }

.faq-q{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  padding: 26px 4px;
  background:none;
  border:none;
  cursor:pointer;
  text-align:left;
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
}

.faq-q .icon{ flex-shrink:0; width: 24px; height: 24px; position: relative; }
.faq-q .icon::before, .faq-q .icon::after{ content:''; position:absolute; background: var(--ink); transition: transform .35s ease, opacity .35s ease; }
.faq-q .icon::before{ left:0; top:50%; width:100%; height:1px; transform: translateY(-50%); }
.faq-q .icon::after{ left:50%; top:0; width:1px; height:100%; transform: translateX(-50%); }
.faq-item.active .faq-q .icon::after{ transform: translateX(-50%) rotate(90deg); opacity:0; }

.faq-a{ max-height:0; overflow:hidden; transition: max-height .45s ease; }
.faq-a p{ padding: 0 4px 26px; max-width: 620px; font-size: 14px; line-height: 1.85; color: rgba(11,19,28,0.58); }

/* ===================== LEAD FORM ===================== */

.lead-section{
  position: relative;
  background: var(--paper-deep);
  padding: clamp(90px, 12vw, 140px) 0;
}

.lead-head{ max-width: 640px; margin-bottom: clamp(50px, 6vw, 76px); }
.lead-head h2{
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ink);
  margin-top: 18px;
}

.lead-grid{ display:grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: var(--ink); border-radius: 8px; overflow:hidden; }
.lead-grid-solo{ grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.lead-grid-solo .lead-form{ padding: clamp(40px, 6vw, 64px); }

.lead-form{ padding: clamp(36px, 5vw, 56px); }
.lead-form h3{ font-family:'Source Serif 4', serif; font-size: 1.3rem; color: var(--white); font-weight:500; margin-bottom:10px; }
.lead-form .sub{ font-size: 13.5px; color: rgba(243,245,246,0.55); margin-bottom: 32px; }

.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field{ display:flex; flex-direction:column; gap: 8px; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{ font-size: 11px; letter-spacing: 0.08em; text-transform:uppercase; color: rgba(243,245,246,0.5); }

.form-field input, .form-field select, .form-field textarea{
  background: rgba(243,245,246,0.06);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
  font-family:'Inter Tight', sans-serif;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color .3s ease;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color: var(--steel-light); }
.form-field textarea{ resize: vertical; min-height: 90px; }
.form-field select{ appearance: none; -webkit-appearance:none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23CED3D9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-field select option{ color: var(--ink); background: var(--white); }

.lead-form .btn-steel{ width:100%; margin-top: 6px; }

/* ===================== BLOG LISTING ===================== */

.blog-hero{ background: var(--ink); padding: clamp(140px, 16vw, 190px) 0 clamp(70px, 8vw, 100px); }
.blog-hero .kicker{ color: var(--steel-light); }
.blog-hero h1{
  font-family: 'Inter Tight', sans-serif; font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--white); max-width: 780px; margin: 20px 0 22px;
}
.blog-hero h1 em{ background: linear-gradient(120deg, var(--steel-light), var(--steel) 60%, var(--steel-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-hero p{ font-size: 15px; line-height: 1.8; color: rgba(243,245,246,0.65); max-width: 540px; }

.blog-filters{ background: var(--ink); padding: 0 0 clamp(50px, 6vw, 76px); }
.filters-row{ display:flex; flex-wrap:wrap; gap: 10px; }
.filter-chip{
  background: none; border: 1px solid var(--line); color: rgba(243,245,246,0.7);
  font-size: 12.5px; letter-spacing: 0.03em; padding: 10px 20px; border-radius: 30px; cursor:pointer;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.filter-chip:hover{ border-color: var(--steel-light); color: var(--white); }
.filter-chip.is-active{ background: var(--steel-light); border-color: var(--steel-light); color: var(--ink-deep); font-weight: 600; }

.blog-grid-section{ background: var(--paper); padding: clamp(70px, 8vw, 100px) 0 clamp(100px, 12vw, 150px); }
.blog-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.blog-grid-section.home-blog{ border-top: 1px solid var(--line-on-paper); }
.home-blog-grid{ grid-template-columns: repeat(2, 1fr); }
.home-blog-grid .post-card{ flex-direction: row; }
.home-blog-grid .post-card .post-media{ flex: 0 0 46%; aspect-ratio: auto; }
.home-blog-grid .post-card .post-body{ flex:1; justify-content:center; }

.post-card{
  display:flex; flex-direction:column;
  background: var(--white);
  border-radius: 6px;
  overflow:hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 1px 0 var(--line-on-paper);
}
.post-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 34px -16px rgba(11,19,28,0.25); }

.post-media{ position:relative; aspect-ratio: 16/10; overflow:hidden; background: var(--ink-soft); }
.post-media img{ width:100%; height:100%; object-fit:cover; object-position: center 15%; filter: grayscale(0.55) contrast(1.05); transition: transform .5s ease; }
.post-card:hover .post-media img{ transform: scale(1.05); }

.post-body{ padding: 26px 26px 30px; display:flex; flex-direction:column; gap: 10px; }

.post-tag{
  align-self:flex-start;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); background: var(--steel-light); padding: 5px 12px; border-radius: 20px;
}

.post-body h2, .post-body h3{ color: var(--ink); font-weight: 500; }
.post-body h3{ font-size: 1.15rem; line-height: 1.35; }
.post-body p{ font-size: 13.5px; line-height: 1.75; color: rgba(11,19,28,0.6); }

.post-meta{ display:flex; align-items:center; gap: 8px; font-size: 12px; color: rgba(11,19,28,0.45); margin-top: 4px; }
.post-meta .dot{ opacity: 0.6; }

/* Listagem principal do blog — todos os cards no mesmo padrão horizontal */
.blog-list{ display:flex; flex-direction:column; gap: 28px; }
.blog-list .post-card{ flex-direction:row; box-shadow: 0 1px 0 var(--line-on-paper); }
.blog-list .post-card .post-media{ flex: 0 0 42%; aspect-ratio: auto; }
.blog-list .post-card .post-body{ flex:1; justify-content:center; padding: 34px clamp(28px, 3vw, 44px); }
.blog-list .post-card h3{ font-size: clamp(1.25rem, 2vw, 1.6rem); line-height:1.3; margin-bottom: 2px; }
.blog-list .post-card p{ font-size: 14.5px; line-height: 1.8; }

/* ===================== SINGLE POST ===================== */

.post-hero{ background: var(--ink); padding: clamp(140px, 16vw, 190px) 0 clamp(60px, 7vw, 90px); }
.post-hero .kicker{ color: var(--steel-light); margin-bottom: 20px; }
.post-hero h1{
  font-family: 'Inter Tight', sans-serif; font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4vw, 3rem); color: var(--white); max-width: 820px; margin-bottom: 24px;
}
.post-hero-meta{ display:flex; flex-wrap:wrap; align-items:center; gap: 18px; font-size: 13px; color: rgba(243,245,246,0.6); }
.post-hero-meta .author{ display:flex; align-items:center; gap:10px; }
.post-hero-meta .author img{ width:32px; height:32px; border-radius:50%; object-fit:cover; object-position: center 15%; filter: grayscale(0.5); }

.post-article{ background: var(--paper); padding: clamp(60px, 8vw, 90px) 0 clamp(90px, 10vw, 130px); }
.post-article .layout{ display:grid; grid-template-columns: 1.9fr 1fr; gap: clamp(40px, 5vw, 70px); align-items:start; }

.post-featured-img{
  border-radius: 12px; overflow:hidden; margin-bottom: 36px;
  box-shadow: 0 20px 40px -20px rgba(11,19,28,0.3);
}
.post-featured-img img{
  width:100%; aspect-ratio: 2.4/1; object-fit:cover; object-position: center 30%;
  filter: grayscale(0.5) contrast(1.05);
}

.post-sidebar{ position:sticky; top: 110px; display:flex; flex-direction:column; gap: 30px; }

.sidebar-block{ padding-bottom: 26px; border-bottom: 1px solid var(--line-on-paper); }
.sidebar-block:last-child{ border-bottom:none; padding-bottom:0; }
.sidebar-block h4{ font-size: 11px; letter-spacing: 0.14em; text-transform:uppercase; color: rgba(11,19,28,0.45); margin-bottom: 18px; }

.sidebar-toc{ list-style:none; display:flex; flex-direction:column; gap: 12px; border-left: 1px solid var(--line-on-paper); }
.sidebar-toc a{ font-size: 13.5px; color: rgba(11,19,28,0.6); padding-left: 16px; display:block; transition: color .3s ease; }
.sidebar-toc a:hover{ color: var(--ink); }

.sidebar-cats{ list-style:none; display:flex; flex-direction:column; gap: 4px; }
.sidebar-cats a{
  display:flex; align-items:center; justify-content:space-between; gap: 10px;
  font-size: 14px; color: rgba(11,19,28,0.7); padding: 10px 4px;
  border-bottom: 1px solid var(--line-on-paper);
  transition: color .3s ease, padding-left .3s ease;
}
.sidebar-cats li:last-child a{ border-bottom:none; }
.sidebar-cats a:hover{ color: var(--ink); padding-left: 8px; }
.sidebar-cats a span{ font-size: 11.5px; color: rgba(11,19,28,0.35); }

.sidebar-next{ display:block; }
.sidebar-next-img{ border-radius: 10px; overflow:hidden; margin-bottom: 16px; }
.sidebar-next-img img{
  width:100%; aspect-ratio: 16/10; object-fit:cover; object-position: center 15%;
  filter: grayscale(0.5) contrast(1.05); transition: transform .5s ease;
}
.sidebar-next:hover .sidebar-next-img img{ transform: scale(1.05); }
.sidebar-next-title{
  display:block; font-family:'Source Serif 4', serif; font-size: 1.05rem; font-weight:500;
  color: var(--ink); line-height:1.35; margin-bottom: 10px;
  transition: color .3s ease;
}
.sidebar-next:hover .sidebar-next-title{ color: var(--steel-dark); }
.sidebar-next-arrow{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 11.5px; letter-spacing: 0.06em; text-transform:uppercase; font-weight:700; color: var(--steel-dark);
}

.sidebar-cta{
  background: var(--ink);
  border-radius: 12px;
  padding: 30px 28px;
  border-bottom:none;
  position:relative;
  overflow:hidden;
}
.sidebar-cta::before{
  content:'';
  position:absolute; top:0; left:0; width:100%; height:3px;
  background: linear-gradient(90deg, var(--steel-light), var(--steel) 55%, var(--steel-dark));
}
.sidebar-cta h4{
  font-size: 15px; letter-spacing: 0; text-transform:none; font-weight:600;
  font-family:'Source Serif 4', serif;
  color: var(--white); margin-bottom: 10px;
}
.sidebar-cta p{ font-size: 13.5px; line-height: 1.7; color: rgba(243,245,246,0.6); margin-bottom: 24px; }
.sidebar-cta .btn-steel{ width:100%; justify-content:center; }

.post-content{ max-width: 100%; }
.post-content p{ font-size: 16px; line-height: 1.95; color: rgba(11,19,28,0.75); margin-bottom: 24px; }
.post-content h2{ font-size: 1.6rem; color: var(--ink); margin: 44px 0 18px; }
.post-content h3{ font-size: 1.25rem; color: var(--ink); margin: 34px 0 14px; }
.post-content ul, .post-content ol{ margin: 0 0 24px 20px; }
.post-content li{ font-size: 15.5px; line-height: 1.85; color: rgba(11,19,28,0.72); margin-bottom: 8px; }
.post-content blockquote{
  border-left: 3px solid var(--steel); padding: 6px 0 6px 24px; margin: 32px 0;
  font-family:'Source Serif 4', serif; font-style: italic; font-size: 1.15rem; color: var(--ink);
}
.post-content img{ border-radius: 10px; margin: 24px 0; }
.post-content a{ text-decoration: underline; text-decoration-color: var(--steel); }

.post-cta{
  margin-top: 50px; padding: 36px; background: var(--ink); border-radius: 8px;
  display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap:wrap;
}
.post-cta h4{ font-family:'Source Serif 4', serif; font-size: 1.2rem; color: var(--white); font-weight:500; }
.post-cta p{ font-size: 13.5px; color: rgba(243,245,246,0.6); margin-top: 6px; }

.post-related{ background: var(--paper-deep); padding: clamp(70px, 8vw, 100px) 0; }
.post-related h3{ font-size: 1.5rem; color: var(--ink); margin-bottom: 34px; }
.post-related .blog-grid{ grid-template-columns: repeat(3, 1fr); }

.blog-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:38px; height:38px; padding: 0 12px;
  border: 1px solid var(--line-on-paper); border-radius: 4px;
  font-size: 13px; color: var(--ink);
}
.blog-pagination .page-numbers.current{ background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ===================== FOOTER ===================== */

footer{ position: relative; background: var(--ink-deep); padding: clamp(70px, 8vw, 100px) 0 0; }

.footer-top{
  display:grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 84px);
}

.footer-brand .logo{ height: 48px; margin-bottom: 22px; }
.footer-brand .logo img{ height:100%; width:auto; }
.footer-brand p{ font-size: 14px; line-height: 1.85; color: rgba(243,245,246,0.55); max-width: 320px; }

.footer-col h4{ font-family: 'Inter Tight', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-light); font-weight: 600; margin-bottom: 26px; }
.footer-col ul{ list-style:none; display:flex; flex-direction:column; gap: 16px; }
.footer-col a{ font-size: 14.5px; color: rgba(243,245,246,0.7); transition: color .3s ease; }
.footer-col a:hover{ color: var(--steel-light); }
.footer-col address{ font-style: normal; font-size: 14.5px; line-height: 1.9; color: rgba(243,245,246,0.7); }

.footer-bottom{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p{ font-size: 12.5px; color: rgba(243,245,246,0.4); letter-spacing: 0.02em; }
.footer-bottom .oab{ font-size: 12.5px; color: rgba(243,245,246,0.4); }
.footer-bottom .oab .sep{ margin: 0 2px; opacity: 0.6; }
.footer-bottom .oab a{ color: rgba(243,245,246,0.55); transition: color .3s ease; }
.footer-bottom .oab a:hover{ color: var(--steel-light); }

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px){
  nav.main-nav{ display:none; }
  .menu-toggle{ display:flex; }

  .hero-card{ position:static; margin: 28px clamp(24px, 5vw, 80px) 0; }
  .hero-inner{ flex-direction:column; align-items:flex-start; }
  .hero{ padding-bottom: 40px; }

  .about-split .grid,
  .process .grid,
  .faq .grid{ grid-template-columns: 1fr; }

  .about-split .media{ max-width: 420px; }
  .about-meta{ flex-wrap:wrap; gap: 30px; }

  .cases-grid{ grid-template-columns: 1fr; }
  .cases-head, .services-head{ flex-direction:column; align-items:flex-start; gap: 20px; }

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

  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
  .blog-list .post-card{ flex-direction:column; }
  .blog-list .post-card .post-media{ flex: none; aspect-ratio: 16/10; }
  .post-article .layout{ grid-template-columns: 1fr; }
  .post-sidebar{ position:static; }
  .post-related .blog-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}

@media (max-width: 640px){
  .hero-bgname{ display:none; }
  .hero-content h1{ font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-card{ flex-direction:column; gap: 18px; }

  .form-row{ grid-template-columns: 1fr; }

  .footer-top{ grid-template-columns: 1fr; }

  .service-q .name{ font-size: 1.05rem; }

  .header-right .btn-steel .long{ display:none; }
  .header-right .btn-steel .short{ display:inline; }

  .blog-grid, .post-related .blog-grid, .home-blog-grid{ grid-template-columns: 1fr; }
  .home-blog-grid .post-card{ flex-direction: column; }
  .home-blog-grid .post-card .post-media{ flex: none; aspect-ratio: 16/10; }
  .post-cta{ flex-direction:column; align-items:flex-start; }
  .post-cta .btn-steel{ width:100%; }
}

/* ===================== MOTION / SCROLL REVEAL ===================== */

@keyframes heroFadeUp{
  from{ opacity:0; transform: translateY(24px); }
  to{ opacity:1; transform: translateY(0); }
}

@keyframes heroFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

@keyframes heroGlow{
  0%, 100%{ box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(0,0,0,0.5); }
  50%{ box-shadow: 0 0 0 1px rgba(206,211,217,0.4), 0 20px 46px -18px rgba(124,141,157,0.35); }
}

.hero-content{ animation: heroFadeUp 1s cubic-bezier(.16,.84,.44,1) both; }
.hero-card{
  animation:
    heroFadeUp 1s cubic-bezier(.16,.84,.44,1) .3s both,
    heroFloat 5s ease-in-out 1.3s infinite,
    heroGlow 5s ease-in-out 1.3s infinite;
}

@media (prefers-reduced-motion: reduce){
  .hero-card{ animation: none; }
}

.reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-1{ transition-delay: .06s; }
.reveal-2{ transition-delay: .14s; }
.reveal-3{ transition-delay: .22s; }
.reveal-4{ transition-delay: .3s; }
.reveal-5{ transition-delay: .38s; }
.reveal-6{ transition-delay: .46s; }

@media (prefers-reduced-motion: reduce){
  .hero-content, .hero-card{ animation: none; }
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* Extra hover / transition polish */

.case-card{ transition: transform .45s cubic-bezier(.16,.84,.44,1), box-shadow .45s ease; }
.case-card:hover{ transform: translateY(-8px); box-shadow: 0 26px 50px -22px rgba(11,19,28,0.4); }

.post-card{ transition: transform .45s cubic-bezier(.16,.84,.44,1), box-shadow .45s ease; }

.about-split .media img{ transition: transform .7s cubic-bezier(.16,.84,.44,1); }
.about-split .media:hover img{ transform: scale(1.05); }

.step{ transition: padding-left .35s ease; }
.step:hover{ padding-left: 10px; }

.service-row{ transition: background-color .35s ease; }
.service-row:hover{ background-color: rgba(124,141,157,0.055); }

.faq-item{ transition: background-color .35s ease; }
.faq-item:hover{ background-color: rgba(11,19,28,0.02); }

.btn-steel, .btn-dark{ position: relative; overflow: hidden; }
.btn-steel::after, .btn-dark::after{
  content:'';
  position:absolute;
  top:0; left:-60%;
  width:35%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left .65s cubic-bezier(.16,.84,.44,1);
  pointer-events: none;
}
.btn-steel:hover::after, .btn-dark:hover::after{ left: 130%; }

.logo img{ transition: transform .4s ease; }
.logo:hover img{ transform: scale(1.04); }
