/* =========================================================
   SPLINE DESIGN — SHARED BASE STYLES
   Used by: index.html, presentation.html, portfolio.html
   ========================================================= */

@import "assets/fonts/stylesheet.css";

/* ===== KEYFRAMES ===== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-14px) rotate(-3deg); }
}
@keyframes pulseRing {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: .6; }
  100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes wordRise {
  from { transform: translateY(110%) rotate(2deg); opacity: 0; }
  to   { transform: translateY(0) rotate(0);       opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes diamondSpin {
  from { transform: rotate(45deg); }
  to   { transform: rotate(405deg); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,178,51,0.0); }
  50%      { box-shadow: 0 0 30px 6px rgba(240,178,51,0.18); }
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(-4%, 2%); }
  30%  { transform: translate(2%, -4%); }
  40%  { transform: translate(-2%, 5%); }
  50%  { transform: translate(-4%, 2%); }
  60%  { transform: translate(3%, 0); }
  70%  { transform: translate(0, 3%); }
  80%  { transform: translate(-3%, 0); }
  90%  { transform: translate(2%, 2%); }
}
@keyframes scaleIn {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
@keyframes fadeUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes blurIn {
  from { filter: blur(20px); opacity: 0; transform: scale(1.05); }
  to   { filter: blur(0);    opacity: 1; transform: scale(1); }
}

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

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

:root {
  --bg-black: #000000;
  --bg-soft:  #0d0d0d;
  --bg-card:  #181818;
  --bg-card-2:#1f1f1f;
  --line:     #2a2a2a;
  --white:    #ffffff;
  --muted:    #a8a8a8;
  --muted-2:  #7a7a7a;
  --gold:     #f0b233;

  --font-display: 'Raleway', sans-serif;
  --font-body:    'Raleway', sans-serif;
  --font-script:  'Raleway', sans-serif;

  --gutter: 56px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-black);
  background-image:
    url('assets/images/bg.png'),
    radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: cover, 22px 22px, 44px 44px;
  background-position: center, 0 0, 11px 11px;
  background-repeat: no-repeat, repeat, repeat;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ===== SCROLL PROGRESS + GRAIN ===== */
.scroll-progress {
  display: none !important;
}

.grain-overlay {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 150;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(10) infinite;
  mix-blend-mode: overlay;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.page-loader__inner {
  text-align: center;
  opacity: 1;
  transition: opacity .35s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease .35s;
}
.loader-logo {
  max-width: 220px;
  width: min(220px, 38vw);
  height: auto;
  filter: brightness(1.05);
}
.loader-text {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: padding .35s ease, background .35s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(0,0,0,0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-block;
  max-width: 250px!important;
  width: auto;
  height: auto;
  transition: transform .35s ease, filter .35s ease;
  cursor: pointer;
}
img.brand {
  display: block;
  max-width: 150px!important;
  width: auto;
  height: auto;
}
.brand:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 24px rgba(240,178,51,0.4));
}

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: opacity .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* ===== REVEAL & WORD MASK ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.05;
  padding: 0 .04em;
}
.word-mask > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.headline.in .word-mask > span,
.page-hero-title.in .word-mask > span,
.big-title.in .word-mask > span {
  animation: wordRise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.headline.in .word-mask:nth-child(1) > span { animation-delay: 0.05s; }
.headline.in .word-mask:nth-child(2) > span { animation-delay: 0.15s; }
.headline.in .word-mask:nth-child(3) > span { animation-delay: 0.25s; }
.headline.in .word-mask:nth-child(4) > span { animation-delay: 0.35s; color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.02);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 0%, transparent 35%,
    rgba(255,255,255,0.18) 50%,
    transparent 65%, transparent 100%);
  background-size: 200% 100%;
  background-position: -200% 0;
  z-index: -1;
  transition: background-position .9s ease;
}
.btn:hover::before { background-position: 200% 0; }
.btn::after {
  content: "→";
  margin-left: 4px;
  transition: transform .35s ease;
  display: inline-block;
}
.btn:hover::after { transform: translateX(4px); }
.btn:hover {
  background: var(--white);
  color: var(--bg-black);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,255,255,0.1);
}
.btn--ghost { border-color: rgba(255,255,255,0.18); }
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a0f00;
}
.btn--gold:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--bg-black);
  box-shadow: 0 12px 30px rgba(240,178,51,0.25);
}

