/* ============================================================
   Free School — Educação auto-dirigida
   Paleta do logo: vermelho #FF0000 · amarelo #FFED00 · azul #003BE3
   Mobile-first
   ============================================================ */

:root {
  --red: #ff0000;
  --yellow: #ffed00;
  --blue: #003be3;
  --ink: #101114;
  --ink-soft: #4a4d55;
  --cream: #f6f5f1;
  --line: #e7e6e1;
  --white: #ffffff;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Logo (HTML/CSS) ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-stack { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.logo-stack .sq { display: block; border-radius: 2px; }
.sq-r { width: 8px;  height: 8px;  background: var(--red); }
.sq-y { width: 15px; height: 15px; background: var(--yellow); }
.sq-b { width: 24px; height: 24px; background: var(--blue); }
.logo-word { display: flex; flex-direction: column; line-height: .92; font-family: var(--font-head); }
.logo-word b { font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; }
.logo-word i { font-style: normal; font-weight: 400; font-size: 1.24rem; letter-spacing: .01em; }
.logo--light .logo-word b,
.logo--light .logo-word i { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.nav { display: none; gap: 26px; align-items: center; font-weight: 500; font-size: 0.95rem; }
.nav a { color: var(--ink-soft); transition: color .18s ease; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--ink); border: 1.5px solid var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--ink); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 40px; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; gap: 42px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .72rem; color: var(--blue); margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.3rem, 8.5vw, 4.2rem); line-height: 1.03;
  letter-spacing: -0.02em; margin: 0 0 22px;
}
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .05em; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 42ch; margin: 0 0 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; border-top: 1px solid var(--line); }
.section-cream { background: var(--cream); border-top: none; }
.section-dark { background: var(--ink); color: #fff; border-top: none; }
.section-dark .section-lead { color: #c9cbd2; }
.tag {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .72rem; color: var(--red); margin: 0 0 14px;
}
.section-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1.08;
  letter-spacing: -0.02em; margin: 0 0 18px; max-width: 20ch;
}
.section-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; margin: 0 0 40px; }

/* ---------- Grids ---------- */
.grid-3, .grid-4 { display: grid; gap: 20px; grid-template-columns: 1fr; }

/* Problems */
.problems { list-style: none; padding: 0; margin: 0; }
.problems li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.problems h3 { font-family: var(--font-head); font-size: 1.1rem; margin: 14px 0 8px; }
.problems p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.dot { display: inline-block; width: 18px; height: 18px; border-radius: 5px; }
.dot-red { background: var(--red); }
.dot-yellow { background: var(--yellow); }
.dot-blue { background: var(--blue); }
.dot-dark { background: var(--ink); }

/* Proposta */
.two-col { display: grid; grid-template-columns: 1fr; gap: 24px; }
.prose p { font-size: 1.1rem; margin: 0 0 18px; color: var(--ink-soft); }
.prose strong { color: var(--ink); }

/* Pillars */
.pillars .pillar { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; border-top: 8px solid var(--ink); background: var(--white); }
.pillars .pillar-red { border-top-color: var(--red); }
.pillars .pillar-yellow { border-top-color: var(--yellow); }
.pillars .pillar-blue { border-top-color: var(--blue); }
.pillar-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--ink); opacity: .25; }
.pillar h3 { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.2; margin: 10px 0 12px; }
.pillar p { margin: 0; color: var(--ink-soft); }

/* Problem Solvers — steps on dark */
.steps .step {
  background: #17181c;
  border: 1px solid #2a2c33;
  border-radius: var(--radius);
  padding: 26px;
  border-top: 8px solid var(--ink);
}
.steps .step-red { border-top-color: var(--red); }
.steps .step-yellow { border-top-color: var(--yellow); }
.steps .step-blue { border-top-color: var(--blue); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; opacity: .3; }
.steps h3 { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.2; margin: 10px 0 12px; color: #fff; }
.steps p { margin: 0; color: #b9bcc4; font-size: .98rem; }

/* Outcomes chips */
.outcomes { margin-top: 40px; }
.outcomes-label {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: .72rem; color: #8d9099; margin: 0 0 16px;
}
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid #2a2c33; border-radius: 999px;
  padding: 10px 18px; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: #fff;
}
.chip-dot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; }
.soon {
  margin: 36px 0 0; padding-top: 24px; border-top: 1px solid #2a2c33;
  color: #8d9099; font-size: .96rem;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 720px; }
.contact-item {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; transition: transform .15s ease, border-color .2s ease;
}
.contact-item:hover { transform: translateY(-2px); border-color: var(--blue); }
.contact-label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--ink-soft); }
.contact-value { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 46px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-note { margin: 0; color: #c9cbd2; font-size: .95rem; }
.footer-copy { margin: 0; color: #7d808a; font-size: .85rem; }

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 720px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .hero { padding: 90px 0 80px; }
  .hero-copy { max-width: 820px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 96px 0; }
}
