/* ============================================
   GIMENEZ & DONNAMARIA ADVOGADOS
   Folha de estilos principal
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ------- Reset & base ------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2847;
  --navy-light: #2c3e6b;
  --navy-soft: #4a5d8a;
  --gold: #c9a961;
  --gold-light: #d9bd7b;
  --bg: #ffffff;
  --bg-soft: #f8f7f4;
  --bg-muted: #eeece6;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e3dc;
  --shadow-sm: 0 2px 12px rgba(26, 40, 71, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 40, 71, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 40, 71, 0.12);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --radius: 4px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ------- Tipografia ------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: inline-block;
  position: relative;
  padding-left: 3.5rem;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

/* ------- Layout ------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-header p {
  margin-top: 1rem;
  font-size: 1.0625rem;
}

/* ------- Botões ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-arrow::after {
  content: '→';
  font-size: 1.125rem;
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: visible;
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
}
.logo-fallback {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.logo-fallback small {
  display: block;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--navy-soft);
  font-weight: 400;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.5rem 0;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Mobile menu toggle (CSS-only) */
.menu-toggle { display: none; }
.menu-icon {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 110;
}
.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s var(--ease);
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 9px; }
.menu-icon span:nth-child(3) { top: 18px; }

#nav-toggle:checked ~ .menu-icon span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
#nav-toggle:checked ~ .menu-icon span:nth-child(2) { opacity: 0; }
#nav-toggle:checked ~ .menu-icon span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
  animation: fadeUp 1s var(--ease-out) both;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 620px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  bottom: 3rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-meta::before {
  content: '';
  width: 1px;
  height: 60px;
  background: var(--navy-soft);
  opacity: 0.4;
}

/* ============================================
   SOBRE (sobre nós destaque na home)
   ============================================ */
.about-preview {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
}
.about-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 50px rgba(26, 40, 71, 0.18);
}
.about-image::after {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
  pointer-events: none;
}

.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { font-size: 1.0625rem; line-height: 1.8; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.about-stats .stat-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.about-stats .stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   ÁREAS DE ATUAÇÃO
   ============================================ */
.areas {
  background: var(--bg-soft);
  position: relative;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.area-card:hover::before {
  transform: scaleX(1);
}

.area-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--navy);
  opacity: 0.9;
}
.area-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}
.area-card p { font-size: 0.9375rem; margin-bottom: 0; }

/* ============================================
   EQUIPE
   ============================================ */
.team {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
}

.team-photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-soft) 100%);
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-out);
}
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 40, 71, 0.08) 100%);
}
.team-card:hover .team-photo {
  transform: translateY(-4px);
}

.team-photo .placeholder-icon {
  width: 60px;
  height: 60px;
  color: var(--navy-soft);
  opacity: 0.4;
}

.team-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.team-bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
}
.cta-band .btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.cta-band .btn-primary:hover { background: var(--gold-light); }

/* ============================================
   CONTATO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info > p {
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: 1px solid var(--border); }

.contact-item-icon {
  width: 24px;
  height: 24px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-item-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.contact-item-value a:hover { color: var(--gold); }

/* Form */
.contact-form {
  background: var(--bg-soft);
  padding: 3rem;
  border-radius: var(--radius);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 40, 71, 0.08);
}
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
.form-submit {
  width: 100%;
  justify-content: center;
}

/* ============================================
   PAGE HEADER (Sobre, Áreas, Equipe, Contato)
   ============================================ */
.page-header {
  padding: 10rem 0 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-header > .container { position: relative; }
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.page-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { color: var(--gold); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 70px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: pulse 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in { animation: fadeUp 0.8s var(--ease-out) both; }
.fade-in-delay-1 { animation: fadeUp 0.8s 0.15s var(--ease-out) both; }
.fade-in-delay-2 { animation: fadeUp 0.8s 0.3s var(--ease-out) both; }
.fade-in-delay-3 { animation: fadeUp 0.8s 0.45s var(--ease-out) both; }

/* Scroll-based reveal usando animation-timeline (browsers modernos) */
@supports (animation-timeline: view()) {
  .reveal {
    animation: fadeUp 1s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}

/* Respeitar preferência do usuário */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   HERO DARK + VÍDEO
   ============================================ */
.hero-dark {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #08111f;
  color: #fff;
  overflow: hidden;
  padding: 9rem 0 7rem;
}

.hero-video,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  filter: saturate(0.85) contrast(1.05);
}
.hero-poster { opacity: 0.4; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 17, 31, 0.92) 0%, rgba(26, 40, 71, 0.75) 50%, rgba(8, 17, 31, 0.95) 100%);
  z-index: 1;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(74, 93, 138, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
  animation: meshShift 18s ease-in-out infinite alternate;
  z-index: 2;
  pointer-events: none;
}

@keyframes meshShift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-3%, 2%) scale(1.05); }
  100% { transform: translate(2%, -2%) scale(1.02); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 2;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.hero-dark > .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content-dark {
  animation: fadeUp 1s var(--ease-out) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulseGold 2s ease-in-out infinite;
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.7); transform: scale(1); }
  50%      { box-shadow: 0 0 0 10px rgba(201, 169, 97, 0); transform: scale(1.15); }
}

