/* ============================================================
   LUIS — Portfólio
   ============================================================ */
:root {
  --red: #E50914;
  --red-dark: #B20710;
  --red-deep: #80050B;
  --wine: #400306;

  --black: #000000;
  --graphite: #1A1A1A;
  --gray-dark: #262626;
  --lead: #333333;

  --white: #FFFFFF;
  --gray-light: #E5E5E5;
  --gray-mid: #CCCCCC;
  --gray-neutral: #B3B3B3;

  --green: #52CC5A;
  --yellow: #FFC02A;

  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.2, .75, .1, 1);
  --radius: 20px;
  --container: 1080px;
  --header-h: 96px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 24px; }

::selection { background: var(--red); color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.005em;
  text-transform: none;
}

.eyebrow {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.eyebrow span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 .9em .15em;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
}
.eyebrow--line::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-left: 14px;
  vertical-align: middle;
  background: var(--red);
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 120;
  box-shadow: 0 0 12px var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .005em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.btn__circle {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  transition: transform .45s var(--ease);
}
.btn__circle svg { width: 14px; height: 14px; }
.btn:hover .btn__circle { transform: rotate(45deg); }

.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { box-shadow: 0 14px 34px -12px rgba(255, 192, 42, .7); }

.btn--sm { gap: 10px; padding: 6px 6px 6px 18px; font-size: .7rem; }
.btn--sm .btn__circle { width: 26px; height: 26px; }
.btn--sm .btn__circle svg { width: 12px; height: 12px; }

.btn--green {
  gap: 12px;
  padding: 15px 34px;
  background: var(--green);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  overflow: visible;
}
.btn--green .btn__icon { width: 26px; height: 26px; }
.btn--green::after { display: none; }
.btn--green:hover { box-shadow: 0 16px 40px -12px rgba(82, 204, 90, .75); }
.btn--green::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--green);
  animation: pulse-ring 2.4s var(--ease) infinite;
  z-index: -2;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, height .4s var(--ease);
}
.header.is-scrolled {
  height: 74px;
  background: rgba(0, 0, 0, .62);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, .06);
}
.header .container { max-width: 1200px; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: .01em;
  line-height: 1;
}
.logo__mark {
  width: 24px;
  height: 24px;
  color: var(--red);
  filter: drop-shadow(0 0 8px rgba(229, 9, 20, .5));
  transition: transform .9s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(180deg); }

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

/* ---------- Red glass shards ---------- */
.shard {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(229, 9, 20, .75)) drop-shadow(0 0 50px rgba(229, 9, 20, .35));
  will-change: transform;
}
.shard i {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 32%),
    linear-gradient(160deg, var(--red) 0%, var(--red-dark) 55%, var(--red-deep) 100%);
}
.shard--left { width: 130px; height: 150px; left: -62px; top: 25%; }
.shard--left i { clip-path: polygon(0 0, 38% 0, 100% 56%, 100% 98%); animation: float 7s ease-in-out infinite; }
.shard--right { width: 110px; height: 170px; right: -52px; top: 44%; }
.shard--right i { clip-path: polygon(0 0, 100% 80%, 93% 90%, 0 100%); animation: float-alt 9s ease-in-out infinite; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 8px) 0 28px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 760px;
  height: 760px;
  right: max(-200px, calc(50% - 760px));
  top: 52%;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, .22), rgba(64, 3, 6, .18) 45%, transparent 70%);
  animation: breathe 8s ease-in-out infinite;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 432px;
  gap: 40px;
  align-items: center;
}
.hero__content { padding: 40px 0; }
.hero__content .eyebrow { margin-bottom: 22px; }

.hero__title {
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.hero__title .line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 .14em .04em 0;
  margin-bottom: -.04em;
}
.hero__title .line__inner { display: inline-block; }
.hero__title .serif {
  font-size: 1.1em;
  line-height: 1.02;
  text-shadow: 0 0 40px rgba(229, 9, 20, .35);
}
.hero__title .dot { color: var(--red); }

.hero__desc {
  max-width: 420px;
  margin: 22px 0 30px;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--gray-light);
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  margin-top: 46px;
  font-size: .66rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .26em;
  color: var(--gray-light);
  transition: color .3s;
}
.scroll-hint:hover { color: var(--white); }
.mouse {
  position: relative;
  flex: none;
  width: 22px;
  height: 36px;
  border: 2px solid var(--gray-light);
  border-radius: 12px;
}
.mouse__wheel {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--white);
  animation: wheel 1.8s var(--ease) infinite;
}

