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

:root {
  --verde:        #0b2318;
  --verde2:       #122d20;
  --verde3:       #1a3d2a;
  --ouro:         #c2a064;
  --ouro2:        #d1b27c;
  --ouro3:        #e1cfad;
  --cinza1:       #2a2a28;
  --cinza2:       #444442;
  --cinza3:       #6e6e6a;
  --cinza4:       #a8a8a4;
  --creme:        #f7f4ee;
  --branco:       #ffffff;
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Sora', system-ui, sans-serif;
  --label-xs:     9px;
  --label-sm:     10px;
  --label-md:     11px;
  --text-xs:      12px;
  --text-sm:      13px;
  --text-md:      14px;
  --text-base:    16px;
  --title-card:   22px;
  --title-panel:  28px;
  --title-detail: 38px;
  --section-title: clamp(34px, 3.5vw, 50px);
  --hero-title:    clamp(44px, 5vw, 80px);
  --mobile-nav:    17px;
  --label-track:  0.18em;
  --nav-track:    0.04em;
  --mobile-nav-track: 0.02em;
  --cta-track:    0.1em;
  --radius-ui:    5px;
  --nav-height:   92px;
  --analysis-screen-h: 100vh;
  /* Padding lateral adaptativo: 100px até 1440px, depois centraliza o conteúdo em 1240px */
  --pad-x:        max(100px, calc((100vw - 1240px) / 2));
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--branco); color: var(--verde); overflow-x: hidden; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 var(--pad-x);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11,35,24,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194,160,100,0.15);
  transition: background 0.3s;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 58px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: var(--nav-track);
  color: rgba(247,244,238,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ouro2); }

.nav-cta {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--nav-track);
  color: var(--verde) !important;
  background: var(--ouro);
  padding: 11px 22px;
  text-decoration: none;
  border-radius: var(--radius-ui);
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--ouro2) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--creme);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 204;
  transition: opacity 0.3s ease;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--verde);
  display: grid;
  grid-template-columns: 1fr clamp(420px, 38vw, 620px);
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,35,24,0.94) 0%, rgba(11,35,24,0.86) 42%, rgba(11,35,24,0.56) 100%),
    radial-gradient(ellipse 60% 80% at 85% 100%, rgba(194,160,100,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 20%, rgba(194,160,100,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) saturate(0.7) brightness(0.58);
  z-index: 0;
}

.hero-left {
  min-height: calc(100vh - var(--nav-height));
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.hero-copy {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero h1 {
  font-family: var(--serif);
  font-size: var(--hero-title);
  font-weight: 600;
  color: var(--creme);
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 100%;
}

.hero h1 em {
  font-style: italic;
  color: var(--ouro2);
}

.hero-desc {
  font-size: 18px;
  font-weight: 400;
  color: rgba(247,244,238,0.72);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 48px;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-ouro {
  background: var(--ouro);
  color: var(--verde);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  padding: 15px 28px;
  text-decoration: none;
  border-radius: var(--radius-ui);
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-ouro svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-ouro:hover { background: var(--ouro2); transform: translateY(-1px); }

.btn-ghost {
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(247,244,238,0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--creme); }

.stat-num {
  font-family: var(--serif);
  font-size: var(--title-detail);
  font-weight: 600;
  color: var(--ouro);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: var(--label-md);
  font-weight: 400;
  letter-spacing: var(--cta-track);
  color: rgba(247,244,238,0.5);
  text-transform: uppercase;
}

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: calc(100vh - 92px);
  display: block;
  object-fit: contain;
  object-position: bottom center;
  filter: brightness(0.95);
}

/* ─── QUEM SOMOS ─── */
.sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 86px;
  align-items: center;
  padding: 100px var(--pad-x);
  background: var(--creme);
}

.sobre-img {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-video-card {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--verde);
  border: 1px solid rgba(194,160,100,0.16);
  border-radius: var(--radius-ui);
  box-shadow: 0 28px 80px rgba(11,35,24,0.16);
}

.sobre-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.72) saturate(0.92);
  cursor: pointer;
}

.sobre-video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11,35,24,0.82), rgba(11,35,24,0.12) 58%, rgba(11,35,24,0.28)),
    radial-gradient(circle at 50% 44%, rgba(194,160,100,0.18), transparent 30%);
  pointer-events: none;
}

.sobre-video-card.is-playing::after {
  opacity: 0;
}

.sobre-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,238,0.32);
  background: rgba(247,244,238,0.16);
  color: var(--ouro);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}

.sobre-video-play:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(247,244,238,0.24);
}

.sobre-video-play svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  margin-left: 4px;
}

.sobre-video-card.is-playing .sobre-video-play {
  opacity: 0;
}

.sobre-video-card.is-playing:hover .sobre-video-play {
  opacity: 1;
}

.sobre-img-overlay {
  display: none;
}

