/* =========================================================
   Casa Digital v1.3 — Meu Lar de Aprendizagem
   HTML5 + CSS3 + JavaScript puro
   ========================================================= */

/* 1. Variáveis visuais
   --------------------------------------------------------- */
:root {
  color-scheme: light;
  --fundo: #fffaf3;
  --areia: #f7f1e8;
  --papel: #ffffff;
  --texto: #3f352c;
  --suave: #6f665d;
  --linha: #e8ddcf;
  --dourado: #9a8064;
  --escuro: #3f352c;
  --sombra: 0 18px 42px rgba(0, 0, 0, 0.08);
}

/* 2. Base
   --------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--fundo);
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

a {
  color: inherit;
}

p {
  line-height: 1.8;
}

/* 3. Estrutura geral
   --------------------------------------------------------- */
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.section {
  padding: 90px 0;
}

.section.alt,
.page-hero {
  background: var(--areia);
}

.label {
  margin: 0 0 18px;
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--suave);
  font-size: 20px;
  line-height: 1.8;
}

/* 4. Cabeçalho e navegação
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 243, 0.94);
  border-bottom: 1px solid var(--linha);
  backdrop-filter: blur(8px);
}

.nav {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  text-decoration: none;
  white-space: nowrap;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.menu a {
  color: #5e5145;
  font-size: 14px;
  text-decoration: none;
}

.menu a:hover {
  color: var(--dourado);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--linha);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--texto);
}

/* 5. Hero da página inicial
   --------------------------------------------------------- */
.hero {
  min-height: 78vh;
  padding: 90px 24px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(247, 241, 232, 0.86), rgba(255, 250, 243, 0.94)),
    url("../imagens/hero.jpg") center / cover;
}

.hero-inner {
  max-width: 920px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.05;
}

/* 6. Heros internos
   --------------------------------------------------------- */
.page-hero {
  padding: 92px 0 76px;
}

.page-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
}

/* 7. Componentes
   --------------------------------------------------------- */
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 30px;
  border: 1px solid var(--dourado);
  border-radius: 999px;
  color: var(--texto);
  text-decoration: none;
  transition: 0.3s ease;
}

.btn:hover {
  background: var(--dourado);
  color: #fff;
}

.grid {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.cards-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: block;
  padding: 32px 28px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra);
}

.simple-card:hover {
  transform: none;
}

.icon {
  font-size: 34px;
}

.card h3,
.note-box h3 {
  margin: 18px 0 10px;
  font-size: 28px;
}

.card p,
.note-box p {
  margin: 0;
  color: var(--suave);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.placeholder,
.note-box {
  min-height: 340px;
  padding: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e9ddcc, #fffaf3);
  border: 1px solid var(--linha);
  border-radius: 22px;
  color: var(--dourado);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  text-align: center;
}

.note-box {
  place-items: start;
  color: var(--texto);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: left;
}

.soft-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--suave);
  line-height: 1.8;
}

.quote {
  max-width: 900px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

/* 8. Rodapé
   --------------------------------------------------------- */
.footer {
  padding: 70px 0;
  background: var(--escuro);
  color: #fff;
  text-align: center;
}

.footer h3 {
  margin: 0 0 12px;
  font-size: 34px;
}

.footer p {
  margin: 0;
  opacity: 0.82;
}

.small {
  margin-top: 28px !important;
  font-size: 13px;
  opacity: 0.6 !important;
}

/* 9. Responsivo
   --------------------------------------------------------- */
@media (max-width: 880px) {
  .cards-three {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-toggle {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 0;
  }

  .menu {
    display: none;
    width: 100%;
    padding-top: 10px;
    flex-direction: column;
    gap: 12px;
  }

  .menu.is-open {
    display: flex;
  }

  .wrap,
  .nav {
    width: min(100% - 40px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: 70vh;
  }
}

/* 10. Página Comece Aqui — v0.3
   --------------------------------------------------------- */
.page-hero-soft {
  background:
    radial-gradient(circle at 50% 0%, rgba(154, 128, 100, 0.12), transparent 34%),
    var(--areia);
}

.intro-letter p {
  font-size: 18px;
}

.cards-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.house-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.map-card {
  min-height: 245px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 22px;
  text-decoration: none;
  transition: 0.3s ease;
}

.map-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra);
}

.map-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--linha);
  border-radius: 999px;
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.map-card h3 {
  margin: 24px 0 12px;
  font-size: 30px;
}

