/* Estilos compartilhados: menu de navegação (todas as páginas) e subpáginas (Sobre Nós, Cursos, Mentorias, Blog).
   Mesma paleta, fontes e elementos da página inicial. */
:root {
  --off-white: #F2EFEA;
  --bege: #D6CEC1;
  --taupe: #B0A69A;
  --verde-oliva: #64664E;
  --verde-suave: #AEB09A;
  --cinza-quente: #898278;
  --fundo: #F3F2EE;
  --areia: #ECE6DC;
  --texto: #5E5850;
  --titulo: #4E4A44;
  /* PROVISÓRIO até recebermos os arquivos de fonte oficiais */
  --f-titulo: "Crimson Pro", Georgia, "Times New Roman", serif;
  --f-texto: "Crimson Pro", Georgia, "Times New Roman", serif;
  --f-botao: "Jost", "Helvetica Neue", Arial, sans-serif;
  --margem: max(24px, 5vw);
}

/* ---------- Menu ---------- */
.topo { position: relative; z-index: 20; }
.topo-inner { align-items: center; justify-content: space-between !important; gap: 24px; }
.topo-inner > a { display: block; flex: none; }
.menu { display: flex; align-items: center; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.menu a {
  position: relative; display: inline-block; padding: 8px 0;
  font-family: var(--f-botao); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--off-white); text-decoration: none; white-space: nowrap;
}
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a:focus-visible { outline: 1px solid var(--off-white); outline-offset: 4px; }
.menu-btn {
  display: none; align-items: center; gap: 10px; padding: 10px 2px; background: none; border: 0; cursor: pointer;
  color: var(--off-white); font-family: var(--f-botao); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.menu-btn .barras { position: relative; width: 22px; height: 1px; background: currentColor; transition: background-color .2s; }
.menu-btn .barras::before, .menu-btn .barras::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-btn .barras::before { top: -7px; }
.menu-btn .barras::after { top: 7px; }
.menu-btn[aria-expanded="true"] .barras { background: transparent; }
.menu-btn[aria-expanded="true"] .barras::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .barras::after { transform: translateY(-7px) rotate(-45deg); }
.menu-btn:focus-visible { outline: 1px solid var(--off-white); outline-offset: 4px; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .menu ul {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--margem) 24px; background: var(--verde-oliva);
    border-top: 1px solid rgba(242, 239, 234, .18);
    display: none;
  }
  .menu.aberto ul { display: flex; }
  .menu li + li { border-top: 1px solid rgba(242, 239, 234, .14); }
  .menu a { display: block; padding: 16px 0; font-size: 0.82rem; }
  .menu a::after { display: none; }
  .menu a[aria-current="page"] { color: var(--verde-suave); }
}
@media (max-width: 560px) {
  .menu-btn .rotulo { display: none; }
}
@media (prefers-reduced-motion: reduce) { .menu a::after, .menu-btn .barras::before, .menu-btn .barras::after { transition: none; } }

/* ---------- Subpáginas ---------- */
.pagina { overflow: hidden; }
.pag-wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--margem); }
.pag-olho { display: flex; align-items: center; gap: 18px; margin: 0; font-family: var(--f-botao); font-size: clamp(0.78rem, 0.9vw, 0.9rem); letter-spacing: 0.26em; text-transform: uppercase; color: var(--texto); }
.pag-olho::before { content: ""; width: 40px; height: 1px; background: var(--cinza-quente); flex: none; }

.pag-hero { padding-block: clamp(48px, 6vw, 96px) clamp(48px, 5vw, 80px); }
.pag-hero .pag-wrap { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pag-hero.so-texto .pag-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 980px; margin-left: 0; margin-right: auto; }
.pag-hero h1 { margin: clamp(22px, 2.4vw, 34px) 0 0; font-family: var(--f-titulo); font-weight: 400; color: var(--titulo);
  font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.06; letter-spacing: -0.012em; max-width: 14em; text-wrap: balance; }
