/* ============================================================
   PEDRO GABRIG ADVOCACIA — design system
   ============================================================ */

:root {
  --navy: #1C3042;
  --navy-2: #243a4f;
  --navy-3: #2e4860;
  --ink: #14222e;
  --grey-dark: #656C72;
  --grey-mid: #BFBFBD;
  --grey-light: #C9CFD4;
  --paper: #FAFAFA;
  --paper-warm: #F2EFEA;
  --bone: #EDE9E3;
  --white: #ffffff;
  --gold: #B8956A;
  --gold-soft: #D4B788;
  --whatsapp: #25D366;

  --serif: "Cormorant Garamond", "Cormorant", "Trajan Pro", "Goudy Old Style", Georgia, serif;
  --sans: "Raleway", "Resamitz", "Helvetica Neue", Arial, sans-serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --container-narrow: 1080px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--navy); color: var(--paper); }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey-dark);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.title em {
  font-style: italic;
  color: var(--grey-dark);
  font-weight: 400;
}
.section-title { font-size: clamp(32px, 4.2vw, 54px); }

.lede {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-dark);
  max-width: 62ch;
}

.roman {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: var(--container-narrow); }

section {
  padding: 120px 0;
  position: relative;
}
section.tight { padding: 96px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 64px;
  max-width: 780px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  cursor: pointer;
  position: relative;
}
.btn--primary {
  background: var(--paper);
  color: var(--navy);
}
.btn--primary:hover { background: var(--white); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250,250,250,.4);
}
.btn--ghost:hover { border-color: var(--paper); background: rgba(250,250,250,.05); }
.btn--dark {
  background: var(--navy);
  color: var(--paper);
}
.btn--dark:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(28,48,66,.25); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--paper); }
.btn .arrow {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .25s var(--ease);
}
.btn .arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 26px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 22px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
  background: transparent;
}
.nav.scrolled {
  background: rgba(250,250,250,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(28,48,66,.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  transition: color .3s var(--ease);
}
.nav.scrolled .nav__brand { color: var(--navy); }
.nav__monogram {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__wordmark strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.nav__wordmark span {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: .75;
}
.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav.scrolled .nav__links a { color: var(--navy); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--paper);
  color: var(--paper);
  transition: all .3s var(--ease);
}
.nav.scrolled .nav__cta {
  border-color: var(--navy);
  color: var(--navy);
}
.nav__cta:hover { background: var(--paper); color: var(--navy); }
.nav.scrolled .nav__cta:hover { background: var(--navy); color: var(--paper); }
.nav__toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--paper);
  transition: all .3s var(--ease);
}
.nav.scrolled .nav__toggle span { background: var(--navy); }

/* mobile menu drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 95;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.nav__drawer.open { transform: translateY(0); }
.nav__drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__drawer a {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--paper);
  padding: 14px 0;
  border-bottom: 1px solid rgba(250,250,250,.1);
}
.nav__drawer-close {
  position: absolute;
  top: 28px; right: 28px;
  width: 40px; height: 40px;
  color: var(--paper);
  font-size: 28px;
  font-family: var(--serif);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  color: var(--paper);
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero::before {
  /* subtle vertical line texture */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 30%, rgba(184,149,106,.07), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  color: var(--grey-light);
  margin-bottom: 32px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--paper);
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero__title .accent {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}
.hero__sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-light);
  max-width: 56ch;
  margin: 0 0 44px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(201,207,212,.18);
}
.hero__badge {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.hero__badge-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.hero__badge-value {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.01em;
}

/* hero photo */
.hero__photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
/* carousel inside hero__photo: absolute fill so height:100% always works */
.hero__photo > .carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) brightness(.96) saturate(.88);
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,48,66,.08) 0%, rgba(28,48,66,.55) 100%);
  pointer-events: none;
}
.hero__photo-frame {
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(212,183,136,.35);
  pointer-events: none;
}
.hero__plantao {
  position: absolute;
  top: 28px; right: 28px;
  background: rgba(20, 34, 46, .85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,183,136,.4);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero__plantao .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  position: relative;
  flex: 0 0 8px;
}
.hero__plantao .pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero__plantao-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.hero__plantao-text strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--paper);
}
.hero__plantao-text span {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--grey-mid), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

