:root {
  --black: #090a10;
  --night: #111722;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --white: #f8fafc;
  --soft: #d9dde5;
  --muted: #8d95a3;
  --line: rgba(255, 255, 255, 0.14);
  --red: #df143f;
  --red-bright: #ff315f;
  --red-dark: #780018;
  --gray: #202837;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --mouse-x: 50%;
  --mouse-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 8%, rgba(223, 20, 63, 0.28), transparent 28rem),
    radial-gradient(circle at 8% 35%, rgba(255, 255, 255, 0.09), transparent 22rem),
    linear-gradient(180deg, #080910 0%, #101723 45%, #080910 100%);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 82%);
}

body.is-loading,
body.menu-open,
body.modal-open {
  overflow: hidden;
}

.pointer-trail {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 49, 95, 0.72);
  box-shadow: 0 0 22px rgba(255, 49, 95, 0.78);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease, width 180ms ease, height 180ms ease;
}

.pointer-trail.is-visible {
  opacity: 1;
}

.pointer-trail.is-pressed {
  width: 18px;
  height: 18px;
}

.trail-dot,
.click-spark {
  position: fixed;
  z-index: 99;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 49, 95, 0.82);
  box-shadow: 0 0 18px rgba(255, 49, 95, 0.72);
}

.trail-dot {
  width: 6px;
  height: 6px;
  animation: trailFade 620ms ease-out forwards;
}

.click-spark {
  width: 5px;
  height: 5px;
  animation: sparkBurst 760ms cubic-bezier(0.15, 0.65, 0.2, 1) forwards;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 49, 95, 0.2), transparent 20rem),
    #080910;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.page-loader span {
  width: min(320px, calc(100vw - 56px));
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.page-loader span::after {
  display: block;
  width: 42%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  animation: loaderSweep 950ms ease-in-out infinite;
}

body.is-loaded .page-loader {
  visibility: hidden;
  opacity: 0;
}

.tech-particle {
  position: fixed;
  z-index: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 16px rgba(255, 49, 95, 0.58);
  opacity: 0.42;
  animation: particleFloat var(--particle-speed, 12s) ease-in-out infinite;
  animation-delay: var(--particle-delay, 0s);
}

.site-header,
main,
.site-footer,
.whatsapp-float {
  position: relative;
}

main,
.site-footer {
  z-index: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 6%, 72px);
  color: var(--white);
  transition: background 180ms ease, border 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 16, 0.84);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
}

.brand__mark {
  width: auto;
  height: 80px;
  filter: drop-shadow(0 0 18px rgba(255, 49, 95, 0.32));
  transition: transform 260ms ease, filter 260ms ease;
}

.brand:hover .brand__mark {
  filter: drop-shadow(0 0 26px rgba(255, 49, 95, 0.62));
  transform: rotate(-7deg) scale(1.05);
}

.brand__text {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red-bright);
  box-shadow: 0 0 18px rgba(255, 49, 95, 0.7);
  transition: width 160ms ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.is-active {
  color: var(--white);
}

.main-nav a.is-active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: center;
  padding: 150px clamp(20px, 6%, 72px) 88px;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 10, 16, 0.92) 0%, rgba(9, 10, 16, 0.75) 48%, rgba(9, 10, 16, 0.4) 100%),
    url("../assets/daniloadvogado_capa.png") center / cover;
  filter: saturate(0.72) contrast(1.08);
  transform: translate3d(var(--mouse-shift-x, 0px), calc(var(--mouse-shift-y, 0px) + var(--hero-scroll, 0px)), 0) scale(1.04);
  transition: transform 120ms linear;
}

.hero__background::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 68% 38%, rgba(255, 49, 95, 0.26), transparent 18rem),
    radial-gradient(circle at 28% 72%, rgba(255, 255, 255, 0.08), transparent 22rem);
}

.light {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
}

