﻿/* ============================================================
   Brandão Teixeira – Sociedade de Advogados
   Briefing oficial: azul petróleo, verde pistache, branco, grafite
   ============================================================ */

:root {
  /* Principal: pistachio (cor do botÃ£o Contato do header) */
  --primary: #E8DCC3;
  --primary-deep: #D9C89E;
  --primary-soft: #F0E8D5;
  --on-primary: #1E293B;
  /* SecundÃ¡rio: azul (cor que estava dentro de contato) */
  --secondary: #024059;
  --secondary-deep: #013049;
  --secondary-soft: #0b6b8a;
  --on-secondary: #FFFFFF;
  --accent: #d9c9a3;
  --accent-deep: #c4ae80;
  --accent-soft: #e6d9bd;
  --white: #FFFFFF;
  --graphite: #1E293B;
  --green-soft: #F6F0E3;
  --slate: #4A5568;
  --border: rgba(2, 64, 89, 0.14);
  --font-display: "Lora", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow: 0 20px 60px rgba(2, 64, 89, 0.12);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--primary); color: var(--secondary); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--green-soft); }
::-webkit-scrollbar-thumb { background: var(--primary-soft); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}
.navbar.scrolled,
.navbar-solid {
  background: var(--secondary);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 6px 24px rgba(2,64,89,.25);
}

.navbar-back {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--primary);
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: background .3s ease, transform .3s ease;
  white-space: nowrap;
}
.navbar-back:hover { background: var(--primary-deep); color: var(--secondary); transform: translateY(-1px); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 90px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 54px; width: auto; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(0,0,0,.25)); }
.navbar:not(.scrolled):not(.navbar-solid) .brand-logo { filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.navbar.scrolled .brand-logo,
.navbar-solid .brand-logo { filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0,0,0,.25)); }

.nav-menu { display: flex; align-items: center; gap: 26px; }

.nav-link {
  position: relative;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.navbar.scrolled .nav-link,
.navbar-solid .nav-link { color: rgba(255,255,255,.9); }
.navbar.scrolled .nav-link::after,
.navbar-solid .nav-link::after { background: var(--primary); }
.navbar.scrolled .nav-link:hover,
.navbar-solid .nav-link:hover { color: var(--primary); }

.nav-cta {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--secondary);
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: background .3s ease, transform .3s ease;
}
.nav-cta:hover { background: var(--primary); color: var(--secondary); transform: translateY(-1px); }

.navbar.scrolled .nav-cta,
.navbar-solid .nav-cta {
  color: var(--secondary);
  background: var(--primary);
}
.navbar.scrolled .nav-cta:hover,
.navbar-solid .nav-cta:hover { background: var(--primary-deep); color: var(--secondary); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--primary);
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius);
  padding: 7px 12px;
  transition: all .3s ease;
}
.lang-toggle:hover { border-color: var(--primary); color: #fff; }

.navbar.scrolled .lang-toggle,
.navbar-solid .lang-toggle { color: var(--primary); border-color: rgba(255,255,255,.4); }
.navbar.scrolled .lang-toggle:hover,
.navbar-solid .lang-toggle:hover { color: #fff; border-color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 6px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--primary);
  transition: transform .3s var(--ease), opacity .3s ease;
}
.navbar.scrolled .hamburger span,
.navbar-solid .hamburger span { background: var(--primary); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 6s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5,5,8,.7) 0%, rgba(5,5,8,.55) 45%, rgba(5,5,8,.3) 100%);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  transition: all .3s ease;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--primary); color: var(--secondary); border-color: var(--primary); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots .dot {
  width: 26px;
  height: 3px;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .3s ease, width .3s ease;
  padding: 0;
}
.hero-dots .dot.active { background: var(--primary); width: 40px; }

.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 18px rgba(0,0,0,.45), 0 1px 4px rgba(0,0,0,.3);
}
.hero-title-accent { color: var(--primary); font-style: italic; }

.hero-text {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  max-width: 640px;
  margin-bottom: 38px;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}