.hero-dark h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-dark h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, #f0d896 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  position: relative;
}

.hero-dark .hero-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-dark .btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.hero-dark .btn-primary:hover {
  background: #f0d896;
  box-shadow: 0 12px 40px rgba(201, 169, 97, 0.25);
}

.hero-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.hero-dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Floating glass cards */
.hero-cards {
  position: relative;
  height: 100%;
  min-height: 480px;
  animation: fadeUp 1.2s 0.3s var(--ease-out) both;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 14px;
  padding: 1.5rem;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.hero-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 169, 97, 0.4);
}

.hero-card-1 { top: 0; right: 0; width: 270px; animation: floatY 7s ease-in-out infinite; }
.hero-card-2 { top: 38%; left: -8%; width: 240px; animation: floatY 8s ease-in-out infinite 0.7s; }
.hero-card-3 { bottom: 0; right: 12%; width: 260px; animation: floatY 9s ease-in-out infinite 1.2s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.15);
  border-radius: 8px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-card-icon svg { width: 20px; height: 20px; }

.hero-card-title {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero-card-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.625rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); }
  50%  { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--navy);
  color: #fff;
  padding: 1.75rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.marquee-track .sep {
  font-family: var(--sans);
  font-style: normal;
  color: var(--gold);
  font-size: 1.25rem;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   DIFERENCIAIS (Nova Geração)
   ============================================ */
.diferenciais {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.diferenciais::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(201, 169, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(201, 169, 97, 0.06) 0%, transparent 50%);
}
.diferenciais > .container { position: relative; z-index: 2; }
.diferenciais h2 { color: #fff; }
.diferenciais .section-header p { color: rgba(255, 255, 255, 0.65); }
.diferenciais .eyebrow { color: var(--gold); }

.dif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.dif-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
}
.dif-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.dif-card:hover {
  border-color: rgba(201, 169, 97, 0.3);
  transform: translateY(-6px);
}
.dif-card:hover::before { opacity: 1; }

.dif-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
}
.dif-card h3 {
  color: #fff;
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}
.dif-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  position: relative;
  z-index: 2;
  margin: 0;
}

/* ============================================
   STATS COUNTER (CSS-only via @property)
   ============================================ */
@property --c {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.counter-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.counter-cell {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.counter-cell:last-child { border-right: none; }

.counter-value {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.02em;
}
.counter-value::before {
  content: counter(c);
  counter-reset: c var(--c);
}
.counter-value .suffix { color: var(--gold); margin-left: 0.125rem; }

.counter-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@supports (animation-timeline: view()) {
  .counter-value { animation-timeline: view(); animation-range: entry 0% cover 35%; animation-fill-mode: forwards; }
  .count-to-150 { animation-name: c150; animation-duration: 2s; animation-timing-function: var(--ease-out); }
  .count-to-100 { animation-name: c100; animation-duration: 2s; animation-timing-function: var(--ease-out); }
  .count-to-24  { animation-name: c24;  animation-duration: 2s; animation-timing-function: var(--ease-out); }
  .count-to-3   { animation-name: c3;   animation-duration: 2s; animation-timing-function: var(--ease-out); }
}
@keyframes c150 { from { --c: 0; } to { --c: 150; } }
@keyframes c100 { from { --c: 0; } to { --c: 100; } }
@keyframes c24  { from { --c: 0; } to { --c: 24;  } }
@keyframes c3   { from { --c: 0; } to { --c: 3;   } }

/* Fallback when @property unsupported */
@supports not (animation-timeline: view()) {
  .count-to-150::before { content: '150'; }
  .count-to-100::before { content: '100'; }
  .count-to-24::before  { content: '24'; }
  .count-to-3::before   { content: '3'; }
}

/* ============================================
   TEAM RESDESIGN
   ============================================ */
.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card-modern {
  position: relative;
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out);
}
.team-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-photo-modern {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.1) 0%, transparent 40%);
}
.team-photo-modern > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  z-index: 1;
}
.team-photo-modern .placeholder-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.4);
}

.team-info {
  padding: 2rem;
}
.team-info h3 {
  font-size: 1.625rem;
  margin-bottom: 0.25rem;
}
.team-info .team-role {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}
.team-info p { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.5rem; }

