/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
  --navy-950:  #060f1e;
  --navy-900:  #0b1a30;
  --navy-800:  #0f2542;
  --navy-700:  #163356;
  --navy-600:  #1b4080;
  --navy-500:  #1e52a0;
  --blue-400:  #2e6cc7;
  --blue-300:  #4b8bd9;
  --blue-200:  #7ab3e8;
  --blue-100:  #deeafb;
  --blue-50:   #f0f6ff;
  --accent:    #4b8bd9;
  --accent-lt: #89c4f4;
  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --text:      #1a2332;
  --text-lt:   #64748b;
  --r-sm:      6px;
  --r:         10px;
  --r-lg:      16px;
  --r-xl:      24px;
  --shadow:    0 4px 24px rgba(11,26,48,.10);
  --shadow-lg: 0 12px 48px rgba(11,26,48,.18);
  --ease:      all .3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: inherit; }

/* ============================================================
   TIPOGRAFIA GLOBAL
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
.section-label.light { color: var(--accent-lt); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-800);
  margin-bottom: 1.5rem;
}
.section-title.light { color: var(--white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.875rem;
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-400);
  color: var(--white);
  border-color: var(--blue-400);
}
.btn-primary:hover {
  background: var(--navy-600);
  border-color: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,108,199,.4);
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-800);
  transform: translateY(-2px);
}
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--ease);
}
.navbar.scrolled {
  background: var(--navy-900);
  padding: .875rem 0;
  box-shadow: 0 2px 20px rgba(6,15,30,.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* Brand + social icons grouped on the left */
.nav-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
/* Social icons in navbar */
.nav-socials {
  display: flex;
  align-items: center;
  gap: .25rem;
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: 1.25rem;
}
.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-social-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
/* Social icons inside mobile menu drawer */
.nav-social-mobile {
  display: none;
  justify-content: center;
  gap: .75rem;
  padding-top: .5rem;
  margin-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.nav-social-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: background .2s, color .2s;
}
.nav-social-mobile a:hover {
  background: var(--blue-400);
  color: var(--white);
}
.logo-dr { color: var(--white); }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-lt);
  transition: width .25s;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--ease);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(130deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-600) 100%);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 50%, rgba(46,108,199,.15) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 5rem;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(75,139,217,.12);
  border: 1px solid rgba(75,139,217,.35);
  color: var(--accent-lt);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 2.5rem;
}
.hero-title span { color: var(--blue-200); }

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

.hero-image { display: flex; justify-content: center; align-items: flex-end; }
.hero-photo-frame {
  position: relative;
  max-width: 440px;
  width: 100%;
}
.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -18px -18px auto auto;
  width: 70%; height: 70%;
  border: 2px solid rgba(75,139,217,.3);
  border-radius: var(--r-lg);
  z-index: 0;
}
.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: auto auto -18px -18px;
  width: 50%; height: 50%;
  border: 2px solid rgba(46,108,199,.25);
  border-radius: var(--r-lg);
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.3);
  font-size: 1rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   COBERTURA NACIONAL — parallax
   ============================================================ */
.coverage {
  position: relative;
  height: 480px;
  background-image: url('img/Operações do Escritório (2).png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
.coverage-bg { display: none; }
.coverage-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 48, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.coverage-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .coverage { height: 300px; background-attachment: scroll; }
  .escritorio-banner { background-attachment: scroll; }
}

/* ============================================================
   SOBRE — estilo Toron
   ============================================================ */
.sobre {
  padding: 6rem 0 0;
  background: var(--white);
}
.sobre-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* Bloco "17 anos" */
.anos-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1rem;
}
.anos-pre {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: .25rem;
}
.anos-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(6rem, 14vw, 10rem);
  font-weight: 700;
  color: var(--navy-800);
  line-height: .85;
  letter-spacing: -.03em;
  position: relative;
}
.anos-number::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--blue-400);
  margin-top: .75rem;
}
.anos-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-400);
  line-height: 1.6;
  margin-top: .875rem;
}

/* Texto do sobre */
.sobre-text p {
  color: var(--text-lt);
  font-size: 1.025rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.sobre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  background: var(--blue-50);
  color: var(--navy-600);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  transition: var(--ease);
}
.pill i { color: var(--blue-400); transition: var(--ease); }
.pill:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }
.pill:hover i { color: var(--accent-lt); }