.map-card p {
  margin: 0;
  color: var(--suave);
}

.warm-note {
  background:
    linear-gradient(135deg, rgba(154, 128, 100, 0.12), rgba(255, 250, 243, 0.92));
}

.closing-invite {
  padding-top: 82px;
  padding-bottom: 100px;
}

@media (max-width: 960px) {
  .house-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cards-two,
  .house-map {
    grid-template-columns: 1fr;
  }
}

/* 11. Página Inicial — v0.4
   --------------------------------------------------------- */
.hero-home {
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(620px, 72vw);
  height: min(620px, 72vw);
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(154, 128, 100, 0.12), transparent 68%);
  pointer-events: none;
}

.hero-home .hero-inner {
  position: relative;
  z-index: 1;
}

.hero-actions,
.inline-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-light {
  border-color: var(--linha);
  color: var(--suave);
}

.btn-light:hover {
  border-color: var(--dourado);
}

.home-intro h2,
#caminhos h2 {
  margin-top: 0;
}

.split-home {
  align-items: stretch;
}

.home-note {
  min-height: auto;
}

.home-paths {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.path-card {
  min-height: 280px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 24px;
  text-decoration: none;
  transition: 0.3s ease;
}

.path-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra);
}

.path-card h3 {
  margin: 28px 0 14px;
  font-size: 32px;
}

.path-card p {
  margin: 0;
  color: var(--suave);
}

.path-large {
  grid-row: span 2;
  justify-content: flex-end;
  min-height: 584px;
  background:
    linear-gradient(145deg, rgba(154, 128, 100, 0.16), rgba(255, 250, 243, 0.96)),
    var(--papel);
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.process-card {
  padding: 34px 30px;
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}

.process-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.process-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.process-card p {
  margin: 0;
  color: var(--suave);
}

.quiet-panel {
  min-height: 360px;
  padding: 34px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(154, 128, 100, 0.1), rgba(255, 250, 243, 0.96));
  border: 1px solid var(--linha);
  border-radius: 24px;
}

.small-quote {
  font-size: clamp(26px, 3vw, 38px);
}

.text-link {
  color: var(--dourado);
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 128, 100, 0.35);
}

.text-link:hover {
  border-bottom-color: var(--dourado);
}

