/* =========================================
   Colégio Ábaco — Design Tokens & Base
   ========================================= */
:root {
  /* Primárias */
  --abc-blue: #0B71A1;       /* Pantone 7462 C */
  --abc-black: #373435;       /* Pantone Black C */
  /* Secundárias */
  --abc-cyan: #00BDFF;        /* Light blue */
  --abc-navy: #00276D;        /* Deep navy */
  /* Neutros */
  --abc-white: #ffffff;
  --abc-off: #f5f7fa;
  --abc-mist: #e8eef3;
  --abc-stone: #c8d3dc;
  --abc-ink: #1c2024;
  --abc-muted: #6b7480;

  /* Fonts */
  --font-display: 'Outfit', 'Nexa', 'Open Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  /* Spacing */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11,113,161,.08);
  --shadow-md: 0 12px 32px rgba(11,113,161,.12);
  --shadow-lg: 0 24px 64px rgba(0,39,109,.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--abc-ink);
  background: var(--abc-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--abc-black);
}

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

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

/* Eyebrow / labels */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--abc-blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--abc-blue);
  color: var(--abc-white);
  box-shadow: 0 8px 20px rgba(11,113,161,.32);
}
.btn-primary:hover { background: var(--abc-navy); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,39,109,.4); }
.btn-cyan {
  background: var(--abc-cyan);
  color: var(--abc-navy);
}
.btn-cyan:hover { background: #4ed1ff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--abc-white);
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: white; }
.btn-outline {
  background: transparent;
  color: var(--abc-blue);
  border-color: var(--abc-blue);
}
.btn-outline:hover { background: var(--abc-blue); color: white; }

/* Section spacing */
section { padding: clamp(56px, 8vw, 110px) 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 56px);
}
.section-head p {
  font-size: 18px;
  color: var(--abc-muted);
  margin: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.flex { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }
.center { align-items: center; justify-content: center; }
.between { justify-content: space-between; }

/* Scrollbar hidden helper */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }

/* Placeholder image — branded grid */
.ph {
  position: relative;
  background: linear-gradient(135deg, var(--abc-blue), var(--abc-navy));
  color: rgba(255,255,255,.85);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(0,189,255,.35), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(255,255,255,.12), transparent 50%);
  pointer-events: none;
}
.ph.cyan { background: linear-gradient(135deg, var(--abc-cyan), var(--abc-blue)); color: var(--abc-navy); }
.ph.navy { background: linear-gradient(135deg, var(--abc-navy), #001540); }
.ph.warm { background: linear-gradient(135deg, #ffb45c, #e07b2a); }
.ph.green { background: linear-gradient(135deg, #4ec97a, #128a4c); }
.ph.purple { background: linear-gradient(135deg, #8a6bff, #4a36b8); }
.ph.rose { background: linear-gradient(135deg, #ff7a9c, #b8366a); }
.ph span {
  position: relative;
  z-index: 1;
  max-width: 80%;
}

/* The "blob" / circle motif from the brand guide */
.brand-blob {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--abc-blue);
  pointer-events: none;
}

/* App root keeps the inner edit-mode toggle from CSS conflicts */
#app { display: block; }