.sobre-txt {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--label-md);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ouro);
  font-weight: 500;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--ouro);
}

.section-label-muted {
  color: rgba(194,160,100,0.8);
}

.section-label-muted::before {
  background: rgba(194,160,100,0.8);
}

.sobre-txt h2 {
  font-family: var(--serif);
  font-size: var(--section-title);
  font-weight: 600;
  color: var(--verde);
  line-height: 1.1;
  max-width: 520px;
}

.sobre-txt h2 em { font-style: italic; color: var(--verde3); }

.sobre-txt p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--cinza2);
  line-height: 1.85;
  max-width: 520px;
}

.sobre-credentials {
  display: inline-flex;
  gap: 0;
  border-top: 1px solid rgba(11,35,24,0.18);
  margin-top: 12px;
  max-width: 520px;
  width: fit-content;
}

.sobre-stat {
  padding: 24px 34px 0 0;
  margin-right: 34px;
  border-right: 1px solid rgba(11,35,24,0.12);
}

.sobre-stat:last-child {
  border-right: none;
  margin-right: 0;
}

.sobre-stat .stat-num {
  color: var(--verde);
  font-size: 34px;
  margin-bottom: 8px;
}

.sobre-stat .stat-label {
  color: var(--cinza3);
  font-size: var(--label-sm);
}

/* ─── ÁREAS ─── */
.areas {
  padding: 100px var(--pad-x);
  background: var(--branco);
}

.areas-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.areas-header h2 {
  font-family: var(--serif);
  font-size: var(--section-title);
  font-weight: 600;
  color: var(--verde);
  line-height: 1.08;
}

.areas-header h2 em { font-style: italic; }

.areas-header p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--cinza3);
  line-height: 1.8;
}

.areas-carousel {
  position: relative;
}

.areas-viewport {
  overflow: hidden;
}

.areas-grid {
  display: flex;
  gap: 14px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.areas-grid::-webkit-scrollbar {
  display: none;
}

.area-card {
  flex: 0 0 calc((100% - 42px) / 4);
  background: var(--branco);
  border: 1px solid rgba(11,35,24,0.1);
  padding: 0 34px 36px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  cursor: pointer;
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.area-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--ouro);
  transition: width 0.3s ease;
}

.area-card:hover {
  background: #fdf9f0;
  border-color: rgba(194,160,100,0.35);
}
.area-card:hover::after { width: 100%; }

.area-media {
  margin: 0 -34px 30px;
  aspect-ratio: 16 / 7;
  position: relative;
  overflow: hidden;
  background: var(--verde2);
}

.area-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,35,24,0.05), rgba(11,35,24,0.28));
}

.area-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) saturate(0.25) contrast(0.95) brightness(0.92);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.area-card:hover .area-media img {
  transform: scale(1.04);
  filter: grayscale(0) saturate(0.95) contrast(1) brightness(1);
}

.area-card h3 {
  font-family: var(--serif);
  font-size: var(--title-card);
  font-weight: 600;
  color: var(--verde);
  margin-bottom: 12px;
  line-height: 1.2;
}

.area-card p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--cinza3);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.area-link {
  font-size: var(--label-md);
  font-weight: 600;
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  color: var(--ouro);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  transition: gap 0.2s;
}

.area-link:hover { gap: 10px; }

.areas-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.areas-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11,35,24,0.18);
  background: var(--branco);
  color: var(--verde);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ui);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.areas-arrow:hover {
  background: var(--verde);
  border-color: var(--verde);
  color: var(--ouro);
}

.areas-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── ADVOGADOS ─── */
.advogados {
  padding: 100px var(--pad-x);
  background: var(--verde);
}

.adv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 40px;
}

.adv-header h2 {
  font-family: var(--serif);
  font-size: var(--section-title);
  font-weight: 600;
  color: var(--creme);
  line-height: 1.08;
  margin-top: 16px;
}

.adv-header h2 em { font-style: italic; color: var(--ouro2); }

.adv-header p {
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(247,244,238,0.55);
  max-width: 280px;
  line-height: 1.75;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(194,160,100,0.2);
}

.adv-card {
  background: var(--verde2);
  display: grid;
  grid-template-columns: 260px 1fr;
  transition: background 0.3s;
}

.adv-card:hover {
  background: var(--verde3);
}

.adv-foto {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.adv-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
  filter: brightness(0.9) saturate(0.85);
}

.adv-card:hover .adv-foto img { transform: scale(1.04); filter: brightness(1) saturate(1); }

.adv-info {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.adv-nome {
  font-family: var(--serif);
  font-size: var(--title-panel);
  font-weight: 600;
  color: var(--creme);
  line-height: 1.1;
}

.adv-oab {
  font-size: var(--label-sm);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ouro);
  font-weight: 500;
  margin-bottom: 16px;
}

.adv-bio {
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(247,244,238,0.55);
  line-height: 1.7;
}

