
:root {
  --black: #000000;
  --graphite: #303235;
  --graphite-2: #303235;
  --orange: #dc5f00;
  --light: #eeeeee;
  --white: #ffffff;
  --off-white: #eeeeee;
  --muted: #767676;
  --line: rgba(48, 50, 53, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; background: var(--off-white); }

body {
  font-family: 'Instrument Sans', sans-serif;
  color: var(--graphite);
  background: var(--off-white);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.font-3, .title-font-2-font-3 b, h1, h2, h3, h4, .nav, .btn, .tag, .eyebrow {
  font-family: 'Instrument Sans', sans-serif;
}

.font-2, p, span, address, li, input, select, textarea {
  font-family: 'Instrument Sans', sans-serif;
}

.container { width: min(100% - 48px, var(--max)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.15rem, 3.6vw, 4.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 1100px;
}

h2 {
  font-size: clamp(1.75rem, 2.65vw, 3.05rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 980px;
}

h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.12;
}

h4 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { color: rgba(48, 50, 53, 0.86); font-size: 1rem; }

.lead {
  font-size: clamp(0.95rem, 0.98vw, 1.08rem);
  line-height: 1.65;
  color: rgba(48, 50, 53, 0.84);
}

.muted { color: var(--muted); }

.dark { background: var(--graphite); color: var(--white); }
.dark p, .dark .lead, .dark .muted { color: rgba(255, 255, 255, 0.74); }

.light { background: var(--white); }
.soft { background: var(--light); }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: #b94f00; border-color: #b94f00; }
.btn-dark { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline:hover {
  background: var(--graphite);
  color: var(--white);
  border-color: var(--graphite);
}
.btn-outline:hover span,
.btn-outline:hover svg {
  color: currentColor;
  stroke: currentColor;
}

.arrow {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(5px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--graphite);
  margin-top: 22px;
}

.dark .text-link { color: var(--white); }

.microcopy {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

.light .microcopy, .soft .microcopy {
  color: rgba(48, 50, 53, 0.62);
}

.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
}

.header.scrolled, .header.force-light {
  background: rgba(247, 246, 243, 0.96);
  color: var(--graphite);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(100% - 48px, var(--max));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; height: 48px; }
.logo img { height: 42px; width: auto; object-fit: contain; }

.header:not(.scrolled):not(.force-light) .logo img { filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 34px; font-weight: 700; font-size: 0.98rem; }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header .btn { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle span {
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  display: block;
}

.mobile-toggle span::before, .mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: currentColor;
}
.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { top: 7px; }

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.48) 46%, rgba(0,0,0,0.26) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.12) 42%),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
  transform: scale(1.04);
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  top: 28%;
  bottom: 24%;
  width: 1px;
  background: rgba(255, 255, 255, 0.34);
  z-index: 2;
}
.hero::before { left: 3.6%; }
.hero::after { right: 20%; }

.hero-content {
  position: relative;
  z-index: 3;
  padding: 150px 0 58px;
  width: 100%;
}

.hero .lead {
  max-width: 790px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-bottom {
  position: relative;
  z-index: 3;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  margin-top: 72px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.ticker { overflow: hidden; flex: 1; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 50px; animation: ticker 32s linear infinite; }
.ticker span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.42);
  margin-right: 24px;
  vertical-align: middle;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.page-hero {
  padding: 150px 0 78px;
  background: var(--graphite);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -16%;
  bottom: -28%;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(28deg);
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero .lead { max-width: 780px; margin-top: 28px; color: rgba(255,255,255,0.76); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 58px;
}

.card {
  min-height: 290px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.card:hover { background: var(--white); transform: translateY(-4px); }
.card h3 { font-size: clamp(1.05rem, 1.25vw, 1.35rem); margin-bottom: 16px; }
.card p { font-size: 0.98rem; line-height: 1.65; }
.card .text-link { color: var(--orange); }

.feature-dark { position: relative; overflow: hidden; }
.feature-dark::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 0;
  width: 48%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(48, 50, 53, 0.98), rgba(48, 50, 53, 0.40)),
    url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  opacity: 0.32;
}
.feature-dark .container { position: relative; z-index: 2; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 880px;
  margin-top: 46px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.feature-list li {
  list-style: none;
  padding: 22px 24px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.84);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  margin-top: 8px;
  flex: 0 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 54px;
}

.step {
  padding: 34px;
  min-height: 280px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-number {
  font-size: 3.6rem;
  line-height: 1;
  color: rgba(220, 95, 0, 0.92);
  margin-bottom: 34px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.step h3 { font-size: 1.05rem; margin-bottom: 14px; }

.image-panel {
  min-height: 620px;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.05), rgba(0,0,0,0.05)),
    url("../img/escritorio/foto-escritorio.jpg") center 45% / cover no-repeat;
}

.pro-card { border-top: 1px solid var(--line); padding-top: 28px; }
.pro-card h3 { font-size: 1.2rem; }
.pro-role { margin-top: 8px; color: var(--orange); font-weight: 700; }

.articles-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  margin-top: 58px;
}