.pag-hero h1 em { font-style: italic; color: var(--verde-oliva); }
.pag-lead { margin: clamp(20px, 2.4vw, 30px) 0 0; max-width: 34em; font-size: clamp(1.14rem, 1.5vw, 1.3rem); line-height: 1.6; font-weight: 300; color: var(--texto); }
.pag-hero .traco { width: 44px; height: 1px; background: var(--taupe); margin-top: clamp(26px, 3vw, 34px); display: block; }
.pag-visual { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.pag-visual .foto-blob { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover;
  -webkit-mask: var(--mask-blob) 0 0 / 100% 100% no-repeat; mask: var(--mask-blob) 0 0 / 100% 100% no-repeat; }
.pag-visual .ramo { position: absolute; width: clamp(110px, 12vw, 160px); left: clamp(-80px, -6vw, -48px); bottom: -24px; pointer-events: none; }
.pag-visual .casa-linha { position: absolute; inset: -6% -8% auto auto; width: 62%; height: auto; pointer-events: none; }

:root { --mask-blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M53 1 C 76 0, 96 13, 99 37 C 100 61, 94 84, 73 95 C 54 100, 28 99, 12 86 C 1 72, 0 47, 6 29 C 13 11, 31 2, 53 1 Z' fill='%23000'/%3E%3C/svg%3E");
        --mask-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M6 8 C 24 3, 46 7, 64 4 C 80 2, 92 4, 96 12 C 99 30, 98 66, 95 84 C 91 95, 76 97, 58 95 C 40 93, 22 98, 9 94 C 2 88, 1 68, 2 46 C 3 28, 1 14, 6 8 Z' fill='%23000'/%3E%3C/svg%3E"); }

.pag-sec { position: relative; padding-block: clamp(64px, 7vw, 112px); }
.pag-sec.areia { background: var(--areia); }
.pag-sec .onda { position: absolute; left: 0; right: 0; width: 100%; height: clamp(40px, 5vw, 80px); pointer-events: none; display: block; }
.pag-sec .onda-topo { top: -1px; }
.pag-sec .onda-base { bottom: -1px; }
.pag-sec h2 { margin: clamp(18px, 2vw, 28px) 0 0; font-family: var(--f-titulo); font-weight: 400; color: var(--titulo);
  font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; letter-spacing: -0.012em; max-width: 16em; text-wrap: balance; }
.pag-sec h2 em { font-style: italic; color: var(--verde-oliva); }
.pag-sec .intro { margin: clamp(16px, 1.8vw, 24px) 0 0; max-width: 40em; font-family: var(--f-botao); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; color: var(--texto); }

.texto-corrido { display: grid; gap: 18px; margin-top: clamp(24px, 2.6vw, 36px); max-width: 44em; }
.texto-corrido p { margin: 0; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--texto); }
.citacao { margin: clamp(28px, 3vw, 44px) 0 0; padding-left: clamp(20px, 2vw, 30px); border-left: 2px solid var(--verde-oliva);
  font-family: var(--f-titulo); font-style: italic; font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.28; color: var(--titulo); max-width: 22em; }

/* Números (Sobre Nós) */
.numeros { list-style: none; margin: clamp(32px, 3.4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 980px; }
.numeros li { padding: 6px clamp(16px, 2vw, 32px); }
.numeros li:first-child { padding-left: 0; }
.numeros li + li { border-left: 1px solid #CFC5B7; }
.numeros strong { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--verde-oliva); }
.numeros span { display: block; margin-top: 10px; font-family: var(--f-botao); font-size: clamp(0.9rem, 1vw, 1rem); line-height: 1.45; color: var(--texto); }

/* Cartões (pilares, cursos, mentorias, blog) */
.cartoes { list-style: none; margin: clamp(36px, 3.6vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--colunas, 3), minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 40px); }
.cartao { min-width: 0; display: grid; align-content: start; }
.cartao-foto { width: 100%; aspect-ratio: 402 / 230; object-fit: cover; -webkit-mask: var(--mask-card) 0 0 / 100% 100% no-repeat; mask: var(--mask-card) 0 0 / 100% 100% no-repeat; margin-bottom: clamp(16px, 1.6vw, 24px); }
.cartao .ic { width: 64px; aspect-ratio: 1; border-radius: 50%; background: #F6F2EC; display: grid; place-items: center; margin-bottom: 18px; }
.pag-sec:not(.areia) .cartao .ic { background: var(--areia); }
.cartao .ic svg { width: 50%; height: 50%; }
.cartao .etiqueta { margin: 0 0 10px; font-family: var(--f-botao); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--verde-oliva); }
.cartao h3 { margin: 0; font-family: var(--f-titulo); font-weight: 400; font-size: clamp(1.4rem, 1.8vw, 1.8rem); line-height: 1.2; color: var(--titulo); }
.cartao p { margin: 10px 0 0; font-family: var(--f-botao); font-size: clamp(0.96rem, 1.08vw, 1.05rem); line-height: 1.6; color: var(--texto); }
.cartao .link { justify-self: start; margin-top: 16px; font-family: var(--f-botao); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--verde-oliva); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* Destaque de produto (Cursos) */
.produto { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: clamp(36px, 5vw, 88px); align-items: center; margin-top: clamp(32px, 3.4vw, 52px); }
.produto-foto { position: relative; }
.produto-foto img.foto-blob { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; -webkit-mask: var(--mask-blob) 0 0 / 100% 100% no-repeat; mask: var(--mask-blob) 0 0 / 100% 100% no-repeat; }
.produto h3 { margin: 0; font-family: var(--f-titulo); font-weight: 400; color: var(--titulo); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; text-wrap: balance; }
.produto h3 em { font-style: italic; color: var(--verde-oliva); }
.produto .etiqueta { margin: 0 0 14px; font-family: var(--f-botao); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--verde-oliva); }
.produto p { margin: 16px 0 0; font-family: var(--f-botao); font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; color: var(--texto); max-width: 36em; }
.lista-check { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.lista-check li { position: relative; padding-left: 28px; font-family: var(--f-botao); font-size: clamp(0.98rem, 1.1vw, 1.06rem); line-height: 1.5; color: var(--texto); }
.lista-check li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 1.3px solid var(--verde-oliva); border-bottom: 1.3px solid var(--verde-oliva); transform: rotate(-45deg); }