.adv-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.adv-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(194,160,100,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ouro);
  font-size: var(--text-sm);
  transition: all 0.2s;
}

.adv-social a:hover { background: rgba(194,160,100,0.15); border-color: var(--ouro); }

/* ─── UNIDADES ─── */
.unidades {
  padding: 60px var(--pad-x);
  background: var(--verde);
  position: relative;
  overflow: hidden;
}

.unidades::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(247,244,238,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

.unidades > * { position: relative; z-index: 1; }

.unidades-watermark {
  position: absolute;
  left: max(-460px, -24vw);
  top: 50%;
  transform: translateY(-50%);
  width: min(1380px, 94vw);
  height: auto;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}

.watermark-state {
  fill: none;
  stroke: rgba(240,213,138,0.45);
  stroke-width: 0.8;
}

.unidades-body {
  z-index: 2;
}

.unidades-header {
  margin-bottom: 24px;
}

.unidades-header h2 {
  font-family: var(--serif);
  font-size: var(--section-title);
  font-weight: 600;
  color: var(--creme);
  line-height: 1.08;
  margin-top: 16px;
}

.unidades-header h2 em { font-style: italic; color: var(--ouro2); }

.unidades-intro {
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(247,244,238,0.62);
  line-height: 1.75;
  margin-bottom: 28px;
}

.unidades-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}

.unidades-map {
  position: relative;
  isolation: isolate;
}

.unidades-map::before {
  content: '';
  position: absolute;
  inset: -32px;
  background: radial-gradient(ellipse at center, rgba(11,35,24,0.86) 0%, rgba(11,35,24,0.72) 54%, rgba(11,35,24,0) 78%);
  z-index: -1;
  pointer-events: none;
}

.unidades-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.br-state {
  fill: rgba(247,244,238,0.14);
  stroke: rgba(247,244,238,0.18);
  stroke-width: 0.5;
  transition: fill 0.2s;
}

.br-active {
  fill: rgba(194,160,100,0.18);
  stroke: rgba(194,160,100,0.65);
  stroke-width: 1;
  cursor: pointer;
}

.br-active:hover { fill: rgba(194,160,100,0.36); }

.br-selected {
  fill: rgba(194,160,100,0.62) !important;
  stroke: var(--ouro) !important;
  stroke-width: 1.5;
}

.br-label {
  font-size: var(--label-xs);
  font-family: var(--sans);
  font-weight: 700;
  fill: var(--creme);
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
  opacity: 0.85;
}

.br-pulse {
  fill: none;
  stroke: var(--ouro);
  stroke-width: 1.5;
  pointer-events: none;
  animation: mapPulse 1.9s ease-out infinite;
}

.br-pulse-dot {
  fill: var(--ouro);
  opacity: 0.85;
  pointer-events: none;
}

@keyframes mapPulse {
  0% { r: 4; opacity: 0.65; }
  70% { r: 22; opacity: 0; }
  100% { r: 22; opacity: 0; }
}

/* Panel */
.unidades-panel {
  position: sticky;
  top: 100px;
  margin-top: clamp(110px, 7.5vw, 145px);
}

.unidades-list { border: 1px solid rgba(194,160,100,0.18); }

.ul-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(18,45,32,0.92);
  border-bottom: 1px solid rgba(194,160,100,0.12);
  cursor: pointer;
  transition: background 0.2s, border-left 0.2s;
  border-left: 2px solid transparent;
}

.ul-item:last-child { border-bottom: none; }
.ul-item:hover { background: rgba(26,61,42,0.95); }
.ul-item.active {
  background: rgba(194,160,100,0.12);
  border-left-color: var(--ouro);
}

.ul-name { font-size: var(--text-md); font-weight: 400; color: var(--creme); }

.ul-tipo {
  font-size: var(--label-xs);
  font-weight: 600;
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  color: rgba(247,244,238,0.35);
}

.ul-tipo.sede { color: var(--ouro); }

/* Detail panel */
.unidades-detail { display: none; flex-direction: column; }
.unidades-detail.visible { display: flex; }

.ud-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--label-sm);
  font-weight: 600;
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ouro);
  cursor: pointer;
  background: rgba(194,160,100,0.08);
  border: 1px solid rgba(194,160,100,0.28);
  padding: 11px 14px;
  margin-bottom: 34px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: var(--sans);
  align-self: flex-start;
  border-radius: var(--radius-ui);
}

.ud-back:hover {
  color: var(--verde);
  background: var(--ouro);
  border-color: var(--ouro);
}

.ud-tipo {
  font-size: var(--label-xs);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ouro);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ud-tipo::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ouro);
}

.ud-estado {
  font-family: var(--serif);
  font-size: var(--title-detail);
  font-weight: 600;
  color: var(--creme);
  line-height: 1;
  margin-bottom: 4px;
}

.ud-cidade {
  font-size: var(--label-md);
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  color: rgba(247,244,238,0.4);
  margin-bottom: 10px;
}