.light--red {
  top: 16%;
  right: 12%;
  width: 220px;
  height: 220px;
  background: rgba(255, 49, 95, 0.42);
}

.light--white {
  right: 36%;
  bottom: 20%;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.14);
}

.grid-lines {
  position: absolute;
  inset: 0;
  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: 96px 96px;
  opacity: 0.45;
  animation: gridDrift 18s linear infinite;
}

.scanline {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 26%;
  background: linear-gradient(180deg, transparent, rgba(255, 49, 95, 0.08), transparent);
  animation: scanMove 7s ease-in-out infinite;
  opacity: 0.65;
}

.hero__content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1,
.section__content h2,
.section__heading h2,
.contact h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 820px;
  font-size: 6.3rem;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.hero h1 .word-inner {
  display: inline-block;
  transform: translateY(105%) rotate(3deg);
  animation: titleReveal 760ms cubic-bezier(0.2, 0.75, 0.15, 1) forwards;
  animation-delay: calc(var(--word-index) * 110ms + 220ms);
}

.hero__lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: 1.2rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, 0.28) 48%, transparent 62% 100%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.button:hover::before {
  transform: translateX(130%);
}

.button-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleExpand 620ms ease-out forwards;
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  box-shadow: 0 0 26px rgba(255, 49, 95, 0.34);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card {
  align-self: end;
  width: min(420px, 100%);
  justify-self: end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}

.hero-card__tag {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 49, 95, 0.4);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--red-bright);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-card strong {
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.55rem;
}

.hero-card p {
  margin: 12px 0 0;
  color: var(--soft);
}

.hero-card__status {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-card__status span {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 16px rgba(255, 49, 95, 0.9);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.intro-strip div {
  display: flex;
  min-height: 126px;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(20px, 6%, 72px);
  border-right: 1px solid var(--line);
  transition: background 0.3s ease;
}

.intro-strip div:hover {
  background: rgba(255, 255, 255, 0.03);
}

.intro__icon {
  color: var(--red-bright);
  font-size: 2.8rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.15, 1), filter 0.3s;
}

.intro-strip div:hover .intro__icon {
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(223, 20, 63, 0.4));
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip span {
  color: var(--red-bright);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.intro-strip strong {
  color: var(--white);
  font-size: 1.04rem;
}

.section,
.differentials,
.contact {
  padding: 104px clamp(20px, 6%, 72px);
}

.section--about {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(200px, 0.45fr);
  gap: 66px;
  align-items: center;
}

.section__visual {
  max-width: 380px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.section__visual::after {
  position: absolute;
  inset: auto 28px 28px auto;
  width: 160px;
  height: 2px;
  content: "";
  background: var(--red-bright);
  box-shadow: 0 0 28px rgba(255, 49, 95, 0.88);
}

.section__visual img {
  width: 100%;
  opacity: 0.92;
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.02);
  transition: transform 120ms linear;
}

.section__content,
.section__heading {
  max-width: 820px;
}

.section__content h2,
.section__heading h2,
.contact h2 {
  font-size: 3.7rem;
}

.section__content p,
.section__heading p:last-child,
.contact__content p {
  color: var(--soft);
  font-size: 1.04rem;
  line-height: 1.85;
}

.section__content p {
  margin: 24px 0 0;
}

.section__heading {
  margin-bottom: 44px;
}

.section__heading p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.practice-card,
.differential-list article,
.map-card,
.contact-list > a,
.contact-list > div {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.practice-card::before,
.differential-list article::before,
.contact-list > a::before,
.contact-list > div::before,
.map-card::before,
.hero-card::before,
.section__visual::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255, 49, 95, 0.2), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.practice-card > *,
.differential-list article > *,
.contact-list > a > *,
.contact-list > div > *,
.hero-card > *,
.section__visual > * {
  position: relative;
  z-index: 1;
}

.magnetic-card:hover {
  border-color: rgba(255, 49, 95, 0.42);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32), 0 0 28px rgba(255, 49, 95, 0.12);
}

.magnetic-card:hover::before {
  opacity: 1;
}

.practice-card {
  min-height: 270px;
  border-radius: 18px;
  padding: 28px;
  cursor: pointer;
}

.practice-card span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 49, 95, 0.44);
  border-radius: 50%;
  color: var(--red-bright);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  box-shadow: inset 0 0 18px rgba(255, 49, 95, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.practice-card:hover span {
  box-shadow: inset 0 0 24px rgba(255, 49, 95, 0.22), 0 0 22px rgba(255, 49, 95, 0.18);
  transform: translateZ(18px);
}

.practice__icon {
  font-size: 1.6rem;
  transition: transform 0.3s;
}

.practice-card:hover .practice__icon {
  transform: scale(1.1);
}

.practice-card h3,
.differential-list h3 {
  margin: 30px 0 12px;
  font-size: 1.16rem;
}

.practice-card button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border: 1px solid rgba(255, 49, 95, 0.42);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 49, 95, 0.08);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.practice-card p,
.differential-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.differentials {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 30%, rgba(223, 20, 63, 0.18), transparent 22rem),
    rgba(255, 255, 255, 0.025);
}