/* ============================================================
   ESCRITÓRIO
   ============================================================ */
.escritorio { background: var(--paper); }
.escritorio__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.escritorio__media {
  position: relative;
}
.escritorio__media-main {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.escritorio__media-main img { width: 100%; height: 100%; object-fit: cover; }
.escritorio__media-accent {
  position: absolute;
  width: 55%;
  aspect-ratio: 4/3;
  right: -32px;
  bottom: -48px;
  overflow: hidden;
  border: 8px solid var(--paper);
  background: var(--paper);
}
.escritorio__media-accent img { width: 100%; height: 100%; object-fit: cover; }
.escritorio__media-tag {
  position: absolute;
  top: 24px; left: -24px;
  background: var(--navy);
  color: var(--paper);
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.escritorio__copy p {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 24px;
}
.escritorio__copy strong { color: var(--navy); font-weight: 500; }
.escritorio__quote {
  margin: 48px 0 0;
  padding: 32px 0 32px 36px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--navy);
}
.escritorio__quote::before {
  content: "“";
  font-size: 64px;
  line-height: 0;
  color: var(--gold);
  vertical-align: -32px;
  margin-right: 8px;
}
.escritorio__quote::after {
  content: "”";
  font-size: 64px;
  line-height: 0;
  color: var(--gold);
  vertical-align: -32px;
  margin-left: 8px;
}

/* ============================================================
   EQUIPE
   ============================================================ */
.equipe {
  background: var(--bone);
  position: relative;
}
.equipe__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.member {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(28,48,66,.12); }
.member__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: var(--grey-light);
}
.member__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.02);
  transition: transform .8s var(--ease), filter .4s var(--ease);
}
.member:hover .member__photo img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.02);
}
.member__photo--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--gold-soft);
}
.member__photo--placeholder svg { width: 38%; opacity: .55; }
.member__role-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(28,48,66,.9);
  color: var(--paper);
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.member__body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.member__name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.member__oab {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin: 0 0 18px;
}
.member__spec {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 20px;
}
.member__formation {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
.member__formation-label {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.member__formation-value {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--navy);
  font-style: italic;
}
.member__expand {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 14px 0 0;
  border-top: 0;
  align-self: flex-start;
  transition: gap .25s var(--ease);
}
.member__expand:hover { gap: 20px; }
.member__expand .plus {
  width: 24px; height: 24px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.member__expand .plus::before, .member__expand .plus::after {
  content: "";
  position: absolute;
  background: var(--navy);
}
.member__expand .plus::before { width: 10px; height: 1px; }
.member__expand .plus::after { width: 1px; height: 10px; }

/* bio modal */
.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  background: rgba(20, 34, 46, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.bio-modal.open { display: flex; opacity: 1; }
.bio-modal__panel {
  width: min(720px, 100%);
  background: var(--paper);
  overflow-y: auto;
  transform: translateX(40px);
  transition: transform .45s var(--ease);
  padding: 64px 56px 80px;
}
.bio-modal.open .bio-modal__panel { transform: translateX(0); }
.bio-modal__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid var(--grey-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: all .2s var(--ease);
}
.bio-modal__close:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.bio-modal__close::before, .bio-modal__close::after {
  content: "";
  position: absolute;
  width: 16px; height: 1px;
  background: currentColor;
}
.bio-modal__close::before { transform: rotate(45deg); }
.bio-modal__close::after { transform: rotate(-45deg); }
.bio-modal__role {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.bio-modal__name {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.bio-modal__oab {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-light);
}
.bio-modal__body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 16px;
}
.bio-modal__body p strong { color: var(--navy); font-weight: 500; }

/* ============================================================
   ÁREAS DE ATUAÇÃO
   ============================================================ */
.areas {
  background: var(--navy);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.areas::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(212,183,136,.06), transparent 60%);
  pointer-events: none;
}
.areas .section-head { color: var(--paper); }
.areas .title { color: var(--paper); }
.areas .lede { color: var(--grey-light); }
.areas .eyebrow { color: var(--grey-mid); }
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,207,212,.15);
  border: 1px solid rgba(201,207,212,.15);
  position: relative;
  z-index: 1;
}
.area {
  background: var(--navy);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background .35s var(--ease);
  cursor: default;
  min-height: 220px;
}
.area:hover { background: var(--navy-2); }
.area__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.area__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(212,183,136,.25);
  margin-bottom: 6px;
}
.area__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 0;
}
.area__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--grey-light);
  margin: 0;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais {
  background: var(--paper);
}
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
  margin-bottom: 80px;
}
.diferencial {
  background: var(--paper);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .3s var(--ease);
}
.diferencial:hover { background: var(--bone); }
.diferencial__num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.diferencial__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.diferencial__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--grey-dark);
  margin: 0;
}