.ud-oab {
  font-size: var(--label-sm);
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  color: rgba(247,244,238,0.48);
  margin-bottom: 28px;
  line-height: 1.8;
}

.ud-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(194,160,100,0.16);
  padding-top: 24px;
  margin-bottom: 28px;
}

.ud-row { display: flex; gap: 14px; align-items: flex-start; }

.ud-row svg {
  width: 17px; height: 17px;
  stroke: var(--ouro); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; margin-top: 2px;
}

.ud-row p {
  font-size: var(--text-md);
  font-weight: 300;
  color: rgba(247,244,238,0.66);
  line-height: 1.7;
}

.ud-cta {
  background: var(--ouro);
  color: var(--verde);
  font-size: var(--label-md);
  font-weight: 600;
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  padding: 14px 22px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  align-self: flex-start;
  border-radius: var(--radius-ui);
}

.ud-cta:hover { background: var(--ouro2); }

/* ─── NOTÍCIAS ─── */
.noticias {
  padding: 100px var(--pad-x);
  background: var(--branco);
}

.noticias-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 40px;
}

.noticias-header h2 {
  font-family: var(--serif);
  font-size: var(--section-title);
  font-weight: 600;
  color: var(--verde);
  line-height: 1.1;
  margin-top: 16px;
}

.noticias-header h2 em { font-style: italic; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-status {
  grid-column: 1 / -1;
  min-height: 220px;
  padding: 42px;
  border: 1px solid rgba(11,35,24,0.1);
  background: var(--creme);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--verde);
}

.news-status strong {
  font-family: var(--serif);
  font-size: var(--title-card);
  font-weight: 600;
}

.news-status span {
  max-width: 560px;
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.7;
  color: var(--cinza3);
}

.news-status.is-error {
  border-color: rgba(138,45,32,0.2);
}

.news-card {
  background: var(--branco);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(11,35,24,0.1);
  display: flex;
  flex-direction: column;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  cursor: pointer;
}

.news-card:hover {
  background: var(--creme);
  border-color: rgba(194,160,100,0.35);
  transform: translateY(-2px);
}

.news-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.news-img.news-img--placeholder {
  background:
    radial-gradient(circle at 78% 18%, rgba(194,160,100,0.26), transparent 34%),
    linear-gradient(135deg, var(--verde), #173d2b);
}

.news-img.news-img--placeholder::after {
  content: 'BD';
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
  color: rgba(247,244,238,0.1);
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img img { transform: scale(1.05); }

.news-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-size: var(--label-xs);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  font-weight: 600;
  background: var(--ouro);
  color: var(--verde);
  padding: 5px 10px;
}

.news-body {
  padding: 26px 28px 34px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.news-data {
  font-size: var(--label-sm);
  font-weight: 600;
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 12px;
}

.news-title {
  font-family: var(--serif);
  font-size: var(--title-card);
  font-weight: 600;
  color: var(--verde);
  line-height: 1.25;
  margin-bottom: 14px;
}

.news-excerpt {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--cinza3);
  line-height: 1.7;
  margin-top: auto;
}

/* ─── AVALIAÇÕES ─── */
.avaliacoes {
  padding: 100px var(--pad-x);
  background: var(--creme);
}

.avaliacoes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}

.avaliacoes-header h2 {
  font-family: var(--serif);
  font-size: var(--section-title);
  font-weight: 600;
  color: var(--verde);
  line-height: 1.08;
  margin-top: 16px;
}

.avaliacoes-header h2 em { font-style: italic; }

.avaliacoes-header p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--cinza3);
  line-height: 1.75;
  max-width: 360px;
}

.avaliacoes-carousel {
  position: relative;
}

.avaliacoes-viewport {
  overflow: hidden;
}

.avaliacoes-grid {
  display: flex;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.avaliacoes-grid::-webkit-scrollbar {
  display: none;
}

.avaliacao-card {
  flex: 0 0 calc((100% - 36px) / 3);
  background: var(--branco);
  border: 1px solid rgba(11,35,24,0.1);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  scroll-snap-align: start;
}

.avaliacao-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.avaliacao-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.avaliacao-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef1f5;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(11,35,24,0.06);
}

.avaliacao-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.avaliacao-google {
  font-size: var(--label-xs);
  font-weight: 600;
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  color: var(--cinza4);
}

.avaliacao-stars {
  color: var(--ouro);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.avaliacao-texto {
  font-family: var(--sans);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--verde);
  line-height: 1.55;
  margin-bottom: 28px;
  flex: 1;
}

.avaliacao-meta {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(11,35,24,0.1);
}

.avaliacao-nome {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--verde);
  margin-bottom: 5px;
}

.avaliacao-origem {
  display: block;
  font-size: var(--label-sm);
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  color: var(--ouro);
}

