/*
Theme Name: Dombroski Advogados
Theme URI: https://dombroskiadvogados.com.br/
Author: Dombroski Advogados
Description: Tema institucional da Dombroski Advogados.
Version: 1.0.0
Text Domain: dombroski-advogados
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Caslon+Display&display=swap");

:root {
  --navy: #0b1826;
  --navy-2: #122538;
  --blue: #22384d;
  --gold: #c6a15b;
  --gold-light: #e4c98d;
  --ivory: #f4f0e7;
  --paper: #faf8f3;
  --ink: #16202a;
  --muted: #687078;
  --line: rgba(11, 24, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  align-items: center;
  background: rgba(11, 24, 38, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 88px;
  padding: 0 5vw;
  position: relative;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  width: fit-content;
}

.brand img {
  display: block;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  width: 230px;
}

.site-header nav {
  display: flex;
  gap: clamp(22px, 3vw, 48px);
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  transition: color 0.2s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--gold-light);
}

.header-cta {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 13px;
  justify-self: end;
}

.header-cta span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(11, 24, 38, 0.99) 0%, rgba(11, 24, 38, 0.94) 51%, rgba(11, 24, 38, 0.7) 100%),
    url("https://dombroskiadvogados.com.br/wp-content/themes/patterns-lawyer/assets/img/img-4.jpg") center/cover;
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  min-height: calc(100vh - 88px);
  overflow: hidden;
  padding: clamp(70px, 10vh, 130px) 8vw 46px;
  position: relative;
}

.hero::after {
  background: linear-gradient(115deg, transparent 60%, rgba(198, 161, 91, 0.1));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-lines {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  height: 100%;
  left: 56%;
  position: absolute;
  top: 0;
  transform: skew(-18deg);
  width: 20%;
}

.hero-copy {
  max-width: 840px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  align-items: center;
  color: #8a6c34;
  display: flex;
  font-size: 11px;
  font-weight: 600;
  gap: 14px;
  letter-spacing: 0.2em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold-light);
}

.eyebrow::before,
.section-label::before {
  background: currentColor;
  content: "";
  height: 1px;
  width: 42px;
}

.section-label.light {
  color: var(--gold-light);
}

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

h1,
h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: clamp(52px, 6vw, 94px);
  letter-spacing: -0.035em;
  margin-bottom: 30px;
  max-width: 950px;
}

h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 700px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 24px;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 23px;
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-light);
}

.text-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 14px 0;
}

.text-link span {
  color: var(--gold-light);
  margin-left: 15px;
}

.hero-card {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.65);
  justify-self: end;
  max-width: 280px;
  padding: 30px;
  position: relative;
  z-index: 2;
}

.hero-card-number {
  color: white;
  display: block;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 48px;
  line-height: 1;
}

.hero-card p {
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-card div {
  background: rgba(255, 255, 255, 0.18);
  height: 1px;
  margin: 28px 0;
}

.hero-card strong,
.hero-card > span:last-child {
  display: block;
}

.hero-card strong {
  color: white;
  font-size: 14px;
  margin-bottom: 6px;
}

.hero-card > span:last-child {
  font-size: 12px;
}

.hero-meta {
  align-self: end;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  font-size: 10px;
  gap: 38px;
  grid-column: 1 / -1;
  letter-spacing: 0.14em;
  margin-top: 80px;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.section-shell {
  margin: 0 auto;
  max-width: 1360px;
  padding: 120px 6vw;
}

.intro-grid {
  display: grid;
  gap: 10vw;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
}

.intro h2,
.section-heading h2 {
  font-size: clamp(40px, 5vw, 67px);
  letter-spacing: -0.035em;
  margin-bottom: 0;
}

.intro-grid > div {
  color: var(--muted);
  font-size: 16px;
  padding-top: 8px;
}

.intro-grid > div p + p {
  margin-top: 24px;
}

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

.services .section-shell {
  padding-bottom: 40px;
}

.section-heading {
  max-width: 820px;
}

.section-heading > p:last-child {
  color: var(--muted);
  max-width: 620px;
}

.service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 72px;
}

.service {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 32px;
  grid-template-columns: 70px minmax(240px, 0.8fr) minmax(300px, 1fr) 50px;
  padding: 42px 0;
}

.service > span {
  color: var(--gold-light);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 18px;
}

.service h3 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}

.service p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  max-width: 550px;
}

.service > a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  height: 48px;
  justify-content: center;
  transition: 0.2s ease;
  width: 48px;
}

.service > a:hover,
.service > a:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.cases {
  padding-bottom: 100px;
}

.section-heading.dark {
  color: var(--ink);
}

.case-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 68px;
}

.case {
  background: #eee9df;
  min-height: 390px;
  padding: 34px;
}

.case:nth-child(2) {
  background: var(--blue);
  color: white;
}

.case:nth-child(2) p,
.case:nth-child(2) .case-top {
  color: rgba(255, 255, 255, 0.64);
}

.case-top {
  color: #806f56;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-top b {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

.case h3 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.15;
  margin: 75px 0 24px;
}

.case p {
  color: var(--muted);
  font-size: 13px;
}

.case-note {
  color: #8a8e91;
  font-size: 11px;
  margin: 20px 0 0;
}

.about {
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 680px;
}

.about-art {
  align-items: center;
  background:
    radial-gradient(circle at center, rgba(198, 161, 91, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0, transparent 98px, rgba(255,255,255,.035) 99px, rgba(255,255,255,.035) 100px),
    var(--blue);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.about-art span {
  border: 2px solid var(--gold);
  border-radius: 5px 80px 80px 5px;
  color: var(--gold-light);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 170px;
  line-height: 1;
  padding: 45px 68px;
}

.about-copy {
  align-self: center;
  max-width: 760px;
  padding: 90px 9vw;
}

.about-copy h2 {
  font-size: clamp(43px, 5vw, 68px);
}

.about-copy > p:not(.section-label) {
  color: rgba(255, 255, 255, 0.62);
}

.profile {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 16px;
  margin-top: 44px;
  padding-top: 28px;
}

.profile > span {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy);
  display: flex;
  font-family: "Libre Caslon Display", Georgia, serif;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.profile strong,
.profile small {
  display: block;
}

.profile small {
  color: rgba(255, 255, 255, 0.52);
}

.faq {
  display: grid;
  gap: 8vw;
  grid-template-columns: 0.85fr 1.15fr;
}

.faq .section-heading h2 {
  font-size: clamp(38px, 4vw, 57px);
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 21px;
  gap: 18px;
  grid-template-columns: 34px 1fr 24px;
  list-style: none;
  padding: 28px 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  color: #927844;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 10px;
}

summary b {
  color: var(--gold);
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 400;
  transition: transform 0.2s ease;
}

details[open] summary b {
  transform: rotate(45deg);
}

details > p {
  color: var(--muted);
  font-size: 14px;
  margin-left: 52px;
  max-width: 620px;
  padding-bottom: 24px;
}

.contact {
  background: var(--blue);
  color: white;
  display: grid;
  gap: 10vw;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 100px 8vw;
}

.contact-copy {
  max-width: 800px;
}

.contact-copy h2 {
  font-size: clamp(43px, 5vw, 70px);
}

.contact-copy > p:last-child {
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
}

.contact-actions {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-actions > a:not(.button) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  overflow-wrap: anywhere;
  padding-bottom: 12px;
}

footer {
  align-items: end;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  display: grid;
  font-size: 12px;
  gap: 30px;
  grid-template-columns: 1fr auto auto;
  padding: 55px 5vw;
}

.footer-brand {
  color: white;
}

.footer-brand img {
  height: 74px;
  width: 270px;
}

footer > small {
  grid-column: 1 / -1;
}

.social {
  display: flex;
  gap: 22px;
}

.social a:hover,
.social a:focus-visible {
  color: var(--gold-light);
}

.floating-whatsapp {
  align-items: center;
  background: var(--gold);
  bottom: 20px;
  color: var(--navy);
  display: none;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  left: 20px;
  min-height: 54px;
  position: fixed;
  right: 20px;
  z-index: 30;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

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

  .hero-card {
    display: none;
  }

  .intro-grid,
  .faq {
    gap: 55px;
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 45px 1fr 50px;
  }

  .service p {
    grid-column: 2;
  }

  .service > a {
    grid-column: 3;
    grid-row: 1;
  }

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

  .case {
    min-height: auto;
  }

  .case h3 {
    margin-top: 50px;
  }

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

  .about-art {
    min-height: 400px;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 74px;
    padding: 0 20px;
  }

  .brand img {
    height: 54px;
    width: 190px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 74px);
    padding: 64px 22px 32px;
  }

  .eyebrow,
  .section-label {
    font-size: 9px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .text-link {
    text-align: center;
  }

  .hero-meta {
    display: none;
  }

  .section-shell {
    padding: 78px 22px;
  }

  .intro h2,
  .section-heading h2 {
    font-size: 39px;
  }

  .services .section-shell {
    padding-bottom: 25px;
  }

  .service-list {
    margin-top: 45px;
  }

  .service {
    gap: 15px;
    grid-template-columns: 32px 1fr;
    padding: 30px 0;
  }

  .service h3 {
    font-size: 28px;
  }

  .service p {
    grid-column: 2;
  }

  .service > a {
    display: none;
  }

  .case {
    padding: 28px;
  }

  .about-art {
    min-height: 310px;
  }

  .about-art span {
    font-size: 110px;
    padding: 30px 46px;
  }

  .about-copy {
    padding: 72px 22px;
  }

  .about-copy h2,
  .contact-copy h2 {
    font-size: 40px;
  }

  summary {
    font-size: 18px;
    grid-template-columns: 25px 1fr 20px;
  }

  details > p {
    margin-left: 43px;
  }

  .contact {
    padding: 75px 22px 100px;
  }

  footer {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 55px 22px 100px;
  }

  .social {
    flex-wrap: wrap;
  }

  footer > small {
    grid-column: 1;
  }

  .floating-whatsapp {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