.plantao-banner {
  background: var(--navy);
  color: var(--paper);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.plantao-banner::before {
  content: "24h";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 320px;
  font-style: italic;
  color: rgba(212,183,136,.06);
  line-height: 0.85;
  pointer-events: none;
}
.plantao-banner__head {
  position: relative; z-index: 1;
}
.plantao-banner__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.plantao-banner__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 0 var(--gold-soft);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(212,183,136,.7); }
  100% { box-shadow: 0 0 0 14px rgba(212,183,136,0); }
}
.plantao-banner__title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.plantao-banner__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  position: relative; z-index: 1;
}
.plantao-banner__list li {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--grey-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.plantao-banner__list li::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 16px;
}
.plantao-banner__cta {
  position: relative; z-index: 1;
}

/* ============================================================
   PROCESSO
   ============================================================ */
.processo {
  background: var(--bone);
  position: relative;
}
.processo__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}
.processo__timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0; right: 0;
  height: 1px;
  background: var(--grey-mid);
}
.step {
  padding: 0 32px 0 0;
  position: relative;
}
.step:last-child { padding-right: 0; }
.step__dot {
  width: 72px; height: 72px;
  background: var(--paper);
  border: 1px solid var(--grey-mid);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--navy);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  transition: all .3s var(--ease);
}
.step:hover .step__dot {
  background: var(--navy);
  color: var(--gold-soft);
  border-color: var(--navy);
}
.step__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.step__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--grey-dark);
  margin: 0;
  max-width: 28ch;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato {
  background: var(--paper);
}
.contato__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.contato__info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 48px 0 0;
}
.contato__info-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-light);
}
.contato__info-item:last-child { border-bottom: 0; }
.contato__info-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--navy);
  display: grid;
  place-items: center;
  color: var(--navy);
}
.contato__info-icon svg { width: 18px; height: 18px; }
.contato__info-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 4px;
  display: block;
}
.contato__info-value {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
  line-height: 1.4;
  font-weight: 500;
}
.contato__info-value a { transition: color .2s var(--ease); }
.contato__info-value a:hover { color: var(--gold); }

/* form */
.form {
  background: var(--paper-warm);
  padding: 48px 44px;
  border: 1px solid var(--grey-light);
}
.form__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 6px;
}
.form__hint {
  font-size: 13px;
  color: var(--grey-dark);
  margin: 0 0 32px;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  background: var(--paper);
  border: 1px solid var(--grey-light);
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,48,66,.08);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231C3042' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form__submit {
  margin-top: 28px;
  width: 100%;
  justify-content: center;
}
.form__priv {
  font-size: 11px;
  color: var(--grey-dark);
  text-align: center;
  margin: 16px 0 0;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: var(--grey-light);
  padding: 80px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(201,207,212,.15);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
}
.footer__logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer__brand-mark { display: inline-flex; align-items: center; }
.footer__brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--grey-mid);
  margin: 0;
  max-width: 36ch;
}
.footer__col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer__col a, .footer__col li {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--grey-light);
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 11.5px;
  color: var(--grey-mid);
  margin: 0;
  line-height: 1.6;
}
.footer__socials {
  display: flex;
  gap: 12px;
}
.footer__socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,207,212,.3);
  display: grid; place-items: center;
  color: var(--grey-light);
  transition: all .2s var(--ease);
}
.footer__socials a:hover {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--paper);
}
.footer__socials svg { width: 16px; height: 16px; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4);
  animation: waPulse 2.4s infinite;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
