/* ===== FONTE LOCAL ENVIRONMENT ===== */
@font-face {
  font-family: 'Environment';
  src: url('../fonts/Environment-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Environment';
  src: url('../fonts/Environment-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== TOKENS E SISTEMA DE DESIGN ===== */
:root {
  /* Base - Cores de Fundo e Texto */
  --bg-0: #0a0a0a;
  /* Fundo principal escuro */
  --bg-1: #111214;
  /* Superfície secundária */
  --bg-2: #18191c;
  /* Superfície elevada / Card */
  --bg-light: #ffffff;
  /* Fundo claro */
  --bg-light-1: #f8f9fa;
  /* Fundo claro secundário */

  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-light: rgba(0, 0, 0, 0.08);
  --stroke-2: rgba(255, 255, 255, 0.15);

  --text-1: #ffffff;
  /* Títulos sobre escuro */
  --text-2: #a1a1aa;
  /* Corpo sobre escuro */
  --text-3: #71717a;
  /* Descrições e labels */

  --text-dark-1: #111214;
  /* Títulos sobre claro */
  --text-dark-2: #4b5563;
  /* Corpo sobre claro */

  /* Assinatura Visual */
  --accent: #d61f69;
  /* Rosa/Magenta da Identidade */
  --accent-rgb: 214, 31, 105;

  --accent-cta: #D2F453;
  /* Verde Lima Neon para CTAs */
  --accent-cta-ink: #0a0a0a;

  --accent-sec: #7df916;
  /* Verde Neon para ações de atendimento e ícones */
  --accent-sec-rgb: 125, 249, 22;
  --glow: rgba(214, 31, 105, 0.45);

  /* Fontes */
  --font-display: 'Environment', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Environment', system-ui, sans-serif;

  /* Escala e Ritmo */
  --radius: 16px;
  --shell: min(1240px, 92vw);
  --section-y: clamp(4rem, 7vw, 6.5rem);

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET E BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-0);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-1);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===== TOPBAR DE WIDGETS ===== */
.topbar-widgets {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: #e4e4e7;
  z-index: 102;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

body.scrolled-mode .topbar-widgets {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  font-size: 1.1rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  line-height: 1;
}

.topbar-icon {
  color: var(--accent-sec);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.topbar-icon svg {
  display: block;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.topbar-social-link {
  color: var(--accent-sec);
  font-size: 1rem;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.topbar-social-link:hover {
  color: #ffffff;
  transform: scale(1.15);
}

/* ===== COMPONENTES / BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-arrow .btn-text {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-arrow .btn-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(0);
}

.btn-arrow:hover .btn-text {
  transform: translateX(-3px);
}

.btn-arrow:hover .btn-icon {
  transform: translateX(3px);
}

.btn-banner-cta {
  background-color: var(--accent-cta);
  color: var(--accent-cta-ink);
  box-shadow: 0 4px 25px rgba(210, 244, 83, 0.4);
}

.btn-banner-cta:hover {
  background-color: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 6px 35px rgba(255, 255, 255, 0.6);
}

.btn-solid {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
}

.btn-solid:hover {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 6px 30px rgba(var(--accent-rgb), 0.5);
}

.btn-whatsapp {
  background-color: var(--accent-sec);
  color: #051400;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(var(--accent-sec-rgb), 0.4);
  font-size: 1rem;
}

.btn-whatsapp:hover {
  background-color: #051400;
  color: var(--accent-sec);
  border-color: var(--accent-sec);
  box-shadow: 0 6px 24px rgba(var(--accent-sec-rgb), 0.6);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
}

/* ===== EFEITO DE GRADE ===== */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
}

.accent-text {
  color: var(--accent);
  display: inline-block;
}

/* ===== SEÇÕES ===== */
section {
  padding: var(--section-y) 0;
  position: relative;
}

/* --- HEADER --- */
.header-main {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-main.scrolled {
  top: 0;
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px;
  transition: var(--transition);
}

.header-main.scrolled .header-container {
  height: 70px;
}

.logo-img {
  max-height: 68px;
  width: auto;
  filter: brightness(1.7) contrast(1.25);
  transition: var(--transition);
}

.header-main.scrolled .logo-img {
  max-height: 46px;
}

.nav-list {
  display: none;
  list-style: none;
  align-items: center;
}

.nav-item-wrapper {
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  padding: 0.5rem 0.6rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.menu-divider {
  width: 1px;
  height: 10px;
  background-color: var(--accent);
  margin: 0 0.8rem;
  opacity: 0.8;
  display: inline-block;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text-1);
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: rgba(17, 18, 20, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 85px;
  padding-bottom: 2.5rem;
  gap: 2rem;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav .nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav-widgets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1rem;
  width: 100%;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--stroke);
}

.mobile-widget-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--text-2);
  text-decoration: none;
  text-align: center;
  font-family: var(--font-body);
}

.mobile-widget-item svg {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--accent-sec);
  flex-shrink: 0;
}

/* --- HERO BANNER --- */
.hero-slider-section {
  position: relative;
  min-height: 75vh;
  height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-0);
  padding-top: 120px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  background-size: cover;
  background-position: center;
}

.slide-1 {
  background-image: url('../img/banner-1.jpg');
}

.slide-2 {
  background-image: url('../img/banner-2.jpg');
}

.slide-3 {
  background-image: url('../img/banner-3.jpg');
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.55) 60%, rgba(10, 10, 10, 0.8) 100%);
  z-index: 1;
}

