/* ============================================
   BASE CSS — LJR Digital Studio
============================================ */

body {
  font-family: var(--font);
  background-color: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ——— Skip Link para Acessibilidade ——— */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  z-index: 10001;
  transition: top var(--trans-base);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ——— Container ——— */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ——— Seção Labels / Eyebrow ——— */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.label-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
  border-radius: var(--radius-pill);
}

.label-text {
  font-size: var(--font-label);
  font-weight: var(--weight-btn);
  letter-spacing: var(--ls-label);
  color: var(--blue);
  text-transform: uppercase;
}

/* ——— Section Header ——— */
.section-header {
  margin-bottom: var(--header-gap);
}

.section-headline {
  font-size: var(--font-h2);
  font-weight: var(--weight-h2);
  color: var(--black);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  max-width: var(--title-max-width);
  margin-bottom: 16px;
}

.section-sub {
  font-size: var(--font-sub);
  color: var(--gray-text);
  line-height: var(--lh-sub);
  max-width: var(--sub-max-width);
}

/* ——— Botões Padronizados ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-height);
  padding: 0 32px;
  border-radius: var(--radius-md);
  font-size: var(--font-btn);
  font-weight: var(--weight-btn);
  letter-spacing: var(--ls-btn);
  cursor: pointer;
  transition: var(--trans-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.98) translateY(0) !important;
  transition: transform 100ms ease !important;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--trans-base);
}

/* Botão Primário */
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn--primary:active {
  transform: scale(0.98);
}

/* Botão Secundário */
.btn--secondary {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-mid);
}

.btn--secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: scale(1.02) translateY(-1px);
}

/* Botão Outline */
.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(15, 23, 42, 0.2);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: scale(1.02);
}

/* Botão WhatsApp */
.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.02) translateY(-1px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.btn__arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform var(--trans-base);
}

.btn:hover .btn__arrow {
  transform: translate(2px, -2px);
}

/* ——— Placeholders ——— */
.placeholder-img {
  background: var(--gray-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-mid);
  width: 100%;
  height: 100%;
}

.placeholder-inner svg {
  width: 64px;
  height: 64px;
  opacity: 0.7;
}

/* Tipos de Placeholder */
.placeholder-img--founder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gray-light);
}

.placeholder-img--about {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
}

.placeholder-img--project {
  width: 100%;
  aspect-ratio: 800 / 470;
  border-radius: var(--radius-lg);
}

.placeholder-img--avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.placeholder-img--cta {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.placeholder-img--signature {
  width: 100%;
  height: 40px;
  background: transparent;
  border-radius: 0;
  border-bottom: 1.5px solid rgba(15,23,42,0.15);
}

.placeholder-line {
  height: 14px;
  background: var(--gray-mid);
  border-radius: var(--radius-pill);
  opacity: 0.4;
}

.placeholder-line--name  { width: 120px; height: 14px; }
.placeholder-line--role  { width: 80px;  height: 10px; opacity: 0.25; margin-top: 6px; }
.placeholder-line--full  { width: 100%; margin-bottom: 8px; }
.placeholder-line--partial { width: 70%; }

/* ——— Focus States ——— */
*:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ——— Scroll Margin para Anchor Links ——— */
section[id] {
  scroll-margin-top: 88px;
}

/* ——— Cursor Ambient Spotlight (Desktop Only) ——— */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  margin-top: -300px;
  margin-left: -300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 500ms ease;
  will-change: transform;
}

.cursor-spotlight.active {
  opacity: 1;
}

@media (pointer: coarse) {
  .cursor-spotlight {
    display: none !important;
  }
}