@media (max-width: 960px) {
  .home-paths,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .path-large {
    grid-row: auto;
    min-height: 320px;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .inline-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .inline-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* 11.1. Lapidação responsiva — v1.0
   --------------------------------------------------------- */
@media (max-width: 760px) {
  .wrap,
  .nav {
    width: min(100% - 32px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 72px 0 58px;
  }

  .lead {
    font-size: 18px;
  }

  .card,
  .note-box,
  .path-card,
  .signal-card,
  .principle-card,
  .project-feature,
  .project-mini,
  .library-feature,
  .library-mini,
  .ore-step,
  .ore-field,
  .sobre-card,
  .sobre-list-card,
  .sobre-boundary-card {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .project-feature h3,
  .library-feature h3 {
    font-size: clamp(32px, 11vw, 46px);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}

/* 12. Página Cotidiano — v0.5
   --------------------------------------------------------- */
.cotidiano-hero {
  background:
    radial-gradient(circle at 30% 0%, rgba(154, 128, 100, 0.12), transparent 32%),
    linear-gradient(180deg, var(--areia), var(--fundo));
}

.cotidiano-intro h2 {
  margin-top: 0;
}

.cotidiano-panel {
  align-content: center;
}

.cotidiano-signals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.signal-card {
  min-height: 270px;
  padding: 34px 30px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 24px;
}

.signal-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.signal-card p {
  margin: 0;
  color: var(--suave);
}

.signal-soft {
  background:
    linear-gradient(135deg, rgba(154, 128, 100, 0.12), rgba(255, 250, 243, 0.94));
}

.cotidiano-process .process-card {
  border-radius: 22px;
  border: 1px solid var(--linha);
  background: var(--papel);
}

.cotidiano-paths {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.cotidiano-path-card {
  min-height: 300px;
}

.cotidiano-path-large {
  background:
    linear-gradient(145deg, rgba(154, 128, 100, 0.16), rgba(255, 250, 243, 0.96));
}

@media (max-width: 960px) {
  .cotidiano-signals,
  .cotidiano-paths {
    grid-template-columns: 1fr;
  }

  .signal-card,
  .cotidiano-path-card {
    min-height: auto;
  }
}


/* 13. Página Projetos — v0.6
   --------------------------------------------------------- */
.projetos-hero {
  background:
    radial-gradient(circle at 70% 0%, rgba(154, 128, 100, 0.12), transparent 34%),
    linear-gradient(180deg, var(--areia), var(--fundo));
}

.project-intro h2,
.project-library h2 {
  margin-top: 0;
}

.project-panel {
  align-content: center;
}

.project-principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.principle-card {
  min-height: 285px;
  padding: 34px 30px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 24px;
}

.principle-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.principle-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.principle-card p {
  margin: 0;
  color: var(--suave);
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  margin-top: 44px;
}

.project-feature,
.project-mini {
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 26px;
}

.project-feature {
  padding: 42px 38px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(154, 128, 100, 0.13), rgba(255, 250, 243, 0.96));
}

.project-feature h3 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.project-feature p {
  color: var(--suave);
}

.project-feature .btn {
  margin-top: 22px;
}

.project-stack {
  display: grid;
  gap: 22px;
}

.project-mini {
  padding: 30px 28px;
}

.project-mini h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.project-mini p {
  margin: 0;
  color: var(--suave);
}

.status-pill {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid rgba(154, 128, 100, 0.28);
  border-radius: 999px;
  color: var(--dourado);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-note {
  margin-top: 38px;
  color: var(--suave);
  font-size: 15px;
}

@media (max-width: 960px) {
  .project-principles,
  .project-showcase {
    grid-template-columns: 1fr;
  }

  .principle-card,
  .project-feature {
    min-height: auto;
  }
}

/* 14. Página Biblioteca — v0.7
   --------------------------------------------------------- */
.biblioteca-hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(154, 128, 100, 0.13), transparent 35%),
    linear-gradient(180deg, var(--areia), var(--fundo));
}

.biblioteca-intro h2 {
  margin-top: 0;
}

.biblioteca-panel {
  align-content: center;
}

.biblioteca-categories {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: left;
}

.library-category {
  min-height: 310px;
  padding: 34px 30px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 24px;
}

.library-category span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.library-category h3 {
  margin: 0 0 14px;
  font-size: 29px;
}

.library-category p {
  margin: 0;
  color: var(--suave);
}

.library-category-soft {
  background:
    linear-gradient(135deg, rgba(154, 128, 100, 0.12), rgba(255, 250, 243, 0.94));
}

.library-shelf {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  margin-top: 44px;
}

.library-feature,
.library-mini {
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 26px;
}

.library-feature {
  min-height: 470px;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(154, 128, 100, 0.13), rgba(255, 250, 243, 0.96));
}

.library-feature h3 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.library-feature p {
  color: var(--suave);
}

.library-meta {
  margin-top: 22px;
  color: var(--dourado) !important;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-actions {
  justify-content: flex-start;
}

.library-stack {
  display: grid;
  gap: 22px;
}

.library-mini {
  padding: 30px 28px;
}

.library-mini h3 {
  margin: 18px 0 12px;
  font-size: 28px;
}

.library-mini p {
  margin: 0;
  color: var(--suave);
}

@media (max-width: 1080px) {
  .biblioteca-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .library-shelf {
    grid-template-columns: 1fr;
  }

  .library-feature {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .biblioteca-categories {
    grid-template-columns: 1fr;
  }

  .library-category {
    min-height: auto;
  }
}


/* 15. Página O.R.E. — v0.8
   --------------------------------------------------------- */
.ore-hero {
  background:
    radial-gradient(circle at 45% 0%, rgba(154, 128, 100, 0.14), transparent 35%),
    linear-gradient(180deg, var(--areia), var(--fundo));
}

.ore-intro h2,
.ore-practice h2 {
  margin-top: 0;
}

.ore-panel {
  align-content: center;
}

.ore-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.ore-step {
  min-height: 320px;
  padding: 36px 32px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 24px;
}

.ore-step span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ore-step h3 {
  margin: 0 0 14px;
  font-size: 34px;
}

.ore-step p {
  margin: 0;
  color: var(--suave);
}

.ore-step-soft {
  background:
    linear-gradient(135deg, rgba(154, 128, 100, 0.12), rgba(255, 250, 243, 0.94));
}

.ore-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.ore-field {
  padding: 30px 28px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 22px;
}

.ore-field h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.ore-field p {
  margin: 0;
  color: var(--suave);
}

.ore-boundary {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 44px;
}

.ore-boundary-card {
  padding: 38px 34px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 26px;
}

.ore-boundary-card h3 {
  margin: 0 0 16px;
  font-size: 34px;
}

.ore-boundary-card p {
  margin: 0;
  color: var(--suave);
}

.ore-boundary-strong {
  background:
    linear-gradient(145deg, rgba(154, 128, 100, 0.13), rgba(255, 250, 243, 0.96));
}

.ore-practice-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.ore-practice-list li {
  padding: 24px 26px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 20px;
  color: var(--suave);
  line-height: 1.75;
}

.ore-practice-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--texto);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

@media (max-width: 960px) {
  .ore-steps,
  .ore-fields,
  .ore-boundary {
    grid-template-columns: 1fr;
  }

  .ore-step {
    min-height: auto;
  }
}


/* 16. Página Sobre — v0.9
   --------------------------------------------------------- */
.sobre-hero {
  background:
    radial-gradient(circle at 52% 0%, rgba(154, 128, 100, 0.14), transparent 35%),
    linear-gradient(180deg, var(--areia), var(--fundo));
}

.sobre-intro h2 {
  margin-top: 0;
}

.sobre-panel {
  align-content: center;
}

.sobre-identity {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: left;
}

.sobre-card {
  min-height: 315px;
  padding: 34px 30px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 24px;
}

.sobre-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sobre-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.sobre-card p {
  margin: 0;
  color: var(--suave);
}

.sobre-card-soft,
.sobre-list-card {
  background:
    linear-gradient(135deg, rgba(154, 128, 100, 0.12), rgba(255, 250, 243, 0.94));
}

.sobre-values {
  align-items: start;
}

.sobre-list-card {
  padding: 38px 34px;
  border: 1px solid var(--linha);
  border-radius: 26px;
}

.sobre-list-card h3 {
  margin: 0 0 12px;
  font-size: 34px;
}

.sobre-boundary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sobre-boundary-card {
  padding: 36px 32px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 26px;
}

.sobre-boundary-card h2,
.sobre-boundary-card h3 {
  margin: 0 0 16px;
}

.sobre-boundary-card p {
  margin: 0;
  color: var(--suave);
}

.sobre-boundary-strong {
  background:
    linear-gradient(145deg, rgba(154, 128, 100, 0.13), rgba(255, 250, 243, 0.96));
}

@media (max-width: 1080px) {
  .sobre-identity {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sobre-identity,
  .sobre-boundary {
    grid-template-columns: 1fr;
  }

  .sobre-card {
    min-height: auto;
  }
}

/* 17. Ajustes de arquitetura editorial — v1.0
   --------------------------------------------------------- */
.project-mini-soft,
.library-mini-featured {
  background:
    linear-gradient(145deg, rgba(154, 128, 100, 0.1), rgba(255, 250, 243, 0.96));
}

/* =========================================================
   18. Aplicação da Identidade Visual Oficial — v1.2
   Meu Lar de Aprendizagem
   ---------------------------------------------------------
   Direção: claro, natural, acolhedor, organizado e autoral.
   Sem imagens grandes, sem vídeo e sem páginas do Organiza
   Costura expostas fora do PDF.
   ========================================================= */

:root {
  color-scheme: light;

  --fundo: #fbf6ee;
  --areia: #f1e7d9;
  --papel: #fffdf8;
  --papel-morno: #faf1e5;
  --texto: #3f352d;
  --suave: #75695f;
  --linha: #ded0bf;
  --linha-suave: rgba(222, 208, 191, 0.66);
  --dourado: #9b7f61;
  --barro: #785b45;
  --oliva: #7d866f;
  --escuro: #3f352d;
  --sombra: 0 18px 45px rgba(63, 53, 45, 0.075);
  --sombra-suave: 0 10px 26px rgba(63, 53, 45, 0.05);
}

html,
body {
  background:
    radial-gradient(circle at 12% 0%, rgba(155, 127, 97, 0.08), transparent 32%),
    linear-gradient(180deg, #fffaf3 0%, var(--fundo) 34%, #faf3ea 100%);
}

body {
  color: var(--texto);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.005em;
}

h1,
h2,
h3 {
  color: var(--texto);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
}

p {
  line-height: 1.72;
}

.wrap {
  width: min(1080px, calc(100% - 52px));
}

.section {
  padding: 78px 0;
}

.section.alt,
.page-hero {
  background:
    linear-gradient(180deg, rgba(241, 231, 217, 0.94), rgba(250, 243, 234, 0.94));
}

.label {
  color: var(--barro);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.lead {
  max-width: 720px;
  color: var(--suave);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.68;
}

.site-header {
  background: rgba(251, 246, 238, 0.94);
  border-bottom: 1px solid var(--linha-suave);
}

.nav {
  padding: 16px 0;
}

.brand {
  color: var(--texto);
  font-size: 25px;
  letter-spacing: -0.02em;
}

.menu {
  gap: 8px;
}

.menu a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #63574e;
  transition: 0.22s ease;
}

.menu a:hover {
  background: rgba(155, 127, 97, 0.1);
  color: var(--barro);
}

.hero {
  min-height: 68vh;
  padding: 84px 24px;
  background:
    radial-gradient(circle at 50% 22%, rgba(155, 127, 97, 0.16), transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #f1e7d9 48%, #fbf6ee 100%);
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 84px);
}

.hero-inner,
.page-hero .narrow {
  position: relative;
}

.hero-inner::after,
.page-hero .narrow::after {
  content: "";
  display: block;
  width: 96px;
  height: 1px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, rgba(155, 127, 97, 0.65), transparent);
}

.page-hero {
  padding: 82px 0 66px;
}

.page-hero h1 {
  font-size: clamp(40px, 5.8vw, 68px);
}

.btn {
  margin-top: 26px;
  padding: 13px 25px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(155, 127, 97, 0.55);
  box-shadow: var(--sombra-suave);
}

.btn:hover {
  background: var(--barro);
  border-color: var(--barro);
  color: #fffaf3;
}

.btn-light {
  background: transparent;
  border-color: var(--linha);
  box-shadow: none;
}

.text-link {
  color: var(--barro);
}

.card,
.map-card,
.path-card,
.signal-card,
.principle-card,
.project-feature,
.project-mini,
.library-category,
.library-feature,
.library-mini,
.ore-step,
.ore-field,
.ore-boundary-card,
.sobre-card,
.sobre-list-card,
.sobre-boundary-card,
.note-box,
.quiet-panel,
.ore-practice-list li {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--linha-suave);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
}

.card:hover,
.map-card:hover,
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra);
}

.card h3,
.map-card h3,
.path-card h3,
.signal-card h3,
.principle-card h3,
.project-mini h3,
.library-mini h3,
.ore-field h3,
.sobre-card h3 {
  font-size: clamp(25px, 2.6vw, 31px);
}

.card p,
.map-card p,
.path-card p,
.signal-card p,
.principle-card p,
.project-mini p,
.library-mini p,
.ore-field p,
.sobre-card p,
.sobre-boundary-card p,
.ore-boundary-card p {
  color: var(--suave);
  font-size: 15.5px;
  line-height: 1.66;
}

.map-number,
.status-pill {
  background: rgba(155, 127, 97, 0.06);
  border-color: rgba(155, 127, 97, 0.22);
  color: var(--barro);
}

.path-large,
.signal-soft,
.cotidiano-path-large,
.project-feature,
.library-feature,
.library-category-soft,
.ore-step-soft,
.ore-boundary-strong,
.sobre-card-soft,
.sobre-list-card,
.sobre-boundary-strong,
.project-mini-soft,
.library-mini-featured,
.warm-note,
.quiet-panel {
  background:
    linear-gradient(145deg, rgba(155, 127, 97, 0.11), rgba(255, 253, 248, 0.94));
}

.project-feature,
.library-feature {
  min-height: 385px;
}

.path-large {
  min-height: 510px;
}

.library-category,
.sobre-card,
.ore-step,
.principle-card,
.signal-card {
  min-height: auto;
}

.process-card {
  border-color: var(--linha-suave);
}

.process-card span,
.signal-card span,
.principle-card span,
.library-category span,
.ore-step span,
.sobre-card span {
  color: var(--barro);
}

.footer {
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 127, 97, 0.16), transparent 44%),
    var(--escuro);
  color: #fffaf3;
}