.hero-eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 26px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 400;
}
.hero-contact a { color: var(--primary); font-weight: 600; transition: color .3s ease; }
.hero-contact a:hover { color: #fff; }

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.75);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: .7;
  transition: opacity .3s ease;
  z-index: 2;
}
.hero-scroll:hover { opacity: 1; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .35s var(--ease);
}
.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--secondary); color: var(--primary); }
.btn-primary:hover { background: var(--primary); color: var(--secondary); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(2,64,89,.3); }

.hero .btn-whatsapp { background: var(--secondary); color: var(--primary); }
.hero .btn-whatsapp:hover { background: var(--primary); color: var(--secondary); box-shadow: 0 12px 30px rgba(211,227,181,.25); }

.btn-pistachio { background: var(--secondary); color: var(--primary); }
.btn-pistachio:hover { background: var(--primary); color: var(--secondary); transform: translateY(-2px); }

.btn-outline { border-color: var(--secondary); color: var(--secondary); background: transparent; }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: var(--secondary); transform: translateY(-2px); }

.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--secondary); transform: translateY(-2px); }

.hero .btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn-outline-light:hover { background: var(--primary); border-color: var(--primary); color: var(--secondary); }

.contato-form button[type="submit"] { background: var(--secondary); color: var(--primary); }
.contato-form button[type="submit"]:hover { background: var(--primary); color: var(--secondary); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(2,64,89,.35); }

/* ===== SECTIONS ===== */
.section { padding: 110px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.section-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 28px;
}

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-eyebrow { color: var(--secondary-soft); }

/* ===== O ESCRITÃ“RIO ===== */
.sobre { background: var(--white); }

.sobre-gallery {
  margin-bottom: 40px;
}
.sobre-gallery-main {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.sobre-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s ease;
}
.sobre-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.sobre-thumb {
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: all .3s ease;
  background: var(--green-soft);
}
.sobre-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease;
}
.sobre-thumb:hover { border-color: var(--secondary-soft); }
.sobre-thumb.active { border-color: var(--secondary); outline: 2px solid var(--secondary); }

.sobre-text p { font-weight: 300; color: var(--slate); margin-bottom: 16px; }
.sobre-text p strong { color: var(--secondary); font-weight: 600; }

.sobre-card {
  position: relative;
  background: var(--white);
  color: var(--secondary);
  padding: 34px 38px;
  border-left: 3px solid var(--secondary);
  box-shadow: var(--shadow);
}
.sobre-since {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--secondary);
  margin-bottom: 10px;
}
.sobre-card-text { font-weight: 300; font-size: .98rem; color: rgba(2,64,89,.78); }

/* Veja Mais */
.sobre-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height .6s var(--ease), margin .3s ease;
}
.sobre-more.open { max-height: 1200px; }
.veja-mais-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  background: transparent;
  border: 0;
  color: var(--secondary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 0;
}
.veja-mais-btn .chev {
  display: inline-block;
  transition: transform .35s var(--ease);
}
.veja-mais-btn.open .chev { transform: rotate(180deg); }

.sobre-pillars { margin-top: 30px; border-top: 1px solid var(--border); }
.sobre-pillars li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.sobre-pillars li span:first-child {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--secondary-soft);
  font-size: 1rem;
}
.sobre-pillars li span:last-child { font-weight: 500; color: var(--secondary); letter-spacing: .02em; }

/* ===== VISTA SÃƒO PAULO ===== */
.vista {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.vista-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.vista-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,5,8,.75) 0%, rgba(5,5,8,.6) 55%, rgba(5,5,8,.4) 100%);
}
.vista-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 90px 24px;
  color: rgba(255,255,255,.9);
}
.vista-content .section-eyebrow { color: var(--primary); }
.vista-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.vista-content p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.82);
}

/* ===== ÃREAS ===== */
.areas { background: var(--white); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.area-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--secondary);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  cursor: pointer;
  transition: all .45s var(--ease);
  text-align: left;
  overflow: hidden;
}
.area-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(2,64,89,.2); }
.area-card > * { position: relative; z-index: 1; }