.team-meta {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.team-meta span { display: flex; align-items: center; gap: 0.4rem; }
.team-meta strong { color: var(--navy); font-weight: 600; }

/* ============================================
   PAGE HERO (dark — páginas internas)
   ============================================ */
.page-hero {
  position: relative;
  background: #08111f;
  color: #fff;
  padding: 11rem 0 6rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(201, 169, 97, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(74, 93, 138, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(201, 169, 97, 0.1) 0%, transparent 60%);
  animation: meshShift 20s ease-in-out infinite alternate;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.page-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, #f0d896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.page-hero p.lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb span { color: var(--gold); }
.page-hero .eyebrow { color: var(--gold); }

/* ============================================
   ABOUT — refined quote
   ============================================ */
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--navy);
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 2px solid var(--gold);
  margin: 2.5rem 0;
  letter-spacing: -0.01em;
}

/* ============================================
   ÁREA CARDS RICH (home)
   ============================================ */
.areas-grid-rich {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.area-card-rich {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s var(--ease-out);
  color: inherit;
}
.area-card-rich:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.area-card-rich-visual {
  position: relative;
  aspect-ratio: 5 / 3;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.area-card-rich-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(8, 17, 31, 0.78) 0%,
    rgba(26, 40, 71, 0.5) 50%,
    rgba(8, 17, 31, 0.85) 100%);
  transition: opacity 0.6s var(--ease-out);
  z-index: 1;
}
.area-card-rich-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(201, 169, 97, 0.22) 0%, transparent 50%);
  z-index: 1;
  transition: transform 0.6s var(--ease-out);
}
.area-card-rich:hover .area-card-rich-visual::before {
  opacity: 0.6;
}
.area-card-rich:hover .area-card-rich-visual::after {
  transform: scale(1.15);
}
.area-card-rich-icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  transition: transform 0.6s var(--ease-out);
}
.area-card-rich:hover .area-card-rich-icon {
  transform: scale(1.08) rotate(-2deg);
}

.area-card-rich-num {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  font-family: var(--serif);
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  z-index: 2;
}

.area-card-rich-body {
  padding: 2rem 2rem 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.area-card-rich-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
  color: var(--navy);
}
.area-card-rich-body p {
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.area-card-rich-link {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.area-card-rich-link::after { content: '→'; font-size: 1rem; letter-spacing: 0; }
.area-card-rich:hover .area-card-rich-link { gap: 1rem; color: var(--gold); }

/* ============================================
   ÁREAS PAGE — FEATURE BLOCKS
   ============================================ */
.area-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.area-feature:last-of-type { border-bottom: none; }
.area-feature.reverse { grid-template-columns: 1.1fr 1fr; }
.area-feature.reverse .area-feature-visual { order: 2; }

.area-feature-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.area-feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 17, 31, 0.55) 0%,
    rgba(8, 17, 31, 0.7) 50%,
    rgba(8, 17, 31, 0.92) 100%);
  z-index: 1;
  transition: opacity 0.6s var(--ease-out);
}
.area-feature-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(201, 169, 97, 0.2) 0%, transparent 55%);
  z-index: 1;
}
.area-feature:hover .area-feature-visual::before {
  opacity: 0.78;
}
.area-feature-icon {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}
.area-feature-num {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  z-index: 2;
}
.area-feature-tag {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  z-index: 2;
  letter-spacing: -0.01em;
}

.area-feature-content .eyebrow { color: var(--gold); }
.area-feature-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.area-feature-content > p {
  font-size: 1.0625rem;
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.area-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-feature-list li {
  padding: 1rem 0;
  padding-left: 1.75rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 0.9375rem;
  color: var(--text);
}
.area-feature-list li:last-child { border-bottom: none; }
.area-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* ============================================
   CTA BAND — refined
   ============================================ */
.cta-band {
  padding: 7rem 0;
}
.cta-band h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cta-band h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, #f0d896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

/* ============================================
   CONTACT FORM (mantém formulário no claro)
   ============================================ */
.contact-form h3 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid,
  .team-grid,
  .team-grid-modern {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .team-grid { max-width: 480px; }
  .team-grid-modern { max-width: 520px; }
  .about-image { aspect-ratio: 16 / 11; }
  .hero-meta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .hero-dark > .container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-cards { display: none; }
  .hero-scroll { display: none; }
  .hero-dark { min-height: auto; padding: 7rem 0 5rem; }

  .counter-block { grid-template-columns: repeat(2, 1fr); }
  .counter-cell:nth-child(2) { border-right: none; }
  .counter-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .areas-grid-rich { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .area-feature,
  .area-feature.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
  }
  .area-feature.reverse .area-feature-visual { order: 0; }
  .area-feature-visual { aspect-ratio: 16 / 11; }
  .area-feature-icon { width: 72px; height: 72px; }

  .page-hero { padding: 9rem 0 4rem; }
}

@media (max-width: 720px) {
  .menu-icon { display: block; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: 360px;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: var(--shadow-lg);
  }
  #nav-toggle:checked ~ .nav-menu {
    transform: translateX(0);
  }
  .nav-menu a { font-size: 1.25rem; }

  .hero { min-height: 80vh; padding-top: 7rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .about-stats { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-form { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }

  section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .logo img { height: 48px; }
  .eyebrow { padding-left: 2.5rem; }
  .eyebrow::before { width: 1.75rem; }
}