.article-main { display: block; }
.article-image {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.12), rgba(0,0,0,0.12)),
    url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  margin-bottom: 26px;
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-main h3 { font-size: clamp(1.55rem, 2.45vw, 2.75rem); }
.article-list { border-top: 1px solid var(--line); }

.article-list a {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.article-list h4 { font-size: 1.08rem; line-height: 1.2; }
.article-thumb { aspect-ratio: 1.15 / 1; background: var(--light); position: relative; overflow: hidden; }
.article-thumb::before { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(48, 50, 53, 0.26); }
.article-thumb::after { content: ""; position: absolute; width: 42px; height: 42px; background: var(--orange); right: 20px; bottom: 20px; opacity: 0.8; }

.cta-band {
  background: var(--graphite);
  color: var(--white);
  padding: 92px 0;
  border-top: 1px solid var(--line-dark);
}
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.cta-band h2 { max-width: 860px; }

.values-list { border-top: 1px solid var(--line); margin-top: 50px; }
.value-row { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 60px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.value-row h3 { font-size: 1.2rem; }

.area-block { margin-top: 64px; border-top: 1px solid var(--line); }
.area-item { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 70px; padding: 46px 0; border-bottom: 1px solid var(--line); }
.area-item h3 { font-size: clamp(1.15rem, 1.55vw, 1.65rem); }
.area-item p { font-size: 1.05rem; line-height: 1.75; max-width: 740px; }

.faq { margin-top: 58px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 28px 0; }
 .faq summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Inter', sans-serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 18px; max-width: 820px; line-height: 1.75; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card h3 { font-size: 1.18rem; margin-bottom: 16px; }

.category-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pill { border: 1px solid var(--line); padding: 10px 14px; background: rgba(255,255,255,0.44); font-size: 0.92rem; font-weight: 700; }

.contact-section {
  background: var(--light);
  color: var(--graphite);
  padding: 112px 0;
}
.contact-section .split { align-items: start; }
.contact-form { background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); padding: 36px; }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.86rem; color: rgba(255,255,255,0.72); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  min-height: 52px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { min-height: 126px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: rgba(255,255,255,0.10); }
.field select option { color: var(--graphite); }

.footer {
  background: var(--graphite);
  color: var(--white);
  padding: 74px 0 30px;
  font-size: 0.82rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.95fr 1.15fr;
  gap: 38px;
  align-items: start;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}

.logo-img {
  width: 156px;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer .logo-img {
  filter: brightness(0) invert(1);
}

.footer h4 {
  margin-bottom: 18px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  width: fit-content;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.65;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-loc {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-loc b {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-loc b.accent {
  color: var(--orange);
}

.footer-cta {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-cta b {
  display: inline-block;
  color: var(--white);
  font-size: 0.96rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.footer-cta p {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}

.footer-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--orange);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-cta a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.arrow-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 24px;
  margin-top: 58px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.62);
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 760px;
}





@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .cards, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .container, .header-inner { width: min(100% - 32px, var(--max)); }
  .header-inner { height: 76px; }
  .mobile-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    background: rgba(247, 246, 243, 0.98);
    color: var(--graphite);
    border: 1px solid var(--line);
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .header-actions .btn { display: none; }
  .hero { min-height: 92svh; }
  .hero-content { padding: 130px 0 48px; }
  .hero::after { display: none; }
  .hero-bottom { flex-direction: column; }
  .section, .section-tight { padding: 64px 0; }
  .split, .articles-layout, .cta-band .container, .area-item, .value-row { grid-template-columns: 1fr; gap: 34px; }
  .feature-list, .cards, .steps, .blog-grid { grid-template-columns: 1fr; }
  .image-panel { min-height: 360px; }
  .page-hero { padding: 140px 0 76px; }
  .article-list a { grid-template-columns: 1fr; }
  .article-thumb { max-width: 180px; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(1.9rem, 8.5vw, 2.65rem); }
  h2 { font-size: clamp(1.55rem, 6.7vw, 2.1rem); }
  .btn-row { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .card, .step, .blog-card, .contact-form { padding: 24px; }
  .footer-wrap, .footer-bottom { grid-template-columns: 1fr; flex-direction: column; }
  .cta-band .container { gap: 26px; }
}


.pro-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(48,50,53,0.08), rgba(220,95,0,0.10)),
    var(--light);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.pro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease), filter 0.75s var(--ease);
}

.pro-card:hover .pro-photo img {
  transform: scale(1.05);
}

.pro-photo::after {
  content: "Foto do profissional";
  position: absolute;
  inset: auto 18px 18px 18px;
  color: rgba(48,50,53,0.48);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro-photo.has-image::after,
.pro-photo:has(img)::after {
  display: none;
}


/* Sistema de animações premium/editorial */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition-property: opacity, transform;
  transition-duration: 0.85s;
  transition-timing-function: var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 120ms; }
.reveal.delay-2 { transition-delay: 240ms; }
.reveal.delay-3 { transition-delay: 360ms; }
.reveal.delay-4 { transition-delay: 480ms; }
.reveal.delay-5 { transition-delay: 600ms; }

.cards > .card,
.steps > .step,
.blog-grid > .blog-card,
.grid > .pro-card,
.article-list > a,
.area-block > .area-item,
.values-list > .value-row {
  opacity: 0;
  transform: translateY(40px);
  transition-property: opacity, transform, background, border-color;
  transition-duration: 0.85s, 0.85s, 0.35s, 0.35s;
  transition-timing-function: var(--ease);
  will-change: opacity, transform;
}

.cards.visible > .card,
.steps.visible > .step,
.blog-grid.visible > .blog-card,
.grid.visible > .pro-card,
.article-list.visible > a,
.area-block.visible > .area-item,
.values-list.visible > .value-row {
  opacity: 1;
  transform: translateY(0);
}

.cards.visible > .card:nth-child(2),
.steps.visible > .step:nth-child(2),
.blog-grid.visible > .blog-card:nth-child(2),
.grid.visible > .pro-card:nth-child(2),
.article-list.visible > a:nth-child(2),
.area-block.visible > .area-item:nth-child(2),
.values-list.visible > .value-row:nth-child(2) {
  transition-delay: 120ms;
}

.cards.visible > .card:nth-child(3),
.steps.visible > .step:nth-child(3),
.blog-grid.visible > .blog-card:nth-child(3),
.grid.visible > .pro-card:nth-child(3),
.article-list.visible > a:nth-child(3),
.area-block.visible > .area-item:nth-child(3),
.values-list.visible > .value-row:nth-child(3) {
  transition-delay: 240ms;
}

.cards.visible > .card:nth-child(4),
.steps.visible > .step:nth-child(4),
.blog-grid.visible > .blog-card:nth-child(4),
.grid.visible > .pro-card:nth-child(4),
.article-list.visible > a:nth-child(4),
.area-block.visible > .area-item:nth-child(4),
.values-list.visible > .value-row:nth-child(4) {
  transition-delay: 360ms;
}

.cards.visible > .card:nth-child(5),
.steps.visible > .step:nth-child(5),
.blog-grid.visible > .blog-card:nth-child(5),
.grid.visible > .pro-card:nth-child(5),
.article-list.visible > a:nth-child(5),
.area-block.visible > .area-item:nth-child(5),
.values-list.visible > .value-row:nth-child(5) {
  transition-delay: 480ms;
}

.cards.visible > .card:nth-child(6),
.steps.visible > .step:nth-child(6),
.blog-grid.visible > .blog-card:nth-child(6),
.grid.visible > .pro-card:nth-child(6),
.article-list.visible > a:nth-child(6),
.area-block.visible > .area-item:nth-child(6),
.values-list.visible > .value-row:nth-child(6) {
  transition-delay: 600ms;
}

.card,
.blog-card,
.article-main,
.article-list a,
.area-item,
.value-row,
.pro-card {
  position: relative;
}

.card::before,
.blog-card::before,
.area-item::before,
.value-row::before,
.pro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 1px;
  background: var(--orange);
  transition: width 0.65s var(--ease), background 0.65s var(--ease);
}