.area-icon {
  width: 46px; height: 46px;
  margin-bottom: 20px;
  color: var(--secondary);
  transition: color .4s ease;
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
}

.area-card .area-summary {
  font-size: .94rem;
  font-weight: 300;
  color: rgba(2,64,89,.75);
  flex: 1;
}

.area-open {
  margin-top: 22px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--secondary-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s ease;
}
.modal.open { opacity: 1; visibility: visible; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,64,89,.55);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: var(--white);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  border-top: 4px solid var(--secondary);
  box-shadow: var(--shadow);
  transform: translateY(30px) scale(.98);
  transition: transform .45s var(--ease);
}
.modal.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--secondary);
  font-size: 1.1rem;
  transition: all .3s ease;
}
.modal-close:hover { background: var(--primary); color: var(--secondary); }

.modal-box h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 18px;
}
.modal-box .modal-desc { font-weight: 300; color: var(--slate); margin-bottom: 24px; }
.modal-box ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.modal-box li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: var(--graphite);
  font-weight: 500;
}
.modal-box li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--secondary);
  border: 1px solid var(--primary);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ===== EQUIPE ===== */
.equipe { background: var(--white); }

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.member {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  background: var(--green-soft);
  border: 1px solid var(--border);
  padding: 30px;
  transition: all .4s var(--ease);
}
.member:hover { border-color: var(--secondary-soft); box-shadow: var(--shadow); transform: translateY(-4px); }

.member-photo {
  width: 220px; height: 290px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
}

.member h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}
.member .member-role {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--secondary-soft);
  margin-bottom: 6px;
}
.member .member-specialty {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--secondary);
  border: 1px solid rgba(2,64,89,.25);
  background: var(--primary);
  padding: 4px 12px;
  margin-bottom: 12px;
}
.member .member-bio { font-size: .88rem; font-weight: 300; color: var(--slate); margin-bottom: 14px; }

.member-contacts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 28px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 6px;
  text-align: center;
}
.member-contacts a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color .3s ease;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
}
.member-contacts a:hover { color: var(--secondary-soft); }

.member-cv {
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  padding: 8px 18px;
  background: var(--secondary);
  color: #fff !important;
  transition: background .3s ease, border-color .3s ease !important;
}
.member-cv:hover { background: var(--primary); border-color: var(--primary); color: var(--secondary) !important; }

/* ===== CONTATO ===== */
.contato { background: var(--white); }

.contato-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contato-info .contato-link { display: block; margin-bottom: 26px; }
.contato-info .contato-link .contato-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--secondary-soft);
  display: block;
  margin-bottom: 6px;
}
.contato-info .contato-link a {
  display: block;
  color: var(--graphite);
  font-weight: 500;
  margin-bottom: 4px;
  transition: color .3s ease;
}
.contato-info .contato-link a:hover { color: var(--secondary); }

.contato-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--secondary);
  padding: 40px;
  box-shadow: var(--shadow);
}

.field { display: block; margin-bottom: 20px; }
.field span {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--graphite);
  transition: border-color .3s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--secondary-soft); }

.form-status { margin-top: 14px; font-size: .9rem; font-weight: 500; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #b3261e; }

.map-frame {
  margin-top: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--secondary); color: rgba(255,255,255,.78); padding: 70px 0 36px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.footer-logo { height: 90px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-text { font-weight: 300; font-size: .9rem; max-width: 420px; margin-bottom: 20px; }

.footer h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: .06em;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span {
  font-size: .88rem;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  transition: color .3s ease;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 26px;
  margin-top: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: rgba(255,255,255,.6); transition: color .3s ease; }
.footer-legal a:hover { color: var(--primary); }

/* ===== BACK TOP ===== */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--secondary);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .4s var(--ease);
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary); color: var(--secondary); }

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 200px 0 80px; min-height: 100vh; background: var(--white); }
.legal-page .section-eyebrow { color: var(--secondary-soft); }
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 34px 0 12px;
}
.legal-page p { font-weight: 300; color: var(--slate); margin-bottom: 14px; }
.legal-page ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }
.legal-page li { font-weight: 300; color: var(--slate); margin-bottom: 6px; }

