/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  color: #0c0c0c;
  background: #f2f2f2;
  line-height: 1.6;
}
a { color: #4e3ad8; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #4e3ad8, #e6216a);
  color:#fff; text-align:center; padding:36px 0 64px;
}
.logo-hero { width: 124px; height:auto; margin-bottom:10px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin:0 0 8px; font-weight:900; line-height:1.15; }
.subtitle { opacity:.95; margin:0 auto 16px; max-width:780px; }
.btn { display:inline-block; padding:12px 22px; border-radius:999px; font-weight:800; }
.btn-cta { background:#fff; color:#4e3ad8; }
.btn-cta:hover { filter:brightness(.95); }

/* ===== Sections ===== */
.section { padding:56px 0; }
.section-alt { background:#fff; }
.section h2 { font-size:1.875rem; margin:0 0 14px; }

.bullets { margin: 12px 0 16px; }
.bullets li { margin: 8px 0; }

.callout { border-left:4px solid #4e3ad8; background:#fff; padding:14px 16px; }
.callout.success-pink { border-color: #e6216a; }
.callout.success-purple { border-color: #4e3ad8; }

/* ===== Opções por nível — robust style ===== */
.level-group { margin-top: 28px; }
.level-title { font-size:1rem; font-weight:900; text-transform:uppercase; letter-spacing:.8px; color:#4e3ad8; margin:0 0 10px; }
.rows.robust { display:flex; flex-direction:column; gap:18px; }
.robust-card {
  display:grid; grid-template-columns: 140px 1fr; gap:16px;
  background:#fff; border-radius:18px; padding:16px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 16px 28px rgba(0,0,0,.05);
}
/* Ajuste específico para o card com grid de badges */
.robust-card:has(.badge-grid) {
  grid-template-columns: 260px 1fr;
  padding: 20px;
}
.badge img { width:120px; height: auto; object-fit:contain; }
.badge .ph { width:120px; height: auto; border-radius:12px; background:linear-gradient(135deg, #dcdcdc, #ffffff); display:grid; place-items:center; font-weight:800; color:#666; }

/* Grid for multiple small badges inside the badge column */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 234px; /* increased by 30% from 180px */
  align-items: center;
  justify-items: center;
  margin: 0 auto; /* center the grid */
}
.badge-grid img {
  width: 68px; /* increased by 30% from 52px */
  height: 68px;
  object-fit: contain;
  display: block;
}
.robust-paths { 
  display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-left: 40px;
}
/* Ajuste específico para o texto ao lado do grid de badges */
.robust-card:has(.badge-grid) .robust-paths {
  margin-left: 0;
  align-self: center;
}
.chip {
  background: #f7f7ff; border:1px solid rgba(78,58,216,.25); padding:10px 14px; border-radius:999px; font-weight:600;
}
.chip .small { font-weight:500; opacity:.9; }
.divisor {
  /* vertical bar: estreito e alto */
  width: 6px;
  height: 48px;
  border-radius: 3px;

  /* mantém o gradiente tal como está (90deg) */
  background: linear-gradient(90deg, #4e3ad8, #e6216a);

  /* espaçamento lateral quando usado inline em um flex row */
  margin: 0 10px;
  /* centraliza verticalmente dentro do flex */
  align-self: center;
}
.micro-note { color:#848484; font-size:.9rem; margin-top:10px; }

/* ===== Exemplos ===== */
.ex-card { background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:16px; padding:18px; box-shadow:0 12px 24px rgba(0,0,0,.04); margin-bottom:16px; }
.ex-badge img { width:120px; height:120px; object-fit:contain; display:block; margin: 4px auto 6px; }
.ex-card h3 { text-align:center; margin-top:4px; }
.vertical-grid { display:grid; gap:12px; grid-template-columns: 1fr; }
.ex-box { background: #fdfdfd; border:1px dashed #4e3ad8; border-radius:12px; padding:14px; }
.ex-box h4 { margin:0 0 6px; font-size:1.05rem; }
.micro-note { color:#848484; font-size:.9rem; text-align:center; }

/* ===== FAQ ===== */
details { background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px; padding:14px 16px; margin:12px 0; }
summary { cursor:pointer; font-weight:800; }
details[open] summary { color:#4e3ad8; }

/* ===== References ===== */
.refs { padding-left:18px; }
.refs li { margin:8px 0; }

/* ===== Footer ===== */
.site-footer { background:#fff; border-top:1px solid rgba(0,0,0,.06); text-align:center; color:#848484; padding:24px 0; }

/* ===== Utilities ===== */
.center { text-align:center; }
.spacer { height: 16px; } /* Nova classe para espaçamento */

/* ====== Responsividade (apenas ajustes de layout) ====== */

/* Boas práticas gerais sem afetar cores */
img { max-width: 100%; height: auto; }
.chip, .callout, .ex-box, details, .robust-card { word-wrap: break-word; }

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
  .rows.robust { gap: 16px; }

  .robust-card {
    grid-template-columns: 260px 1fr; /* aumentado em 30% para acomodar badges maiores */
    gap: 14px;
    padding: 14px;
  }

  .badge img { width: 100px; }

  .paths.robust-paths {
    margin-left: 0;       /* evita “empurrar” no tablet */
    flex-wrap: wrap;
    gap: 8px 8px;
  }

  .chip { padding: 9px 12px; font-size: 0.95rem; }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  .container { width: min(100%, 92%); }

  /* Cards “Opções por nível” */
  .robust-card {
    grid-template-columns: 1fr;  /* empilha badge e chips */
    text-align: center;
    padding: 14px;
  }

  .badge img {
    width: 96px;
    margin: 0 auto;
  }

  /* Ajustes específicos para o grid de badges no mobile */
  .badge-grid {
    width: 220px;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 auto 16px;
    justify-items: center;
  }
  .badge-grid img {
    width: 65px;
    height: 65px;
  }
  
  /* Reseta os ajustes específicos do desktop para o card com grid no mobile */
  .robust-card:has(.badge-grid) {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .paths.robust-paths,
  .robust-card:has(.badge-grid) .robust-paths {
    margin-left: 0;
    justify-content: center;     /* centraliza chips */
    gap: 8px 8px;
  }

  .divisor { display: none; }    /* a barrinha vertical some no mobile */

  .chip {
    display: inline-block;
    line-height: 1.25;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.93rem;
    white-space: normal;         /* permite quebrar em 2+ linhas */
    max-width: 100%;
  }

  /* Cartões de exemplos (se você estiver usando) */
  .ex-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 14px;
  }

  .ex-badge img {
    width: 96px;
    height: 96px;
    margin: 0 auto;
  }

  .ex-box { padding: 12px; font-size: 0.92rem; text-align: left; }

  /* FAQ e Footer */
  details { padding: 12px; }
  .site-footer { padding: 18px 0; }
}
 
