/* =========================================================
   Delta Design — Site-specific overrides
   ---------------------------------------------------------
   Loaded AFTER colors_and_type.css e components.css.
   ========================================================= */

/* ── Base chrome ── */
html { scrollbar-color: var(--surface-3) var(--canvas); }
body {
  margin: 0;
  /* Gradient mesh ambiental — profundidade no background */
  background:
    radial-gradient(ellipse 80% 50% at 20% -5%, rgba(108,11,214,0.10) 0%, transparent 62%),
    radial-gradient(ellipse 55% 40% at 82% 105%, rgba(108,11,214,0.07) 0%, transparent 58%),
    var(--canvas);
}
::selection { background: var(--delta-purple); color: #fff; }

/* ── Noise texture global (granulação sutil) ── */
.site::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ── Separadores sutis entre seções ── */
.section + .section { position: relative; }
.section + .section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,11,214,0.15), transparent);
  pointer-events: none;
}

/* ── Section padding (tighter than DS base) ── */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

/* ── Section head ── */
.section-head { gap: 14px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 54px); max-width: 760px; }

/* ── Pill radius for buttons ── */
.btn { border-radius: var(--r-pill); }

/* ── Botão: active press + ripple ── */
.btn { position: relative; overflow: hidden; }
.btn:active { transform: scale(0.97) !important; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
}
.btn:active::after { opacity: 1; transition: opacity 0ms; }

/* ── Eyebrow dot = official purple ── */
.eyebrow.with-tri::before { background: var(--delta-purple); }

/* ── Eyebrow pill — mais impacto visual ── */
.eyebrow.with-tri {
  background: rgba(108,11,214,0.07);
  border: 1px solid rgba(108,11,214,0.16);
  padding: 4px 14px 4px 10px;
  border-radius: 9999px;
}

/* ── Footer links — underline deslizante ── */
.footer-col a {
  position: relative;
  display: inline-block;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--delta-purple-soft);
  transition: width 240ms var(--ease-out);
}
@media (hover: hover) {
  .footer-col a:hover { color: var(--fg-1) !important; }
  .footer-col a:hover::after { width: 100%; }
}

/* ================================================================
   Responsive — global overrides
   ================================================================ */

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 48px 0; }
  .section-head { margin-bottom: 40px; gap: 12px; }
  .section-head h2 { font-size: clamp(28px, 5.5vw, 42px) !important; }
  .section-head .lede { font-size: 15px; }
}

/* ── Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(26px, 7vw, 34px) !important; }
  .section-head .lede { font-size: 14px; }

  /* Buttons full-width em contextos de CTA */
  .btn { min-height: 48px; }
}

/* ── Overflow safety ── */
* { box-sizing: border-box; }
img, video, svg { max-width: 100%; }

/* ── Reduced motion — accessibility ── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-orb { animation: none !important; }
  .marquee-track { animation-play-state: paused !important; }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
