/*
  ESA 2026 - estilos gerais
  paleta verde-oliva / areia, fonte Fraunces + Inter
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --olive-900: #1d2415;
  --olive-700: #2f3a23;
  --olive-600: #3d4a2c;
  --olive-500: #556335;
  --olive-300: #94a26d;

  --sand-50:  #f6f1e4;
  --sand-100: #ede5cf;
  --sand-200: #e0d4b0;
  --sand-300: #c9b787;

  --rust:    #9a4a1f;
  --ochre:   #b8862a;
  --ink:     #1a1a17;
  --paper:   #faf7ef;
  --muted:   #6b6a5e;
  --line:    #d6cdb3;

  --radius:    4px;
  --radius-lg: 8px;

  --max: 1080px;
  --shadow-sm: 0 1px 2px rgba(29, 36, 21, .06), 0 2px 6px rgba(29, 36, 21, .04);
  --shadow:    0 4px 14px rgba(29, 36, 21, .09);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* tipografia */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--olive-900);
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.55rem, 3.4vw, 2rem);
  font-weight: 600;
}
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

em {
  font-style: italic;
  color: var(--rust);
  font-family: 'Fraunces', Georgia, serif;
}

a {
  color: var(--olive-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--sand-300);
}
a:hover { color: var(--rust); text-decoration-color: currentColor; }

ul { padding-left: 1.15rem; }
li { margin-bottom: 5px; font-size: 0.92rem; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 68px 0; }
section.bg-paper { background: var(--paper); }
section.bg-sand  { background: var(--sand-50); }
/* compat com nomes antigos */
section.bg-white   { background: var(--paper); }
section.bg-surface { background: var(--sand-50); }


/* -- HEADER ----------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olive-900);
  border-bottom: 1px solid var(--olive-700);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sand-50);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.header-logo span {
  color: var(--ochre);
  font-style: italic;
}

header nav {
  margin-left: auto;
  display: flex;
  gap: 2px;
}

header nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(246, 241, 228, .65);
  padding: 7px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background-color .15s;
}

header nav a:hover {
  color: var(--sand-50);
  background: rgba(246, 241, 228, .08);
}

header nav a.active {
  color: var(--ochre);
  background: rgba(184, 134, 42, .12);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(246, 241, 228, .2);
  color: var(--sand-50);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-left: auto;
}


/* -- BREADCRUMB ------------------------------------------- */

.breadcrumb {
  background: var(--sand-50);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--olive-700); font-weight: 500; }
.breadcrumb span { margin: 0 8px; color: var(--sand-300); }


/* -- PAGE HERO (subpáginas) ------------------------------- */

.page-hero {
  background: var(--olive-900);
  background-image:
    linear-gradient(rgba(29, 36, 21, .92), rgba(29, 36, 21, .92)),
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 18px,
      rgba(184, 134, 42, .04) 18px,
      rgba(184, 134, 42, .04) 20px
    );
  padding: 60px 0 52px;
  text-align: center;
  border-bottom: 3px solid var(--ochre);
}
.page-hero h1 { color: var(--sand-50); }
.page-hero em { color: var(--ochre); }
.page-hero p {
  margin: 14px auto 0;
  font-size: 1rem;
  color: rgba(246, 241, 228, .72);
  max-width: 580px;
}
.page-hero-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.78;
  color: var(--ochre);
}


/* -- HOME HERO -------------------------------------------- */

.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px 24px 72px;
  background: url('hero-esa.jpg') center / cover no-repeat;
  overflow: hidden;
  border-bottom: 3px solid var(--ochre);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 36, 21, .82) 0%, rgba(29, 36, 21, .92) 100%);
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: var(--ochre);
  color: var(--olive-900);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--sand-50);
  max-width: 760px;
  font-weight: 600;
}
.hero h1 em { color: var(--ochre); }

.hero-sub {
  margin: 18px auto 0;
  font-size: 1.05rem;
  color: rgba(246, 241, 228, .78);
  max-width: 580px;
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  border: 1px solid rgba(246, 241, 228, .18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .15);
}
.hero-stat {
  padding: 16px 26px;
  min-width: 108px;
  text-align: center;
  border-right: 1px solid rgba(246, 241, 228, .12);
}
.hero-stat:last-child { border-right: none; }