.footer h3 {
  font-size: 32px;
}

/* Redução da sensação de texto pesado sem apagar profundidade */
.section .wrap > p:not(.label):not(.lead),
.split p,
.note-box p,
.quiet-panel p {
  max-width: 68ch;
}

.center .lead + .grid {
  margin-top: 36px;
}

.grid {
  gap: 20px;
  margin-top: 38px;
}

/* Mobile mais respirado e menos pesado */
@media (max-width: 760px) {
  .wrap,
  .nav {
    width: min(100% - 30px, 1080px);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: 62vh;
    padding: 66px 20px;
  }

  .page-hero {
    padding: 64px 0 50px;
  }

  .menu a {
    padding: 10px 0;
    border-radius: 0;
  }

  .card,
  .note-box,
  .path-card,
  .signal-card,
  .principle-card,
  .project-feature,
  .project-mini,
  .library-category,
  .library-feature,
  .library-mini,
  .ore-step,
  .ore-field,
  .sobre-card,
  .sobre-list-card,
  .sobre-boundary-card,
  .ore-boundary-card,
  .ore-practice-list li {
    padding: 24px 21px;
    border-radius: 20px;
  }

  .path-large,
  .quiet-panel,
  .project-feature,
  .library-feature {
    min-height: auto;
  }

  p,
  .lead {
    line-height: 1.62;
  }
}


