/* Cillo Advogados — estética do site anterior (dourado, capítulos escuros e
   marfim, molduras deslocadas) com fonte limpa: Montserrat + Lato. */

:root {
  --night: #0b2b24;
  --ink: #061c17;
  --raised: #103a30;
  --ivory: #f5f2ea;
  --paper: #fbfaf6;
  --gold: #c5a35e;
  --gold-deep: #a88743;
  --cream: #eeebe1;
  --text-dark: #1b2b27;
  --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Lato", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

::selection {
  background: rgba(197, 163, 94, 0.3);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

.skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn--sm {
  padding: 12px 22px;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(238, 235, 225, 0.35);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn__wa {
  flex: none;
  width: 18px;
  height: 18px;
}

/* ---------- Textos comuns ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.eyebrow__line {
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.title {
  margin-top: 24px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.title em {
  color: var(--gold-deep);
  font-style: normal;
}

.title--cream {
  color: var(--cream);
}

.title--cream em {
  color: var(--gold);
}

/* ---------- Cabeçalho ---------- */

.header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header.is-scrolled,
.header.is-open {
  border-color: rgba(238, 235, 225, 0.1);
  background: rgba(6, 28, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo em,
.footer__brand em {
  color: var(--gold);
  font-style: normal;
}

.nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav a:not(.btn) {
  position: relative;
  padding: 8px 0;
  color: rgba(238, 235, 225, 0.82);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:not(.btn):hover {
  color: var(--cream);
}

.nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn span {
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.25s ease;
}

.header.is-open .menu-btn span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.header.is-open .menu-btn span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.menu {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 32px;
  background: var(--ink);
}

.menu[hidden] {
  display: none;
}

.menu a:not(.btn) {
  padding: 18px 0;
  border-bottom: 1px solid rgba(238, 235, 225, 0.1);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
}

.menu .btn {
  margin-top: 28px;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .menu-btn,
  .menu {
    display: none !important;
  }
}

/* ---------- Banner ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink) url("assets/banner-inicio.jpg") center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 23, 0.9) 0%, rgba(6, 28, 23, 0.6) 50%, rgba(6, 28, 23, 0.15) 100%),
    linear-gradient(0deg, rgba(6, 28, 23, 0.7) 0%, transparent 35%);
}

.hero__content {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero__title {
  max-width: 18ch;
  margin-top: 28px;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.hero__title em {
  color: var(--gold);
  font-style: normal;
}

.hero__text {
  max-width: 60ch;
  margin-top: 24px;
  color: rgba(238, 235, 225, 0.85);
  font-size: 1.075rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    animation: rise 0.8s var(--ease) both;
  }

  .hero__content > *:nth-child(2) {
    animation-delay: 0.12s;
  }

  .hero__content > *:nth-child(3) {
    animation-delay: 0.24s;
  }

  .hero__content > *:nth-child(4) {
    animation-delay: 0.36s;
  }
}

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

/* ---------- Apresentação ---------- */

.intro {
  border-top: 1px solid rgba(238, 235, 225, 0.1);
  border-bottom: 1px solid rgba(238, 235, 225, 0.1);
  background: var(--ink);
}

.intro__grid {
  display: grid;
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.intro__grid p {
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  color: rgba(238, 235, 225, 0.85);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* ---------- Seções ---------- */

.section {
  padding: 96px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 128px 0;
  }
}

.section--ivory {
  background: var(--ivory);
  color: var(--text-dark);
}

.section--paper {
  background: var(--paper);
  color: var(--text-dark);
}

.section--dark {
  background:
    radial-gradient(50% 60% at 15% 20%, rgba(197, 163, 94, 0.08), transparent),
    var(--night);
}

.section__head {
  max-width: 680px;
}

.section__hint {
  margin-top: 16px;
  color: rgba(238, 235, 225, 0.65);
  font-size: 1rem;
  font-weight: 300;
}

.split {
  display: grid;
  gap: 64px;
  align-items: center;
}

.split--portrait {
  align-items: start;
}

.split__text > p {
  max-width: 62ch;
  margin-top: 18px;
  color: rgba(27, 43, 39, 0.8);
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.8;
}

.split__text > p.eyebrow {
  margin-top: 0;
}

.split__text > .title + p {
  margin-top: 28px;
}

.split__text > p.split__strong {
  margin-top: 24px;
  padding-left: 20px;
  border-left: 2px solid var(--gold-deep);
  color: var(--ink);
  font-weight: 700;
}

.split__text > p.split__oab {
  margin-top: 8px;
  color: var(--gold-deep);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 88px;
  }

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

  .split--portrait .portrait {
    position: sticky;
    top: 112px;
  }
}

/* Moldura dourada deslocada, como no site anterior */
.framed {
  position: relative;
  margin: 0;
}

.framed::before {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(168, 135, 67, 0.4);
  border-radius: 4px;
  content: "";
}

.framed--left::before {
  bottom: -20px;
  left: -20px;
}

.framed--right::before {
  top: -20px;
  right: -20px;
}

.framed img,
.framed iframe {
  position: relative;
  width: 100%;
  border-radius: 4px;
}

.framed img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Áreas (linhas que abrem ao clicar) ---------- */

.acc {
  margin-top: 56px;
  border-top: 1px solid rgba(238, 235, 225, 0.12);
}

.acc__item {
  border-bottom: 1px solid rgba(238, 235, 225, 0.12);
  transition: background-color 0.3s ease;
}

.acc__item[open] {
  background: rgba(238, 235, 225, 0.03);
}

.acc__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 26px 8px;
  list-style: none;
  cursor: pointer;
}

.acc__head::-webkit-details-marker {
  display: none;
}

.acc__num {
  color: rgba(238, 235, 225, 0.35);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.acc__icon {
  display: none;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: rgba(238, 235, 225, 0.45);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.acc__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acc__title {
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
}

.acc__sub {
  color: rgba(238, 235, 225, 0.55);
  font-size: 0.95rem;
  font-weight: 300;
}

.acc__toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(238, 235, 225, 0.3);
  border-radius: 50%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.acc__toggle::before,
.acc__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  content: "";
  background: var(--cream);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.acc__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.acc__head:hover .acc__num,
.acc__item[open] .acc__num {
  color: var(--gold);
}

.acc__head:hover .acc__icon,
.acc__item[open] .acc__icon {
  stroke: var(--gold);
}

.acc__head:hover .acc__toggle,
.acc__item[open] .acc__toggle {
  border-color: var(--gold);
}

.acc__item[open] .acc__toggle::before,
.acc__item[open] .acc__toggle::after {
  background: var(--gold);
}

.acc__item[open] .acc__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.acc__body {
  padding: 0 8px 40px;
}

.acc__body > p {
  max-width: 72ch;
  margin-top: 14px;
  color: rgba(238, 235, 225, 0.78);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
}

.acc__body > p:first-child {
  margin-top: 0;
}

.acc__group {
  margin: 32px 0 14px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.acc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.acc__list--cols {
  columns: 2 300px;
  column-gap: 40px;
}

.acc__list li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid rgba(238, 235, 225, 0.08);
  color: rgba(238, 235, 225, 0.85);
  font-size: 0.97rem;
  line-height: 1.5;
  break-inside: avoid;
}

.acc__list li::before {
  position: absolute;
  top: 15px;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  content: "";
  transform: rotate(45deg);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(197, 163, 94, 0.45);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  counter-increment: step;
}

.steps li::before {
  color: var(--gold);
  content: counter(step);
  font-weight: 700;
}

.acc__cta {
  margin-top: 32px;
}

@media (min-width: 768px) {
  .acc__head {
    grid-template-columns: 3rem auto 1fr auto;
    gap: 24px;
    padding: 30px 16px;
  }

  .acc__icon {
    display: block;
  }

  .acc__body {
    padding: 0 16px 48px calc(16px + 3rem + 24px + 34px + 24px);
  }
}

/* ---------- Orientação preventiva ---------- */

.cta {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(197, 163, 94, 0.14), transparent),
    var(--ink);
  text-align: center;
}

.cta::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  content: "";
  background: linear-gradient(var(--gold), transparent);
}

.cta__kicker {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cta__title {
  max-width: 24ch;
  margin: 24px auto 0;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.cta__title em {
  color: var(--gold);
  font-style: normal;
}

.cta__text {
  max-width: 64ch;
  margin: 20px auto 0;
  color: rgba(238, 235, 225, 0.75);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
}

.cta__strong {
  max-width: 50ch;
  margin: 28px auto 40px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ---------- Fundadora ---------- */

.portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 24px;
  border-top: 1px solid rgba(238, 235, 225, 0.1);
  border-radius: 0 0 4px 4px;
  background: rgba(6, 28, 23, 0.8);
  backdrop-filter: blur(4px);
}

.portrait__name {
  display: block;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.portrait__role {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Contato ---------- */

.regions {
  margin-top: 16px;
  color: var(--gold-deep);
  font-weight: 700;
}

.info {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.info li {
  display: flex;
  gap: 22px;
}

.info li + li {
  margin-top: 30px;
}

.info__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(168, 135, 67, 0.4);
  border-radius: 50%;
}

.info__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info h3 {
  color: rgba(27, 43, 39, 0.55);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info a,
.info p {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.1rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.info a:hover {
  color: var(--gold-deep);
}

.map iframe {
  display: block;
  height: 440px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* ---------- Rodapé ---------- */

.footer {
  border-top: 1px solid rgba(238, 235, 225, 0.1);
  background: var(--ink);
}

.footer__inner {
  display: grid;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer__brand {
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.footer__text {
  max-width: 48ch;
  margin-top: 18px;
  color: rgba(238, 235, 225, 0.6);
  font-size: 0.9375rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-content: start;
}

.footer__nav a {
  color: rgba(238, 235, 225, 0.68);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(238, 235, 225, 0.1);
  color: rgba(238, 235, 225, 0.45);
  font-size: 0.8125rem;
}

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer__nav {
    justify-content: flex-end;
  }
}

/* ---------- WhatsApp flutuante ---------- */

.whatsapp {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp:hover {
  background: var(--gold-deep);
  transform: scale(1.06);
}

.whatsapp svg {
  width: 28px;
  height: 28px;
}

/* ---------- Revelação suave ao rolar ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
