/* ==========================================================================
   Lazzaretti Advocacia — Folha de estilo principal
   ========================================================================== */

:root {
  --bg: #f7f4ed;
  --bg-elev: #ffffff;
  --bg-dark: #0a0a0a;
  --bg-dark-soft: #141414;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --text-on-dark: #f7f4ed;
  --text-on-dark-muted: #b8b3a8;
  --accent: #9a7a3a;
  --accent-light: #b89448;
  --accent-dark: #7a5e28;
  --border: rgba(0, 0, 0, 0.08);
  --border-on-dark: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 24px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --max-w: 1240px;
  --max-w-narrow: 880px;
  --space-section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* Reset essencial */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p  { margin: 0 0 1em; color: var(--text-muted); text-align: justify; hyphens: auto; }
.hero-lead,
.section-head p,
.eyebrow,
.footer-brand p,
.area-card p,
.diff-item p,
.team-card p,
.review-text { text-align: left; hyphens: none; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--max-w-narrow); }
section { padding: var(--space-section) 0; }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-light); }
.btn--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.btn--dark:hover { background: var(--bg-dark-soft); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1ebe5a; }
.btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid var(--border-on-dark);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: .02em;
}
.brand img { height: 44px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-weight: 500; color: var(--text-on-dark); }
.brand-text span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-on-dark-muted); font-family: var(--font-sans); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: .92rem;
  color: var(--text-on-dark-muted);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--text-on-dark); }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  color: var(--text-on-dark);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-dark);
    padding: 90px 32px 32px;
    gap: 8px;
    z-index: 99;
  }
  .nav.is-open a {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-on-dark);
    width: 100%;
    color: var(--text-on-dark);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184,149,76,.15), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(184,149,76,.08), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--text-on-dark); margin-bottom: .4em; }
.hero h1 em { color: var(--accent-light); font-style: italic; font-weight: 300; }
.hero-lead {
  font-size: 1.2rem;
  color: var(--text-on-dark-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 80%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(184,149,76,.2));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-meta {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 48px;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  z-index: 1;
}
.hero-meta span::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero--inner { padding: 110px 0 56px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; aspect-ratio: auto; }
  .hero-visual img { width: 50%; max-width: 220px; }
  .hero-meta { position: static; transform: none; margin-top: 60px; flex-wrap: wrap; justify-content: center; gap: 20px; }
}
@media (max-width: 420px) {
  .brand-text strong { font-size: .9rem; }
  .brand-text span { font-size: .65rem; }
}

/* Hero variante interna (páginas de área) */
.hero--inner { min-height: 60vh; padding: 160px 0 80px; }
.hero--inner .container { grid-template-columns: 1fr; text-align: center; }
.hero--inner .hero-content { max-width: 800px; margin: 0 auto; }
.hero--inner .hero-cta { justify-content: center; }

/* ==========================================================================
   Áreas de atuação
   ========================================================================== */
.areas { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { font-size: 1.1rem; }

.areas-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 0 20px;
  margin-top: -8px;
  cursor: grab;
}
.areas-scroll:active { cursor: grabbing; }
.areas-scroll::-webkit-scrollbar { display: none; }

.areas-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  width: max-content;
}

/* No desktop largo (≥1200px) as 5 cards cabem sem scroll */
@media (min-width: 1200px) {
  .areas-scroll {
    overflow-x: visible;
    cursor: default;
    padding: 8px 0 0;
    margin-top: -8px;
  }
  .areas-grid {
    width: 100%;
    flex-wrap: nowrap;
  }
}

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: clamp(230px, 42vw, 270px);
  scroll-snap-align: start;
  padding: 32px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}

/* No desktop, estica para preencher o espaço igual */
@media (min-width: 1200px) {
  .area-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}
.area-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.area-card:hover::before { transform: scaleX(1); }
.area-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,149,76,.1);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  color: var(--accent);
}
.area-icon svg { width: 28px; height: 28px; }
.area-card h3 { margin-bottom: 12px; }
.area-card p { font-size: .98rem; flex-grow: 1; }
.area-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.area-link::after { content: "→"; transition: transform .25s var(--ease); }
.area-card:hover .area-link::after { transform: translateX(4px); }

/* ==========================================================================
   Sobre
   ========================================================================== */
.about { background: var(--bg-elev); }
.about .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-soft) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(184,149,76,.15), transparent 60%);
}
.about-visual img { width: 65%; position: relative; z-index: 1; }
.about-content h2 em { font-style: italic; color: var(--accent); }
.about-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.credential strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.credential span { font-size: .85rem; color: var(--text-muted); letter-spacing: .04em; }

