/* =============================================
   GLOBAL — Variáveis, Reset, Fontes
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --blue-deep:   #050D1F;
  --blue-dark:   #0A1628;
  --blue-mid:    #0F2040;
  --blue-med:    #1A3A6B;
  --blue-accent: #1E6FD9;
  --blue-bright: #3B8EF0;
  --blue-light:  #7BBCFF;
  --cyan:        #00C8E8;
  --cyan-light:  #5DE0F5;
  --white:       #FFFFFF;
  --muted:       #7A9CC4;
  --border:      rgba(59,142,240,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--blue-deep);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Páginas individuais ficam com min-height total */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Animações comuns */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
  50%       { opacity: 0.2; box-shadow: none; }
}

/* Botões globais */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-accent) 0%, #0E4CAA 100%);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 22px rgba(30,111,217,0.45);
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(30,111,217,0.65);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.68);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: rgba(0,200,232,0.4);
  color: var(--cyan-light);
  background: rgba(0,200,232,0.05);
}

/* Divider dourado */
.divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), var(--cyan));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* Toast de confirmação */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(5,18,46,0.96);
  border: 1px solid rgba(0,200,232,0.38);
  color: var(--cyan-light);
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(.22,.68,0,1.2);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 36px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Screen BG para páginas internas */
.screen-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 25%, rgba(0,200,232,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 18% 80%, rgba(30,111,217,0.07) 0%, transparent 55%);
}
