
@layer base {
  :root {
    --font-heading: 'Outfit', sans-serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
  }
}

.font-heading {
  font-family: var(--font-heading);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Custom earthy / bronze gradients and borders */
.bg-fortress-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(217, 119, 36, 0.12) 0%, rgba(14, 12, 10, 0.95) 75%, #090807 100%);
}

.border-bronze-subtle {
  border-color: rgba(217, 119, 36, 0.2);
}

.border-bronze-glow {
  border-color: rgba(217, 119, 36, 0.45);
  box-shadow: 0 0 25px -5px rgba(217, 119, 36, 0.2);
}

.text-gradient-bronze {
  background: linear-gradient(135deg, #f59e0b 0%, #d97724 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97724 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle grid texture overlay */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(217, 119, 36, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(217, 119, 36, 0.04) 1px, transparent 1px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0e0c0a;
}
::-webkit-scrollbar-thumb {
  background: #2a221b;
  border-radius: 4px;
  border: 1px solid rgba(217, 119, 36, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #d97724;
}

/* Gladius CRM presentation embedded in the LP. The internal visual language intentionally
   follows the CRM project supplied by Colisor instead of inheriting the bronze LP palette. */
.gladius-preview {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
.gladius-preview button { font-family: inherit; }
@media (max-width: 639px) {
  .gladius-preview { border-radius: 14px; }
}

/* Effect 1 is the actual site entrance */
html, body, #root { min-height: 100%; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.effect1-entry {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  width: 100%;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}

.effect1-stage,
.effect1-stage canvas,
.effect1-fallback,
.effect1-darken {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.effect1-stage { z-index: 0; }

.effect1-darken {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 47%, rgba(0,0,0,.02) 0%, rgba(0,0,0,.06) 42%, rgba(0,0,0,.35) 78%, rgba(0,0,0,.66) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.24));
}

.effect1-transition-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(150px, 24vh, 260px);
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(9,8,7,0) 0%, rgba(9,8,7,.18) 28%, rgba(9,8,7,.72) 72%, #090807 100%);
  overflow: hidden;
}

.effect1-transition-fade::before {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -44%;
  height: 150%;
  background: radial-gradient(ellipse at 50% 42%, rgba(217,119,36,.22) 0%, rgba(180,83,9,.1) 24%, rgba(9,8,7,0) 66%);
  filter: blur(24px);
  mix-blend-mode: screen;
  opacity: .7;
  animation: effect1LightPropagation 7.5s ease-in-out infinite;
}

/* A shared seam makes the page feel like one continuous dark environment. */
#conteudo-principal > section {
  position: relative;
  isolation: isolate;
}

#conteudo-principal > section + section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -clamp(56px, 8vw, 112px);
  height: clamp(72px, 10vw, 132px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(9,8,7,0), rgba(9,8,7,.72) 52%, rgba(9,8,7,.96) 100%);
}

/* Os cards de parceiros precisam manter contraste integral, sem a camada de junção. */
#conteudo-principal > .partner-logos-section::before {
  display: none;
}

.effect1-entry-ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.effect1-entry-bottom {
  position: absolute;
  left: 50%;
  bottom: clamp(32px, 5.2vh, 58px);
  transform: translateX(-50%);
  text-align: center;
  width: min(92vw, 520px);
  pointer-events: auto;
  animation: effect1UiIn 1.8s .45s cubic-bezier(.22,.7,.2,1) both;
}

.effect1-enter {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(244,238,230,.95);
  background: transparent;
  color: #f4eee6;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 1.65vw, 31px);
  line-height: 1;
  padding: 0 0 7px;
  cursor: pointer;
  transition: opacity .35s ease, transform .35s ease, letter-spacing .35s ease;
}

.effect1-enter:hover {
  opacity: .72;
  transform: translateY(-2px);
  letter-spacing: .025em;
}

.effect1-entry-bottom p {
  margin-top: 24px;
  color: rgba(244,238,230,.38);
  font-size: clamp(8px, .52vw, 10px);
  line-height: 1.45;
  letter-spacing: .015em;
}

.effect1-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #000;
}

.effect1-loader span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: effect1Spin .8s linear infinite;
}

.effect1-fallback {
  background: #0b0704 url('/effect1/raw-1.png') center/cover no-repeat;
  animation: effect1Fallback 1.4s ease both;
}

@keyframes effect1UiIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes effect1LightPropagation {
  0%, 100% { transform: translateY(16%) scaleX(.82); opacity: .34; }
  50% { transform: translateY(-12%) scaleX(1.08); opacity: .82; }
}

@keyframes effect1Spin { to { transform: rotate(360deg); } }
@keyframes effect1Fallback {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

#conteudo-principal {
  scroll-margin-top: 0;
}

@media (max-width: 640px) {
  .effect1-entry-bottom { bottom: 5vh; }
  .effect1-enter { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .effect1-entry-bottom,
  .effect1-fallback,
  .effect1-transition-fade::before { animation-duration: .15s; animation-delay: 0s; }
}