.avaliacoes-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.avaliacoes-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11,35,24,0.18);
  background: var(--creme);
  color: var(--verde);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ui);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.avaliacoes-arrow:hover {
  background: var(--verde);
  border-color: var(--verde);
  color: var(--ouro);
}

.avaliacoes-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── CONTATO ─── */
.contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.contato-left {
  position: relative;
  overflow: hidden;
  background: var(--verde);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.contato-left-bg {
  position: absolute;
  inset: 0;
  background: url('midias/banner-baixo-2.png.webp') center/cover no-repeat;
  opacity: 0.15;
}

.contato-left > * { position: relative; z-index: 2; }

.contato-left h2 {
  font-family: var(--serif);
  font-size: var(--section-title);
  font-weight: 600;
  color: var(--creme);
  line-height: 1.15;
}

.contato-left h2 em { font-style: italic; color: var(--ouro2); }

.contato-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ci-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(194,160,100,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg { width: 20px; height: 20px; stroke: var(--ouro); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ci-info h5 {
  font-size: var(--label-xs);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ouro);
  font-weight: 500;
  margin-bottom: 4px;
}

.ci-info p {
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(247,244,238,0.8);
}

.ci-info a {
  color: rgba(247,244,238,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.ci-info a:hover { color: var(--ouro2); }

.contato-right {
  background: var(--creme);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.contato-right .form-field {
  position: relative;
}

.contato-right h3 {
  font-family: var(--serif);
  font-size: var(--title-panel);
  font-weight: 600;
  color: var(--verde);
  line-height: 1.25;
  margin-bottom: 4px;
}

.contato-right > p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--cinza3);
  margin-bottom: 8px;
}

.form-field label {
  display: block;
  font-size: var(--label-sm);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--verde);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--branco);
  border: 1px solid #ddd;
  padding: 13px 16px;
  font-size: var(--text-md);
  font-family: var(--sans);
  color: var(--verde);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: var(--radius-ui);
}

.form-input:focus { border-color: var(--ouro); }
.form-input::placeholder { color: var(--cinza4); }
.form-input option { color: var(--verde); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-enviar {
  background: var(--verde);
  color: var(--ouro);
  border: none;
  padding: 15px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  font-family: var(--sans);
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
  border-radius: var(--radius-ui);
  transition: background 0.2s;
}

.btn-enviar:hover { background: var(--verde3); }

.form-textarea { resize: vertical; line-height: 1.6; }

.inline-cta { align-self: flex-start; margin-top: 8px; }

/* ─── MODAL ANÁLISE GRATUITA ─── */
.analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px clamp(18px, 4vw, 56px);
}

.analysis-modal.open { display: flex; }

.analysis-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,15,10,0.46);
  backdrop-filter: blur(5px);
}

.analysis-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 36px));
  height: min(640px, calc(100vh - 56px));
  overflow: hidden;
  background: var(--branco);
  border: 1px solid rgba(11,35,24,0.08);
  box-shadow: 0 28px 90px rgba(0,0,0,0.28);
  padding: 0;
  overscroll-behavior: contain;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.analysis-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255,255,255,0.88);
  background: transparent;
  color: var(--branco);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  z-index: 3;
}

.analysis-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 64px 16px 20px;
  margin-bottom: 0;
  background: #3e9d4b;
  color: var(--branco);
  flex-shrink: 0;
}

.analysis-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--branco);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18);
  position: relative;
  display: grid;
  place-items: center;
}

.analysis-avatar::before {
  content: 'BD';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: #3e9d4b;
  z-index: 0;
}

.analysis-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.analysis-agent strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--branco);
  margin-bottom: 5px;
}

.analysis-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.88);
}

.analysis-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18);
}

.analysis-kicker {
  font-size: var(--label-sm);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ouro);
  font-weight: 600;
  margin-bottom: 12px;
}

.analysis-dialog h3 {
  font-family: var(--serif);
  font-size: var(--title-panel);
  font-weight: 600;
  color: var(--verde);
  line-height: 1.18;
  margin-bottom: 10px;
}

.analysis-dialog p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--cinza3);
  line-height: 1.7;
  margin-bottom: 24px;
}

.analysis-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
  padding: 24px 24px 16px;
  background: var(--branco);
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-color: #3e9d4b transparent;
  scrollbar-width: thin;
}

.analysis-bubble {
  max-width: 86%;
  padding: 14px 18px;
  font-size: var(--text-md);
  line-height: 1.48;
  border-radius: 20px;
  position: relative;
  box-shadow: none;
  white-space: pre-line;
}

.analysis-bubble.bot {
  align-self: flex-start;
  background: #eeeeee;
  color: #151515;
  border: none;
  border-bottom-left-radius: 8px;
}

.analysis-bubble.user {
  align-self: flex-end;
  background: #46ad50;
  color: var(--branco);
  border-bottom-right-radius: 8px;
  font-weight: 500;
}

