/* Fonte dos títulos: Book Antiqua (preferência do cliente).
   Quem tem Windows/Office usa a Book Antiqua instalada; nos outros aparelhos
   entra a TeX Gyre Pagella (gratuita, licença GUST, mesmo desenho Palatino). */
@font-face { font-family: "Pagella"; src: url("../fonts/pagella-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pagella"; src: url("../fonts/pagella-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Pagella"; src: url("../fonts/pagella-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* =========================================================
   Lunguinho Mangabeira – Advocacia e Consultoria Jurídica
   Paleta tirada da logo: azul claro → azul → índigo
   ========================================================= */
:root {
  --cyan: #009fd1;        /* azul claro da logo */
  --blue: #0b7ebf;        /* azul médio */
  --blue-deep: #1854aa;   /* azul forte */
  --indigo: #29218e;      /* índigo do canto da logo */
  --navy: #0d1f4a;        /* texto/títulos */
  --ink: #3d4a63;         /* texto corrido */
  --muted: #6b7890;
  --sky: #eaf6fc;         /* fundo azul bem claro */
  --sky-2: #d6eef9;
  --white: #ffffff;
  --line: #dbe7f0;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 45%, var(--indigo) 100%);
  --grad-soft: linear-gradient(135deg, #ffffff 0%, var(--sky) 100%);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 31, 74, .08);
  --shadow-lg: 0 24px 60px rgba(13, 31, 74, .16);
  --font-head: "Book Antiqua", "Palatino Linotype", Palatino, "Pagella", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
svg { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 700; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { font-size: 1.25em; }
.btn--primary { background: var(--grad); color: var(--white); box-shadow: 0 8px 22px rgba(11, 126, 191, .35); background-size: 140% 100%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 126, 191, .45); background-position: 100% 0; }
.btn--white { background: var(--white); color: var(--blue-deep); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn--white:hover { transform: translateY(-2px); color: var(--indigo); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.btn--sm { padding: 11px 22px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- Rótulos e títulos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--light { color: #bfe9f9; }
.eyebrow--light::before { background: #bfe9f9; }

.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: 16px; }
.section-title--light { color: var(--white); }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #c9d7ec; font-size: .85rem; }
.topbar__inner { display: flex; gap: 28px; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { color: var(--cyan); }
a.topbar__item:hover { color: var(--white); }
.topbar__hours { margin-left: auto; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 31, 74, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.header__logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-family: var(--font-body); font-weight: 500; color: var(--navy); position: relative; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--blue); }
.nav__cta { padding: 11px 22px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100vh - var(--header-h) - 40px);
  min-height: calc(100svh - var(--header-h) - 40px);
  display: flex; align-items: center;
  color: var(--white);
  background: var(--navy);
}
.hero__bg {
  position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px);
  object-fit: cover; z-index: -2;
  filter: blur(22px) saturate(1.1);
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(41, 33, 142, .92) 0%, rgba(24, 84, 170, .82) 40%, rgba(0, 159, 209, .55) 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 80px;
}
.hero__title { color: var(--white); font-size: clamp(2.3rem, 4.4vw, 3.7rem); font-weight: 700; margin-bottom: 22px; letter-spacing: -.01em; }
.hero__text { font-size: 1.12rem; color: rgba(255, 255, 255, .88); max-width: 560px; margin-bottom: 28px; }
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.hero__tags li {
  padding: 7px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; justify-self: center; width: min(100%, 360px); }
.hero__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  background: #0a1430;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__mark {
  position: absolute; width: 96px; height: auto; left: -40px; bottom: 40px;
  background: var(--white); padding: 14px; border-radius: 20px; box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--white); border-radius: 2px; animation: scroll 1.8s ease-in-out infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Diferenciais ---------- */
.highlights { position: relative; z-index: 2; margin-top: -48px; }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.highlight { display: flex; gap: 16px; padding: 30px 26px; align-items: flex-start; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue); font-size: 1.45rem; flex-shrink: 0;
}
.highlight h3 { font-size: 1.05rem; margin-bottom: 4px; }
.highlight p { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media > img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: 24px; box-shadow: var(--shadow-lg);
}
.about__media::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: -1;
  border-radius: 24px; background: var(--grad); opacity: .9;
}
.about__badge {
  position: absolute; left: -28px; bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  background: var(--white); padding: 16px 22px 16px 16px; border-radius: 18px; box-shadow: var(--shadow-lg);
  font-size: .88rem; color: var(--muted); line-height: 1.35;
}
.about__badge img { width: 46px; height: auto; }
.about__badge strong { color: var(--navy); font-family: var(--font-head); font-size: 1.05rem; }
.about__content p { margin-bottom: 18px; font-size: 1.04rem; }
.about__content strong { color: var(--navy); }
.about__quote {
  font-family: var(--font-head); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--blue-deep);
  border-left: 4px solid var(--cyan); padding: 6px 0 6px 22px; margin: 6px 0 24px;
}
.checklist { list-style: none; margin: 26px 0 34px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; color: var(--navy); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b7ebf'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- Áreas ---------- */
.areas { background: var(--grad-soft); position: relative; }
.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden; display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad); color: var(--white); font-size: 1.6rem; margin-bottom: 22px;
  box-shadow: 0 10px 22px rgba(11, 126, 191, .3);
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card { padding: 30px 24px; }
.card--featured { background: var(--grad); border-color: transparent; color: rgba(255, 255, 255, .88); box-shadow: 0 18px 40px rgba(11, 126, 191, .35); }
.card--featured::before { display: none; }
.card--featured h3 { color: var(--white); }
.card.card--featured p { color: rgba(255, 255, 255, .88); }
.card--featured .card__icon { background: var(--white); color: var(--blue); box-shadow: none; }
.card.card--featured .card__link { color: var(--white); }
.card.card--featured .card__link:hover { color: #d6f2ff; }
.card__badge {
  position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; background: rgba(255, 255, 255, .2); color: var(--white); padding: 5px 10px; border-radius: 999px;
}
.card p { color: var(--muted); margin-bottom: 22px; flex-grow: 1; }
.card__link { font-family: var(--font-body); font-weight: 600; color: var(--blue); }
.card__link:hover { color: var(--indigo); }

/* ---------- Advogados ---------- */
.lawyers__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1040px; margin: 0 auto; }
.lawyer {
  display: grid; grid-template-columns: 220px 1fr; background: var(--white);
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: box-shadow .35s ease, transform .35s ease;
}
.lawyer:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.lawyer__photo { position: relative; overflow: hidden; }
.lawyer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s ease; }
.lawyer:hover .lawyer__photo img { transform: scale(1.05); }
.lawyer__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--grad); }
.lawyer__body { padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.lawyer__oab {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: var(--sky); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.lawyer h3 { font-size: 1.3rem; margin-bottom: 12px; }
.lawyer p { font-size: .95rem; color: var(--muted); margin-bottom: 16px; }
.lawyer p strong { color: var(--navy); }
.lawyer__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lawyer__tags li { font-size: .78rem; font-weight: 600; color: var(--blue-deep); border: 1px solid var(--sky-2); padding: 4px 11px; border-radius: 999px; }
.lawyer__contacts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem; font-weight: 500; color: var(--navy); margin-bottom: 20px; }
.lawyer__contacts a:hover { color: var(--blue); }
.lawyer .btn { margin-top: auto; }
.lawyer__ig { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); flex-basis: 100%; }
.lawyer__ig svg { font-size: 1.05em; }
.footer__ig { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #c9d7ec; font-size: .88rem; }
.footer__ig svg { font-size: 1em; }

/* ---------- Como funciona ---------- */
.steps { background: var(--grad); position: relative; overflow: hidden; }
.steps::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: url("../img/logo-icone.png") center / contain no-repeat; opacity: .07; pointer-events: none;
}
.steps__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.step {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius); padding: 30px 26px; color: rgba(255, 255, 255, .86);
  backdrop-filter: blur(4px); transition: background .3s ease, transform .3s ease;
}
.step:hover { background: rgba(255, 255, 255, .16); transform: translateY(-4px); }
.step__num { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--white); opacity: .9; margin-bottom: 10px; }
.step h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* ---------- Galeria ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); padding: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s ease; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 31, 74, .45));
  opacity: 0; transition: opacity .35s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide img { object-position: center 42%; }