/* =========================================================
   16. Home v1.3 — Casa editorial interativa
   --------------------------------------------------------- */
:root {
  --creme: #fff8ec;
  --creme-profundo: #f2e3cf;
  --verde: #1f4a33;
  --verde-suave: #dfe9d8;
  --madeira: #8b6a45;
  --barro: #a76f4d;
  --ouro-suave: #c2a06c;
  --linha-editorial: rgba(82, 62, 42, 0.18);
}

body {
  background:
    radial-gradient(circle at 15% 0%, rgba(31, 74, 51, 0.055), transparent 34%),
    radial-gradient(circle at 84% 8%, rgba(194, 160, 108, 0.13), transparent 32%),
    var(--fundo);
}

.site-header {
  background: rgba(255, 248, 236, 0.92);
}

.brand {
  color: var(--verde);
  letter-spacing: -0.01em;
}

.menu a {
  position: relative;
  padding-bottom: 4px;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--verde);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.menu a:hover {
  color: var(--verde);
}

.menu a:hover::after {
  transform: scaleX(1);
}

.home-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.96), rgba(255, 248, 236, 0.82)),
    radial-gradient(circle at 18% 22%, rgba(31, 74, 51, 0.09), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(194, 160, 108, 0.22), transparent 31%);
  border-bottom: 1px solid var(--linha);
}