.analysis-bubble.bot::after,
.analysis-bubble.user::after {
  display: none;
}

.analysis-bubble.bot::after {
  left: -4px;
  background: var(--branco);
  border-left: 1px solid rgba(11,35,24,0.1);
  border-bottom: 1px solid rgba(11,35,24,0.1);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.analysis-bubble.user::after {
  right: -4px;
  background: var(--verde);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.analysis-typing {
  align-self: flex-start;
  display: none;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
  background: #eeeeee;
  border: none;
  border-radius: 20px;
}

.analysis-typing.visible { display: inline-flex; }

.analysis-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9d9d9d;
  animation: typingDot 0.9s infinite ease-in-out;
}

.analysis-typing span:nth-child(2) { animation-delay: 0.12s; }
.analysis-typing span:nth-child(3) { animation-delay: 0.24s; }

@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.analysis-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

.analysis-progress span {
  height: 4px;
  background: rgba(62,157,75,0.18);
}

.analysis-progress span.active {
  background: #3e9d4b;
}

.analysis-step { display: none; }
.analysis-step.active {
  display: block;
  animation: answerIn 0.32s ease both;
}

#analysisForm {
  padding: 0 24px 18px;
  background: var(--branco);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

#analysisForm .form-field > label {
  display: none;
}

#analysisForm .form-input {
  border: 3px solid #46ad50;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: var(--text-base);
  background: var(--branco);
  color: #151515;
}

#analysisForm .form-input:focus {
  border-color: #3e9d4b;
}

.analysis-step-question {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--verde);
  margin-bottom: 12px;
}

.analysis-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.analysis-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 17px;
  border: none;
  background: #46ad50;
  font-size: var(--text-sm);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--branco);
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(11,35,24,0.12);
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.analysis-step.active .analysis-options label {
  animation: optionIn 0.28s ease both;
}

.analysis-step.active .analysis-options label:nth-child(2) { animation-delay: 0.04s; }
.analysis-step.active .analysis-options label:nth-child(3) { animation-delay: 0.08s; }
.analysis-step.active .analysis-options label:nth-child(4) { animation-delay: 0.12s; }
.analysis-step.active .analysis-options label:nth-child(5) { animation-delay: 0.16s; }
.analysis-step.active .analysis-options label:nth-child(6) { animation-delay: 0.2s; }

.analysis-options label.selected {
  background: var(--verde);
  color: var(--ouro2);
  transform: translateY(-1px);
}

.analysis-options input {
  display: none;
}

.analysis-other-bank {
  display: none;
}

.analysis-other-bank.visible {
  display: block;
}

.analysis-step.other-bank-mode .analysis-options {
  display: none;
}

.analysis-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

.analysis-btn {
  border: none;
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  padding: 14px 18px;
  cursor: pointer;
  border-radius: 999px;
}

.analysis-btn.primary {
  background: #46ad50;
  color: var(--branco);
  min-width: 140px;
  box-shadow: 0 8px 18px rgba(11,35,24,0.16);
}

.analysis-btn:disabled,
.btn-enviar:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.analysis-btn.secondary {
  background: transparent;
  color: var(--verde);
  border: none;
  padding-left: 0;
}

.analysis-error {
  display: none;
  margin-top: 14px;
  font-size: var(--text-xs);
  color: #8a2d20;
  background: #fff4f1;
  padding: 10px 12px;
  border-radius: 12px;
}

.analysis-error.visible { display: block; }

.analysis-phone-row {
  display: flex;
  align-items: stretch;
  border: 3px solid #46ad50;
  border-radius: 999px;
  overflow: hidden;
  background: var(--branco);
  position: relative;
  z-index: 3;
}

.analysis-ddi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  padding: 0 16px 0 18px;
  background: transparent;
  color: var(--verde);
  border: 0;
  border-right: 1px solid rgba(11,35,24,0.12);
  border-radius: 0;
  font-size: var(--text-sm);
  font-weight: 600;
}

.analysis-flag-br {
  position: relative;
  width: 18px;
  height: 12px;
  background: #16833a;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.analysis-flag-br::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #f1c84b;
  transform: translate(-50%, -50%) rotate(45deg);
}

.analysis-flag-br::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: #263b8f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.analysis-phone-row .form-input {
  border: 0 !important;
  border-radius: 0;
  padding-left: 18px !important;
  box-shadow: none;
}

.analysis-privacy {
  margin-top: 14px;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--cinza3);
}

.analysis-privacy a {
  color: var(--verde);
  text-decoration: underline;
}

.analysis-complete {
  display: none;
  margin-top: 22px;
}

.analysis-complete.visible { display: block; }

.analysis-complete .analysis-bubble {
  margin-bottom: 18px;
  font-weight: 600;
}

.analysis-redirect-note {
  margin-top: 14px !important;
  margin-bottom: 12px !important;
  color: var(--verde);
}