.hero-slide-container {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 760px;
  transform: translateY(25px);
  opacity: 0;
  transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.2rem;
  background-color: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #7df916;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  box-shadow: 0 0 12px #7df916, 0 0 4px #ffffff;
  animation: pulse-green 1.8s infinite;
  flex-shrink: 0;
}

.pulse-dot-pink {
  background-color: #d61f69 !important;
  box-shadow: 0 0 12px #d61f69, 0 0 20px rgba(214, 31, 105, 0.7) !important;
  animation: pulse-pink 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(125, 249, 22, 0.95), 0 0 10px #7df916;
  }

  70% {
    transform: scale(1.25);
    box-shadow: 0 0 0 10px rgba(125, 249, 22, 0), 0 0 16px rgba(125, 249, 22, 0.9);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(125, 249, 22, 0), 0 0 10px #7df916;
  }
}

@keyframes pulse-pink {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(214, 31, 105, 0.85), 0 0 10px #d61f69;
  }

  50% {
    transform: scale(1.22);
    box-shadow: 0 0 0 12px rgba(214, 31, 105, 0), 0 0 22px rgba(214, 31, 105, 0.8);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(214, 31, 105, 0), 0 0 10px #d61f69;
  }
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.slider-controls {
  position: absolute;
  bottom: calc(clamp(60px, 6.6vw, 130px) + 1.5rem);
  right: 5%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 35px;
  border-radius: 8px;
  background-color: var(--accent-cta);
  box-shadow: 0 0 15px rgba(210, 244, 83, 0.6);
}

.hero-wave-divider {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(60px, 6.6vw, 130px);
  line-height: 0;
  z-index: 8;
  pointer-events: none;
}

.hero-wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-wave-divider .wave-mobile {
  display: none;
}

.scroll-mouse-indicator {
  position: absolute;
  left: 50%;
  bottom: 51%;
  transform: translateX(-50%);
}

.scroll-mouse {
  display: block;
  width: clamp(18px, 1.5vw, 26px);
  height: clamp(29px, 2.4vw, 42px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 11px;
  position: relative;
  box-shadow: 0 4px 18px rgba(10, 10, 10, 0.25);
}

.scroll-mouse-wheel {
  position: absolute;
  top: 16%;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background-color: var(--accent-cta);
  transform: translateX(-50%);
  animation: scrollWheel 1.8s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    top: 16%;
  }

  70% {
    opacity: 0;
    top: 53%;
  }

  100% {
    opacity: 0;
    top: 16%;
  }
}