/* ===== PERFIL (EQUIPE) ===== */
.profile-hero {
  position: relative;
  background: var(--secondary);
  overflow: hidden;
  padding: 150px 0 70px;
}
.profile-hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232,220,195,0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}
.profile-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
}
.profile-photo-wrap { position: relative; }
.profile-photo {
  width: 300px;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--primary);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.profile-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
}
.profile-professional {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.profile-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}
.profile-role {
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}
.profile-oab {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary);
  background: var(--secondary-soft);
  border: 1px solid var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.profile-summary {
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(255,255,255,.88);
  max-width: 640px;
  margin-bottom: 30px;
}
.profile-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.profile-hero .btn-pistachio { background: var(--primary); color: var(--secondary); }
.profile-hero .btn-pistachio:hover { background: var(--primary-deep); color: var(--secondary); }
.profile-hero .btn-outline-light { border-color: var(--primary); color: var(--primary); background: transparent; }
.profile-hero .btn-outline-light:hover { background: var(--primary); color: var(--secondary); }

.profile-page { background: var(--green-soft); padding: 80px 0; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.profile-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--secondary);
  padding: 34px;
  box-shadow: var(--shadow);
}
.profile-block-wide { grid-column: 1 / -1; }
.profile-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.profile-list { display: flex; flex-direction: column; gap: 12px; }
.profile-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .94rem;
  color: var(--graphite);
  font-weight: 400;
}
.profile-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--secondary);
  border: 1px solid var(--primary);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 7px;
}
.profile-list-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }

.profile-timeline { display: flex; flex-direction: column; gap: 18px; }
.profile-timeline li {
  position: relative;
  padding-left: 22px;
  font-size: .94rem;
  color: var(--graphite);
}
.profile-timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--secondary);
}

.profile-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 36px;
  box-shadow: var(--shadow);
}
.profile-contacts { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.profile-contacts a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color .3s ease;
}
.profile-contacts a:hover { color: var(--secondary-soft); }

/* ===== REVEAL ===== */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translate(0,0); }

.hero-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: heroUp .9s var(--ease) forwards;
}
.hero-title.hero-fade-up { animation-delay: .15s; }
.hero-text.hero-fade-up { animation-delay: .3s; }
.hero-actions.hero-fade-up { animation-delay: .45s; }
.hero-contact.hero-fade-up { animation-delay: .6s; }

@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .contato-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .profile-hero { padding-top: 140px; }
  .profile-hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; justify-items: center; }
  .profile-photo { width: 220px; height: 300px; }
  .profile-actions { justify-content: center; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-block-wide { grid-column: 1; }
  .profile-list-cols { grid-template-columns: 1fr; }
  .profile-cta { grid-column: 1; justify-content: center; text-align: center; }

  .hero-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
  .hero-dots { bottom: 64px; }
  .vista { min-height: 420px; }
  .sobre-gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }

  .hamburger { display: flex; }
  .brand-logo { height: 44px; }
  .navbar-inner { height: 76px; }

  .nav-menu {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--secondary);
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 12px 24px 24px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .45s var(--ease), opacity .4s ease;
    box-shadow: 0 30px 50px rgba(2,64,89,.25);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
  .nav-cta { margin-top: 14px; text-align: center; }

  .areas-grid { grid-template-columns: 1fr; }
  .equipe-grid { grid-template-columns: 1fr; }
  .member { grid-template-columns: 180px 1fr; padding: 24px; }
  .member-photo { width: 180px; height: 240px; }
  .modal-box { padding: 34px 26px; }
  .modal-box ul { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .member { grid-template-columns: 1fr; }
  .member-photo { width: 100%; height: 320px; }
  .hero { padding-top: 150px; }
  .hero-actions .btn { width: 100%; }
}