@keyframes waPulse {
  0% { box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
  70% { box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
  pointer-events: none;
}
.carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__slide.placeholder {
  background: var(--bone);
  display: grid;
  place-items: center;
}
.carousel__slide.placeholder::after {
  content: attr(data-label);
  font-family: "JetBrains Mono", "SF Mono", "Menlo", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--grey-dark);
  padding: 14px 22px;
  border: 1px solid rgba(28,48,66,.18);
  background: rgba(250,250,250,.9);
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(20,34,46,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212,183,136,.4);
  color: var(--paper);
  display: grid;
  place-items: center;
  z-index: 3;
  opacity: 0;
  transition: opacity .3s var(--ease), background .25s var(--ease);
}
.carousel:hover .carousel__btn { opacity: 1; }
.carousel__btn:hover { background: rgba(28,48,66,.85); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.carousel__dot {
  width: 28px;
  height: 2px;
  background: rgba(250,250,250,.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.carousel__dot.is-active {
  background: var(--gold-soft);
  width: 44px;
}

/* ============================================================
   NAV WATERMARK LOGO
   ============================================================ */
.nav__watermark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  opacity: .9;
  transition: opacity .3s var(--ease);
  margin-left: 4px;
  position: relative;
}
.nav__mono {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .3s var(--ease);
}
.nav__mono--light { opacity: 1; }
.nav__mono--dark { opacity: 0; }
.nav.scrolled .nav__mono--light { opacity: 0; }
.nav.scrolled .nav__mono--dark { opacity: 1; }
.nav.scrolled .nav__watermark { opacity: .85; }

/* nav brand as image logo */
.nav__brand--logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
}
.nav__logo {
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: opacity .3s var(--ease);
}
.nav__logo--dark { position: absolute; left: 0; top: 0; opacity: 0; }
.nav__logo--light { opacity: 1; }
.nav.scrolled .nav__logo--light { opacity: 0; }
.nav.scrolled .nav__logo--dark { opacity: 1; }
@media (max-width: 720px) {
  .nav__brand--logo { height: 38px; }
  .nav__watermark { display: none; }
}

/* ============================================================
   ESCRITÓRIO — formation badge
   ============================================================ */
.escritorio__formation {
  margin: 32px 0 0;
  padding: 20px 24px;
  background: var(--bone);
  border-left: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.escritorio__formation-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.escritorio__formation-value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ============================================================
   EQUIPE — Pedro featured + two below
   ============================================================ */
.equipe__featured {
  display: grid;
  grid-template-columns: 1fr min(520px, 90%) 1fr;
  margin-bottom: 28px;
}
.equipe__featured .member {
  grid-column: 2;
  position: relative;
}
.equipe__featured .member::before {
  content: "PRINCIPAL";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--paper);
  padding: 6px 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  z-index: 2;
}
.equipe__featured .member__photo { aspect-ratio: 4/4.4; }
.equipe__featured .member__name { font-size: 36px; }
.equipe__featured .member__body { padding: 40px 36px 36px; }
.equipe__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin: 0 auto;
}

/* ============================================================
   ÁREAS — signing photo
   ============================================================ */
.areas__signing {
  margin: 0 0 48px;
  aspect-ratio: 16/6;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212,183,136,.2);
}
.areas__signing img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(.85);
}

/* ============================================================
   DIFERENCIAIS — media banner
   ============================================================ */
.diferenciais__media {
  margin: 0 0 56px;
  aspect-ratio: 16/5;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--grey-light);
}
.diferenciais__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* ============================================================
   PROCESSO — media banner
   ============================================================ */