/* --- DOBRA 2: SOBRE NÓS --- */
.about-section {
  background-color: var(--bg-light);
  color: var(--text-dark-2);
  position: relative;
  z-index: 5;
  padding: 4.5rem 0 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 480px;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
  padding: 10px;
  border: none;
}

.about-img-frame img {
  width: 100%;
  border-radius: calc(var(--radius) - 6px) !important;
  object-fit: cover;
  display: block;
  transition: none !important;
}

.about-img-frame:hover img {
  transform: none !important;
}

.about-content h2 {
  color: var(--text-dark-1);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.about-subtitle {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
  display: block;
  line-height: 1.4;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark-2);
  line-height: 1.7;
}

/* Divisor em curva desativado na saída da 2ª dobra (Item 3 - Print 3) */
.wave-section-divider {
  display: none !important;
}

/* --- DOBRA 3: PRINCIPAIS ÁREAS --- */
.main-services-section {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%),
    url('../img/direito-civil-criminal-familias-e-sucessoes.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--stroke);
  padding: var(--section-y) 0;
}

.main-services-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.services-cards-flex-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .services-cards-flex-row {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

.services-nav-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  height: 100%;
}

.service-nav-item {
  padding: 1.35rem 1.6rem;
  border-radius: 8px;
  border: none;
  border-left: 3px solid rgba(255, 255, 255, 0.12);
  background: rgba(24, 25, 28, 0.4);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.service-nav-item:hover {
  transform: translateX(6px);
  background: rgba(214, 31, 105, 0.08);
  border-left-color: rgba(214, 31, 105, 0.6);
}

.service-nav-item::before {
  display: none !important;
}

.service-nav-item.active {
  border-left-color: var(--accent);
  background: rgba(214, 31, 105, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-nav-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-weight: 700;
}

.service-nav-item .num-pink {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  margin-right: 0.65rem;
  font-size: 1.15rem;
}

.service-nav-item p {
  font-size: 1.2rem;
  color: var(--text-2);
  line-height: 1.6;
}

.service-nav-item.active p {
  color: var(--text-1);
}

.services-visual-card {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  height: 100%;
  align-self: center;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--stroke-2);
  position: relative;
  transition: var(--transition);
}

/* Efeitos de verde e rosa removidos do card a direita (Item 5) */
.services-visual-card::after {
  display: none !important;
}

.panel-content {
  padding: 2.5rem;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.45) 70%, transparent 100%);
  width: 100%;
  z-index: 2;
}

/* --- DOBRA 4: OUTRAS ÁREAS (BORDA MAIS FINA E TRANSIÇÃO GLOW SUAVE .4s - ITEM 4) --- */
@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* --- DOBRA 4: OUTRAS ÁREAS (FUNDO ESCURO ORIGINAL) --- */
.other-services-wrapper {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.92) 100%),
    url('../img/sd_2709.png') center/cover no-repeat fixed !important;
  padding: var(--section-y) 0;
  color: #ffffff;
}

.other-services-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/dri.jpg') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.other-services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.other-services-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  color: #ffffff !important;
}

.other-services-header p {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.other-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Cards com Borda Animada em Fundo Escuro */
.rotating-border-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1px;
  background: conic-gradient(from var(--border-angle), #d61f69, #7df916, #d61f69);
  animation: spinBorder 6s linear infinite;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.rotating-border-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(214, 31, 105, 0.18), 0 6px 20px rgba(125, 249, 22, 0.12);
}

.card-inner-content {
  background: #111214 !important;
  border-radius: calc(var(--radius) - 1px);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.rotating-border-card:hover .card-inner-content {
  background: #16171c !important;
}

@keyframes spinBorder {
  to {
    --border-angle: 360deg;
  }
}

.card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rotating-border-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 18, 20, 0.95) 100%) !important;
}

.card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #ffffff !important;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--text-2) !important;
  line-height: 1.6;
}

/* --- FAIXA DE DIFERENCIAIS --- */
.benefits-strip {
  background: linear-gradient(90deg, #111214 0%, #1c1d22 100%);
  padding: 3.5rem 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
}

.benefit-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
}