.card:hover::before,
.blog-card:hover::before,
.area-item:hover::before,
.value-row:hover::before,
.pro-card:hover::before {
  width: 100%;
}

.article-image,
.article-thumb,
.pro-photo {
  overflow: hidden;
}

.article-image::before,
.article-thumb::before {
  transition: transform 0.75s var(--ease), border-color 0.75s var(--ease);
}

.article-main:hover .article-image,
.article-list a:hover .article-thumb,
.blog-card:hover {
  transform: translateY(-4px);
}

.article-main:hover .article-image {
  background-size: 106%;
}

.text-link .arrow,
.btn .arrow {
  transition: transform 0.45s var(--ease);
}

.text-link:hover .arrow,
.btn:hover .arrow {
  transform: translateX(4px);
}

.ticker-track {
  animation-duration: 38s;
  animation-timing-function: linear;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* Dropdown preparado para uso futuro no menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 260px;
  background: rgba(247,246,243,0.98);
  color: var(--graphite);
  border: 1px solid var(--line);
  padding: 18px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.serif-italic {
  font-family: 'Instrument Serif', serif !important;
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: inherit !important;
  background: none !important;
  padding: 0 !important;
}

body,
.font-2,
p,
span,
address,
li,
input,
select,
textarea {
  font-family: 'Instrument Sans', sans-serif;
}

.font-3,
.title-font-2-font-3 b,
h1,
h2,
h3,
h4,
.nav,
.btn,
.tag,
.eyebrow {
  font-family: 'Instrument Sans', sans-serif;
}


.btn-light-to-dark {
  background-color: var(--white);
  color: var(--graphite);
  border-color: var(--white);
}

.btn-light-to-dark:hover {
  background-color: var(--black);
  color: var(--white);
  border-color: var(--black);
}


.marquee-txt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.74; }
  50% { transform: scale(1.045); opacity: 1; color: var(--white); }
  100% { transform: scale(1); opacity: 0.74; }
}