@media (max-width: 900px) {
  .about .container { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 400px; margin: 0 auto; }
}

/* ==========================================================================
   Diferenciais
   ========================================================================== */
.differentials { background: var(--bg-dark); color: var(--text-on-dark); }
.differentials .section-head h2 { color: var(--text-on-dark); }
.differentials .section-head p { color: var(--text-on-dark-muted); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border-on-dark);
  border: 1px solid var(--border-on-dark);
}
.diff-item {
  background: var(--bg-dark);
  padding: 40px 32px;
  transition: background .3s var(--ease);
}
.diff-item:hover { background: var(--bg-dark-soft); }
.diff-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--accent);
  font-style: italic;
  display: block;
  margin-bottom: 16px;
}
.diff-item h3 { color: var(--text-on-dark); font-size: 1.2rem; margin-bottom: 8px; }
.diff-item p { color: var(--text-on-dark-muted); font-size: .94rem; margin: 0; }

/* ==========================================================================
   Avaliações Google
   ========================================================================== */
.reviews { background: var(--bg); }
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 50px;
}
.reviews-header h2 { margin: 0; }
.reviews-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.reviews-rating strong { font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--text); }
.reviews-rating .stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 2px; }
.reviews-rating small { color: var(--text-muted); font-size: .82rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author img, .review-author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}
.review-author strong { display: block; font-size: .96rem; color: var(--text); }
.review-author span { font-size: .8rem; color: var(--text-muted); }
.review-stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; }
.review-text { color: var(--text-muted); font-size: .94rem; line-height: 1.55; margin: 0; }
.reviews-fallback { text-align: center; color: var(--text-muted); padding: 40px; }

.reviews-cta {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================================================
   Contato + Mapa
   ========================================================================== */
.contact { background: var(--bg-elev); }
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.contact-info ul { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 20px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ic {
  width: 44px; height: 44px;
  background: rgba(184,149,76,.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info .ic svg { width: 20px; height: 20px; }
.contact-info strong { display: block; color: var(--text); font-size: .95rem; margin-bottom: 2px; }
.contact-info span, .contact-info a { color: var(--text-muted); font-size: .92rem; }
.contact-info a:hover { color: var(--accent); }

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  background: var(--bg);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 900px) {
  .contact .container { grid-template-columns: 1fr; gap: 40px; }
  .contact-map { min-height: 320px; }
}

/* ==========================================================================
   Conteúdo de página de área
   ========================================================================== */
.content { background: var(--bg); }
.content .container--narrow > * + * { margin-top: 1em; }
.content h2 { margin-top: 2.5em; }
.content h3 { margin-top: 1.8em; color: var(--accent-dark); font-size: 1.3rem; }
.content p { color: var(--text); font-size: 1.05rem; line-height: 1.75; }
.content ul { padding-left: 20px; }
.content ul li { color: var(--text); margin-bottom: 8px; line-height: 1.65; }
.content strong { color: var(--text); }

.faq { background: var(--bg-elev); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.6rem;
  font-family: var(--font-sans);
  transition: transform .25s var(--ease);
  font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 0 22px; color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin: 0; }

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,149,76,.15), transparent 70%);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { color: var(--text-on-dark); margin-bottom: .5em; }
.cta-final h2 em { color: var(--accent-light); font-style: italic; }
.cta-final p { color: var(--text-on-dark-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer {
  background: #050505;
  color: var(--text-on-dark-muted);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-on-dark);
}
.footer-brand img { height: 50px; margin-bottom: 20px; }
.footer-brand p { color: var(--text-on-dark-muted); font-size: .9rem; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-on-dark-muted); font-size: .92rem; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  color: var(--text-on-dark-muted);
}
.footer-bottom a:hover { color: var(--accent-light); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Botão flutuante WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: pulse 2.4s infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .5);
  animation: none;
}
.wa-float svg { width: 32px; height: 32px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .5); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, .4), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Animações de entrada (reveal on scroll)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-visual img { animation: none; }
  .wa-float { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ==========================================================================
   Time / advogados
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 0;
}
.team-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.team-card strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: 4px; font-family: var(--font-serif); }
.team-card .oab { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: block; margin-bottom: 10px; }
.team-card p { font-size: .9rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.team-card .esp {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.team-card .tag {
  font-size: .74rem;
  letter-spacing: .06em;
  padding: 3px 10px;
  background: rgba(184,149,76,.1);
  color: var(--accent-dark);
  border-radius: 99px;
  border: 1px solid rgba(184,149,76,.2);
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Utilitários
   ========================================================================== */
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
