/* ==============================================
   NICOLE BARROS ADVOCACIA — style.css
   Mobile-First · CSS Grid & Flexbox
   Provimento OAB 205/2021 compliant
   ============================================== */

/* ── 1. CSS CUSTOM PROPERTIES ─────────────────── */
:root {
  /* Brand Colors */
  --bordeaux:        #601630;
  --bordeaux-hover:  #7a1c3c;
  --bordeaux-dark:   #4a1124;
  --bordeaux-light:  rgba(96, 22, 48, 0.08);
  --bordeaux-mid:    rgba(96, 22, 48, 0.15);
  --gray:            #757575;
  --gray-light:      #f7f7f7;
  --gray-medium:     #e8e8e8;
  --gray-dark:       #3a3a3a;
  --white:           #ffffff;
  --black:           #111111;

  /* Typography */
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

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

  /* Border-radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 4px  rgba(0,0,0,0.06);
  --shadow-sm:  0 2px 8px  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.12);

  /* Glow effects (bordeaux neon) */
  --glow-sm:   0 0 12px rgba(96,22,48,0.20), 0 0 24px rgba(96,22,48,0.08);
  --glow-md:   0 0 20px rgba(96,22,48,0.28), 0 0 40px rgba(96,22,48,0.12);
  --glow-lg:   0 0 30px rgba(96,22,48,0.35), 0 0 60px rgba(96,22,48,0.15);

  /* Dividers */
  --divider:       0.5px solid rgba(96,22,48,0.18);
  --divider-light: 0.5px solid rgba(96,22,48,0.10);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.25rem;
  --header-h:      72px;
}

/* ── 2. RESET & BASE ──────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray-dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── 3. LAYOUT UTILITIES ─────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── 4. TYPOGRAPHY ───────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--bordeaux-dark);
  font-weight: 600;
}

em { font-style: italic; }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  background: var(--bordeaux-light);
  border: var(--divider-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--bordeaux-dark);
  margin-bottom: var(--space-sm);
}

.section-title em {
  color: var(--bordeaux);
}

.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--bordeaux), transparent);
  margin-block: var(--space-lg);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .section-divider {
  margin-inline: auto;
}

.section-header .section-subtitle {
  margin-inline: auto;
}

/* ── 5. BUTTONS ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--bordeaux);
  color: var(--white);
  border-color: var(--bordeaux);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--bordeaux-hover);
  border-color: var(--bordeaux-hover);
  box-shadow: var(--glow-md);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}

.btn--outline:hover {
  background: var(--bordeaux-light);
  box-shadow: var(--glow-sm);
  transform: translateY(-1px);
}

.btn--lg {
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── 6. HEADER ───────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--divider-light);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(96,22,48,0.22);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover { opacity: 0.85; }

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--bordeaux);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  box-shadow: var(--glow-sm);
}

.logo-mark--sm {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
  letter-spacing: 0.04em;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--bordeaux);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover { color: var(--bordeaux); }
.nav-link:hover::after { width: calc(100% - 1.5rem); }
.nav-link.active { color: var(--bordeaux); }
.nav-link.active::after { width: calc(100% - 1.5rem); }

.nav-link--cta {
  background: var(--bordeaux);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
  background: var(--bordeaux-hover);
  box-shadow: var(--glow-sm);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-toggle:hover { background: var(--bordeaux-light); }

.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--bordeaux-dark);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  transform-origin: center;
}

.nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
@media (max-width: 767px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-top: var(--divider);
    padding: var(--space-lg) var(--space-xl);
    gap: var(--space-xs);
    box-shadow: var(--shadow-lg);
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
    text-align: left;
  }

  .nav-link--cta {
    margin-top: var(--space-sm);
    text-align: center;
  }
}

/* ── 7. HERO ─────────────────────────────────── */
.hero {
  padding-top: calc(var(--header-h) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle background grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96,22,48,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,22,48,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  border: var(--divider);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  background: var(--bordeaux-light);
}

.hero-title {
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--bordeaux-dark);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.hero-title-highlight {
  color: var(--bordeaux);
  font-style: italic;
}

.hero-text {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

/* Credentials strip */
.hero-credentials {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: var(--divider);
  flex-wrap: wrap;
}

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

.credential-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bordeaux);
}

.credential-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.credential-divider {
  width: 0.5px;
  height: 32px;
  background: var(--bordeaux-mid);
  flex-shrink: 0;
}