.step {
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}

.step:hover {
  border-color: var(--orange);
  background: rgba(220, 95, 0, 0.035);
  transform: translateY(-5px);
}


.contact-section .lead,
.contact-section p {
  color: rgba(48, 50, 53, 0.78);
}

.contact-section .microcopy {
  color: rgba(48, 50, 53, 0.62);
}

.contact-section .contact-form {
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-section .field label {
  color: rgba(48, 50, 53, 0.72);
}

.contact-section .field input,
.contact-section .field select,
.contact-section .field textarea {
  background: rgba(48, 50, 53, 0.035);
  color: var(--graphite);
  border: 1px solid rgba(48, 50, 53, 0.16);
}

.contact-section .field input:focus,
.contact-section .field select:focus,
.contact-section .field textarea:focus {
  border-color: var(--orange);
  background: var(--white);
}


.page-hero {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.54) 52%, rgba(0,0,0,0.35) 100%),
    var(--graphite);
  background-size: cover;
  background-position: center;
}

.page-hero.hero-sobre {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.50) 52%, rgba(0,0,0,0.30) 100%),
    url("../img/escritorio/foto-escritorio.jpg") center 42% / cover no-repeat;
}

.page-hero.hero-areas {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.55) 52%, rgba(0,0,0,0.34) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=80") center / cover no-repeat;
}

.page-hero.hero-defesa {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.56) 52%, rgba(0,0,0,0.36) 100%),
    url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=2200&q=80") center / cover no-repeat;
}

.page-hero.hero-blog {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.54) 52%, rgba(0,0,0,0.34) 100%),
    url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da?auto=format&fit=crop&w=2200&q=80") center / cover no-repeat;
}


.hero h1 .serif-italic,
.page-hero h1 .serif-italic,
.section h2 .serif-italic,
.cta-band h2 .serif-italic {
  color: inherit !important;
}

.hero .ticker-track {
  animation-duration: 38s;
}

.hero-bottom {
  align-items: center;
}

.hero-bottom .ticker {
  width: 100%;
}

.hero-bottom .ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.page-hero .lead {
  max-width: 720px;
}

.article-main h3 {
  line-height: 1.02;
}


h1 .serif-italic,
h2 .serif-italic,
h3 .serif-italic {
  display: inline;
  white-space: normal;
}

.hero h1 {
  max-width: 1180px;
}

.hero h1 .serif-italic {
  font-size: 1.02em;
}

.page-hero h1 .serif-italic {
  font-size: 1.03em;
}


/* --- HERO SLIDER PREMIUM / EDITORIAL --- */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  background-color: var(--black);
  color: var(--white);
}

.slider-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.86s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.slide {
  min-width: 100vw;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.02);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.58) 42%, rgba(0,0,0,0.30) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.10) 46%);
}

.hero-slider-section::before,
.hero-slider-section::after {
  content: "";
  position: absolute;
  top: 28%;
  bottom: 24%;
  width: 1px;
  background: rgba(255,255,255,0.30);
  z-index: 4;
  pointer-events: none;
}

.hero-slider-section::before { left: 3.6%; }
.hero-slider-section::after { right: 20%; }