.analysis-progressbar {
  height: 3px;
  background: rgba(11,35,24,0.12);
  overflow: hidden;
  border-radius: 999px;
}

.analysis-progressbar span {
  display: block;
  width: 0;
  height: 100%;
  background: #46ad50;
}

.analysis-progressbar.running span {
  animation: redirectProgress 5s linear forwards;
}

@keyframes redirectProgress {
  to { width: 100%; }
}

@keyframes answerIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes optionIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── FOOTER ─── */
footer {
  background: #070f0a;
  padding: 64px var(--pad-x) 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(194,160,100,0.1);
  margin-bottom: 36px;
}

.footer-brand img { height: 50px; width: auto; margin-bottom: 20px; }

.footer-brand p {
  font-size: var(--text-md);
  font-weight: 300;
  color: rgba(247,244,238,0.35);
  line-height: 1.8;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(194,160,100,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247,244,238,0.5);
  font-size: var(--text-md);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social a:hover { border-color: var(--ouro); color: var(--ouro); }

.footer-security {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(194,160,100,0.18);
  color: rgba(247,244,238,0.62);
  border-radius: var(--radius-ui);
}

.footer-security svg {
  width: 20px;
  height: 20px;
  stroke: var(--ouro);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer-security strong {
  display: block;
  font-size: var(--label-sm);
  font-weight: 600;
  letter-spacing: var(--cta-track);
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 2px;
}

.footer-security span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 300;
}

.footer-col h5 {
  font-size: var(--label-xs);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ouro);
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: var(--text-md);
  font-weight: 300;
  color: rgba(247,244,238,0.4);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: rgba(247,244,238,0.8); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: var(--label-md);
  font-weight: 300;
  color: rgba(247,244,238,0.25);
}

/* ─── WHATSAPP ─── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ─── SCROLL REVEAL ─── */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-loaded .reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  nav { padding: 0 32px; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 0 32px; }
  .hero-right { display: none; }
  .sobre { grid-template-columns: 1fr; padding: 80px 32px; gap: 48px; }
  .sobre-img { min-height: 0; }
  .sobre-img-overlay { display: none; }
  .sobre-video-card { width: min(500px, 100%); }
  .sobre-txt { padding: 0; }
  .areas { padding: 80px 32px; }
  .areas-header { grid-template-columns: 1fr; gap: 20px; }
  .area-card { flex-basis: calc((100% - 14px) / 2); }
  .advogados { padding: 80px 32px; }
  .adv-header { flex-direction: column; align-items: flex-start; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card { grid-template-columns: 200px 1fr; }
  .unidades { padding: 80px 32px; }
  .unidades-body { grid-template-columns: 1fr; gap: 48px; }
  .unidades-panel { position: static; margin-top: 0; }
  .noticias { padding: 80px 32px; }
  .noticias-header { flex-direction: column; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; }
  .news-status { min-height: 180px; padding: 32px 20px; }
  .avaliacoes { padding: 80px 32px; }
  .avaliacoes-header { flex-direction: column; align-items: flex-start; }
  .avaliacao-card { flex-basis: calc((100% - 18px) / 2); }
  .contato { grid-template-columns: 1fr; }
  .contato-left, .contato-right { padding: 60px 32px; }
  footer { padding: 60px 32px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--verde);
    border-left: 1px solid rgba(194,160,100,0.15);
    padding: 100px 36px 40px;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 205;
    box-shadow: -12px 0 40px rgba(0,0,0,0.5);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: var(--mobile-nav);
    font-weight: 400;
    letter-spacing: var(--mobile-nav-track);
    color: rgba(247,244,238,0.75);
    padding: 15px 0;
    border-bottom: 1px solid rgba(194,160,100,0.1);
  }
  .nav-links .nav-cta {
    margin-top: 16px;
    text-align: center;
    padding: 13px 24px;
    color: var(--verde) !important;
    background: var(--ouro);
    border-bottom: none;
    font-size: var(--text-sm);
  }
  .analysis-modal {
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }
  .analysis-dialog {
    width: min(100%, 430px);
    height: auto;
    max-height: calc(var(--analysis-screen-h, 100vh) - 24px);
    border-radius: 16px;
  }
  @supports (height: 100svh) {
    .analysis-dialog {
      max-height: calc(100svh - 24px);
    }
  }
  @supports (height: 100dvh) {
    .analysis-dialog {
      max-height: calc(100dvh - 24px);
    }
  }
  .analysis-agent {
    padding: 14px 58px 14px 18px;
    min-height: 76px;
  }
  .analysis-avatar {
    width: 44px;
    height: 44px;
  }
  .analysis-agent strong {
    font-size: var(--text-sm);
    margin-bottom: 3px;
  }
  .analysis-status { font-size: 12px; }
  .analysis-chat {
    flex: 1 1 auto;
    min-height: 170px;
    max-height: clamp(170px, calc(var(--analysis-screen-h, 100vh) - 330px), 360px);
    padding: 20px 18px 12px;
    gap: 12px;
  }
  @supports (height: 100svh) {
    .analysis-chat {
      max-height: clamp(170px, calc(100svh - 330px), 360px);
    }
  }
  @supports (height: 100dvh) {
    .analysis-chat {
      max-height: clamp(170px, calc(100dvh - 330px), 360px);
    }
  }
  .analysis-bubble {
    max-width: 94%;
    padding: 13px 16px;
    font-size: var(--text-base);
    line-height: 1.44;
  }
  #analysisForm {
    padding: 0 18px 16px;
    flex: 0 1 auto;
    max-height: min(48vh, 330px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  @supports (height: 100dvh) {
    #analysisForm {
      max-height: min(48dvh, 330px);
    }
  }
  #analysisForm .form-input {
    font-size: var(--text-base);
    padding: 15px 18px;
  }
  .analysis-options {
    justify-content: flex-end;
    gap: 10px;
  }
  .analysis-options label {
    flex: 0 1 auto;
    max-width: 100%;
    text-align: center;
    font-size: var(--text-sm);
    padding: 13px 18px;
  }
  .analysis-actions {
    margin-top: 8px;
  }
  .analysis-btn.primary {
    min-width: 136px;
  }
  .analysis-privacy {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.45;
  }
  .area-card { flex-basis: 100%; }
  .sobre { padding: 72px 24px; gap: 36px; }
  .sobre-video-play { width: 62px; height: 62px; }
  .avaliacao-card { flex-basis: 100%; min-height: auto; }
  .avaliacoes-controls { justify-content: flex-start; }
  .adv-card { grid-template-columns: 1fr; }
  .adv-foto { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) and (max-height: 740px) {
  .analysis-modal {
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }
  .analysis-dialog {
    width: min(100%, 420px);
    border-radius: 14px;
  }
  .analysis-agent {
    min-height: 66px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .analysis-avatar {
    width: 38px;
    height: 38px;
  }
  .analysis-chat {
    min-height: 130px;
    max-height: clamp(130px, calc(var(--analysis-screen-h, 100vh) - 300px), 260px);
    padding: 14px 14px 10px;
    gap: 10px;
  }
  .analysis-bubble {
    padding: 11px 14px;
  }
  #analysisForm {
    padding: 0 14px 12px;
    max-height: min(50vh, 300px);
  }
  .analysis-privacy {
    font-size: 11px;
    line-height: 1.4;
  }
}