.differential-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.differential-list article {
  min-height: 250px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: rgba(9, 10, 16, 0.74);
}

.differential-list article:first-child {
  border-radius: 8px 0 0 8px;
}

.differential-list article:last-child {
  border-radius: 0 8px 8px 0;
}

.diff__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(223, 20, 63, 0.08);
  color: var(--red-bright);
  border-radius: 14px;
  font-size: 2rem;
  margin: 16px 0 0 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.15, 1), background 0.3s, color 0.3s, box-shadow 0.3s;
}

.differential-list article:hover .diff__icon {
  transform: translateY(-4px) scale(1.1);
  background: var(--red-bright);
  color: #fff;
  box-shadow: 0 10px 24px rgba(223, 20, 63, 0.35);
}

.differential-list span {
  display: block;
  width: 38px;
  height: 3px;
  background: var(--red-bright);
  box-shadow: 0 0 18px rgba(255, 49, 95, 0.78);
  transform-origin: left;
  transition: transform 220ms ease;
}

.differential-list article:hover span {
  transform: scaleX(1.45);
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(300px, 0.82fr);
  gap: 52px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-list > a,
.contact-list > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  border-radius: 14px;
  padding: 20px;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: rgba(223, 20, 63, 0.08);
  color: var(--red-bright);
  border-radius: 14px;
  font-size: 2rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.15, 1), background 0.3s, color 0.3s, box-shadow 0.3s;
}

.magnetic-card:hover .contact__icon {
  transform: scale(1.15) rotate(-4deg);
  background: var(--red-bright);
  color: #fff;
  box-shadow: 0 8px 24px rgba(223, 20, 63, 0.4);
}

.contact__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--red-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list strong {
  display: block;
  color: var(--white);
  line-height: 1.4;
  word-break: break-word;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 49, 95, 0.38);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 49, 95, 0.08);
  font-size: 0.9rem;
}

.map-card {
  overflow: hidden;
  height: 560px;
  border-radius: 22px;
}

.map-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(255, 49, 95, 0.14), transparent 34%, rgba(255, 255, 255, 0.08));
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.9);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 49, 95, 0.42);
  border-radius: 999px;
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-dark), var(--red-bright));
  box-shadow: 0 0 28px rgba(255, 49, 95, 0.42);
  font-weight: 900;
  overflow: hidden;
  animation: floatCall 2.8s ease-in-out infinite;
}

.practice-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.practice-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.practice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.76);
  backdrop-filter: blur(18px);
}