.slide-content {
  position: relative;
  z-index: 5;
  padding-top: 112px;
  padding-bottom: 120px;
  color: var(--white);
}

.slide-content h1 {
  font-family: 'Instrument Sans', sans-serif !important;
  font-size: clamp(2.9rem, 5.4vw, 5.4rem) !important;
  font-weight: 700;
  line-height: 1.02 !important;
  letter-spacing: -0.058em;
  max-width: 1120px;
  margin: 0;
}

.slide-content h1 .serif-italic {
  font-family: 'Instrument Serif', serif !important;
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--white) !important;
}

.slide-content .lead {
  font-family: 'Instrument Sans', sans-serif !important;
  max-width: 660px;
  font-size: clamp(1rem, 1.15vw, 1.18rem) !important;
  line-height: 1.7;
  color: rgba(255,255,255,0.76);
  margin-top: 28px;
}

.slide-content .microcopy {
  color: rgba(255,255,255,0.62);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 58px;
  height: 58px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  backdrop-filter: blur(8px);
}

.slider-nav:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.03);
}

.slider-nav.prev { left: 40px; }
.slider-nav.next { right: 40px; }

.hero-marquee-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 11;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.44);
  overflow: hidden;
}

.hero-marquee {
  display: flex;
  width: max-content;
  animation: heroMarquee 38s linear infinite;
}

.hero-marquee-wrap:hover .hero-marquee {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  white-space: nowrap;
  color: rgba(255,255,255,0.78);
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.marquee-item span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.30);
  margin-right: 34px;
  vertical-align: middle;
}

.marquee-item span:first-child::before {
  width: 7px;
  height: 7px;
  background: var(--orange);
  margin-right: 12px;
}

@keyframes heroMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 920px) {
  .hero-slider-section {
    min-height: 760px;
  }

  .slide-content {
    padding-top: 120px;
    padding-bottom: 110px;
  }

  .slide-content h1 {
    font-size: clamp(2.25rem, 9vw, 4rem) !important;
    max-width: 92%;
  }

  .slider-nav {
    top: auto;
    bottom: 96px;
    width: 50px;
    height: 50px;
  }

  .slider-nav.prev { left: 24px; }
  .slider-nav.next { left: 84px; right: auto; }

  .hero-slider-section::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero-slider-section {
    min-height: 720px;
  }

  .slide-content h1 {
    font-size: clamp(2rem, 10vw, 3.05rem) !important;
  }

  .slide-content .lead {
    font-size: 0.96rem !important;
  }

  .marquee-item {
    font-size: 0.86rem;
    gap: 24px;
    padding-right: 24px;
  }
}






/* Conteúdo do site: uma única família, Instrument Sans. */
h1,
h2,
h3,
h4,
.card h3,
.step h3,
.pro-card h3,
.blog-card h3,
.area-item h3,
.faq summary,
.article-list h4,
.article-main h3 {
  font-family: 'Instrument Sans', sans-serif !important;
  font-weight: 600;
}

/* Banners aprovados: Hero Slider e heros internos mantêm o lettering editorial. */
.slide-content h1,
.page-hero h1 {
  font-family: 'Instrument Serif', serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 0.95 !important;
  letter-spacing: -0.025em !important;
}

.slide-content h1 {
  font-size: clamp(3rem, 5.6vw, 5.45rem) !important;
  max-width: 1180px;
}

.page-hero h1 {
  font-size: clamp(2.55rem, 4.6vw, 4.55rem) !important;
  max-width: 1180px;
}

.slide-content h1 b,
.page-hero h1 b {
  font-family: 'Instrument Sans', sans-serif !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: -0.052em !important;
}

/* Seções internas, CTAs e contato sem fonte secundária. */
.section h2,
.cta-band h2,
.contact-section h2 {
  font-family: 'Instrument Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.75rem, 2.65vw, 3.05rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
}

/* Caso algum <b> permaneça fora dos banners, não troca de fonte. */
.section h2 b,
.cta-band h2 b,
.contact-section h2 b,
.article-main h3 b {
  font-family: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

/* Neutraliza a classe antiga fora dos banners. */
.serif-italic {
  font-family: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  background: none !important;
  padding: 0 !important;
}

.slide-content .serif-italic,
.page-hero .serif-italic {
  font-family: 'Instrument Serif', serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
}


/* --- REVISÃO DE CONTRASTE E LEGIBILIDADE --- */

/* Botão outline em áreas escuras: hover com fundo branco e texto grafite. */
.dark .btn-outline,
.hero-slider-section .btn-outline,
.page-hero .btn-outline,
.cta-band .btn-outline,
.footer .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.72);
}