.home-stage::before,
.home-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-stage::before {
  width: 420px;
  height: 420px;
  left: -180px;
  top: 90px;
  border: 1px solid rgba(31, 74, 51, 0.12);
  border-radius: 50%;
}

.home-stage::after {
  width: 520px;
  height: 520px;
  right: -220px;
  bottom: -240px;
  background: radial-gradient(circle, rgba(31, 74, 51, 0.08), transparent 66%);
  border-radius: 50%;
}

.home-stage-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.home-copy {
  max-width: 760px;
}

.ornament-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--verde);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ornament-label span {
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.ornament-label.compact {
  justify-content: center;
}

.ornament-label.left span:last-child {
  display: none;
}

.home-copy h1 {
  margin: 0 0 24px;
  color: var(--verde);
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.stage-lead {
  max-width: 650px;
  margin: 0;
  color: #5f5348;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.65;
}

.stage-actions {
  justify-content: flex-start;
  margin-top: 34px;
}

.btn-primary {
  background: var(--verde);
  border-color: var(--verde);
  color: #fff;
  box-shadow: 0 14px 26px rgba(31, 74, 51, 0.12);
}

.btn-primary:hover {
  background: #163827;
  border-color: #163827;
}

.house-visual {
  min-height: 560px;
}

.house-wall {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.72), rgba(242, 227, 207, 0.92)),
    radial-gradient(circle at 64% 18%, rgba(194, 160, 108, 0.22), transparent 30%);
  border: 1px solid var(--linha-editorial);
  border-radius: 36px;
  box-shadow: 0 28px 70px rgba(63, 53, 44, 0.12);
}