/* Stats row (abaixo do split) */
.sobre-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-200);
}
.sobre-stat {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--gray-200);
  transition: var(--ease);
}
.sobre-stat:last-child { border-right: none; }
.sobre-stat:hover { background: var(--blue-50); }
.sobre-stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
}
.sobre-stat span {
  font-size: .82rem;
  color: var(--text-lt);
  line-height: 1.5;
}

/* ============================================================
   BANNER ESCRITÓRIO — parallax
   ============================================================ */
.escritorio-banner {
  position: relative;
  height: 380px;
  background-image: url('img/esc dentro.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}
.escritorio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,26,48,.75) 0%, rgba(11,26,48,.4) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 3rem;
}
.escritorio-overlay span {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border-left: 3px solid var(--blue-400);
  padding-left: 1rem;
}

/* ============================================================
   ÁREAS DE ATUAÇÃO
   ============================================================ */
.areas { padding: 6rem 0; background: var(--navy-800); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.area-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: var(--ease);
}
.area-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(75,139,217,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(6,15,30,.4);
}
.area-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.4rem;
  color: var(--white);
  transition: var(--ease);
}
.area-card:hover .area-icon {
  background: linear-gradient(135deg, var(--blue-300), var(--blue-400));
  transform: scale(1.1) rotate(-5deg);
}
.area-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .875rem;
  line-height: 1.3;
}
.area-card p { font-size: .875rem; color: rgba(255,255,255,.58); line-height: 1.7; }

/* ============================================================
   RECONHECIMENTOS
   ============================================================ */
.reconhecimentos { padding: 6rem 0; background: var(--gray-50); }
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.rec-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue-400);
  transition: var(--ease);
}
.rec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rec-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .875rem;
  font-size: 1.2rem;
  color: var(--blue-400);
}
.rec-year {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue-400);
  background: var(--blue-100);
  padding: .2rem .7rem;
  border-radius: 50px;
  margin-bottom: .875rem;
  text-transform: uppercase;
}
.rec-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: .625rem;
  line-height: 1.35;
}
.rec-card p { font-size: .85rem; color: var(--text-lt); line-height: 1.6; }

/* ============================================================
   LIVRO
   ============================================================ */
.livro {
  padding: 6rem 0;
  background: linear-gradient(130deg, var(--navy-950) 0%, var(--navy-700) 100%);
}
.livro-grid { display: grid; grid-template-columns: 280px 1fr; gap: 5rem; align-items: center; }
.livro-cover { display: flex; justify-content: center; }
.book-wrap { position: relative; width: 200px; }
.book-img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: -10px 10px 40px rgba(6,15,30,.6), 3px 0 16px rgba(6,15,30,.3);
}
.book-placeholder {
  display: none;
  width: 200px; height: 280px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: .875rem;
  color: rgba(255,255,255,.35);
  font-size: .8rem;
  box-shadow: -10px 10px 40px rgba(6,15,30,.6);
}
.book-placeholder i { font-size: 2.5rem; color: rgba(75,139,217,.4); }
.book-wrap.no-cover .book-img { display: none; }
.book-wrap.no-cover .book-placeholder { display: flex; }
.livro-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.5rem;
}
.livro-text p { font-size: 1.025rem; color: rgba(255,255,255,.68); line-height: 1.8; margin-bottom: 1.5rem; }
.livro-author {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: var(--accent-lt);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.livro-lancamento {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: rgba(75,139,217,.15);
  border: 1px solid rgba(75,139,217,.4);
  color: var(--accent-lt);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .75rem 1.5rem;
  border-radius: 50px;
}
/* Botão do livro — texto e link editáveis no admin */
.livro-btn {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.875rem;
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.livro-btn.has-link {
  background: var(--blue-400);
  color: var(--white);
  border-color: var(--blue-400);
}
.livro-btn.has-link:hover {
  background: var(--navy-600);
  border-color: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,108,199,.4);
}
.livro-btn.no-link {
  background: rgba(75,139,217,.15);
  border-color: rgba(75,139,217,.4);
  color: var(--accent-lt);
  cursor: default;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato { padding: 6rem 0; background: var(--white); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contato-desc { color: var(--text-lt); font-size: 1.025rem; margin-bottom: 2rem; line-height: 1.75; }
.contato-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contato-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contato-icon {
  width: 42px; height: 42px;
  background: var(--blue-50);
  color: var(--blue-400);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem;
}
.contato-list li > div { display: flex; flex-direction: column; gap: .2rem; }
.contato-list strong {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-600);
}
.contato-list span, .contato-list a { font-size: .95rem; color: var(--text); line-height: 1.55; transition: color .2s; }
.contato-list a:hover { color: var(--blue-400); }
.social-links { display: flex; gap: .75rem; margin-top: 2rem; }
.social-links a {
  width: 42px; height: 42px;
  border-radius: var(--r);
  background: var(--navy-800);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: var(--ease);
}
.social-links a:hover { background: var(--blue-400); transform: translateY(-3px); }
.contato-map iframe { width: 100%; height: 400px; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-950); padding: 3rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-logo-link { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; text-decoration: none; }
.footer-logo-img  { height: 30px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: rgba(255,255,255,.85); }
.footer-brand p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-nav a {
  font-size: .75rem; font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .1em; transition: color .2s;
}
.footer-nav a:hover { color: var(--accent-lt); }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.25); text-align: right; }