.practice-modal__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid rgba(255, 49, 95, 0.34);
  border-radius: 22px;
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 49, 95, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(25, 31, 44, 0.98), rgba(8, 9, 16, 0.98));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.62), 0 0 42px rgba(255, 49, 95, 0.16);
  transform: translateY(18px) scale(0.96);
  transition: transform 260ms cubic-bezier(0.2, 0.75, 0.15, 1);
}

.practice-modal.is-open .practice-modal__panel {
  transform: translateY(0) scale(1);
}

.practice-modal__panel h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2.3rem;
  line-height: 1.05;
}

.practice-modal__panel p:not(.eyebrow) {
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.practice-modal__panel h3 {
  margin: 26px 0 12px;
  color: var(--white);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
}

.practice-modal__panel ul,
.practice-modal__panel ol {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.practice-modal__panel ul li,
.practice-modal__panel ol li {
  position: relative;
  padding-left: 22px;
  color: var(--soft);
  line-height: 1.55;
}

.practice-modal__panel ul li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--red-bright);
  box-shadow: 0 0 14px rgba(255, 49, 95, 0.72);
}

.practice-modal__panel ol {
  counter-reset: modal-step;
  margin-bottom: 28px;
}

.practice-modal__panel ol li {
  min-height: 32px;
  padding-left: 42px;
}

.practice-modal__panel ol li::before {
  position: absolute;
  left: 0;
  top: -2px;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 49, 95, 0.44);
  border-radius: 50%;
  color: var(--red-bright);
  content: counter(modal-step);
  counter-increment: modal-step;
  font-size: 0.76rem;
  font-weight: 900;
}

.practice-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.practice-modal__close::before,
.practice-modal__close::after {
  position: absolute;
  left: 13px;
  top: 20px;
  width: 16px;
  height: 2px;
  content: "";
  background: var(--white);
}

.practice-modal__close::before {
  transform: rotate(45deg);
}

.practice-modal__close::after {
  transform: rotate(-45deg);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.75, 0.15, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px clamp(20px, 6%, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.34);
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-credits {
  width: 100%;
  max-width: 300px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--soft);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero-card {
    justify-self: start;
  }

  .practice-grid,
  .differential-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--about,
  .contact {
    grid-template-columns: 1fr;
  }

  .section__content h2,
  .section__heading h2,
  .contact h2 {
    font-size: 3rem;
  }

  .differential-list article:first-child,
  .differential-list article:last-child {
    border-radius: 0;
  }
}

/* --- ESTILOS DO BOTÃO DE TEMA E TEMA CLARO --- */
.theme-toggle {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s;
}
.theme-toggle:hover {
  transform: scale(1.1);
}