/* Hero image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--divider);
  box-shadow: var(--shadow-lg);
}

.hero-img-placeholder,
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    160deg,
    var(--gray-light) 0%,
    rgba(96,22,48,0.04) 50%,
    rgba(96,22,48,0.10) 100%
  );
}

.hero-img-placeholder {
  padding: var(--space-2xl);
}

.justice-svg {
  width: 70%;
  max-width: 240px;
  margin: auto;
  opacity: 0.85;
}

.hero-image-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60px;
  background: var(--bordeaux);
  filter: blur(40px);
  opacity: 0.12;
  border-radius: var(--radius-full);
  pointer-events: none;
}

.hero-image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: var(--divider);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: -1;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-3xl);
  gap: 6px;
  opacity: 0.4;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--bordeaux), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}

/* ── 8. DIVIDERS (ultra-thin) ─────────────────── */
.hero-divider,
.sobre-divider,
.areas-divider,
.mvv-divider {
  height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--bordeaux-mid), transparent);
}

/* ── 9. SOBRE ────────────────────────────────── */
.sobre {
  padding-block: var(--space-4xl);
  background: var(--white);
}

.sobre-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.sobre-content .section-divider { margin-block: var(--space-lg); }

.sobre-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--bordeaux-dark);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  padding-left: var(--space-lg);
  border-left: 2px solid var(--bordeaux);
}

.sobre-text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

/* Destaques */
.sobre-destaques {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: var(--divider);
}

.destaque-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.destaque-icon {
  width: 40px;
  height: 40px;
  background: var(--bordeaux-light);
  border: var(--divider-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bordeaux);
}

.destaque-icon svg { width: 18px; height: 18px; }

.destaque-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.destaque-item strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bordeaux-dark);
  display: block;
}

.destaque-item span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Sobre image */
.sobre-image {
  position: relative;
}

.sobre-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--divider);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.sobre-img-placeholder,
.sobre-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--gray-light), rgba(96,22,48,0.07));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sobre-image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border: var(--divider);
  border-radius: var(--radius-md);
  background: var(--bordeaux-light);
  z-index: -1;
}

.sobre-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: var(--white);
  border: var(--divider);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}

.sobre-badge-year {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bordeaux);
}

.sobre-badge-label {
  font-size: 0.68rem;
  color: var(--gray);
  letter-spacing: 0.06em;
}

/* ── 10. ÁREAS (BENTO GRID) ──────────────────── */
.areas {
  padding-block: var(--space-4xl);
  background: var(--gray-light);
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* Cards */
.bento-card {
  background: var(--white);
  border: var(--divider-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bordeaux), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.bento-card:hover {
  border-color: rgba(96,22,48,0.25);
  box-shadow: var(--glow-md), var(--shadow-md);
  transform: translateY(-3px);
}

.bento-card:hover::before { opacity: 1; }

.bento-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.bento-card-icon {
  width: 44px;
  height: 44px;
  background: var(--bordeaux-light);
  border: var(--divider-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordeaux);
  transition: var(--transition-base);
}

.bento-card:hover .bento-card-icon {
  background: var(--bordeaux);
  color: var(--white);
  box-shadow: var(--glow-sm);
}

.bento-card-icon svg { width: 20px; height: 20px; }

.bento-card-number {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--bordeaux);
  opacity: 0.35;
  letter-spacing: 0.1em;
}

.bento-card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--bordeaux-dark);
  margin-bottom: var(--space-xs);
}

.bento-card-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bordeaux);
  opacity: 0.75;
  margin-bottom: var(--space-md);
}

.bento-card-text {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.bento-card-text:last-of-type { margin-bottom: var(--space-lg); }

/* Tags */
.bento-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: auto;
}

.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bordeaux);
  background: var(--bordeaux-light);
  border: var(--divider-light);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.bento-card:hover .tag {
  background: rgba(96,22,48,0.12);
  border-color: rgba(96,22,48,0.22);
}

/* Wide card (Consultoria) */
.bento-card--wide .bento-card-wide-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ── 11. MISSÃO, VISÃO & VALORES ─────────────── */
.mvv {
  padding-block: var(--space-4xl);
  background: var(--white);
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.mvv-card {
  border: var(--divider-light);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  background: var(--white);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.mvv-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bordeaux), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.mvv-card:hover {
  box-shadow: var(--glow-sm), var(--shadow-sm);
  border-color: rgba(96,22,48,0.22);
}

.mvv-card:hover::after { transform: scaleX(1); }

.mvv-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bordeaux-light);
  border: var(--divider-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordeaux);
  margin-bottom: var(--space-lg);
  transition: var(--transition-base);
}

.mvv-card:hover .mvv-card-icon {
  background: var(--bordeaux);
  color: var(--white);
  box-shadow: var(--glow-sm);
}

.mvv-card-icon svg { width: 22px; height: 22px; }

.mvv-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
  margin-bottom: var(--space-sm);
}

.mvv-card-divider {
  width: 36px;
  height: 1.5px;
  background: var(--bordeaux);
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-full);
  opacity: 0.5;
}

.mvv-card-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.85;
}

