/* NatalioC — capa espectacular */
:root {
  --ink: #0e141b;
  --steel: #1c2a36;
  --copper: #d4622a;
  --copper-deep: #a84818;
  --copper-glow: rgba(212, 98, 42, 0.45);
  --river: #2f556b;
  --paper: #eef2f5;
  --mist: #d8e0e6;
  --mute: #5a6874;
  --line: rgba(14, 20, 27, 0.12);
  --white: #f7f9fa;
  --font-display: "Teko", sans-serif;
  --font-body: "Outfit", sans-serif;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(8, 12, 18, 0.28);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at -8% -8%, rgba(212, 98, 42, 0.14), transparent 55%),
    radial-gradient(900px 520px at 110% 0%, rgba(47, 85, 107, 0.16), transparent 50%),
    linear-gradient(180deg, #f4f7f9 0%, #e6ecf0 48%, #dfe6eb 100%);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(212, 98, 42, 0.28);
  color: var(--ink);
}

/* Intro splash */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #0e141b;
  color: #fff;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-mark {
  text-align: center;
}
.intro-mark .brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: intro-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.intro-mark .brand em {
  font-style: normal;
  color: #f0a070;
}
.intro-mark .line {
  width: 0;
  height: 2px;
  margin: 1rem auto 0.85rem;
  background: linear-gradient(90deg, transparent, #d4622a, transparent);
  animation: intro-line 0.8s 0.35s ease forwards;
}
.intro-mark .tag {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  animation: intro-rise 0.8s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes intro-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-line {
  from { width: 0; }
  to { width: min(220px, 50vw); }
}

/* Buttons upgraded */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.25) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn-copper {
  background: linear-gradient(135deg, #e07035, var(--copper-deep));
  border-color: transparent;
  box-shadow: 0 10px 28px var(--copper-glow);
}
.btn-copper:hover {
  background: linear-gradient(135deg, #e87d42, #8f3d14);
  border-color: transparent;
}

/* Hero cinematic */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: -4% -2%;
  z-index: 0;
  will-change: transform;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 20s ease-out forwards;
  filter: contrast(1.05) saturate(1.05);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,12,18,0.35) 0%, rgba(8,12,18,0.2) 35%, rgba(8,12,18,0.78) 72%, rgba(8,12,18,0.94) 100%),
    linear-gradient(90deg, rgba(8,12,18,0.7) 0%, rgba(8,12,18,0.25) 48%, transparent 70%),
    radial-gradient(700px 400px at 70% 30%, rgba(212,98,42,0.18), transparent 60%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 40rem;
}
.hero-copy > * {
  animation: fade-up 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-copy .hero-brand { animation-delay: 0.15s; }
.hero-copy h1 { animation-delay: 0.28s; }
.hero-copy .hero-lead { animation-delay: 0.4s; }
.hero-copy .hero-cta { animation-delay: 0.52s; }

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 6.2rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  text-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.hero-brand em {
  font-style: normal;
  color: #f0a070;
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.6vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  max-width: 14ch;
  margin-bottom: 0.95rem;
}
.hero-lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  max-width: 34ch;
  margin-bottom: 1.6rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll span {
  width: 1px;
  height: 34px;
  background: linear-gradient(#f0a070, transparent);
}

@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Reveal upgrades */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Trust cinematic */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 2.4rem 0;
  border-block: 1px solid var(--line);
  position: relative;
}
.trust-item {
  position: relative;
  padding: 0.4rem 0.2rem 0.4rem 0.9rem;
}
.trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 3px;
  background: linear-gradient(180deg, var(--copper), transparent);
  border-radius: 2px;
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.55rem);
  line-height: 1;
  color: var(--copper);
  margin-bottom: 0.3rem;
}
.trust-item span { color: var(--mute); font-size: 0.92rem; }

/* Story */
.story-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  clip-path: inset(8% 8% 8% 8%);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.story-visual.is-in,
.reveal.is-in .story-visual,
.story-visual.reveal.is-in {
  clip-path: inset(0 0 0 0);
}
.story-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(8,12,18,0.45));
  pointer-events: none;
}
.story-visual img {
  transition: transform 1.2s ease;
}
.story:hover .story-visual img { transform: scale(1.04); }

/* Products */
.product-visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #243443, #121a22);
}
.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 48%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.product:hover .product-visual::after { transform: translateX(130%); }
.product-visual img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.product:hover .product-visual img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.04);
}
.product h3 {
  transition: color 0.25s ease;
}
.product:hover h3 { color: var(--copper-deep); }

/* Media band */
.media-band {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.media-band img {
  transform: scale(1.08);
  transition: transform 8s linear;
}
.media-band.is-in img,
.media-band:hover img { transform: scale(1); }
.media-band-caption {
  background:
    linear-gradient(90deg, rgba(8,12,18,0.72), transparent 55%),
    linear-gradient(180deg, transparent 10%, rgba(8,12,18,0.88) 100%);
}

/* Partner / Itaú spectacular */
.partner {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(212,98,42,0.28), transparent 55%),
    radial-gradient(700px 420px at 0% 100%, rgba(47,85,107,0.35), transparent 50%),
    linear-gradient(145deg, #101820 0%, #1a2c3a 48%, #142430 100%);
  position: relative;
  overflow: hidden;
}
.partner::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(240,160,112,0.12);
  border-radius: 50%;
  right: -160px;
  top: -180px;
  animation: orbit 18s linear infinite;
  pointer-events: none;
}
@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.itau-card {
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.itau-card h3 {
  background: linear-gradient(180deg, #fff 30%, #f0a070);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Process */
.process-step {
  position: relative;
  padding: 1.1rem 0.2rem 0.4rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--copper), transparent) 1;
  transition: transform 0.3s ease;
}
.process-step:hover { transform: translateY(-4px); }

/* Identity / CTA finale */
.identity-bar {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(14,20,27,0.08);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 16px 40px rgba(14,20,27,0.06);
}
.cta-finale {
  position: relative;
  margin-top: 0.5rem;
  padding: 3.2rem 0;
  background:
    linear-gradient(120deg, rgba(212,98,42,0.12), transparent 40%),
    linear-gradient(180deg, transparent, rgba(14,20,27,0.04));
  border-top: 1px solid var(--line);
}
.cta-finale h2 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
}

/* Floating WA pulse */
.wa-float {
  animation: pulse-wa 2.8s ease-in-out infinite;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* Header polish */
.logo {
  transition: letter-spacing 0.3s ease;
}
.logo:hover { letter-spacing: 0.06em; }

.site-header--hero.is-solid {
  box-shadow: 0 8px 30px rgba(14,20,27,0.08);
}

/* Offer hover */
.offer {
  transition: background 0.25s ease, padding 0.25s ease;
}
.offer:hover {
  background: rgba(255,255,255,0.45);
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .story-visual { min-height: 300px; clip-path: inset(0); }
}
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .hero-copy { padding: 7rem 0 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .intro { display: none; }
}