.hero-stat strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ochre);
  line-height: 1;
}
.hero-stat span {
  display: block;
  font-size: 0.74rem;
  color: rgba(246, 241, 228, .6);
  margin-top: 5px;
  letter-spacing: 0.02em;
}

.hero-urgency {
  margin-top: 26px;
  font-size: 0.86rem;
  color: rgba(246, 241, 228, .68);
}


/* -- COUNTDOWN -------------------------------------------- */

.countdown-bar {
  background: var(--olive-700);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--olive-600);
}
.countdown-bar p {
  font-size: 0.87rem;
  color: rgba(246, 241, 228, .75);
  font-weight: 500;
  margin: 0;
}
.countdown-bar strong { color: var(--ochre); }

.countdown-timer { display: flex; gap: 6px; }

.countdown-unit {
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(246, 241, 228, .08);
  border-radius: 3px;
  padding: 7px 13px;
  text-align: center;
  min-width: 56px;
}
.countdown-unit .num {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--sand-50);
  line-height: 1;
}
.countdown-unit .lbl {
  display: block;
  font-size: 0.6rem;
  color: rgba(246, 241, 228, .45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}


/* -- QUICK LINKS ------------------------------------------ */

.quick-links {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
  overflow-x: auto;
}
.quick-links-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--olive-700);
  background: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, background-color .15s;
}
.quick-link:hover {
  border-color: var(--olive-600);
  background: var(--sand-50);
  color: var(--olive-900);
}


/* -- LABEL DE SEÇÃO --------------------------------------- */

.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  padding: 0;
  background: none;
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--rust);
}

.section-desc {
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 620px;
  margin-top: 6px;
  margin-bottom: 36px;
}


/* -- SUMMARY (index) -------------------------------------- */

.summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 36px 0;
}
.summary-box {
  flex: 1;
  min-width: 140px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  transition: border-color .18s, transform .18s;
}
.summary-box::before {
  content: "";
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 2px;
  background: var(--olive-600);
}
.summary-box.gold-top::before { background: var(--ochre); }

.summary-box .val {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--olive-900);
  line-height: 1;
}
.summary-box.gold-top .val { color: var(--ochre); }
.summary-box .lbl {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 7px;
}


/* -- NAV CARDS (index) ------------------------------------ */

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 4px;
}

.nav-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.nav-card:hover {
  border-color: var(--olive-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.nav-card-icon {
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--olive-700);
}
.nav-card h3 { font-size: 1.08rem; margin: 4px 0 0; }
.nav-card p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  margin: 0;
  line-height: 1.55;
}
.nav-card-arrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--rust);
  margin-top: 6px;
  letter-spacing: 0.02em;
}


/* -- INFO GRID -------------------------------------------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 4px;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color .18s, transform .18s;
}
.info-card:hover {
  border-color: var(--olive-600);
  transform: translateY(-2px);
}
.info-card-icon {
  font-size: 2.1rem;
  margin-bottom: 12px;
  color: var(--olive-700);
}
.info-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.info-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}


/* -- CRONOGRAMA: FASES + DATA-BLOCKS ---------------------- */

.fase-section { margin-bottom: 48px; }

.fase-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--olive-900);
  padding: 10px 18px;
  background: var(--sand-100);
  border-left: 3px solid var(--rust);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 14px;
}

.data-block {
  display: flex;
  gap: 22px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: border-color .18s, box-shadow .18s;
}
.data-block:hover { border-color: var(--olive-500); }
.data-block.encerrado {
  opacity: 0.55;
  background: var(--sand-50);
}
.data-block.ativo {
  border-color: var(--rust);
  border-width: 2px;
  padding: 21px;
  background: #fefaf2;
}

.data-col {
  text-align: center;
  min-width: 56px;
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}
.data-col .dia {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--olive-900);
  line-height: 1;
}
.data-col .mes {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.data-col .ano {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}

.data-info { flex: 1; min-width: 0; }
.data-info h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.data-info p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin: 0; }

.detail {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  background: var(--sand-50);
  border-left: 2px solid var(--sand-300);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 8px 14px;
}

.status {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}
.status-encerrado { background: var(--sand-100); color: var(--muted); }
.status-ativo     { background: var(--rust); color: var(--sand-50); }
.status-futuro    { background: var(--sand-50); color: var(--olive-700); border: 1px solid var(--line); }