.dark .btn-outline:hover,
.hero-slider-section .btn-outline:hover,
.page-hero .btn-outline:hover,
.cta-band .btn-outline:hover,
.footer .btn-outline:hover {
  background: var(--white);
  color: var(--graphite);
  border-color: var(--white);
}

.dark .btn-outline:hover span,
.dark .btn-outline:hover svg,
.hero-slider-section .btn-outline:hover span,
.hero-slider-section .btn-outline:hover svg,
.page-hero .btn-outline:hover span,
.page-hero .btn-outline:hover svg,
.cta-band .btn-outline:hover span,
.cta-band .btn-outline:hover svg,
.footer .btn-outline:hover span,
.footer .btn-outline:hover svg {
  color: var(--graphite) !important;
  stroke: var(--graphite) !important;
}

/* Botão outline em áreas claras: hover com fundo grafite e texto branco. */
.light .btn-outline,
.soft .btn-outline,
.contact-section .btn-outline {
  color: var(--graphite);
  border-color: rgba(48,50,53,0.42);
}

.light .btn-outline:hover,
.soft .btn-outline:hover,
.contact-section .btn-outline:hover {
  background: var(--graphite);
  color: var(--white);
  border-color: var(--graphite);
}

.light .btn-outline:hover span,
.light .btn-outline:hover svg,
.soft .btn-outline:hover span,
.soft .btn-outline:hover svg,
.contact-section .btn-outline:hover span,
.contact-section .btn-outline:hover svg {
  color: var(--white) !important;
  stroke: var(--white) !important;
}

/* Corrige textos claros em blocos escuros, especialmente CTA e orientação jurídica. */
.cta-band p,
.cta-band .lead,
.cta-band .microcopy {
  color: rgba(255,255,255,0.78) !important;
}

.cta-band .eyebrow {
  color: var(--orange) !important;
}

/* Corrige textos do formulário/contato claro. */
.contact-section p,
.contact-section .lead,
.contact-section .microcopy {
  color: rgba(48,50,53,0.78) !important;
}

.contact-section h2,
.contact-section h3,
.contact-section h4 {
  color: var(--graphite) !important;
}

/* Garante contraste nos blocos escuros genéricos. */
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark strong,
.dark b {
  color: var(--white);
}

.dark p,
.dark li,
.dark .lead {
  color: rgba(255,255,255,0.76) !important;
}

/* Links textuais em fundo escuro. */
.dark .text-link,
.cta-band .text-link,
.footer .text-link {
  color: var(--white);
}

.dark .text-link:hover,
.cta-band .text-link:hover,
.footer .text-link:hover {
  color: var(--orange);
}

/* Botão do WhatsApp flutuante mantém contraste. */
.whatsapp-float,



/* --- LETTERING FINAL: FONTE SECUNDÁRIA APENAS NO BANNER DA HOME --- */

/* Regra geral: todo o site usa Instrument Sans. */
h1,
h2,
h3,
h4,
.card h3,
.step h3,
.pro-card h3,
.blog-card h3,
.area-item h3,
.faq summary,
.article-list h4,
.article-main h3,
.page-hero h1 {
  font-family: 'Instrument Sans', sans-serif !important;
  font-weight: 600;
}

/* Páginas internas: banners sem fonte secundária. */
.page-hero h1 {
  font-size: clamp(2.35rem, 4vw, 4.15rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.052em !important;
  max-width: 1120px;
}

.page-hero h1 b {
  font-family: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

/* Conteúdo interno: apenas Instrument Sans. */
.section h2,
.cta-band h2,
.contact-section h2 {
  font-family: 'Instrument Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.75rem, 2.65vw, 3.05rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
}

.section h2 b,
.cta-band h2 b,
.contact-section h2 b,
.article-main h3 b {
  font-family: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

/* Banner da home: mantém a lógica editorial aprovada. */
.slide-content h1 {
  font-family: 'Instrument Serif', serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: clamp(3rem, 5.6vw, 5.45rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.025em !important;
  max-width: 1180px;
}

.slide-content h1 b {
  font-family: 'Instrument Sans', sans-serif !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: -0.052em !important;
}

/* Classe antiga neutralizada fora da home. */
.serif-italic {
  font-family: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  background: none !important;
  padding: 0 !important;
}

.slide-content .serif-italic {
  font-family: 'Instrument Serif', serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
}


/* --- ÍCONES PHOSPHOR EM CARDS --- */
.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  border: 1px solid rgba(220, 95, 0, 0.34);
  background: rgba(220, 95, 0, 0.045);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}

.card-icon i {
  font-size: 1.55rem;
  line-height: 1;
}

.card:hover .card-icon {
  color: var(--white);
  border-color: var(--orange);
  background: var(--orange);
  transform: translateY(-3px);
}

.dark .card-icon {
  color: var(--orange);
  border-color: rgba(220, 95, 0, 0.46);
  background: rgba(220, 95, 0, 0.10);
}


/* --- WHATSAPP FLOAT ANIMADO --- */
#wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45), 0 8px 30px rgba(0, 0, 0, 0.20);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

#wa-float svg {
  width: 30px;
  height: 30px;
  color: #fff;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1);
}

#wa-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.60), 0 16px 40px rgba(0, 0, 0, 0.25);
  background: linear-gradient(145deg, #2ce06e, #17a893);
}

#wa-float:hover svg {
  transform: scale(1.08) rotate(-5deg);
}

#wa-float:active {
  transform: scale(0.95);
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #ff3b3b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(255, 59, 59, 0.50);
  animation: badge-pop 0.4s cubic-bezier(.34, 1.56, .64, 1) both;
}