/* ============================================================
   FLOATING BUTTON
   ============================================================ */
.float-wrapper { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; }
.float-btn {
  display: flex; align-items: center; gap: .75rem;
  background: var(--blue-400); color: var(--white);
  border: none; border-radius: 50px;
  padding: .875rem 1.5rem;
  font-size: .875rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(46,108,199,.45);
  transition: var(--ease);
}
.float-btn:hover { background: var(--navy-600); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(27,64,128,.45); }

/* ============================================================
   FORM MODAL
   ============================================================ */
.form-overlay {
  position: fixed; inset: 0;
  background: rgba(6,15,30,.65);
  backdrop-filter: blur(4px);
  z-index: 1100; opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.form-overlay.open { opacity: 1; pointer-events: all; }
.form-modal {
  position: fixed; right: 2rem; bottom: 5.5rem;
  width: 100%; max-width: 420px;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  transform: translateY(20px) scale(.97);
  opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  overflow: hidden;
}
.form-modal.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.form-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--navy-800); color: var(--white);
}
.form-head h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; }
.form-close { background: none; border: none; color: rgba(255,255,255,.6); font-size: 1rem; cursor: pointer; transition: var(--ease); padding: .25rem; }
.form-close:hover { color: var(--white); transform: rotate(90deg); }
.form-body { padding: 1.5rem; max-height: 72vh; overflow-y: auto; }
.fg { margin-bottom: 1.125rem; }
.fg label { display: block; font-size: .72rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: .725rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue-400); }
.fg textarea { resize: vertical; min-height: 96px; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.form-success i { font-size: 3rem; color: var(--blue-400); margin-bottom: 1rem; }
.form-success h4 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy-800); margin-bottom: .5rem; }
.form-success p { font-size: .9rem; color: var(--text-lt); }

/* ============================================================
   ANIMAÇÕES DE ENTRADA
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

.areas-grid  [data-animate]:nth-child(2),
.rec-grid    [data-animate]:nth-child(2),
.sobre-stats-row [data-animate]:nth-child(2) { transition-delay: .1s; }

.areas-grid  [data-animate]:nth-child(3),
.rec-grid    [data-animate]:nth-child(3),
.sobre-stats-row [data-animate]:nth-child(3) { transition-delay: .2s; }

.areas-grid  [data-animate]:nth-child(4),
.rec-grid    [data-animate]:nth-child(4),
.sobre-stats-row [data-animate]:nth-child(4) { transition-delay: .3s; }

/* ============================================================
   EQUIPE
   ============================================================ */
