:root {
  --black: #080806;
  --navy: #132529;
  --nav-gray: #565d63;
  --ink: #1a130d;
  --wine: #4b1918;
  --gold: #caa74f;
  --gold-light: #efd283;
  --paper: #f5f2ec;
  --white: #ffffff;
  --muted: #6f695f;
  --line: rgba(202, 167, 79, 0.3);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
  --font: "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--paper);
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.24);
}

.topbar {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 0.8fr;
  align-items: center;
  gap: 36px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  background: var(--navy);
}

.logo-link {
  display: inline-grid;
  justify-items: center;
  gap: 4px;
  width: 220px;
  max-width: 100%;
  padding: 8px 0 11px;
  color: var(--white);
}

.logo-monogram {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2.05rem;
  line-height: 1;
}

.logo-type {
  padding-bottom: 4px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-light);
}

.footer-about img {
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.2));
}

.quick-contacts {
  display: flex;
  justify-content: center;
  gap: 46px;
}

.quick-contacts a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  min-width: 170px;
}

.quick-contacts span {
  grid-row: span 2;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.quick-contacts strong {
  font-size: 0.95rem;
  color: var(--white);
}

.quick-contacts small,
.social-mini small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
}

.social-mini {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.social-mini a {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.social-mini strong {
  color: var(--white);
  font-size: 0.82rem;
  font-style: italic;
}

.social-mini .instagram-icon,
.social-mini .pinterest-icon,
.social-mini .google-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-style: normal;
  line-height: 1;
}

.social-mini .instagram-icon {
  color: #e4405f;
  background: linear-gradient(135deg, #feda75, #fa7e1e 32%, #d62976 58%, #962fbf 78%, #4f5bd5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-mini .pinterest-icon {
  color: #e60023;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.social-mini .google-icon {
  color: #4285f4;
  font-size: 1rem;
  font-weight: 900;
}

.main-nav {
  min-height: 62px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  background: var(--nav-gray);
  overflow-x: auto;
  white-space: nowrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav .is-current {
  background: rgba(255, 255, 255, 0.1);
}

.main-nav .is-current {
  box-shadow: inset 0 -4px 0 var(--white);
}

.nav-cta {
  min-width: 225px;
  margin-left: 18px;
  color: var(--white);
  border: 1px solid var(--gold);
  background: rgba(8, 8, 6, 0.16);
}

.nav-cta span {
  margin-left: 12px;
  color: var(--gold-light);
  font-size: 1.15rem;
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--black);
}

.hero,
.hero-slider,
.slide {
  height: 560px;
  min-height: 0;
}

.slide {
  display: none;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(8, 8, 6, 0.92) 0%, rgba(8, 8, 6, 0.72) 48%, rgba(8, 8, 6, 0.28) 100%),
    var(--bg);
  background-size: cover;
  background-position: center;
}

.slide.is-active {
  display: flex;
  animation: fadeIn 0.7s ease both;
}

.slide-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 86px;
}

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

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 4.65rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.slide-content p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-actions,
.contact-card,
.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font-weight: 900;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.button.primary {
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: var(--black);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.dark {
  color: var(--gold-light);
  background: var(--black);
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 42px;
  height: 4px;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: rgba(255, 255, 255, 0.36);
}

.dot.is-active {
  background: var(--gold-light);
}

.values-section {
  padding: 70px 0;
  background: #f8f8f7;
}

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

.value-card {
  min-height: 270px;
  padding: 42px 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.07);
}

.value-card span {
  display: block;
  margin-bottom: 26px;
  font-size: 2.05rem;
}