body.light-theme {
  background: #f3f4f6;
  color: #1f2937;
}
body.light-theme::before {
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 82%);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}
body.light-theme .site-header.is-scrolled,
body.light-theme .site-header.is-open {
  background: rgba(243, 244, 246, 0.9);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.05);
}
body.light-theme .main-nav { color: #4b5563; }
body.light-theme .main-nav a.is-active,
body.light-theme .main-nav a:hover,
body.light-theme .theme-toggle:hover { color: var(--red); }
body.light-theme .theme-toggle { color: #1f2937; }
body.light-theme h2, body.light-theme h3,
body.light-theme .hero-card strong, body.light-theme .brand__text { color: #111827; }
body.light-theme .hero-card__status { color: #4b5563; }
body.light-theme .intro-strip strong,
body.light-theme .contact-list strong { color: #111827; }
body.light-theme .intro-strip { background: rgba(0, 0, 0, 0.02); border-color: #e5e7eb; }
body.light-theme .intro-strip div { border-color: #e5e7eb; }
body.light-theme .intro-strip div:hover { background: rgba(0, 0, 0, 0.03); }
body.light-theme .magnetic-card,
body.light-theme .practice-card,
body.light-theme .hero-card,
body.light-theme .section__visual,
body.light-theme .map-card,
body.light-theme .contact-list > a,
body.light-theme .contact-list > div,
body.light-theme .differential-list article {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
body.light-theme .differential-list { border-color: #e5e7eb; background: #e5e7eb; }
body.light-theme .practice-modal__panel { background: #ffffff; border-color: #e5e7eb; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
body.light-theme .practice-modal__panel h2,
body.light-theme .practice-modal__panel h3 { color: #111827; }
body.light-theme .practice-modal__close { border-color: #e5e7eb; background: rgba(0,0,0,0.05); }
body.light-theme .practice-modal__close::before,
body.light-theme .practice-modal__close::after { background: #111827; }
body.light-theme .site-footer { background: #ffffff; border-top-color: #e5e7eb; color: #4b5563; }
body.light-theme .button--ghost { color: var(--red); border-color: var(--red); background: transparent; }
body.light-theme .button--ghost:hover { background: rgba(223, 20, 63, 0.05); }
body.light-theme .page-loader { background: #f3f4f6; }
body.light-theme .page-loader span { background: rgba(0,0,0,0.1); }
body.light-theme .grid-lines, body.light-theme .scanline { opacity: 0.05; filter: invert(1); }

/* Ajustes Adicionais do Tema Claro */
body.light-theme p:not(.eyebrow), body.light-theme span:not(.word):not(.word-inner):not(.material-symbols-rounded):not(.hero-card__tag):not(.whatsapp-float span) {
  color: #374151 !important;
}
body.light-theme .eyebrow, body.light-theme .hero-card__tag {
  color: var(--red) !important;
}
body.light-theme .hero h1, body.light-theme .hero h1 span {
  color: #ffffff !important;
}
body.light-theme .button,
body.light-theme .practice-card button {
  background: var(--red) !important;
  color: #ffffff !important;
  border-color: var(--red) !important;
}
body.light-theme .button:hover,
body.light-theme .practice-card button:hover {
  background: var(--red-bright) !important;
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 20px;
  }

  .brand__text {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 20px;
    display: none;
    width: min(280px, calc(100vw - 40px));
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8, 9, 16, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    animation: menuDrop 220ms ease both;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: auto;
    padding: 126px 20px 72px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero__lead {
    font-size: 1.04rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero-card {
    padding: 22px;
  }

  .intro-strip,
  .practice-grid,
  .differential-list {
    grid-template-columns: 1fr;
  }

  .intro-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 20px;
  }

  .section,
  .differentials,
  .contact {
    padding: 76px 20px;
  }

  .section__content h2,
  .section__heading h2,
  .contact h2 {
    font-size: 2.35rem;
  }

  .practice-card,
  .differential-list article {
    min-height: auto;
  }

  .practice-card {
    padding: 24px;
  }

  .practice-card button {
    width: 100%;
  }

  .practice-modal {
    align-items: end;
    padding: 14px;
  }

  .practice-modal__panel {
    max-height: calc(100vh - 28px);
    border-radius: 18px;
    padding: 28px 22px 24px;
  }

  .practice-modal__panel h2 {
    padding-right: 42px;
    font-size: 2rem;
  }

  .map-card {
    height: 420px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}

@keyframes loaderSweep {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(260%);
  }
}

@keyframes titleReveal {
  to {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 96px 96px;
  }
}

@keyframes scanMove {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(520%);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.45);
    opacity: 0.62;
  }
}

@keyframes floatCall {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

@keyframes particleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(var(--particle-drift-x, 24px), var(--particle-drift-y, -38px), 0);
  }
}

@keyframes rippleExpand {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .hero h1 .word-inner {
    opacity: 1;
    transform: none;
  }

  .pointer-trail,
  .trail-dot,
  .click-spark,
  .page-loader {
    display: none;
  }
}

@keyframes trailFade {
  from {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.22);
  }
}

@keyframes sparkBurst {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--spark-angle)) translateX(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--spark-angle)) translateX(var(--spark-distance)) scale(0.2);
  }
}