.benefit-item span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
}

/* --- DOBRA 5: EXPERIÊNCIA E PROFISSIONALISMO (FUNDO CLARO COM GRADIENTE PADRÃO SOBRE NÓS) --- */
.experience-section {
  background-color: var(--bg-light);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: var(--section-y) 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.experience-visual {
  justify-self: center;
  width: 100%;
  max-width: 460px;
}

.experience-img-container {
  position: relative;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
  padding: 10px;
  border: none;
}

.experience-img-container img {
  width: 100%;
  border-radius: calc(var(--radius) - 6px) !important;
  display: block;
  object-fit: cover;
  transition: none !important;
  transform: none !important;
  filter: none !important;
}

.experience-img-container:hover img {
  transform: none !important;
}

.experience-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--text-dark-1) !important;
}

.experience-subtitle {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  display: block;
}

.experience-content p {
  font-size: 1.05rem;
  color: var(--text-dark-2) !important;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --- DOBRA 6: CONTATO (FUNDO ESCURO ORIGINAL COM IMAGEM DA ADVOGADA) --- */
.contact-section {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.97) 100%),
    url('../img/adv-contato.jpg') top center/cover no-repeat !important;
  padding: var(--section-y) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-info-card {
  padding: 3rem;
  border-radius: var(--radius);
  background: rgba(24, 25, 28, 0.82) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--stroke-2) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.contact-info-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: #ffffff !important;
}

.contact-info-card p {
  font-size: 1.05rem;
  color: var(--text-2) !important;
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(17, 18, 20, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke-2) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  color: #ffffff !important;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-control {
  background-color: rgba(10, 10, 10, 0.7) !important;
  border: 1px solid var(--stroke-2) !important;
  padding: 1.05rem 1.25rem;
  border-radius: 8px;
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control::placeholder {
  color: var(--text-3);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(10, 10, 10, 0.9) !important;
  box-shadow: 0 0 15px rgba(214, 31, 105, 0.4);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* --- ANTI-SPAM (HONEYPOT) --- */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden;
  pointer-events: none;
}

/* --- ENVIO DO FORMULÁRIO: TRANSIÇÕES E MENSAGEM DE SUCESSO --- */
.form-fields-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-fields-wrapper.form-exit {
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
}

.form-error-text {
  display: none;
  color: #ff6b8a;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.75rem;
}

.form-error-text.is-visible {
  display: block;
}

.form-success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 380px;
  gap: 0.85rem;
  margin: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.success-check-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--accent-sec);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(125, 249, 22, 0.15), 0 8px 30px rgba(125, 249, 22, 0.45);
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.success-user-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-sec);
  margin: 0;
}

.success-main-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-1);
  margin: 0;
}

.success-spam-note {
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.5;
  margin-top: 0.5rem;
  max-width: 320px;
}

/* --- CURVA ABAIXO DO FORMULÁRIO --- */
.form-bottom-wave-divider {
  line-height: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 6;
  background-color: transparent;
  margin-top: -1px;
}

.form-bottom-wave-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

/* --- DOBRA 7: ENDEREÇO COM EFEITO DE GLOW PURO (SEM FAIXA SÓLIDA - ITEM 5) --- */
.address-section {
  background-color: var(--bg-0);
  position: relative;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.address-card {
  position: relative;
  background-color: #111214;
  border: 1px solid transparent;
  background-image: linear-gradient(135deg, rgba(24, 25, 28, 0.95) 0%, rgba(15, 16, 18, 0.98) 100%),
    conic-gradient(from var(--border-angle), #d61f69 0deg, transparent 90deg, transparent 270deg, #d61f69 360deg);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: spinBorder 6s linear infinite;
  border-radius: var(--radius);
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: visible;
}

/* Efeito Glow Puro Neon Rosa (sem a faixa sólida - Item 5) */
.pill-neon-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(214, 31, 105, 0.95) 0%, rgba(214, 31, 105, 0.45) 45%, transparent 75%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 10;
}

.address-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background-color: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--accent);
  font-size: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2);
}