.grupos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.grupo-card {
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.grupo-card h4 { font-size: 0.92rem; margin: 0 0 4px; }
.grupo-data {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.74rem;
  color: var(--rust);
  margin-bottom: 8px;
}
.grupo-card ul { font-size: 0.84rem; margin: 0; }


/* -- STEPS (inscrição) ------------------------------------ */

.steps {
  display: flex;
  flex-direction: column;
  position: relative;
}
.step {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--olive-700);
  color: var(--sand-50);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step-body h3 { font-size: 1.06rem; margin: 0 0 8px; }
.step-body p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.6;
}


/* -- TAXA CARDS ------------------------------------------- */

.taxa-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0;
}
.taxa-card {
  background: var(--olive-900);
  border-radius: var(--radius-lg);
  padding: 30px 38px;
  text-align: center;
  flex: 1;
  min-width: 180px;
  position: relative;
  overflow: hidden;
}
.taxa-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 14px,
    rgba(184, 134, 42, .05) 14px,
    rgba(184, 134, 42, .05) 16px
  );
}
.taxa-card > * { position: relative; }
.taxa-card .valor {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ochre);
  line-height: 1;
}
.taxa-card .label {
  font-size: 0.85rem;
  color: rgba(246, 241, 228, .68);
  margin-top: 8px;
}


/* -- ISENCAO / AVISO -------------------------------------- */

.isencao-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.isencao-card h3 { font-size: 1rem; margin: 0 0 18px; }
.isencao-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.isencao-item:last-child { margin-bottom: 0; }
.isencao-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.isencao-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.isencao-item p strong {
  color: var(--ink);
  display: block;
  margin-bottom: 3px;
}


/* -- DOC GRID --------------------------------------------- */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  font-size: 0.88rem;
  font-weight: 500;
}
.doc-item span {
  font-size: 1.25rem;
  flex-shrink: 0;
}


/* -- ALERTS ----------------------------------------------- */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid;
}
.alert-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.alert strong { display: block; font-weight: 600; margin-bottom: 4px; }

.alert-verde {
  background: #f1f3e8;
  border-color: #c5cda5;
  color: #3d4a2c;
}
.alert-amarelo {
  background: #fbf3df;
  border-color: var(--sand-300);
  color: #6b521e;
}


/* -- TABELA (especialidades) ------------------------------ */

.search-input {
  width: 100%;
  max-width: 380px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  margin-bottom: 14px;
  outline: none;
  transition: border-color .15s;
}
.search-input:focus {
  border-color: var(--olive-600);
  box-shadow: 0 0 0 3px rgba(85, 99, 53, .12);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.filter-btn {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .15s;
}
.filter-btn:hover {
  border-color: var(--olive-500);
  color: var(--olive-700);
}
.filter-btn.active {
  background: var(--olive-700);
  border-color: var(--olive-700);
  color: var(--sand-50);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table thead {
  background: var(--olive-900);
  color: var(--sand-50);
}
.data-table th {
  padding: 13px 16px;
  text-align: left;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--sand-50); }
.data-table .hidden { display: none; }
.destaque-row td:first-child { font-weight: 600; }

.vagas-imediatas {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--olive-900);
}

.tag-area {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 2px;
}
.tag-saude          { background: #f0d6cc; color: #6b2a10; }
.tag-educacao       { background: #e0d6b8; color: #5c481c; }
.tag-administrativo { background: #d7dec5; color: #3d4a2c; }

.table-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
}


/* -- MATERIA GRID (dicas) --------------------------------- */

.materia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 4px;
}
.materia-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.materia-card h3 { font-size: 1rem; margin: 0 0 12px; }
.materia-card li { font-size: 0.87rem; color: var(--muted); margin-bottom: 5px; }

.peso {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.peso-alto  { background: #f0d6cc; color: #6b2a10; }
.peso-medio { background: #fbf3df; color: #6b521e; }


/* -- CRONOGRAMA DE ESTUDOS (dicas) ------------------------ */

.cronograma-estudo {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.dia-estudo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
}
.dia-estudo.descanso { background: var(--sand-100); }
.dia-nome {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--olive-900);
  margin-bottom: 6px;
}
.dia-materia {
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
}
.dia-horas {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.71rem;
  color: var(--muted);
}
.dia-estudo.descanso .dia-materia { color: var(--muted); }


/* -- DICAS NUMERADAS -------------------------------------- */

.dica-row { display: flex; flex-direction: column; }
.dica-item {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.dica-item:last-child { border-bottom: none; }

.dica-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--paper);
  border: 1.5px solid var(--olive-600);
  color: var(--olive-700);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.dica-item h4 { margin: 0 0 6px; }
.dica-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin: 0; }


/* -- CONTEXTO BOX (requisitos) ---------------------------- */

.contexto-box {
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin-bottom: 8px;
}
.contexto-box h3 { font-size: 1rem; margin: 0 0 8px; }
.contexto-box p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin: 0; }


/* -- COTA / REQUISITO DETALHADO --------------------------- */

.cota-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
}