.house-wall::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(31, 74, 51, 0.12);
  border-radius: 28px;
}

.house-wall::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -60px;
  top: 38px;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(194,160,108,0.1) 42%, transparent 70%);
  filter: blur(2px);
}

.house-door {
  position: absolute;
  left: 38px;
  bottom: 76px;
  width: 118px;
  height: 310px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.1), transparent 16%, transparent 82%, rgba(0,0,0,0.12)),
    var(--verde);
  border: 1px solid rgba(20, 50, 34, 0.55);
  border-radius: 72px 72px 8px 8px;
  box-shadow: inset -18px 0 0 rgba(255,255,255,0.045), 14px 18px 38px rgba(31, 74, 51, 0.18);
}

.house-door::before {
  content: "";
  position: absolute;
  inset: 34px 24px;
  border: 1px solid rgba(255, 248, 236, 0.28);
  border-radius: 48px 48px 6px 6px;
}

.house-door::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 160px;
  width: 10px;
  height: 10px;
  background: var(--ouro-suave);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(194, 160, 108, 0.7);
}

.house-shelf {
  position: absolute;
  right: 46px;
  bottom: 108px;
  width: 190px;
  height: 142px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 0 18px 18px;
  border-bottom: 8px solid rgba(139, 106, 69, 0.75);
}

.house-shelf span {
  display: block;
  width: 28px;
  background: var(--creme);
  border: 1px solid rgba(139,106,69,0.22);
  border-radius: 5px 5px 2px 2px;
  box-shadow: inset 0 -10px 0 rgba(31,74,51,0.08);
}

.house-shelf span:nth-child(1) { height: 100px; background: #f4dfbd; }
.house-shelf span:nth-child(2) { height: 118px; background: var(--verde); }
.house-shelf span:nth-child(3) { height: 90px; background: #ead2ad; }
.house-shelf span:nth-child(4) { height: 132px; background: #f7ead5; }

.house-table {
  position: absolute;
  left: 120px;
  right: 34px;
  bottom: 54px;
  height: 28px;
  background: linear-gradient(90deg, #9d744d, #6d4d32);
  border-radius: 999px;
  box-shadow: 0 18px 22px rgba(63, 53, 44, 0.16);
}

.house-note {
  position: absolute;
  left: 178px;
  top: 86px;
  width: min(280px, 48%);
  padding: 28px 24px;
  color: var(--verde);
  background: rgba(255, 248, 236, 0.74);
  border: 1px solid rgba(31, 74, 51, 0.14);
  border-radius: 22px;
  backdrop-filter: blur(3px);
}

.house-note p {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.2;
}

.house-note small {
  color: #746657;
  letter-spacing: 0.05em;
}

.manifest-band {
  padding: 36px 0;
  background: var(--verde);
  color: #fff8ec;
  text-align: center;
}

.manifest-band p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-style: italic;
  line-height: 1.35;
}

.rooms-section {
  background:
    linear-gradient(180deg, var(--fundo), rgba(242, 227, 207, 0.48));
}

.rooms-section h2,
.ore-home-panel h2,
.closing-home h2 {
  margin: 0 auto 18px;
  color: var(--verde);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
}

.rooms-lead {
  max-width: 640px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
  text-align: left;
}

.room-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--texto);
  background:
    linear-gradient(155deg, rgba(255,255,255,0.82), rgba(247, 241, 232, 0.95));
  border: 1px solid var(--linha-editorial);
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(63, 53, 44, 0.055);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.room-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(31, 74, 51, 0.10);
  border-radius: 22px;
  pointer-events: none;
}

.room-card::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 30px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(31, 74, 51, 0.08);
  box-shadow: inset 0 0 0 1px rgba(31, 74, 51, 0.1);
}