.value-card h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.52rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.value-card p {
  margin: 0;
  color: #4c4d59;
  line-height: 1.65;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

h2 {
  margin: 14px 0;
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p,
.about-copy p,
.team-grid p,
.contact-grid p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

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

.practice-card {
  min-height: 100%;
  display: grid;
  grid-template-columns: 42% 1fr;
  background: var(--white);
  border: 1px solid rgba(23, 18, 11, 0.08);
  box-shadow: 0 18px 52px rgba(23, 18, 11, 0.08);
  overflow: hidden;
}

.practice-card img {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.practice-card div {
  padding: 30px;
}

.practice-card span,
.post-grid span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.practice-card h3,
.post-grid h3,
.about-features h3,
.footer h3 {
  margin: 10px 0;
  color: var(--black);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.practice-card p,
.practice-card li,
.post-grid p,
.about-features p {
  color: var(--muted);
  line-height: 1.65;
}

.practice-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.seo-section {
  padding: 86px 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(246, 243, 237, 0.92)),
    url("assets/images/sala-jb.png") center/cover;
}

.seo-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

.seo-heading {
  position: sticky;
  top: 170px;
}

.seo-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.seo-heading p {
  color: #514b43;
  line-height: 1.78;
}

.seo-cards {
  display: grid;
  gap: 16px;
}

.seo-cards article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(202, 167, 79, 0.28);
  box-shadow: 0 18px 46px rgba(23, 18, 11, 0.08);
}

.seo-cards h3 {
  margin: 0 0 10px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.seo-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-section {
  padding: 92px 0;
  background: #f2f0ea;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-portrait {
  position: relative;
  padding: 0 22px 22px 0;
}

.about-portrait::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 88%;
  height: 92%;
  background: var(--gold);
}

.about-portrait img {
  position: relative;
  z-index: 1;
  aspect-ratio: 1.06 / 1;
  object-fit: contain;
  object-position: left center;
  padding: 18px;
  background: #ece9e2;
  box-shadow: var(--shadow);
}

.portrait-badge {
  position: absolute;
  left: 28px;
  bottom: 44px;
  z-index: 2;
  max-width: 360px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(8, 8, 6, 0.82);
  backdrop-filter: blur(8px);
  border-left: 4px solid var(--gold);
}

.portrait-badge strong,
.portrait-badge span {
  display: block;
}

.portrait-badge span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.about-copy h2 {
  color: var(--wine);
  font-size: clamp(2.7rem, 5vw, 4.9rem);
}

.about-copy > p {
  max-width: 650px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(202, 167, 79, 0.38);
}

.about-features h3 {
  color: var(--wine);
}

.numbers {
  padding: 72px 0;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(19, 37, 41, 0.98), rgba(8, 8, 6, 0.94)),
    url("assets/images/cartoes-jb.png") center/cover;
}

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

.numbers article {
  padding: 28px 20px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.numbers strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.numbers span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.cta-section {
  padding: 94px 0;
  background: #f6f3ed;
  border-bottom: 8px solid var(--black);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 70px;
}

.cta-grid h2 {
  max-width: 720px;
  font-size: clamp(2.25rem, 4.3vw, 4.2rem);
}

.cta-grid h2 em {
  display: block;
  color: var(--gold);
  font-style: italic;
}

.cta-grid p {
  max-width: 650px;
  color: #29313a;
  font-size: 1.08rem;
  line-height: 1.75;
}

.cta-action {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.cta-button {
  width: 100%;
  max-width: 360px;
  color: var(--gold-light);
  background: var(--black);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.cta-action small {
  color: #8a8e95;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.experience-strip {
  padding: 86px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(202, 167, 79, 0.2), transparent 32%),
    linear-gradient(135deg, #101b1e, #080806 72%);
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 58px;
}

.experience-image {
  position: relative;
}

.experience-image::before {
  content: "";
  position: absolute;
  inset: 26px -18px -18px 26px;
  border: 1px solid var(--gold);
}

.experience-image img {
  position: relative;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.experience-copy h2 {
  color: var(--white);
}

.experience-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.75;
}

.experience-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.experience-points article {
  min-height: 135px;
  padding: 22px;
  border: 1px solid rgba(202, 167, 79, 0.32);
  background: rgba(255, 255, 255, 0.05);
}

.experience-points strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.experience-points span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.team-section {
  padding-bottom: 42px;
}

.team-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.publications {
  padding-top: 42px;
}

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

.post-grid article {
  min-height: 230px;
  padding: 30px;
  background: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: 0 16px 46px rgba(23, 18, 11, 0.08);
}

.contact-section {
  padding: 90px 0;
  background:
    linear-gradient(145deg, rgba(245, 234, 212, 0.94), rgba(255, 255, 255, 0.95)),
    url("assets/images/recepcao-josue-braz.png") center/cover;
}

.contact-card {
  justify-content: flex-end;
  padding: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(202, 167, 79, 0.42);
  box-shadow: 0 18px 52px rgba(23, 18, 11, 0.1);
}

.footer {
  color: var(--white);
  background: var(--navy);
}

.footer-top {
  background:
    linear-gradient(110deg, rgba(19, 37, 41, 0.98), rgba(8, 8, 6, 0.96)),
    url("assets/images/sala-jb.png") center/cover;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.95fr 0.9fr;
  gap: 42px;
  padding: 72px 0;
}

.footer-about img {
  width: 250px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
}

.footer h3 {
  color: var(--gold-light);
  font-size: 1.25rem;
}

.footer a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.8);
}

.social-row a {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 900;
  border: 1px solid var(--line);
}

.footer-phone {
  color: var(--gold-light) !important;
  font-size: 1.2rem;
  font-weight: 900;
}

.social-row .footer-instagram {
  color: #e4405f;
  border-color: rgba(228, 64, 95, 0.55);
}

.social-row .footer-pinterest {
  color: #e60023;
  border-color: rgba(230, 0, 35, 0.55);
}

.social-row .footer-google {
  color: #4285f4;
  border-color: rgba(66, 133, 244, 0.55);
}

.footer-button {
  margin-top: 16px !important;
  padding: 13px 18px;
  color: var(--black) !important;
  font-weight: 900;
  background: var(--gold-light);
}

.copyright {
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #080806;
}

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 24px;
  }

  .quick-contacts,
  .social-mini {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .hero-slider,
  .slide {
    height: 560px;
    min-height: 0;
  }

  .values-grid,
  .numbers-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-grid,
  .about-grid,
  .seo-grid,
  .cta-grid,
  .experience-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-action {
    justify-items: start;
  }

  .contact-card {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container,
  .slide-content {
    width: min(100% - 28px, 1180px);
  }

  .quick-contacts {
    gap: 18px;
  }

  .main-nav {
    justify-content: flex-start;
    padding: 0 14px;
  }

  .main-nav a {
    padding: 0 16px;
  }

  .nav-cta {
    min-width: 190px;
    margin-left: 0;
  }

  h1 {
    font-size: 2.05rem;
  }

  .slide-content {
    padding: 44px 0 82px;
  }

  .hero,
  .hero-slider,
  .slide {
    height: 560px;
    min-height: 0;
  }

  .slide {
    background-image:
      linear-gradient(90deg, rgba(8, 8, 6, 0.94), rgba(8, 8, 6, 0.78)),
      var(--bg);
  }

  .button {
    width: 100%;
  }

  .values-grid,
  .numbers-grid,
  .post-grid,
  .about-features,
  .experience-points,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .practice-card {
    grid-template-columns: 1fr;
  }

  .practice-card img {
    min-height: 250px;
  }

  .section,
  .about-section,
  .seo-section,
  .cta-section,
  .experience-strip,
  .contact-section {
    padding: 68px 0;
  }

  .seo-heading {
    position: static;
  }

  .about-portrait {
    padding: 0 14px 14px 0;
  }

  .portrait-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -40px 18px 0;
  }
}