.equipe {
  background: var(--gray-50);
  padding: 7rem 0;
}
.equipe-intro {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-lt);
  line-height: 1.75;
  text-align: center;
}
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.membro-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s;
}
.membro-card:hover { box-shadow: var(--shadow-lg); }
.membro-photo-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: var(--navy-800);
}
.membro-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.membro-photo-placeholder {
  width: 100%;
  height: 340px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,.2);
}
.membro-info {
  padding: 1.75rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.membro-nome {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.25;
  margin-bottom: .35rem;
}
.membro-oab {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.membro-creds {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.membro-creds li {
  font-size: .875rem;
  color: var(--text-lt);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}
.membro-creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  background: var(--blue-400);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .nav-socials { display: none; }

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

  .sobre-inner { grid-template-columns: 1fr; gap: 3rem; }
  .anos-block  { flex-direction: row; align-items: center; gap: 2rem; flex-wrap: wrap; }
  .anos-number { font-size: clamp(5rem, 12vw, 8rem); }
  .anos-number::after { display: none; }

  .sobre-stats-row { grid-template-columns: repeat(2, 1fr); }
  .sobre-stat:nth-child(2) { border-right: none; }
  .sobre-stat:nth-child(3) { border-top: 1px solid var(--gray-200); }

  .equipe-grid { grid-template-columns: 1fr; }

  .livro-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .livro-cover  { justify-content: center; }
  .livro-author { justify-content: center; }
  .livro-btn    { margin: 0 auto; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .footer-logo-link { justify-content: center; }
  .footer-copy  { text-align: center; }
  .footer-nav   { justify-content: center; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Navbar */
  .nav-toggle  { display: flex; }
  .nav-socials { display: none; }
  .nav-social-mobile { display: flex; }
  .nav-logo-text { font-size: 1rem; }
  .nav-logo-img  { height: 30px; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: 78%; max-width: 300px;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    transition: right .3s ease;
    z-index: 999;
    box-shadow: -8px 0 32px rgba(6,15,30,.45);
  }
  .nav-menu.open { right: 0; }
  .nav-link { font-size: .95rem; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
  .hero-actions { justify-content: center; }
  .hero-image   { order: -1; }
  .hero-photo-frame { max-width: 240px; margin: 0 auto; }
  .hero-photo   { max-height: 300px; }
  .hero-scroll-hint { display: none; }
  .hero-title   { font-size: clamp(2rem, 10vw, 3rem); }

  /* Coverage + Banner */
  .coverage { height: 300px; background-attachment: scroll; }
  .escritorio-banner { height: 220px; background-attachment: scroll; }
  .escritorio-overlay { padding: 1.5rem; }

  /* Sobre */
  .sobre { padding: 4rem 0 0; }
  .sobre-inner { grid-template-columns: 1fr; gap: 2rem; }
  .anos-block  { flex-direction: row; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
  .anos-number { font-size: clamp(4.5rem, 18vw, 7rem); }
  .anos-number::after { display: none; }
  .sobre-stats-row { grid-template-columns: 1fr; }
  .sobre-stat  { border-right: none !important; border-top: 1px solid var(--gray-200); padding: 1.5rem 1.5rem; }
  .sobre-stat:first-child { border-top: 1px solid var(--gray-200); }
  .sobre-pills { flex-direction: column; }
  .pill { justify-content: center; }

  /* Áreas */
  .areas  { padding: 4rem 0; }
  .areas-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Reconhecimentos */
  .reconhecimentos { padding: 4rem 0; }
  .rec-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Liderança / Equipe */
  .equipe { padding: 4rem 0; }
  .equipe-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .membro-photo-wrap { height: 260px; }

  /* Livro */
  .livro { padding: 4rem 0; }
  .livro-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .livro-cover  { justify-content: center; }
  .livro-author { justify-content: center; }
  .livro-btn    { margin: 0 auto; }

  /* Contato */
  .contato { padding: 4rem 0; }
  .contato-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contato-map iframe { height: 260px; }
  .social-links { flex-wrap: wrap; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .footer-logo-link { justify-content: center; }
  .footer-copy  { text-align: center; }
  .footer-nav   { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* Float btn */
  .float-btn span { display: none; }
  .float-btn { width: 52px; height: 52px; border-radius: 50%; padding: 0; justify-content: center; font-size: 1.1rem; }

  /* Form modal */
  .form-modal { inset: auto 1rem 5rem 1rem; max-width: none; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-photo-frame { max-width: 200px; }
  .hero-photo { max-height: 260px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .rec-card, .area-card { padding: 1.75rem 1.25rem; }
  .membro-info { padding: 1.25rem 1.25rem 1.5rem; }
  .social-links a { width: 38px; height: 38px; }
}
