/* =====================================================================
   NOTEBOOK AND PAPER THEME - Stage 1 of the redesign
   Same Ágora colors (blue, green/blue/terracotta of the areas), with a
   notebook look: sheets with soft shadow, highlighter, handwritten
   notes, cover with spiral and the graph on squared paper.
   ===================================================================== */

h1,h2,h3{ letter-spacing:-.012em; }
::selection{ background:var(--marca); }

/* notebook cover */
header.hero{
  background-color:var(--ink);
  background-image:repeating-linear-gradient(to bottom, transparent 0 39px, rgba(255,255,255,.07) 39px 40px);
  border-radius:0 0 28px 28px;
  padding-bottom:92px;
}
header.hero::before{
  left:0; right:0; top:auto; bottom:22px;
  width:auto; height:14px;
  border:0; border-radius:0;
  background-image:radial-gradient(circle at 50% 50%, rgba(255,255,255,.92) 0 5px, transparent 5.6px);
  background-size:36px 14px;
  background-repeat:repeat-x;
}
.hero .subtitle{
  font-family:var(--font-hand);
  font-style:normal;
  font-weight:600;
  font-size:32px;
  line-height:1.1;
  margin-top:6px;
}
.hero p.lede{ font-size:18px; line-height:1.6; }
.hero-actions a.primary{
  border-radius:var(--raio-md);
  box-shadow:0 3px 0 rgba(0,0,0,.20);
}
.hero-actions a.primary:hover{ box-shadow:0 5px 0 rgba(0,0,0,.20); }
.hero-actions a.primary:active{ transform:translateY(2px); box-shadow:0 1px 0 rgba(0,0,0,.20); }
.hero-return-kicker{ font-family:var(--font-hand); font-size:24px; letter-spacing:0; font-weight:600; text-transform:none; }
.hero-return-topic{ border-radius:var(--raio-md); }