/* Photo */
.photo { position: relative; width: 100%; }
.photo__glow {
  position: absolute;
  inset: 4% -4%;
  border-radius: 30px;
  background: radial-gradient(ellipse at center, rgba(229, 9, 20, .5), rgba(128, 5, 11, .2) 55%, transparent 75%);
  filter: blur(36px);
  animation: breathe 6s ease-in-out infinite;
}
.photo__frame {
  position: relative;
  z-index: 2;
  margin: 0;
  aspect-ratio: 392 / 500;
  border-radius: 18px;
  overflow: hidden;
  background: var(--graphite);
  border: 2px solid var(--red);
  box-shadow:
    0 0 0 1px rgba(229, 9, 20, .35),
    0 0 36px rgba(229, 9, 20, .5),
    0 0 110px rgba(229, 9, 20, .28);
}
.photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.photo__placeholder {
  display: none;
  position: absolute;
  inset: 0;
  place-content: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
  color: var(--gray-neutral);
  font-size: .9rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(229, 9, 20, .18), transparent 60%),
    var(--graphite);
}
.photo__placeholder strong { color: var(--white); font-size: 1rem; }
.photo__placeholder code { color: var(--yellow); }
.photo__frame.no-photo img { display: none; }
.photo__frame.no-photo .photo__placeholder { display: grid; }

/* ---------- Áreas ---------- */
.areas {
  position: relative;
  padding: 0 0 46px;
}
.areas__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.area-card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 330px;
  gap: 32px;
  min-height: 272px;
  padding: 26px 0 26px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--lead);
  background:
    radial-gradient(ellipse 34% 75% at 82% 100%, rgba(229, 9, 20, .3), transparent 70%),
    radial-gradient(ellipse 30% 60% at 0% 0%, rgba(229, 9, 20, .07), transparent 70%),
    linear-gradient(135deg, #0d0d0d, #060606 60%, #0d0d0d);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.area-card::before {
  /* luz que segue o cursor */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(229, 9, 20, .14), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.area-card:hover {
  border-color: rgba(229, 9, 20, .5);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(229, 9, 20, .5);
}
.area-card:hover::before { opacity: 1; }

.area-card__side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.area-card__num {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(229, 9, 20, .7);
  background: rgba(178, 7, 16, .45);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
}
.area-card__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  color: var(--red);
  border: 1.5px solid rgba(229, 9, 20, .65);
  background: rgba(229, 9, 20, .04);
  box-shadow: inset 0 0 22px rgba(229, 9, 20, .1);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s;
}
.area-card__icon svg { width: 50px; height: 50px; }
.area-card:hover .area-card__icon {
  transform: rotate(-6deg) scale(1.05);
  background: rgba(229, 9, 20, .1);
  box-shadow: inset 0 0 22px rgba(229, 9, 20, .2), 0 0 24px rgba(229, 9, 20, .35);
}

.area-card__body { padding-top: 30px; }
.area-card__label {
  display: flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--gray-mid);
  margin-bottom: 12px;
}
.area-card__label::after {
  content: "";
  width: 34px;
  height: 2px;
  margin-left: 12px;
  background: var(--red);
}

.area-card__title {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.area-card__title .serif { font-size: 1.04em; }

.area-card__desc {
  margin: 12px 0 16px;
  max-width: 400px;
  font-size: 1rem;
  line-height: 1.38;
  color: var(--gray-light);
}

.area-card__visual {
  position: relative;
  align-self: stretch;
  margin: -26px 0 -26px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease);
}
.area-card__visual > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Cristal */
.crystal { animation: float 8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.crystal-edges { animation: shimmer 4s ease-in-out infinite; }
.insta-tile { animation: float-alt 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* Barras crescentes */
.bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 1.1s var(--ease) calc(.25s + var(--i) * .16s);
}
.chart-arrow {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--ease) .95s;
}
.chart-arrow-head { opacity: 0; transition: opacity .4s 2s; }
.is-visible .bar { transform: scaleY(1); }
.is-visible .chart-arrow { stroke-dashoffset: 0; }
.is-visible .chart-arrow-head { opacity: 1; }
.chart-glow { animation: breathe 3.5s ease-in-out infinite; }