.processo__media {
  margin: 0 0 64px;
  aspect-ratio: 16/5;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(28,48,66,.08);
}
.processo__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ============================================================
   CONTATO — media banner
   ============================================================ */
.contato__media {
  margin: 0 0 72px;
  aspect-ratio: 16/5;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--grey-light);
}
.contato__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* ============================================================
   PLACEHOLDER (when image fails to load)
   ============================================================ */
.placeholder {
  background: var(--bone);
  display: grid;
  place-items: center;
  min-height: 200px;
}
.placeholder::after {
  content: attr(data-label);
  font-family: "JetBrains Mono", "SF Mono", "Menlo", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-dark);
  text-align: center;
  padding: 16px 24px;
  border: 1px solid rgba(28,48,66,.18);
  background: rgba(250,250,250,.85);
}
.areas .placeholder,
.areas__signing.placeholder {
  background: var(--navy-2);
}
.areas .placeholder::after,
.areas__signing.placeholder::after {
  color: var(--gold-soft);
  background: rgba(28,48,66,.85);
  border-color: rgba(212,183,136,.35);
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__photo { max-width: 520px; margin: 0 auto; }
  .escritorio__grid { grid-template-columns: 1fr; gap: 64px; }
  .escritorio__media-accent { right: 0; bottom: -32px; width: 45%; }
  .equipe__grid { grid-template-columns: repeat(2, 1fr); }
  .equipe__grid .member:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .equipe__featured { grid-template-columns: 1fr min(440px, 100%) 1fr; }
  .equipe__featured .member__name { font-size: 30px; }
  .areas__signing { aspect-ratio: 16/8; }
  .diferenciais__media, .processo__media, .contato__media { aspect-ratio: 16/7; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
  .processo__timeline { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .processo__timeline::before { display: none; }
  .contato__grid { grid-template-columns: 1fr; gap: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .plantao-banner { grid-template-columns: 1fr; padding: 40px 36px; gap: 32px; text-align: left; }
  .plantao-banner::before { font-size: 220px; right: -20px; }
}

@media (max-width: 720px) {
  section { padding: 80px 0; }
  .container { padding: 0 22px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero__photo { height: 500px; aspect-ratio: unset; }
  .hero__title { font-size: 40px; }
  .hero__sub { font-size: 15.5px; }
  .hero__plantao { top: 16px; right: 16px; padding: 10px 14px; }
  .hero__plantao-text strong { font-size: 14px; }
  .hero__plantao-text span { font-size: 8.5px; letter-spacing: 0.22em; }
  .hero__badges { gap: 20px 28px; }
  .hero__cta { gap: 12px; }
  .btn { padding: 14px 22px; font-size: 11px; }
  .escritorio__media-accent { display: none; }
  .escritorio__quote { font-size: 22px; padding-left: 24px; }
  .equipe__grid { grid-template-columns: 1fr; gap: 20px; }
  .equipe__grid--two { grid-template-columns: 1fr; }
  .equipe__grid .member:nth-child(3) { max-width: none; }
  .equipe__featured { grid-template-columns: 1fr; }
  .equipe__featured .member { grid-column: 1; }
  .nav__watermark { display: none; }
  .escritorio__formation-value { font-size: 17px; }
  .areas__signing, .diferenciais__media, .processo__media, .contato__media { aspect-ratio: 16/10; margin-bottom: 36px; }
  .areas__grid { grid-template-columns: 1fr; }
  .diferenciais__grid { grid-template-columns: 1fr; }
  .diferenciais__grid { margin-bottom: 48px; }
  .processo__timeline { grid-template-columns: 1fr; gap: 40px; }
  .form { padding: 32px 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
  .bio-modal__panel { padding: 72px 28px 56px; }
  .bio-modal__name { font-size: 30px; }
  .wa-float { width: 54px; height: 54px; right: 18px; bottom: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
  .hero__scroll { display: none; }
  .plantao-banner__list { grid-template-columns: 1fr; }
}
