/* ============================================
   HOME — estilos específicos
   ============================================ */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute;
  inset: -8% -2% -2% -2%;
  z-index: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  will-change: transform;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.85) 100%),
    radial-gradient(ellipse 60% 60% at 70% 50%, transparent, rgba(0,0,0,0.5));
}
.hero-grid {
  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: 100px 100px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
  animation: fadeUp 800ms var(--ease-out) both;
}
.status-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
  animation: pulse-dot 1.8s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero-logo-wrap {
  margin: 0;
  animation: fadeUp 900ms var(--ease-out) 200ms both;
}
.hero-logo {
  display: block;
  width: clamp(280px, 38vw, 560px);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.55));
}
.hero-tagline {
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 28px 0 0;
  max-width: 18ch;
  animation: fadeUp 900ms var(--ease-out) 500ms both;
}
.hero-tagline em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--sega-red);
  font-weight: 400;
}
.hero-title { color: var(--white); }
.hero-title .line {
  display: block;
  padding-block: 0.04em;
}
.hero-title .word {
  display: inline-block;
  animation: heroLineUp 900ms var(--ease-out) both;
}
.hero-title .line:nth-child(1) .word { animation-delay: 100ms; }
.hero-title .line:nth-child(2) .word { animation-delay: 240ms; }
.hero-title .line:nth-child(3) .word { animation-delay: 380ms; }
.hero-title em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--sega-red);
  letter-spacing: -0.02em;
  text-transform: none;
}
@keyframes heroLineUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-sub {
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.86);
  margin-top: 32px;
  animation: fadeUp 800ms var(--ease-out) 700ms both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  animation: fadeUp 800ms var(--ease-out) 900ms both;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
  animation: fadeUp 800ms var(--ease-out) 1100ms both;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-item strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}
.meta-item span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.meta-item .stars {
  display: inline-flex;
  gap: 2px;
  color: #FFC72C;
  margin-bottom: 2px;
}
.meta-item .stars svg { width: 14px; height: 14px; }
.meta-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
}
.hero-scroll svg { width: 16px; height: 28px; }

/* TICKER */
.ticker {
  background: var(--ink);
  color: var(--white);
  padding: 18px 0;
  border-block: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.ticker .marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--white);
}
.ticker .marquee-track span:nth-child(odd) { color: var(--sega-red); }

/* INTRO */
.intro { padding-top: 0; }
.intro { padding-block: var(--section-y); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.red { color: var(--sega-red); }
.red-underline {
  background: linear-gradient(transparent 65%, rgba(225,6,0,0.18) 65%);
  padding: 0 4px;
}
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sega-red);
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
  transition: gap 220ms var(--ease-out);
}
.cta-link:hover { gap: 14px; }
.cta-link svg { width: 14px; height: 14px; }
@media (max-width: 800px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* SERVICES */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 360ms var(--ease-out), box-shadow 360ms;
  color: inherit;
  isolation: isolate;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-img {
  background-size: cover;
  background-position: center;
  min-height: 280px;
  position: relative;
  filter: saturate(0.95);
  transition: transform 600ms var(--ease-out);
}
.service-card:hover .service-img { transform: scale(1.05); }
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225,6,0,0) 0%, rgba(225,6,0,0.0) 60%, rgba(225,6,0,0.4) 100%);
  opacity: 0;
  transition: opacity 360ms;
}
.service-card:hover .service-img::after { opacity: 1; }
.service-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sega-red);
}
.service-body h3 { font-size: clamp(28px, 3vw, 38px); }
.service-body p { color: var(--steel); font-size: 15px; margin: 0; }
.service-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  transition: all 240ms var(--ease-out);
}
.service-card:hover .service-arrow {
  background: var(--sega-red);
  border-color: var(--sega-red);
  color: var(--white);
  transform: rotate(-45deg);
}
.service-arrow svg { width: 16px; height: 16px; }
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 280px 1fr; }
}
@media (max-width: 700px) {
  .service-card { grid-template-columns: 1fr; }
  .service-img { min-height: 200px; }
}