/* ---------- Contato ---------- */
.contact {
  position: relative;
  padding: 52px 0 56px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
  background:
    radial-gradient(ellipse 30% 140% at 0% 50%, rgba(128, 5, 11, .55), transparent 70%),
    radial-gradient(ellipse 30% 140% at 100% 50%, rgba(128, 5, 11, .45), transparent 70%),
    linear-gradient(180deg, #120203, #0a0a0a 50%, #120203);
}
.contact::before {
  /* linhas diagonais nas laterais */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(229, 9, 20, .22) 0 1px, transparent 1px 30px);
  background-size: 200% 200%;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 32%, transparent 68%, #000);
  mask-image: linear-gradient(90deg, #000, transparent 32%, transparent 68%, #000);
  animation: stripes 30s linear infinite;
  pointer-events: none;
}
.contact__inner { position: relative; z-index: 2; }
.contact .eyebrow { margin-bottom: 10px; }
.contact__title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.contact__desc {
  margin: 10px auto 24px;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--white);
}

.contact__badge {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-top: -29px;
  border-radius: 50%;
  animation: bob 5s ease-in-out infinite;
}
.contact__badge svg { width: 26px; height: 26px; }
.contact__badge--left {
  left: max(24px, calc(50% - 600px + 50px));
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 30px rgba(229, 9, 20, .6);
}
.contact__badge--left svg { animation: spin 14s linear infinite; }
.contact__badge--right {
  right: max(24px, calc(50% - 600px + 50px));
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 0 30px rgba(255, 192, 42, .35);
  animation-delay: -2.5s;
}

/* ---------- Footer ---------- */
.footer { padding: 30px 0 40px; }
.footer .container { max-width: 1200px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: .85rem;
  color: var(--gray-mid);
}
.footer__inner p { grid-column: 2; }
.socials { justify-self: end; display: flex; gap: 20px; }
.socials a { color: var(--white); transition: color .3s, transform .35s var(--ease); }
.socials a:hover { color: var(--red); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; }