/* Valores list */
.valores-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.valor-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.valor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bordeaux);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 6px rgba(96,22,48,0.4);
}

.valor-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bordeaux-dark);
  margin-bottom: 2px;
}

.valor-item span {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ── 12. CTA SECTION ─────────────────────────── */
.cta-section {
  padding-block: var(--space-4xl);
  background: linear-gradient(135deg, var(--bordeaux-dark) 0%, var(--bordeaux) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 480px;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.cta-section .btn--primary {
  background: var(--white);
  color: var(--bordeaux);
  border-color: var(--white);
}

.cta-section .btn--primary:hover {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 24px rgba(255,255,255,0.25);
}

.cta-section .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.cta-section .btn--outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
  box-shadow: 0 0 16px rgba(255,255,255,0.15);
}

/* ── 13. FOOTER ──────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
}

.footer-top-divider {
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(96,22,48,0.5), transparent);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  padding-block: var(--space-4xl);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-mark {
  background: var(--bordeaux);
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-tagline {
  color: rgba(255,255,255,0.5);
}

.footer-brand-text {
  font-size: 0.82rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
  margin-bottom: var(--space-xl);
}

/* Social icons */
.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: var(--transition-base);
}

.social-link svg { width: 16px; height: 16px; }

.social-link:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--white);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

/* Footer cols */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
}

.footer-address { display: flex; flex-direction: column; gap: var(--space-md); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--bordeaux);
  opacity: 0.85;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}
.footer-contact-item a:hover { color: var(--white); }

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav-list a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
  padding-block: 2px;
}

.footer-nav-list a:hover { color: var(--white); }

/* Footer bottom */
.footer-bottom-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.07);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-block: var(--space-xl);
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.footer-legal-sep {
  color: rgba(255,255,255,0.2);
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

.footer-copy strong {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* ── 14. SCROLL REVEAL ANIMATIONS ───────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for bento cards */
.bento-card:nth-child(1) { transition-delay: 0s;    }
.bento-card:nth-child(2) { transition-delay: 0.1s;  }
.bento-card:nth-child(3) { transition-delay: 0.2s;  }
.bento-card:nth-child(4) { transition-delay: 0.15s; }

.mvv-card:nth-child(1) { transition-delay: 0s;   }
.mvv-card:nth-child(2) { transition-delay: 0.12s; }
.mvv-card:nth-child(3) { transition-delay: 0.24s; }

/* ── 15. MEDIA QUERIES ───────────────────────── */

/* Tablet: 640px+ */
@media (min-width: 640px) {
  :root { --container-pad: 2rem; }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mvv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mvv-card--valores {
    grid-column: span 2;
  }

  .sobre-destaques {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

/* Desktop: 768px+ */
@media (min-width: 768px) {
  :root { --container-pad: 2.5rem; }

  .nav-menu  { display: flex; }
  .nav-toggle { display: none; }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero-image { justify-content: flex-end; }

  .sobre-container {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--space-4xl);
  }

  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
  }

  /* Bento grid placement */
  .bento-card:nth-child(1) { /* Trabalho */
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .bento-card:nth-child(2) { /* Previdenciário */
    grid-column: 3 / 5;
    grid-row: 1 / 2;
  }

  .bento-card:nth-child(3) { /* Civil */
    grid-column: 3 / 5;
    grid-row: 2 / 3;
  }

  .bento-card:nth-child(4) { /* Consultoria */
    grid-column: 1 / 5;
    grid-row: 3 / 4;
  }

  .bento-card--large {
    display: flex;
    flex-direction: column;
  }

  .bento-card--large .bento-card-tags {
    margin-top: auto;
  }

  .bento-card--wide .bento-card-wide-content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-2xl);
  }

  .bento-card--wide .bento-card-wide-content > div:first-child {
    flex: 1;
  }

  .bento-card--wide .bento-card-tags {
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
  }

  .mvv-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mvv-card--valores { grid-column: auto; }

  .cta-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .cta-text { margin-inline: 0; }

  .cta-actions { flex-shrink: 0; }

  .footer-container {
    grid-template-columns: 1.8fr 1fr 1fr;
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .sobre-destaques {
    grid-template-columns: 1fr;
  }
}

/* Large: 1024px+ */
@media (min-width: 1024px) {
  :root { --container-pad: 3rem; }

  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-4xl);
  }

  .sobre-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Wide: 1280px+ */
@media (min-width: 1280px) {
  :root { --container-pad: 2rem; }
}

/* ── 16. PRINT STYLES ────────────────────────── */
@media print {
  .header, .scroll-indicator, .hero-image-glow,
  .hero-image-decoration, .cta-section, .footer-social { display: none; }

  body { font-size: 12pt; color: #000; }
  .hero { padding-top: 1rem; }
}