.wa-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.60);
  animation: wa-ripple-out 2.5s ease-out infinite;
}

.wa-ripple-2 {
  animation-delay: 1.25s;
}

@media (min-width: 1024px) {
  #wa-float {
    width: 64px;
    height: 64px;
    right: 32px;
    bottom: 32px;
  }

  #wa-float svg {
    width: 34px;
    height: 34px;
  }
}

@keyframes wa-ripple-out {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes badge-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* --- PÁGINA DE ARTIGO / BLOG POST --- */
.article-hero {
  padding: 158px 0 72px;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.58) 54%, rgba(0,0,0,0.26) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=80") center / cover no-repeat;
  opacity: 1;
}

.article-hero .container {
  position: relative;
  z-index: 2;
}

.article-hero h1 {
  font-family: 'Instrument Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(2.25rem, 4.8vw, 4.65rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  max-width: 980px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  display: inline-block;
}

.article-shell {
  background: var(--light);
  padding: 70px 0 104px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 340px;
  gap: 56px;
  align-items: start;
}

.article-card-main {
  background: var(--white);
  border: 1px solid var(--line);
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--graphite);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

.article-card-main:hover .article-cover img {
  transform: scale(1.035);
}

.article-body {
  padding: clamp(28px, 4vw, 54px);
}

.article-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(48,50,53,0.82);
  margin-bottom: 24px;
}

.article-body h2 {
  font-family: 'Instrument Sans', sans-serif !important;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.04em !important;
  margin: 54px 0 18px;
  color: var(--graphite);
}

.article-body h3 {
  margin: 32px 0 14px;
  color: var(--graphite);
}