/* ---------- Página de serviços ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 90px;
  overflow: hidden;
}
.page-hero .hero__glow { right: -220px; width: 640px; height: 640px; }
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero__title {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.page-hero__title .line { display: block; overflow: hidden; padding: 0 .14em .06em 0; margin-bottom: -.06em; }
.page-hero__title .line__inner { display: inline-block; }
.page-hero__title .serif { font-size: 1.08em; }
.page-hero__desc { margin-top: 26px; max-width: 520px; font-size: 1.15rem; line-height: 1.5; color: var(--gray-light); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--gray-neutral);
  transition: color .3s, gap .3s var(--ease);
}
.back-link svg { width: 16px; height: 16px; transform: rotate(-135deg); }
.back-link:hover { color: var(--white); gap: 14px; }
.page-hero__art {
  position: absolute;
  right: max(32px, calc(50% - 540px));
  top: calc(var(--header-h) + 50px);
  width: 260px;
  height: 320px;
}
.page-hero__art .frame-ghost {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 18px;
  border: 2px solid var(--red);
  background: linear-gradient(160deg, rgba(229, 9, 20, .12), rgba(0, 0, 0, .6));
  box-shadow: 0 0 36px rgba(229, 9, 20, .45);
  display: grid;
  place-items: center;
  color: var(--red);
}
.page-hero__art .frame-ghost svg { width: 90px; height: 90px; filter: drop-shadow(0 0 16px rgba(229, 9, 20, .7)); animation: spin 24s linear infinite; }

.services { padding: 20px 0 110px; }
.services__group + .services__group { margin-top: 100px; }
.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-dark);
}
.services__head .area-card__label { margin-bottom: 14px; }
.services__head .area-card__label b { color: var(--red); margin-right: 10px; }
.services__head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.015em;
}
.services__head p { max-width: 360px; color: var(--gray-neutral); font-size: .98rem; }

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

.service {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--lead);
  background: linear-gradient(160deg, #111, #050505 75%);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .4s, transform .5s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(229, 9, 20, .18), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.service:hover { border-color: rgba(229, 9, 20, .5); transform: translateY(-5px); }
.service:hover::before { opacity: 1; }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  color: var(--red);
  background: rgba(229, 9, 20, .04);
  border: 1.5px solid rgba(229, 9, 20, .6);
  transition: transform .5s var(--ease);
}
.service__icon svg { width: 26px; height: 26px; }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.08); }
.service__num {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(229, 9, 20, .7);
  background: rgba(178, 7, 16, .45);
  font-size: .75rem;
  font-weight: 700;
}
.service h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.service p { color: var(--gray-neutral); font-size: .94rem; line-height: 1.6; }
.service ul { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--gray-dark); display: grid; gap: 8px; }
.service li { position: relative; padding-left: 18px; font-size: .88rem; color: var(--gray-mid); }
.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: rotate(45deg);
  border-radius: 1px;
}

.process {
  padding: 100px 0 110px;
  border-top: 1px solid var(--graphite);
}
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.015em;
}
.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process__steps::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 27px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-dark), var(--red), var(--red-dark), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) .2s;
}
.process__steps.is-visible::before { transform: scaleX(1); }
.step { position: relative; padding: 0 8px; text-align: center; }
.step__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--black);
  border: 1.5px solid var(--red);
  box-shadow: 0 0 30px -6px rgba(229, 9, 20, .7);
  font-size: .85rem;
  font-weight: 800;
  color: var(--white);
}
.step h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--gray-neutral); }

/* ---------- Reveal / intro (somente com JS ativo) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .intro {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .line__inner {
  transform: translateY(105%);
  transition: transform 1.15s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .photo__frame {
  clip-path: inset(100% 0 0 0 round 18px);
  transition: clip-path 1.4s var(--ease) .35s;
}
.js .photo__frame img { transform: scale(1.08); transition: transform 1.8s var(--ease) .35s; }
.js .shard, .js .page-hero__art { opacity: 0; transition: opacity 1.2s ease 1s; }
.js .header { transform: translateY(-100%); transition: transform 1s var(--ease) .1s, background-color .4s, border-color .4s, height .4s var(--ease); }

.is-loaded .intro, .is-loaded .line__inner { opacity: 1; transform: none; }
.is-loaded .photo__frame { clip-path: inset(0 0 0 0 round 18px); }
.is-loaded .photo__frame img { transform: none; }
.is-loaded .shard, .is-loaded .page-hero__art { opacity: 1; }
.is-loaded .header { transform: none; }

/* ---------- Keyframes ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes float-alt {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5px, 10px) rotate(-4deg); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}
@keyframes shimmer {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}
@keyframes stripes {
  to { background-position: 100% 100%; }
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(1.15, 1.5); opacity: 0; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr 360px; }
  .area-card { grid-template-columns: 88px minmax(0, 1fr) 260px; }
}

@media (max-width: 920px) {
  :root { --header-h: 76px; }

  .hero { padding-bottom: 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .photo { width: min(80%, 400px); margin: 0 auto; }

  .area-card {
    grid-template-columns: 1fr 150px;
    grid-template-areas: "side visual" "body body";
    gap: 8px 16px;
    padding: 24px;
  }
  .area-card__side { grid-area: side; }
  .area-card__body { grid-area: body; padding-top: 8px; }
  .area-card__visual { grid-area: visual; height: 150px; margin: -24px -24px 0 0; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process__steps::before { display: none; }
  .services__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .page-hero__art { display: none; }

  .contact { padding: 96px 0 56px; }
  .contact__badge { top: 24px; margin-top: 0; width: 50px; height: 50px; }
  .contact__badge svg { width: 22px; height: 22px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .logo { font-size: 1.4rem; }
  .eyebrow { font-size: .64rem; letter-spacing: .22em; }
  .eyebrow span { margin: 0 .6em .15em; }
  .hero__title { font-size: clamp(2rem, 10vw, 3rem); }
  .hero__desc { font-size: 1.05rem; }
  .btn { font-size: .8rem; }
  .photo { width: 82%; }
  .shard--left { width: 90px; height: 110px; left: -42px; }
  .shard--right { width: 80px; height: 130px; right: -38px; }
  .area-card { padding: 20px; }
  .area-card__visual { width: 140px; height: 130px; margin: -20px -20px 0 0; }
  .area-card__icon { width: 72px; height: 72px; }
  .area-card__icon svg { width: 40px; height: 40px; }
  .area-card__label { letter-spacing: .2em; }
  .area-card .btn { white-space: normal; text-align: left; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .contact__desc { font-size: 1rem; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__inner p { grid-column: auto; }
  .socials { justify-self: center; }
}

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