.address-card h2 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.address-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cta);
  font-family: var(--font-display);
  margin-bottom: 1.8rem;
  text-shadow: 0 0 15px rgba(210, 244, 83, 0.3);
}

/* --- DOBRA 8: FOOTER --- */
.footer-main {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.97) 100%),
    url('../img/martelo-adv.webp') center/cover no-repeat;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--stroke);
  position: relative;
}

.footer-main p,
.footer-brand p,
.footer-bottom,
.footer-bottom p {
  font-family: 'Poppins', sans-serif !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand p {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
}

.footer-links-col h4 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  color: var(--accent-cta) !important;
  font-family: var(--font-display);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-col ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-2);
  transition: transform 0.3s ease, color 0.3s ease;
  text-decoration: none;
  font-family: 'Poppins', sans-serif !important;
  transform: translate(0, 0);
  will-change: transform;
}

.footer-links-col ul li a::before {
  content: '→';
  font-size: 0.85rem;
  color: var(--accent-cta);
  transition: transform 0.3s ease;
}

.footer-contact-list,
.footer-contact-list li,
.footer-contact-list span,
.footer-contact-list a {
  font-family: 'Poppins', sans-serif !important;
}

.footer-contact-list li a::before,
.footer-contact-list li::before {
  content: none !important;
  display: none !important;
}

.footer-links-col ul li a:hover {
  color: #ffffff;
  transform: translate(5px, 0) !important;
}

.footer-bottom {
  border-top: 1px solid var(--stroke);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-3);
}

/* ===== ÍCONES FLUTUANTES DA LATERAL ESQUERDA (GOOGLE + WHATSAPP) ===== */
.floating-actions-stack-left {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-cta);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(210, 244, 83, 0.35);
  border-color: rgba(210, 244, 83, 0.5);
  color: #ffffff;
}

/* TOOLTIP NOS ÍCONES FLUTUANTES */
.floating-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background-color: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.floating-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgba(10, 10, 10, 0.94) transparent transparent;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ===== BOTÃO VOLTAR AO TOPO COM BARRA DE PROGRESSÃO ROSA (LATERAL DIREITA) ===== */
.back-to-top-progress {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.back-to-top-progress.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top-progress:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 31, 105, 0.5);
}

.progress-ring {
  transform: rotate(-90deg);
  position: absolute;
  inset: 0;
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.1s linear;
}

.back-to-top-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.back-to-top-progress:hover .back-to-top-arrow {
  color: #ffffff;
  transform: translate(-50%, -50%) translateY(-2px);
}

/* LINK AGÊNCIA ALFA NO FOOTER */
.footer-alfa-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-alfa-link:hover {
  color: var(--accent-cta);
  text-decoration: underline;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 767px) {

  .slide-1,
  .slide-2,
  .slide-3 {
    background-position: 78% center;
  }

  .slide-1 {
    background-image: url('../img/banner-1-mobile.jpg');
  }

  .slide-2 {
    background-image: url('../img/banner-2-mobile.jpg');
  }

  .slide-3 {
    background-image: url('../img/banner-3-mobile.jpg');
  }

  .topbar-widgets {
    display: none;
  }

  .header-main {
    top: 0;
  }

  .header-cta {
    display: none;
  }

  .hero-slider-section {
    height: 580px;
    padding-top: 90px;
  }

  .slider-controls {
    bottom: calc(clamp(38px, 12vw, 58px) + 1rem);
    right: 6%;
  }

  .hero-wave-divider {
    height: clamp(38px, 12vw, 58px);
  }

  .hero-wave-divider .wave-desktop {
    display: none;
  }

  .hero-wave-divider .wave-mobile {
    display: block;
  }

  .scroll-mouse-indicator {
    bottom: 57%;
  }

  .scroll-mouse {
    width: clamp(15px, 4vw, 20px);
    height: clamp(24px, 6.5vw, 32px);
    border-radius: 9px;
  }
}

@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr 1.1fr;
  }

  .other-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .experience-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== MOTION / REDUCED-MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}