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

:root {
  --navy: #0d1b2a;
  --navy-mid: #162436;
  --navy-light: #1e3350;
  --gold: #b8963e;
  --gold-light: #d4af6a;
  --gold-pale: #f0e0b0;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --gray-100: #f2f0ec;
  --gray-200: #e8e4dc;
  --gray-400: #9e9b95;
  --gray-600: #6b6760;
  --gray-800: #3a3835;
  --text-primary: #1a1815;
  --text-secondary: #5a5855;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 600;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

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

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
  background: transparent;
}

.header--scrolled {
  background: var(--navy);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  white-space: nowrap;
}

.header__nav-link:hover { color: var(--gold-light); }

.header__cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 9px 20px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

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

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.header__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger--open span:nth-child(2) { opacity: 0; }
.header__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .header__burger { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 280px;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 32px 40px;
    gap: 28px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

  .header__nav--open { right: 0; }

  .header__nav-link {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
  }

  .header__cta { margin-top: 8px; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 27, 42, 0.95) 0%,
    rgba(13, 27, 42, 0.80) 55%,
    rgba(13, 27, 42, 0.55) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.18;
  font-weight: 700;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
  margin-bottom: 40px;
  font-style: italic;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  display: inline-block;
}

.btn:hover { transform: translateY(-1px); }

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

.btn--gold:hover { background: var(--gold-light); }

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.40);
  color: rgba(255,255,255,0.85);
}

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

.hero__disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  max-width: 560px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .hero__actions { flex-direction: column; }
  .btn { text-align: center; }
}

/* ============ Atuação ============ */
.atuacao {
  background: var(--off-white);
  padding: 96px 0;
}

.atuacao__title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 20px;
}

.atuacao__intro {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

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

.atuacao__card {
  background: var(--white);
  padding: 36px 28px;
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.atuacao__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.atuacao__card-icon { color: var(--gold); margin-bottom: 20px; }

.atuacao__card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.atuacao__card-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .atuacao__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .atuacao__grid { grid-template-columns: 1fr; }
  .atuacao { padding: 64px 0; }
}

/* ============ Sobre ============ */
.sobre {
  background: var(--white);
  padding: 96px 0;
}

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

.sobre__image-wrap { position: relative; }

.sobre__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.sobre__image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--gold);
  z-index: -1;
}

.sobre__title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 4px;
}

.sobre__oab {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 28px;
}

.sobre__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sobre__credentials {
  border-top: 1px solid var(--gray-200);
  padding-top: 28px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sobre__credential { display: flex; flex-direction: column; gap: 2px; }

.sobre__credential-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.sobre__credential-value {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

@media (max-width: 860px) {
  .sobre__inner { grid-template-columns: 1fr; gap: 40px; }
  .sobre__image { height: 320px; }
  .sobre { padding: 64px 0; }
}

/* ============ Princípios ============ */
.principios {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.principios__bg-img { position: absolute; inset: 0; }

.principios__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.principios__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.92);
}

.principios__content { position: relative; z-index: 2; }

.principios__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.3;
}

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

.principios__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.20);
  padding: 36px 28px;
  transition: background var(--transition);
}

.principios__card:hover { background: rgba(184,150,62,0.08); }

.principios__card-icon { color: var(--gold); margin-bottom: 20px; }

.principios__card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}

.principios__card-text {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .principios__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .principios__grid { grid-template-columns: 1fr; }
  .principios { padding: 64px 0; }
}

/* ============ Info Section ============ */
.info-section {
  background: var(--off-white);
  padding: 96px 0;
}

.info-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.info-section__title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.25;
}

.info-section__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.info-section__notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(184,150,62,0.08);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
}

.info-section__notice svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.info-section__notice p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.info-section__image-wrap { position: relative; }

.info-section__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 860px) {
  .info-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .info-section__image { height: 280px; }
  .info-section { padding: 64px 0; }
}

/* ============ Como Funciona ============ */
.como-funciona {
  background: var(--white);
  padding: 96px 0;
}

.como-funciona__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.como-funciona__intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 56px;
}

.como-funciona__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.como-funciona__step { position: relative; padding: 0 40px 0 0; }

.como-funciona__step:last-child { padding-right: 0; }

.como-funciona__step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.como-funciona__connector {
  position: absolute;
  top: 28px;
  right: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.como-funciona__step-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.como-funciona__step-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .como-funciona__steps { grid-template-columns: 1fr; gap: 40px; }
  .como-funciona__step { padding: 0 0 0 24px; border-left: 2px solid var(--gold); }
  .como-funciona__connector { display: none; }
  .como-funciona { padding: 64px 0; }
}

/* ============ Contato ============ */
.contato {
  background: var(--navy);
  padding: 96px 0;
}

.contato__cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contato__cta .gold-line { margin-left: auto; margin-right: auto; }

.contato__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 20px;
}

.contato__lead {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contato__whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--gold);
  padding: 16px 36px;
  transition: background var(--transition), transform var(--transition);
}

.contato__whatsapp-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.contato__address {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  margin-top: 44px;
  width: 100%;
}

.contato__address-label {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.contato__address-oab {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

@media (max-width: 600px) {
  .contato { padding: 64px 0; }
  .contato__whatsapp-cta { width: 100%; justify-content: center; }
}

/* ============ Footer ============ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(184,150,62,0.20);
  padding: 64px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.footer__logo-main {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
}

.footer__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer__oab {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 320px;
}

.footer__nav-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__nav,
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a,
.footer__legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  cursor: pointer;
}

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

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer__disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 16px;
  font-style: italic;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ============ WhatsApp Float ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--gold-light);
  border: 1px solid rgba(184,150,62,0.40);
  padding: 12px 18px 12px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-lg);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  max-width: 220px;
}

.whatsapp-float:hover {
  background: var(--navy-light);
  border-color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float {
    border-radius: 50%;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
}