/* BEFORE / AFTER */
.ba { padding-block: var(--section-y); background: var(--ink); color: var(--white); }
.ba .eyebrow { color: var(--sega-red); }
.ba .display { color: var(--white); }
.ba .lead { color: rgba(255,255,255,0.7); }
.ba-item {
  position: relative;
  margin-block: 80px;
}
.ba-stage {
  position: relative;
  height: 75vh;
  max-height: 720px;
  min-height: 420px;
  overflow: hidden;
  background: #0a0a0a;
}
.ba-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ba-before {
  filter: saturate(0.4) brightness(0.6) contrast(1.1);
  /* clip-path is animated by JS based on scroll progress within the section */
  clip-path: inset(0 0 0 0%);
  will-change: clip-path;
}
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 0%;
  width: 3px;
  background: var(--sega-red);
  box-shadow: 0 0 24px rgba(225,6,0,0.6);
  pointer-events: none;
  z-index: 3;
  transition: left 80ms linear;
}
.ba-divider::before, .ba-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 36px; height: 36px;
  background: var(--sega-red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ba-divider::before { top: 50%; }
.ba-divider::after { display: none; }
.ba-tag {
  position: absolute;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 8px 14px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: var(--white);
  z-index: 2;
}
.ba-tag-before { left: 24px; }
.ba-tag-after { right: 24px; background: var(--sega-red); border-color: var(--sega-red); }
.ba-info {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}
.ba-info p { color: rgba(255,255,255,0.7); font-size: 16px; margin: 0; }
.ba-info .chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }
.ba-info .serif { color: var(--white); }
@media (max-width: 700px) {
  .ba-info { grid-template-columns: 1fr; }
  .ba-stage { height: 60vh; min-height: 320px; }
}

/* STATS */
.stats {
  background: var(--paper);
  padding-block: 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid rgba(0,0,0,0.1);
}
.stat {
  padding: 40px 24px;
  border-right: 1px solid rgba(0,0,0,0.1);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(48px, 6vw, 88px);
  color: var(--sega-red);
  line-height: 1;
  letter-spacing: 0.005em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 12px;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid rgba(0,0,0,0.1); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
}

/* PROCESS */
.process { padding-block: var(--section-y); }
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.process-list li {
  padding: 40px 32px 40px 0;
  border-right: 1px dashed rgba(0,0,0,0.18);
  position: relative;
}
.process-list li:last-child { border-right: none; }
.process-list li:nth-child(n+1) { padding-left: 32px; }
.process-list li:first-child { padding-left: 0; }
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--sega-red);
  margin-bottom: 18px;
}
.process-list h3 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 12px; }
.process-list p { color: var(--steel); font-size: 15px; margin: 0; }
@media (max-width: 900px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li { padding: 32px 16px; }
  .process-list li:nth-child(2) { border-right: none; }
  .process-list li:nth-child(1), .process-list li:nth-child(2) { border-bottom: 1px dashed rgba(0,0,0,0.18); }
}
@media (max-width: 600px) {
  .process-list { grid-template-columns: 1fr; }
  .process-list li { border-right: none; border-bottom: 1px dashed rgba(0,0,0,0.18); padding: 28px 0; }
  .process-list li:last-child { border-bottom: none; }
}

/* BRANDS */
.brands { padding-bottom: 100px; }
.brands-head {
  text-align: center;
  margin-bottom: 48px;
}
.brands-head h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--graphite);
  letter-spacing: -0.01em;
  max-width: 30ch;
  margin: 16px auto 0;
}
.brands-marquee {
  border-block: 1px solid rgba(0,0,0,0.08);
  padding: 28px 0;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  padding-inline: 28px;
  position: relative;
  transition: color 240ms;
}
.brand-mark:hover { color: var(--sega-red); }
.brand-mark::after {
  content: "•";
  margin-left: 56px;
  color: var(--concrete);
}
.brand-mark:last-child::after { display: none; }

/* TESTIMONIALS */
.testimonials {
  background: var(--bone);
  padding-block: var(--section-y);
  overflow: hidden;
}
.tm-row { padding-block: 12px; }
.tm-row-2 { margin-top: 0; }
.tm-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.tm-card.tm-featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.tm-card.tm-featured .tm-author strong { color: var(--white); }
.tm-card.tm-featured .tm-author span { color: rgba(255,255,255,0.6); }
.tm-card.tm-featured p { color: rgba(255,255,255,0.92); }
.tm-stars {
  color: #FFC72C;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.tm-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--graphite);
  margin: 0;
}
.tm-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.tm-card.tm-featured .tm-author { border-top-color: rgba(255,255,255,0.1); }
.tm-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.tm-author > div:last-child { display: flex; flex-direction: column; }
.tm-author strong { font-size: 14px; color: var(--ink); }
.tm-author span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--silver); text-transform: uppercase; }
.tm-row .marquee-track { gap: 20px; }

/* CTA FINAL */
.cta-final { padding-bottom: var(--section-y); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 480px;
}
.cta-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 800ms var(--ease-out);
}
.cta-card:hover .cta-card-img { transform: scale(1.04); }
.cta-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85));
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  gap: 20px;
}
.cta-card-overlay .cluster { gap: 32px; }
.cta-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.cta-stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-card { min-height: 380px; }
}