.gallery__item--claudia img { object-position: center 30%; }

/* ---------- Contato ---------- */
.contact { background: var(--sky); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 56px; }
.contact__info > p { font-size: 1.05rem; margin-bottom: 28px; }
.contact__list { list-style: none; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.02rem; }
.contact__list span, .contact__list a { font-size: .97rem; }
.contact__list a { color: var(--blue); font-weight: 500; word-break: break-word; }
.contact__list a:hover { color: var(--indigo); }
.contact__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--white); color: var(--blue); font-size: 1.35rem; box-shadow: var(--shadow);
}

.contact__form {
  background: var(--white); border-radius: 22px; padding: 38px 34px; box-shadow: var(--shadow-lg);
  display: grid; gap: 16px;
}
.contact__form h3 { font-size: 1.5rem; }
.form__note { font-size: .9rem; color: var(--muted); margin-top: -10px; }
.contact__form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.contact__form input, .contact__form select, .contact__form textarea {
  font: inherit; font-weight: 400; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; background: #fbfdff;
  transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.contact__form textarea { resize: vertical; min-height: 110px; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 159, 209, .15);
}
.contact__form .is-invalid { border-color: #d64545; }
.form__privacy { font-size: .8rem; color: var(--muted); text-align: center; }

.map { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.map__actions { display: flex; justify-content: center; margin-top: 24px; }
.map__actions .btn { white-space: normal; text-align: center; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy); color: #b9c6dc; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer__brand img { width: 240px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 300px; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer__grid a:hover { color: var(--cyan); }
.footer small { color: #8193b2; }
.footer__social { display: flex; flex-direction: row !important; gap: 10px; margin-top: 6px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: var(--white); font-size: 1.15rem; transition: background .25s ease;
}
.footer__social a:hover { background: var(--blue); color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .84rem; text-align: center; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--white); font-size: 1.9rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s ease;
}
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 16, 40, .92);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: var(--white); font-size: 2rem; line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .lawyer { grid-template-columns: 1fr; }
  .lawyer__photo { aspect-ratio: 4 / 3.6; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .topbar__hours, .topbar__item:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .header__logo img { height: 44px; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 24px 24px;
    box-shadow: 0 20px 30px rgba(13, 31, 74, .12);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 18px; }

  /* No celular o vídeo em pé ocupa o fundo inteiro */
  .hero { min-height: calc(100svh - var(--header-h)); align-items: flex-end; }
  .hero__bg { inset: 0; width: 100%; height: 100%; filter: none; transform: none; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(41, 33, 142, .35) 0%, rgba(24, 84, 170, .55) 45%, rgba(13, 31, 74, .92) 100%);
  }
  .hero__inner { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 120px; }
  .hero__media { display: none; }
  .hero__text { font-size: 1.02rem; }

  .section { padding: 84px 0; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 480px; margin: 0 auto 20px; width: calc(100% - 28px); }
  .about__badge { left: -14px; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .about__quote { font-size: 1.2rem; }
  .lawyers__grid { grid-template-columns: 1fr; max-width: 560px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 600px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .topbar { font-size: .78rem; }
  .hero__title { font-size: 2.15rem; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .highlights { margin-top: -36px; }
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight { padding: 22px 20px; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .areas__grid, .steps__grid { grid-template-columns: 1fr; }
  .about__media::before { inset: 16px -14px -14px 16px; }
  .gallery__grid { grid-auto-rows: 160px; gap: 10px; }
  .gallery__item--wide { grid-column: span 2; }
  .contact__form { padding: 28px 22px; }
  .map iframe { height: 300px; }
  .footer__grid { grid-template-columns: 1fr; padding-top: 56px; }
  .whatsapp-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
