@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #E27666;
  --secondary: #DE9973;
  --accent: #EFCBC0;
  --bg: #F0E6E4;
  --text: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; max-width: 100% }
html, body { overflow-x: hidden }
body { font-family: Poppins, sans-serif; background: var(--bg) }

/* ── Menu fixo ── */
.top-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(240,230,228,.96);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.top-menu img { height: 40px }
@media (min-width: 768px) {
  .top-menu { padding: 16px 40px }
  .top-menu img { height: 48px }
}

.menu-btn {
  font-size: 28px;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.scroll-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  cursor: pointer;
}
.scroll-logo.visible { opacity: 1; pointer-events: auto }

/* ── Painel lateral ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 1500;
}
.nav-overlay.open { opacity: 1; visibility: visible }

.nav-panel {
  position: fixed;
  top: 0; right: 0;
  width: 75%; max-width: 300px; height: 100%;
  background: var(--bg);
  box-shadow: -5px 0 25px rgba(0,0,0,.2);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1600;
  padding: 24px 20px;
  display: flex; flex-direction: column;
}
.nav-panel.open { transform: translateX(0) }

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.nav-header h3 { color: var(--primary); font-size: 22px }
.nav-close { font-size: 28px; color: #000; cursor: pointer; line-height: 1; user-select: none }

.nav-panel a {
  display: block;
  padding: 16px 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px; font-weight: 500;
  border-radius: 14px;
  transition: background .2s ease, color .2s ease;
}
.nav-panel a:hover, .nav-panel a:active { background: var(--accent); color: var(--primary) }

/* ── Layout de página interna ── */
.page-content {
  padding: 100px 20px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero { text-align: center; padding-bottom: 32px }
.page-hero h2 { color: var(--primary); font-size: 28px; font-weight: 700; margin-bottom: 10px }
.page-hero p { font-size: 14px; color: #666; line-height: 1.7 }

/* ── Botão de interesse (compartilhado entre Linhas, SPA e Cursos) ── */
.btn-interesse {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s ease;
}
.btn-interesse:hover { background: var(--secondary) }

/* ── Grid dinâmico de produtos (compartilhado) ── */
@media (min-width: 768px) {
  .section { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px }
  .section > h3 { grid-column: 1 / -1 }
}