/* ===== SECTION KICKERS / TITLES ===== */
.kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.big-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--white);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 12px; height: 12px;
  background: white;
  transform: rotate(45deg);
  display: inline-block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 0 20px rgba(240,178,51,0.4);
}
.section-eyebrow:hover::before { transform: rotate(225deg); }
.section-eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 80px; height: 2px;
  background: linear-gradient(90deg, white, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s cubic-bezier(.2,.7,.2,1) .15s;
}
.section-eyebrow.in::after { transform: scaleX(1); }

/* ===== FOOTER ===== */
.footer {
  padding: 50px 0 36px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.footer .brand { height: 56px; }
.footer-tags {
  margin-top: 8px;
  display: flex; justify-content: center; gap: 22px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-tags span { position: relative; }
.footer-tags span + span::before {
  content: "·";
  position: absolute; left: -13px; top: 0;
  color: var(--muted-2);
}

/* ===== RESPONSIVE BASE ===== */
@media (max-width: 1100px) { :root { --gutter: 36px; } }
@media (max-width: 900px) {
  :root { --gutter: 28px; }
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 10px; letter-spacing: 1.6px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
}


/* INDEX PAGE-SPECIFIC STYLES */

  /* =========================================================
     HERO
     ========================================================= */
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .video-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7.2;
    overflow: hidden;
    border-radius: 2px;
    background: #111;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  }

  .video-shell .poster {
    position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    filter: saturate(1.15) contrast(1.05);
  }

  /* faux carnival overlay tint */
  .video-shell .tint {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 50%, rgba(20,160,90,0.28), transparent 55%),
      radial-gradient(ellipse at 75% 60%, rgba(220,160,40,0.22), transparent 55%),
      linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
  }

  .video-shell .bemvindo {
    position: absolute;
    left: 4%;
    top: 40%;
    font-family: var(--font-display);
    font-weight: 800;
    color: rgba(255,255,255,0.92);
    line-height: 1.15;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: clamp(14px, 1.6vw, 22px);
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
    pointer-events: none;
  }
  .video-shell .bemvindo span {
    display: block;
    opacity: 0;
    animation: bemSlide .9s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .video-shell .bemvindo span:nth-child(1) { animation-delay: 0.5s; }
  .video-shell .bemvindo span:nth-child(2) { animation-delay: 0.7s; --target-opacity: .75; }
  .video-shell .bemvindo span:nth-child(3) { animation-delay: 0.9s; --target-opacity: .55; }
  .video-shell .bemvindo span:nth-child(2) { animation-name: bemSlide2; }
  .video-shell .bemvindo span:nth-child(3) { animation-name: bemSlide3; }
  @keyframes bemSlide2 {
    0%   { transform: translateX(-30px); opacity: 0; filter: blur(4px); }
    100% { transform: translateX(0);     opacity: .75; filter: blur(0); }
  }
  @keyframes bemSlide3 {
    0%   { transform: translateX(-30px); opacity: 0; filter: blur(4px); }
    100% { transform: translateX(0);     opacity: .55; filter: blur(0); }
  }

  .video-shell .discs {
    position: absolute;
    right: 6%;
    top: 18%;
    display: flex; flex-direction: column; gap: 14px;
  }
  .disc {
    width: clamp(40px, 5vw, 72px);
    height: clamp(40px, 5vw, 72px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f6c651, #b07d12 65%, #6a4905 100%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.55), inset 0 0 14px rgba(0,0,0,0.4);
    position: relative;
    animation: float 5s ease-in-out infinite;
  }
  .disc:nth-child(1) { animation-delay: 0s; }
  .disc:nth-child(2) { animation: floatSlow 6s ease-in-out infinite; animation-delay: 0.4s; }
  .disc:nth-child(3) { animation-delay: 0.8s; }
  .disc::after {
    content:""; position:absolute; inset: 22%;
    border-radius:50%;
    background: radial-gradient(circle at 40% 40%, #2a2a2a, #060606);
    box-shadow: inset 0 0 6px rgba(255,255,255,0.05);
  }

  /* video player chrome */
  .video-chrome {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 10px 14px 8px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 10px; font-family: var(--font-display);
    letter-spacing: .5px;
  }
  .video-chrome .label { opacity: .8; text-transform: lowercase; }
  .video-chrome .progress {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.25);
    position: relative;
    margin: 0 8px;
  }
  .video-chrome .progress::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 38%; background: var(--white);
  }
  .video-chrome .progress::after {
    content: ""; position: absolute; left: 38%; top: 50%;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--white); transform: translate(-50%, -50%);
  }
  .video-chrome .icons { display: flex; gap: 8px; opacity: .85; }
  .video-chrome .icons span { width: 12px; height: 12px; border: 1px solid currentColor; display:inline-block; opacity:.6; }

  .play-btn {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.6);
    display: grid; place-items: center;
    transition: transform .25s ease, background .25s ease;
    z-index: 3;
  }
  .play-btn::after,
  .pulse-ring {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulseRing 2.4s cubic-bezier(.4,0,.4,1) infinite;
  }
  .play-btn::after { animation-delay: 0s; }
  .pulse-ring     { animation-delay: 0.8s; }
  .pulse-ring--2  { animation-delay: 1.6s; }

  .play-btn:hover { transform: translate(-50%, -50%) scale(1.1); background: rgba(255,255,255,0.25); }
  .play-btn::before {
    content: "";
    width: 0; height: 0;
    border-left: 14px solid var(--white);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
  }

  /* =========================================================
     HEADLINE BLOCK
     ========================================================= */
  .headline-block {
    padding: 56px 0 72px;
  }
  .headline {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 5.4vw, 78px);
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
  }
  .subhead {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 36px;
  }

  .cta-row {
    display: flex; gap: 14px; flex-wrap: wrap;
  }

  /* =========================================================
     STATS
     ========================================================= */
  .stats {
    padding: 56px 0 80px;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
  }
  .stat {
    position: relative;
  }
  .stat .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(48px, 6.5vw, 90px);
    line-height: 1;
    letter-spacing: -1px;
    color: var(--white);
    transition: transform .4s ease, color .4s ease;
  }
  .stat:hover .num { color: var(--gold); transform: translateY(-3px); }
  .stat .num .plus {
    font-weight: 700;
    margin-right: 2px;
  }
  .stat .label {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    opacity: .85;
  }
  .stat-bar {
    width: 60px; height: 2px;
    background: white;
    margin: 18px auto 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .stat.in .stat-bar { transform: scaleX(1); }

  /* =========================================================
     SECTION TITLE COMMON
     ========================================================= */
  /* =========================================================
     SPECIALITIES
     ========================================================= */
  .specialities {
    padding: 32px 0 80px;
  }
  .speciality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    perspective: 1200px;
  }
  .speciality {
    position: relative;
    aspect-ratio: 4 / 3.1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
    will-change: transform;
  }
  .speciality:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(240,178,51,0.4);
  }
  .speciality .bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .6s ease;
    filter: saturate(.9) brightness(.95);
  }
  .speciality:hover .bg {
    transform: scale(1.08);
    filter: saturate(1.1) brightness(1);
  }
  .speciality::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
    transition: background .5s ease;
  }
  .speciality:hover::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.92) 100%);
  }
  .speciality .title {
    position: absolute;
    left: 18px; bottom: 16px;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--white);
    letter-spacing: 0.3px;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
  }
  .speciality:hover .title { transform: translateY(-22px); }
  .speciality .arrow {
    position: absolute;
    left: 18px; bottom: 16px;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease .1s, transform .45s cubic-bezier(.2,.7,.2,1) .1s;
  }
  .speciality:hover .arrow { opacity: 1; transform: translateY(0); }
  .speciality .arrow::after {
    content: " →";
    display: inline-block;
    transition: transform .35s ease;
  }
  .speciality:hover .arrow::after { transform: translateX(4px); }

  .sp-1 .bg { background-image: url('assets/images/4.png'); }
  .sp-2 .bg { background-image: url('assets/images/2.png'); }
  .sp-3 .bg { background-image: url('assets/images/5.png'); }

  /* =========================================================
     ABOUT
     ========================================================= */
  .about {
    padding: 40px 0 90px;
  }
  .about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
  .about-image {
    position: relative;
    min-height: 380px;
    background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 2px;
  }
  .about-image::before {
    content: "";
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(90deg,
        rgba(255,255,255,0) 0,
        rgba(255,255,255,0) 14px,
        rgba(255,255,255,0.06) 14px,
        rgba(255,255,255,0.06) 16px);
    pointer-events: none;
  }

  .about-text {
    background: var(--bg-card);
    padding: 38px 40px;
    border-radius: 2px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .about-eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .about-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .about-subtitle {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    opacity: .85;
    margin-bottom: 22px;
  }
  .about-text p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 14px;
  }
  .about-text p strong { color: var(--white); font-weight: 600; }
  .about-link {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--white);
    align-self: flex-start;
    transition: gap .25s ease;
  }
  .about-link:hover { gap: 16px; }
  .about-link::after { content: "→"; font-size: 14px; }

  /* =========================================================
     PILLARS (Creativity / Technicity / Efficiency)
     ========================================================= */
  .pillars {
    background: var(--bg-soft);
    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .pillar {
    background: var(--bg-card);
    padding: 32px 30px 30px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s ease;
    border: 1px solid transparent;
  }
  .pillar::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width .6s cubic-bezier(.2,.7,.2,1);
  }
  .pillar:hover {
    transform: translateY(-6px);
    background: var(--bg-card-2);
    border-color: rgba(240,178,51,0.15);
  }
  .pillar:hover::before { width: 100%; }
  .pillar .icon {
    width: 44px; height: 44px;
    color: var(--gold);
    margin-bottom: 18px;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
  }
  .pillar:hover .icon { transform: rotate(-8deg) scale(1.1); }
  .pillar h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .pillar p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
  }
  .pillar .ghost-icon {
    position: absolute;
    right: -6px; top: -6px;
    width: 100px; height: 100px;
    color: var(--gold);
    opacity: 0.06;
    pointer-events: none;
    transition: opacity .5s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .pillar:hover .ghost-icon {
    opacity: 0.12;
    transform: scale(1.15) rotate(8deg);
  }

  /* =========================================================
     OUR FLOW
     ========================================================= */
  .flow {
    padding: 80px 0 70px;
    text-align: center;
  }
  .flow-title {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(24px, 2.6vw, 32px);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 56px;
    padding-bottom: 8px;
    position: relative;
  }
  .flow-title::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    transform: translateX(-50%) scaleX(0);
    transition: transform .9s cubic-bezier(.2,.7,.2,1);
    transform-origin: center;
  }
  .flow-title.in::after { transform: translateX(-50%) scaleX(1); }

  .flow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
  }
  .flow-line {
    position: absolute;
    top: 40px;
    left: 10%; right: 10%;
    height: 2px;
    pointer-events: none;
    z-index: 0;
  }
  .flow-line svg { width: 100%; height: 100%; overflow: visible; }
  .flow-line path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
    stroke-dashoffset: 1000;
    opacity: 0;
    transition: stroke-dashoffset 2s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
  }
  .flow-grid.in .flow-line path {
    stroke-dashoffset: 0;
    opacity: .55;
  }

  .flow-step {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    position: relative;
    z-index: 1;
  }
  .flow-step .pill {
    width: 80px; height: 80px;
    border-radius: 14px;
    background: var(--bg-card);
    display: grid; place-items: center;
    transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s ease, box-shadow .4s ease;
    position: relative;
    overflow: hidden;
  }
  .flow-step .pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(240,178,51,0.4), transparent 60%);
    opacity: 0;
    transition: opacity .5s ease;
  }
  .flow-step:hover .pill {
    transform: translateY(-6px) scale(1.05);
    background: var(--bg-card-2);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(240,178,51,0.25);
  }
  .flow-step:hover .pill::before { opacity: 1; }
  .flow-step .pill svg {
    width: 30px; height: 30px;
    color: var(--white);
    transition: transform .5s cubic-bezier(.2,.7,.2,1), color .4s ease;
    position: relative; z-index: 1;
  }
  .flow-step:hover .pill svg {
    color: var(--gold);
    transform: scale(1.15) rotate(-6deg);
  }
  .flow-step .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color .35s ease;
  }
  .flow-step:hover .name { color: var(--gold); }
  .flow-step .sub {
    font-family: var(--font-display);
    font-size: 9.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted-2);
  }

  /* =========================================================
     MARQUEE STRIP
     ========================================================= */
  .marquee {
    overflow: hidden;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background:
      linear-gradient(90deg,
        var(--bg-black) 0%,
        rgba(0,0,0,0) 8%,
        rgba(0,0,0,0) 92%,
        var(--bg-black) 100%),
      var(--bg-black);
    position: relative;
  }
  .marquee::before,
  .marquee::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
  }
  .marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-black), transparent); }
  .marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-black), transparent); }

  .marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 35s linear infinite;
  }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 3.5vw, 44px);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.08);
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
    transition: color .4s ease, -webkit-text-stroke .4s ease;
    white-space: nowrap;
  }
  .marquee-item:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
  .marquee-item .dot {
    width: 10px; height: 10px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  /* =========================================================
     FOOTER
     ========================================================= */
  .footer {
    padding: 50px 0 36px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
  }
  .footer .brand { font-size: 56px; }

  /* =========================================================
     RESPONSIVE
     ========================================================= */
  @media (max-width: 900px) {
    .stats-grid, .speciality-grid, .pillars-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { min-height: 260px; }
    .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  }
  @media (max-width: 600px) {
    .headline { font-size: 42px; }
    .video-shell { aspect-ratio: 16 / 10; }
    .video-shell .bemvindo { font-size: 12px; }
    .about-text { padding: 26px 22px; }
  }