.article-body ul {
  margin: 0 0 26px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.article-body li {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(48,50,53,0.82);
  padding-left: 22px;
  position: relative;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.article-note {
  margin: 40px 0;
  padding: 26px;
  border-left: 3px solid var(--orange);
  background: rgba(220,95,0,0.055);
}

.article-note p {
  margin: 0;
  color: rgba(48,50,53,0.86);
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.article-share-label {
  font-weight: 700;
  margin-right: 4px;
}

.share-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--graphite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.share-btn i {
  font-size: 1.25rem;
}

.share-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.article-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 22px;
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.sidebar-box h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.sidebar-box p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.sidebar-cta {
  background: var(--graphite);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
}

.sidebar-cta p {
  color: rgba(255,255,255,0.74);
}

.sidebar-cta .btn {
  margin-top: 20px;
  width: 100%;
}

.article-toc {
  display: grid;
  gap: 12px;
}

.article-toc a {
  color: rgba(48,50,53,0.72);
  font-size: 0.95rem;
  line-height: 1.35;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}

.article-toc a:hover {
  color: var(--orange);
}

.sidebar-banner {
  min-height: 280px;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
  color: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.12);
}

.sidebar-banner h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.sidebar-banner p {
  color: rgba(255,255,255,0.74);
  margin-top: 10px;
}

.related-articles {
  padding: 90px 0;
  background: var(--white);
}

.related-articles .blog-grid {
  margin-top: 42px;
}

@media (max-width: 1080px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .article-hero {
    padding: 132px 0 58px;
  }

  .article-shell {
    padding: 46px 0 76px;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 26px;
  }
}


/* --- ÍCONES NA LISTA DA HOME / PROTEÇÃO PATRIMONIAL --- */
.feature-list li {
  align-items: center;
  gap: 16px;
}

.feature-list li::before {
  display: none;
}

.feature-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  border: 1px solid rgba(220, 95, 0, 0.42);
  background: rgba(220, 95, 0, 0.08);
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.feature-icon i {
  font-size: 1.35rem;
  line-height: 1;
}

.feature-list li:hover .feature-icon {
  color: var(--white);
  border-color: var(--orange);
  background: var(--orange);
  transform: translateY(-2px);
}

.feature-list li span:last-child {
  color: rgba(255,255,255,0.84);
}


/* --- FINAL REVIEW / PERFORMANCE / CONTRASTE --- */

/* Evita flash de elementos permanentemente invisíveis caso JS falhe parcialmente. */
html.no-js .reveal,
html.no-js .cards > .card,
html.no-js .steps > .step,
html.no-js .blog-grid > .blog-card,
html.no-js .grid > .pro-card,
html.no-js .article-list > a,
html.no-js .area-block > .area-item,
html.no-js .values-list > .value-row {
  opacity: 1 !important;
  transform: none !important;
}

/* Mantém a fonte secundária apenas no banner da Home. */
.page-hero h1,
.section h2,
.cta-band h2,
.contact-section h2,
.article-hero h1,
.article-body h2 {
  font-family: 'Instrument Sans', sans-serif !important;
}

.slide-content h1 {
  font-family: 'Instrument Serif', serif !important;
}

/* Contraste seguro de botões outline em fundos escuros. */
.hero-slider-section .btn-outline:hover,
.dark .btn-outline:hover,
.cta-band .btn-outline:hover,
.page-hero .btn-outline:hover {
  background: #ffffff !important;
  color: var(--graphite) !important;
  border-color: #ffffff !important;
}

.hero-slider-section .btn-outline:hover span,
.hero-slider-section .btn-outline:hover svg,
.dark .btn-outline:hover span,
.dark .btn-outline:hover svg,
.cta-band .btn-outline:hover span,
.cta-band .btn-outline:hover svg,
.page-hero .btn-outline:hover span,
.page-hero .btn-outline:hover svg {
  color: var(--graphite) !important;
  stroke: var(--graphite) !important;
}

/* Textos em blocos escuros nunca herdam grafite. */
.dark p,
.dark li,
.dark .lead,
.cta-band p,
.cta-band .lead,
.cta-band .microcopy,
.sidebar-cta p {
  color: rgba(255,255,255,0.78) !important;
}

/* Textos em blocos claros. */
.light p,
.soft p,
.contact-section p,
.contact-section .lead,
.article-shell p,
.article-body p {
  color: rgba(48,50,53,0.82);
}

/* Animações: manter fluidez e reduzir custo de render. */
.reveal,
.cards > .card,
.steps > .step,
.blog-grid > .blog-card,
.grid > .pro-card,
.article-list > a,
.area-block > .area-item,
.values-list > .value-row {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Hero slider aprovado: preservar comportamento e garantir responsivo. */
.hero-slider-section {
  isolation: isolate;
}

.slide-bg {
  will-change: transform;
}

.slider-wrapper {
  touch-action: pan-y;
}

/* Ícones Home e Defesa: alinhamento consistente. */
.feature-icon,
.card-icon {
  box-shadow: none;
}

.card-icon i,
.feature-icon i {
  display: block;
}

/* Página de artigo: sidebar não deve cobrir conteúdo em telas menores. */
@media (max-width: 1080px) {
  .article-sidebar {
    position: static !important;
  }
}

/* Mobile geral: evitar títulos estourando largura. */
@media (max-width: 620px) {
  .slide-content h1,
  .page-hero h1,
  .article-hero h1 {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .header-inner {
    gap: 12px;
  }

  #wa-float {
    right: 18px;
    bottom: 18px;
  }
}

/* Acessibilidade: respeita preferência por menos movimento. */
@media (prefers-reduced-motion: reduce) {
  .hero-marquee,
  .ticker-track,
  .wa-ripple,
  .wa-ripple-2,
  .wa-badge {
    animation: none !important;
  }

  .slider-wrapper,
  .reveal,
  .card,
  .step,
  .blog-card,
  .btn,
  .text-link,
  #wa-float,
  #wa-float svg {
    transition: none !important;
  }
}

/* Fix: garantir visibilidade do conteúdo mesmo quando a animação .reveal não dispara */
.reveal,
.cards > .card,
.steps > .step,
.blog-grid > .blog-card,
.grid > .pro-card,
.article-list > a,
.area-block > .area-item,
.values-list > .value-row {
  opacity: 1 !important;
  transform: none !important;
}
