/* Josiane Batu Rubin — Advocacia e Consultoria Financeira */

:root {
  --navy-950: #0c1929;
  --navy-900: #122337;
  --navy-800: #1a3048;
  --navy-700: #234163;
  --gold-600: #b8956a;
  --gold-500: #c9a876;
  --gold-100: #f5efe6;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #eef1f4;
  --gray-200: #dde3ea;
  --gray-500: #6b7a8d;
  --gray-700: #3d4f63;
  --gray-900: #1a2332;
  --font: "Source Sans 3", "Inter", system-ui, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(12, 25, 41, 0.08);
  --max: 1140px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo:hover { text-decoration: none; }

.logo__mark {
  width: 44px;
  height: 44px;
  background: var(--navy-900);
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
}

.logo__tagline {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover { color: var(--navy-900); text-decoration: none; }

.header__cta {
  display: inline-flex;
  padding: 10px 18px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.header__cta:hover {
  background: var(--navy-800);
  text-decoration: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px;
  gap: 12px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-weight: 600;
  color: var(--gray-700);
  padding: 8px 0;
  text-decoration: none;
}

/* HERO */
.hero {
  background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500), var(--gold-600));
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
  max-width: 640px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold-600);
  color: var(--navy-950);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-500);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--gold-500);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--white);
}

.hero__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.credential {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.credential strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* SECTIONS */
.section {
  padding: 72px 0;
}

.section--alt { background: var(--gray-50); }

.section--dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
}

.section__header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.section--dark .section__eyebrow { color: var(--gold-500); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section--dark .section__title { color: var(--white); }

.section__desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.section--dark .section__desc { color: rgba(255, 255, 255, 0.7); }

/* SOLUTIONS */
.solutions-grid {
  display: grid;
  gap: 24px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 3px solid var(--gold-600);
  transition: box-shadow 0.2s;
}

.solution-card:hover { box-shadow: var(--shadow); }

.solution-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.solution-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.solution-card__text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
}

/* PROCESS */
.process-grid {
  display: grid;
  gap: 24px;
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--navy-900);
  color: var(--gold-500);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.process-step__title {
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  font-size: 1rem;
}

.process-step__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ABOUT */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.about-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-facts li {
  display: flex;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--gray-700);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.about-facts li:last-child { border-bottom: none; padding-bottom: 0; }

.about-facts strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* FORM */
.form-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.form-wrapper {
  display: grid;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.form-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.form-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26, 48, 72, 0.12);
}

.form-group input.error,
.form-group textarea.error { border-color: #c0392b; }

.form-error {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--navy-900);
}

.form-consent label {
  font-size: 0.8rem;
  color: var(--gray-700);
  line-height: 1.6;
  cursor: pointer;
}

.form-consent label a { color: var(--navy-700); font-weight: 600; }

.form-consent.error {
  border-color: #c0392b;
  background: #fdf5f5;
}

.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success.visible { display: block; }

.form-success__icon {
  width: 56px;
  height: 56px;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.form-body.hidden { display: none; }

/* TRANSPARENCY */
.transparency-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.transparency-list li {
  padding-left: 20px;
  border-left: 3px solid var(--gold-600);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.transparency-list strong { color: var(--white); }

/* FOOTER */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  padding: 48px 0 32px;
  font-size: 11px;
  line-height: 1.75;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

.footer a:hover { color: var(--white); }

.footer__top {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0;
  font-size: 11px;
}

.footer__links a { text-decoration: none; font-weight: 600; }
.footer__links a:hover { text-decoration: underline; }

.footer__compliance {
  margin-top: 24px;
}

.footer__compliance h4 {
  color: var(--gold-500);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 24px 0 10px;
}

.footer__compliance p {
  margin-bottom: 12px;
  text-align: justify;
}

.footer__copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

/* LEGAL PAGES */
.legal-page { padding: 48px 0 80px; }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--navy-900);
  margin-bottom: 8px;
}

.legal-page__updated {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 36px;
}

.legal-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .form-wrapper { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .process-step { flex-direction: column; text-align: center; }
  .process-step__num { margin: 0 auto; }
}