.cota-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--olive-900);
}
.cota-header.pcd {
  background: var(--olive-700);
}

.cota-pct-big {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ochre);
  line-height: 1;
  flex-shrink: 0;
}
.cota-header-text h3 {
  color: var(--sand-50);
  font-size: 1.05rem;
  margin: 0;
}
.cota-header-text p {
  font-size: 0.86rem;
  color: rgba(246, 241, 228, .72);
  margin-top: 4px;
}

.cota-body {
  padding: 22px 26px;
  background: var(--paper);
}

.cota-sub-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.cota-sub {
  flex: 1;
  min-width: 110px;
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}
.cota-sub .pct {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--olive-900);
}
.cota-sub .nome {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 4px;
}

.docs-list { display: flex; flex-direction: column; gap: 16px; }
.doc-row { display: flex; gap: 14px; }
.doc-row .icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.doc-row p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin: 0; }
.doc-row strong { color: var(--ink); display: block; margin-bottom: 3px; }


/* -- FAQ -------------------------------------------------- */

.faq { margin-top: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--paper);
  overflow: hidden;
}
.faq-item summary {
  padding: 15px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--olive-900);
  user-select: none;
  font-family: 'Fraunces', Georgia, serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  color: var(--rust);
  flex-shrink: 0;
  margin-left: 12px;
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] summary { background: var(--sand-50); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  margin: 0;
}


/* -- FOOTER ----------------------------------------------- */

footer {
  background: var(--olive-900);
  padding: 38px 24px 28px;
  text-align: center;
  border-top: 3px solid var(--ochre);
}
.footer-nav {
  max-width: var(--max);
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
}
.footer-nav a {
  font-size: 0.86rem;
  color: rgba(246, 241, 228, .55);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--sand-50); }
footer > p {
  font-size: 0.78rem;
  color: rgba(246, 241, 228, .32);
  margin: 0;
}


/* -- ANIMAÇÕES -------------------------------------------- */

.fade-in-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
}
.fade-in-item.visible {
  opacity: 1;
  transform: translateY(0);
}


/* -- RESPONSIVO ------------------------------------------- */

@media (max-width: 900px) {
  .cronograma-estudo { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 46px 0; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--olive-900);
    flex-direction: column;
    padding: 14px 24px 20px;
    gap: 2px;
    border-bottom: 1px solid var(--olive-700);
    z-index: 49;
  }
  header nav.open { display: flex; }
  header nav a { padding: 10px 14px; }

  .hero { min-height: 480px; padding: 70px 24px 60px; }
  .hero-stats { flex-direction: column; }
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(246, 241, 228, .12);
    padding: 12px 24px;
  }
  .hero-stat:last-child { border-bottom: none; }
  .hero-stat strong { font-size: 1.3rem; }

  .countdown-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .countdown-unit { min-width: 48px; padding: 6px 10px; }
  .countdown-unit .num { font-size: 1.05rem; }

  .summary-row { gap: 10px; }
  .summary-box { min-width: 130px; padding: 18px 14px; }
  .summary-box .val { font-size: 1.55rem; }

  .data-block { flex-direction: column; gap: 14px; }
  .data-col {
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 10px;
    text-align: left;
  }
  .data-col .dia { font-size: 1.6rem; }

  .cota-header { flex-direction: column; text-align: center; gap: 12px; }
  .taxa-card .valor { font-size: 2.1rem; }
  .grupos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cronograma-estudo { grid-template-columns: repeat(2, 1fr); }
  .nav-cards { grid-template-columns: 1fr; }
  .materia-grid { grid-template-columns: 1fr; }
  .quick-links-inner { justify-content: flex-start; }
  .taxa-card { padding: 24px 20px; }
}