/* Botões (iguais aos da página inicial) */
.btn {
  margin-top: clamp(26px, 3vw, 34px);
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 16px 30px; border-radius: 999px;
  border: 1px solid var(--verde-oliva); background: var(--verde-oliva); color: var(--off-white);
  font-family: var(--f-botao); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.2em; text-decoration: none; text-transform: uppercase; cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.btn:hover { background: var(--fundo); color: var(--verde-oliva); }
.btn:focus-visible { outline: 2px solid var(--verde-oliva); outline-offset: 4px; }
.btn.claro { background: transparent; color: var(--verde-oliva); }
.btn.claro:hover { background: var(--verde-oliva); color: var(--off-white); }

/* Chamada final */
.chamada { text-align: center; }
.chamada .pag-olho { justify-content: center; }
.chamada .pag-olho::after { content: ""; width: 40px; height: 1px; background: var(--cinza-quente); flex: none; }
.chamada h2 { margin-inline: auto; }
.chamada .intro { margin-inline: auto; }

/* Rodapé */
.rodape { background: var(--verde-oliva); color: var(--off-white); }
.rodape-inner { max-width: 1360px; margin: 0 auto; padding: clamp(32px, 3.4vw, 48px) var(--margem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.rodape img { width: clamp(150px, 14vw, 200px); height: auto; }
.rodape p { margin: 0; font-family: var(--f-botao); font-size: 0.78rem; letter-spacing: 0.14em; color: rgba(242, 239, 234, .78); }
.rodape .menu ul { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 28px; padding: 0; border: 0; background: none; }
.rodape .menu li + li { border: 0; }
.rodape .menu a { padding: 4px 0; font-size: 0.72rem; }

/* Marcação de conteúdo que ainda falta: visível só para revisão. Remover a classe quando o texto real entrar. */
.a-definir { display: inline-block; margin-top: 12px; position: relative; outline: 1px dashed #B0A69A; outline-offset: 6px; border-radius: 2px; }
.a-definir::before { content: "A DEFINIR"; position: absolute; top: -18px; right: -6px; padding: 1px 6px; background: #E8E1D5; color: #7A6450;
  font: 500 0.6rem/1.5 "Jost", Arial, sans-serif; letter-spacing: 0.18em; border-radius: 2px; }

@media (max-width: 1000px) {
  .pag-hero .pag-wrap, .produto { grid-template-columns: 1fr; }
  .pag-visual { justify-self: center; max-width: 440px; }
  .produto-foto { max-width: 440px; justify-self: center; width: 100%; }
  .cartoes { --colunas: 2 !important; }
}
@media (max-width: 640px) {
  .cartoes { --colunas: 1 !important; }
  .numeros { grid-template-columns: 1fr; }
  .numeros li { padding: 18px 0 !important; border-left: 0 !important; }
  .numeros li + li { border-top: 1px solid #CFC5B7; }
  .btn { width: 100%; padding-inline: 20px; letter-spacing: 0.16em; }
  .pag-visual .ramo { left: -12px; width: 96px; }
}

/* Redes sociais (cabeçalho e rodapé) */
.topo-dir { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.redes { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.redes a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--off-white); border: 1px solid rgba(242, 239, 234, .35); transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.redes a:hover { background: var(--off-white); color: var(--verde-oliva); border-color: var(--off-white); }
.redes a:focus-visible { outline: 1px solid var(--off-white); outline-offset: 3px; }
.redes svg { width: 17px; height: 17px; }
.topo .redes { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid rgba(242, 239, 234, .25); }
.rodape-col { display: grid; gap: 18px; justify-items: end; }
@media (max-width: 900px) {
  .topo .redes { padding-left: 0; border-left: 0; }
  .topo-dir { gap: 14px; }
}
@media (max-width: 560px) {
  .topo .redes a { width: 32px; height: 32px; }
  .topo .redes svg { width: 15px; height: 15px; }
  .logo-topo { width: 150px !important; }
  .rodape-inner { flex-direction: column; align-items: flex-start; }
  .rodape-col { justify-items: start; }
}


/* Faixa clara abaixo do verde-oliva: menu centralizado e ícones (redes + e-mail) à direita */
.topo-inner { justify-content: center !important; }
.logo-topo { margin-left: 0 !important; }
.barra-menu { position: relative; background: var(--verde-suave); }
.barra-inner { position: relative; max-width: 1360px; margin: 0 auto; min-height: 58px; display: flex; align-items: center; justify-content: center;
  padding-left: max(24px, 5vw, env(safe-area-inset-left, 0px)); padding-right: max(24px, 5vw, env(safe-area-inset-right, 0px)); }
.barra-menu .menu a { color: #3F4130; font-weight: 500; }
.barra-menu .menu a:focus-visible { outline-color: #3F4130; }
.barra-menu .menu-btn { color: #3F4130; }
.barra-menu .menu-btn:focus-visible { outline-color: #3F4130; }
.barra-menu .redes { position: absolute; right: max(24px, 5vw, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); padding-left: 0; border-left: 0; }
.barra-menu .redes a { color: #3F4130; border-color: rgba(63, 65, 48, .35); width: 34px; height: 34px; }
.barra-menu .redes a:hover { background: var(--verde-oliva); color: var(--off-white); border-color: var(--verde-oliva); }
.barra-menu .redes a:focus-visible { outline-color: #3F4130; }
.barra-menu .redes svg { width: 16px; height: 16px; }
@media (max-width: 1100px) and (min-width: 901px) {
  .barra-inner { justify-content: space-between; }
  .barra-menu .redes { position: static; transform: none; }
}
@media (max-width: 900px) {
  .barra-inner { justify-content: space-between; min-height: 52px; }
  .barra-menu .redes { position: static; transform: none; }
  .barra-menu .menu ul { background: var(--verde-suave); border-top: 1px solid rgba(63, 65, 48, .18); }
  .barra-menu .menu li + li { border-top-color: rgba(63, 65, 48, .14); }
  .barra-menu .menu a[aria-current="page"] { color: var(--verde-oliva); text-decoration: underline; text-underline-offset: 6px; }
}
@media (max-width: 560px) {
  .barra-menu .redes { gap: 4px; }
  .barra-menu .redes a { width: 30px; height: 30px; }
  .barra-menu .redes svg { width: 14px; height: 14px; }
}

/* Menu alinhado à direita, junto dos ícones */
@media (min-width: 901px) {
  .barra-inner { justify-content: flex-end; gap: clamp(24px, 2.6vw, 40px); }
  .barra-menu .redes { position: static; transform: none; padding-left: clamp(20px, 2.2vw, 32px); border-left: 1px solid rgba(63, 65, 48, .3); }
}

/* Menu congelado ao rolar: o cabeçalho gruda no topo deslocado pela altura da faixa oliva (--faixa, medida no script do rodapé), então só a faixa clara do menu fica visível */
.topo { position: sticky !important; top: calc(-1 * var(--faixa, 0px)); z-index: 40; }