.room-glow {
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 62%;
  background: radial-gradient(circle, rgba(194, 160, 108, 0.30), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.room-number {
  position: absolute;
  top: 30px;
  left: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff8ec;
  background: var(--verde);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  z-index: 1;
}

.room-card h3,
.room-card p,
.room-card small {
  position: relative;
  z-index: 1;
}

.room-card h3 {
  margin: 0 0 12px;
  color: var(--verde);
  font-size: 34px;
  line-height: 1.05;
}

.room-card p {
  margin: 0;
  color: var(--suave);
  line-height: 1.65;
}

.room-card small {
  display: inline-block;
  margin-top: 22px;
  color: var(--madeira);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.room-card:hover {
  transform: translateY(-7px);
  border-color: rgba(31, 74, 51, 0.24);
  box-shadow: 0 26px 62px rgba(63, 53, 44, 0.12);
}

.room-card:hover .room-glow {
  opacity: 1;
  transform: translateY(-10px);
}

.room-library:hover {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.88), rgba(223, 233, 216, 0.84));
}

.room-projects:hover {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.88), rgba(242, 227, 207, 0.92));
}

.room-ore:hover {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.88), rgba(230, 238, 225, 0.9));
}

.ore-home-panel {
  background:
    linear-gradient(135deg, var(--verde), #284e39);
  color: #fff8ec;
}

.ore-home-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.ore-home-panel .ornament-label,
.ore-home-panel h2,
.ore-home-panel p {
  color: #fff8ec;
}

.ore-home-panel p {
  max-width: 620px;
  opacity: 0.86;
}

.ore-mini-list {
  display: grid;
  gap: 16px;
}

.ore-mini-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(255, 248, 236, 0.18);
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ore-mini-list a:hover {
  transform: translateX(5px);
  background: rgba(255, 248, 236, 0.14);
}

.ore-mini-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.ore-mini-list span {
  opacity: 0.72;
}

.closing-home {
  background:
    radial-gradient(circle at 50% 0%, rgba(194, 160, 108, 0.16), transparent 32%),
    var(--fundo);
}

.closing-home .stage-actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .home-stage-inner,
  .ore-home-inner {
    grid-template-columns: 1fr;
  }

  .house-visual {
    min-height: 420px;
  }

  .house-wall {
    min-height: 420px;
  }

  .house-note {
    width: 260px;
    left: 160px;
    top: 56px;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-stage-inner {
    width: min(100% - 34px, 1180px);
  }

  .home-copy h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .stage-actions {
    align-items: stretch;
  }

  .stage-actions .btn,
  .stage-actions .text-link {
    width: 100%;
    text-align: center;
  }

  .house-visual {
    min-height: 350px;
  }

  .house-wall {
    min-height: 350px;
    border-radius: 28px;
  }

  .house-door {
    left: 28px;
    bottom: 56px;
    width: 92px;
    height: 240px;
  }

  .house-shelf {
    right: 22px;
    bottom: 84px;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .house-table {
    left: 80px;
    bottom: 44px;
  }

  .house-note {
    display: none;
  }

  .manifest-band {
    padding: 30px 0;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .room-card {
    min-height: 250px;
  }

  .ore-mini-list a {
    flex-direction: column;
  }
}