/* notebook tabs */
nav.section-nav{ background:#fff; border-bottom:2px solid var(--linha); }
nav.section-nav a{
  padding:7px 12px 6px;
  border-radius:var(--raio-sm) var(--raio-sm) 0 0;
  border-bottom:2px solid transparent;
  transition:background-color .15s ease, border-color .15s ease, color .15s ease;
}
nav.section-nav a:hover{ background:var(--paper-2); border-bottom-color:var(--giz); color:var(--ink); }
.section-nav a[aria-current="true"]{ background:var(--paper-2); }

/* sections: sheets separated by dotted lines and a discreet margin */
section{ border-bottom:2px dashed var(--linha); }
@media (min-width:1180px){
  section > .wrap{ position:relative; }
  section > .wrap::before{
    content:"";
    position:absolute; left:-18px; top:0; bottom:0;
    width:2px; background:var(--margem);
  }
}

/* headings with handwritten note and highlighter */
.section-head{ max-width:660px; }
.section-head .kicker{
  display:block;
  font-family:var(--font-hand);
  font-weight:600;
  font-size:24px;
  line-height:1;
  letter-spacing:0;
  color:var(--ink);
  text-transform:lowercase;
  margin-bottom:6px;
}
.section-head .kicker::first-letter{ text-transform:uppercase; }
.section-head h2{
  display:inline;
  margin-top:0;
  line-height:1.5;
  padding:0 .12em;
  background-image:linear-gradient(transparent 62%, var(--marca) 62%);
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
.section-head p{ margin-top:18px; }
.area-title h3{ font-size:21px; }
.area-title .dot{ width:12px; height:12px; }

/* sheets: cards and boxes with soft corners and paper shadow */
.card,
.gps-card,
.profile-card,
.newsletter-card,
.notice-card,
.notice-new,
.test-form,
.disclaimer-box,
.notice-legend,
.modal-note,
.studying-empty{
  border-radius:var(--raio-md);
}
.card,
.gps-card,
.newsletter-card,
.notice-card{
  border:1px solid var(--linha);
  box-shadow:var(--sombra-folha);
}
.card{ box-shadow:inset 5px 0 0 var(--card-accent, var(--ink)), var(--sombra-folha); padding-left:24px; }
.card:hover{ box-shadow:inset 5px 0 0 var(--card-accent, var(--ink)), var(--sombra-folha-hover); }
.card.subject-focus{ box-shadow:inset 5px 0 0 var(--card-accent, var(--ink)), 0 0 0 2px var(--ink), var(--sombra-folha); }
.gps-card{ box-shadow:inset 5px 0 0 var(--ink-soft), var(--sombra-folha); padding-left:26px; }
.newsletter-card{ box-shadow:inset 5px 0 0 var(--ink), var(--sombra-folha); padding-left:24px; }
.newsletter-card:hover{ box-shadow:inset 5px 0 0 var(--ink), var(--sombra-folha-hover); }
.notice-card{ box-shadow:inset 5px 0 0 var(--giz), var(--sombra-folha); padding-left:24px; }
.disclaimer-box{ box-shadow:inset 5px 0 0 var(--humanas); border-left-width:1px; padding-left:22px; }
.profile-card{ box-shadow:var(--sombra-folha); }
.studying-empty{ border-width:2px; }

/* roadmap: the graph on squared paper */
.graph-wrap{
  border-radius:var(--raio-lg);
  border:1px solid var(--linha);
  background-color:#fff;
  background-image:
    linear-gradient(var(--linha) 1px, transparent 1px),
    linear-gradient(90deg, var(--linha) 1px, transparent 1px);
  background-size:26px 26px;
  box-shadow:var(--sombra-folha);
}
.node-graph .node-rect{ rx:10px; ry:10px; stroke-width:2; }
.node-text{ font-weight:600; }
.graph-legend span{ background:#fff; padding:2px 8px; border-radius:999px; }

/* buttons and controls: rounded corners, primary button like a sticker */
.btn-primary,
.btn-secondary,
.login-link,
.test-start-btn,
.notice-delete-btn,
.gps-topic-current,
.status-select,
.newsletter-card,
.level-card{
  border-radius:var(--raio-sm);
}
.btn-primary{
  border-color:var(--ink-fundo);
  box-shadow:0 3px 0 var(--ink-fundo);
  font-weight:700;
}
.btn-primary:hover{ box-shadow:0 5px 0 var(--ink-fundo); transform:translateY(-1px); }
.btn-primary:active{ transform:translateY(2px); box-shadow:0 1px 0 var(--ink-fundo); }
.btn-secondary, .login-link, .test-start-btn{ border-width:1.5px; font-weight:700; }
.stage-toggle{ border-width:1.5px; }
.stage-toggle button, .track-toggle button{ font-weight:700; }
.track-toggle button{ border-radius:var(--raio-sm); border-width:1.5px; }
.modal-field input, .modal-field select, .notice-new textarea{ border-radius:var(--raio-sm); border-width:1.5px; }
.modal-field{ font-weight:700; letter-spacing:.02em; }
.gps-label, .profile-label, .parts-title, .recommendations-title{ font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:11px; }
.contact-label, .status-label, .notice-date, .newsletter-meta{ font-weight:700; }

/* janelas */
.modal-box{ border-radius:var(--raio-lg); box-shadow:0 24px 60px -20px rgba(15,35,50,.45); }
.modal-box h3{ font-size:24px; }
.subjects-checklist{ border-radius:var(--raio-md); border-width:1.5px; }
.faq-item summary{ font-size:15.5px; }

/* roadmap steps */
.step .tag{ font-weight:700; }
.recommendations-type{ border-radius:999px; padding:1px 8px; font-weight:700; }
.req-notice{ border-radius:var(--raio-sm); }

/* newsletter reading, with a sheet look */
.newsletter-body p{ font-size:17px; line-height:1.75; }
.newsletter-reading h3{ font-size:32px; }

/* focus mode notice */
.focus-notice{ border-bottom:2px dashed var(--linha); }

/* chat */
.chat-panel{ border-radius:var(--raio-lg); }
.chat-header{ border-radius:0; }
.chat-bubble{ border-radius:16px 16px 16px 4px; }
.chat-bubble.user{ border-radius:16px 16px 4px 16px; }
.chat-bubble button.chat-link-node, .chat-form input, .chat-send-btn{ border-radius:var(--raio-sm); }
.chat-toggle-btn{ box-shadow:0 4px 0 var(--ink-fundo), 0 10px 18px -8px rgba(15,35,50,.45); }
.chat-toggle-btn:active{ transform:translateY(2px); box-shadow:0 2px 0 var(--ink-fundo); }

/* administrator bar and footer */
.admin-bar button, .admin-badge{ border-radius:var(--raio-sm); }
footer{ border-radius:28px 28px 0 0; margin-top:0; }

@media (max-width:640px){
  header.hero{ padding-bottom:76px; border-radius:0 0 22px 22px; }
  .hero .subtitle{ font-size:28px; }
  .section-head .kicker{ font-size:22px; }
  .graph-wrap{ background-size:22px 22px; }
}


/* Clear bars between one topic/step and the next (lists of topics and steps). */
.step-list > .step + .step,
.topics-elementary > .topic-elementary + .topic-elementary{
  margin-top:18px; padding-top:18px; border-top:3px solid var(--linha, rgba(0,0,0,.12));
}
.step-list > .step, .topics-elementary > .topic-elementary{ border-left:4px solid var(--giz, #79CBEF); }
[data-progressive-hidden]{ display:none !important; }
.progressive-more{ display:block; margin:14px auto 4px; }
