/* ============================================
   PREMIUM LANDING — PENSÃO ALIMENTÍCIA
   Luxury legal brand • Black, gold, ivory
   ============================================ */

:root {
  /* Palette */
  --black: #0a0a0a;
  --black-soft: #141414;
  --charcoal: #1a1a1a;
  --gray-900: #252525;
  --gray-700: #3d3d3d;
  --gray-600: #5c5c5c;
  --gray-500: #6b6b6b;
  --gray-400: #8a8a8a;
  --gray-300: #a8a8a8;
  --ivory: #f8f6f3;
  --ivory-warm: #f5f2ed;
  --cream: #ebe7e0;
  --white: #ffffff;
  --gold: #c9a962;
  --gold-light: #d4bc7a;
  --gold-dark: #a88b4a;
  --gold-muted: rgba(201, 169, 98, 0.25);
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 10rem;

  /* Layout */
  --container: min(92%, 1140px);
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- Utility: Container ---------- */
.container {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  box-shadow: 0 4px 20px var(--gold-muted);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-muted);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}
.btn__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn:hover .btn__shine { left: 100%; }
.btn--lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}
.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}
.btn__icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
  transition: background var(--transition);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Logo — Isabela Magalhães */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}
.logo__img {
  height: 44px;
  width: auto;
  max-width: 200px;
  min-height: 32px;
  object-fit: contain;
  object-position: left center;
  display: block;
  transition: opacity var(--transition);
}
.logo:hover .logo__img { opacity: 0.9; }
/* Fallback quando a imagem não carrega (coloque images/logo.png na pasta do projeto) */
.logo__fallback {
  display: none;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  white-space: nowrap;
}
.logo__fallback--show { display: block; }
.logo__fallback--footer { color: var(--ivory); }
.logo--footer .logo__img {
  height: 40px;
  max-width: 180px;
}
.logo--footer .logo__img--footer {
  filter: brightness(1.05);
}
@media (max-width: 768px) {
  .logo__img { height: 38px; max-width: 160px; }
  .logo__fallback { font-size: 1.15rem; }
  .logo--footer .logo__img { height: 36px; max-width: 150px; }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav__list a:hover { color: var(--gold); }
.header__cta { flex-shrink: 0; }

.header__menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: var(--space-xs);
  cursor: pointer;
  color: var(--white);
}
.header__menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}
.header__mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--black-soft);
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}
.header__mobile-nav.is-open { display: block; }
.nav__list--mobile {
  flex-direction: column;
  gap: var(--space-md);
}
.nav__list--mobile a { color: var(--ivory); }

@media (max-width: 768px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .header__menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  background-image: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 169, 98, 0.06) 0%, transparent 50%),
                    linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.hero__content { max-width: 560px; }
.hero__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}
.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero__support {
  font-size: 1rem;
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero__support:has(+ .hero__support) {
  margin-bottom: var(--space-sm);
}
.hero__cta {
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero__trust {
  font-size: 0.8125rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.hero__portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.hero__portrait-frame {
  position: relative;
  padding: var(--space-sm);
  background: linear-gradient(145deg, var(--gold-muted) 0%, transparent 50%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 98, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.hero__portrait-placeholder {
  aspect-ratio: 3/4;
  background: var(--charcoal);
  background-image: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
  background-position: center center;
  background-size: cover;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Add lawyer photo: .hero__portrait-placeholder { background-image: url('foto-advogada.jpg'); background-size: cover; background-position: center; } */

.hero__divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  z-index: 1;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content { max-width: none; margin: 0 auto; }
  .hero__media { order: -1; max-width: 280px; margin: 0 auto; }
}

/* ---------- Section common ---------- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
  text-align: center;
  margin-bottom: var(--space-md);
}
.section__title--light { color: var(--white); }
.section__subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}
.section__subtitle--light { color: var(--gray-400); }

/* ---------- Pain / Empathy ---------- */
.section--pain {
  background: var(--black-soft);
  background-image: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(201, 169, 98, 0.04) 0%, transparent 50%);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
}
.pain-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(201, 169, 98, 0.3);
}
.pain-card__icon {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--space-md);
  border-radius: 1px;
}
.pain-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: var(--space-xs);
}
.pain-card__text {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.pain-card--wide { grid-column: 1 / -1; }

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

/* ---------- Authority ---------- */
.section--authority { background: var(--ivory); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-3xl);
  list-style: none;
}
.stats-grid--checks {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 960px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.stat-card--check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-align: left;
}
.stat-card__check {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.125rem;
  line-height: 1;
}
.stat-card--check .stat-card__label {
  font-size: 0.9375rem;
  text-transform: none;
  color: var(--gray-700);
  line-height: 1.4;
}
.stat-card__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: var(--space-2xs);
}
.stat-card__label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.stat-card--oab .stat-card__oab {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: var(--space-2xs);
}

.profile-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--cream);
}
.profile-block__media {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}
.profile-block__img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--cream);
  box-shadow: var(--shadow-soft);
}
.profile-block__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory-warm) 100%);
}
.profile-block__divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--space-lg);
  border-radius: 1px;
}
.profile-block__bio {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.profile-block__bio:last-child { margin-bottom: 0; }

.profile-block__formation {
  margin-top: var(--space-2xl);
}

@media (max-width: 768px) {
  .profile-block { grid-template-columns: 1fr; }
  .profile-block__media { max-width: 280px; margin: 0 auto; }
}

/* ---------- Testimonials ---------- */
.section--testimonials { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--ivory-warm);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.testimonial-card__stars {
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}
.testimonial-card__cite {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-style: normal;
}

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

/* ---------- Process ---------- */
.section--process { background: var(--ivory); }
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
  counter-reset: step;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.process-step__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: var(--space-sm);
}
.process-step__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: var(--space-xs);
}
.process-step__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

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

/* ---------- Differentials ---------- */
.section--differentials { background: var(--white); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}
.diff-card {
  padding: var(--space-xl);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  background: var(--ivory-warm);
  transition: transform var(--transition), border-color var(--transition);
}
.diff-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 169, 98, 0.3);
}
.diff-card__mark {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--space-md);
  border-radius: 1px;
}
.diff-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: var(--space-xs);
}
.diff-card__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.section--cta {
  position: relative;
  padding: var(--space-5xl) 0;
  background: var(--black);
  background-image: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201, 169, 98, 0.08) 0%, transparent 60%);
}
.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta__divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto var(--space-xl);
  opacity: 0.6;
  border-radius: 1px;
}
.cta__divider--bottom { margin: var(--space-xl) auto 0; }
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}
.cta__subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}
.cta__button { margin-bottom: var(--space-md); }
.cta__trust {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black-soft);
  padding: var(--space-3xl) 0 var(--space-lg);
  border-top: 1px solid rgba(201, 169, 98, 0.15);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.footer__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 var(--space-2xs);
}
.footer__area {
  font-size: 0.875rem;
  color: var(--gold);
  margin: 0 0 var(--space-2xs);
}
.footer__topics {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0 0 var(--space-2xs);
}
.footer__oab {
  font-size: 0.8125rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin: 0;
}
.footer__contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--space-2xs);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}
.footer__link-sep {
  color: var(--gray-500);
  font-weight: 400;
  user-select: none;
}
.footer__link {
  color: var(--gold);
  font-weight: 500;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--gold-light); }
.footer__confidential {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 320px;
}
.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-900);
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__confidential { max-width: none; }
}

/* ---------- Scroll-triggered fade (optional, enhanced by JS) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