/* ─── ANIMAÇÕES HERO ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero h1     { animation: fadeUp 0.7s 0.45s ease both; }
.hero-desc   { animation: fadeUp 0.7s 0.6s ease both; }
.hero-btns   { animation: fadeUp 0.6s 0.75s ease both; }

/* Compatibilidade com WordPress, Elementor Canvas e barra administrativa. */
body.elementor-page .elementor,
body.elementor-page .elementor-element,
body.elementor-page .elementor-widget-html,
body.elementor-page .elementor-widget-html .elementor-widget-container {
  width: 100%;
  max-width: none;
}

body.elementor-page .elementor-element.e-con {
  --padding-top: 0;
  --padding-right: 0;
  --padding-bottom: 0;
  --padding-left: 0;
  --gap: 0;
}

/* O efeito de entrada da Hostinger cria uma camada sobre o menu fixo. */
body.elementor-page .elementor > .e-con:first-child,
body.elementor-page .elementor > .e-con:first-child .elementor-widget-html {
  z-index: 1000 !important;
  transform: none !important;
}

/* Libera o modal do chat da camada animada criada pelo tema Hostinger. */
body.elementor-page .elementor > .e-con:has(.analysis-modal) {
  position: relative !important;
  z-index: 2147483000 !important;
  transform: none !important;
  opacity: 1 !important;
  overflow: visible !important;
}

body.elementor-page .elementor > .e-con:has(.analysis-modal) .elementor-widget-html,
body.elementor-page .elementor > .e-con:has(.analysis-modal) .elementor-widget-container {
  transform: none !important;
  overflow: visible !important;
}

body.admin-bar nav { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}

/* Evita que estilos padrão do Elementor alterem botões e imagens do projeto. */
body.elementor-page .elementor-widget-html a { box-shadow: none; }
body.elementor-page .elementor-widget-html img { max-width: 100%; }
body.elementor-page nav .nav-logo { flex: 0 0 auto; }
body.elementor-page nav .nav-logo img {
  width: auto !important;
  height: 58px !important;
  max-width: none !important;
}
body.elementor-page footer .footer-brand img {
  width: auto !important;
  height: 50px !important;
  max-width: none !important;
}

/* Contatos longos precisam quebrar em telas estreitas. */
.contato-item .ci-info { min-width: 0; }
.contato-item .ci-info p,
.contato-item .ci-info a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
