/* =================================================================
   Yeshiva Beit HaSod — Folha de estilos
   Estética marrana: azul profundo + ouro + Cinzel + Cormorant
   ================================================================= */

:root {
  --azul-profundo: #0d2233;
  --azul-medio: #1a4a6b;
  --azul-claro: #226e93;
  --ouro: #c9a84c;
  --ouro-claro: #e8c97a;
  --creme: #f5f0e8;
  --branco: #ffffff;
  --texto: #2a1f0f;
  --texto-claro: #4a3f30;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

/* ===== NAVEGAÇÃO ===== */
nav#navPrincipal {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 34, 51, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--branco);
}

.nav-logo-icon { width: 36px; height: 36px; flex-shrink: 0; }

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text span:first-child {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--ouro-claro);
}
.nav-logo-text span:last-child {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.ativo { color: var(--ouro-claro); }

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--ouro);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ouro);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--azul-profundo) 0%, #061421 100%);
  overflow: hidden;
  padding: 8rem 2rem 5rem;
}

.hero-geom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.06;
  pointer-events: none;
  animation: rotateSlow 240s linear infinite;
}
.hero-geom svg { width: 80vmin; height: 80vmin; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(13,34,51,0.7) 100%);
  pointer-events: none;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero-hebraico {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--ouro);
  margin: 0 0 1.5rem;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  font-weight: 500;
  letter-spacing: 4px;
  line-height: 1.1;
  color: var(--branco);
  margin: 0 0 0.5rem;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--ouro-claro);
  margin: 0 0 2rem;
}

.hero-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 2rem;
}
.hero-sep::before, .hero-sep::after {
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro) 50%, transparent);
}
.hero-sep-icon { color: var(--ouro); font-size: 1rem; }

.hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin: 0 auto 2.5rem;
  max-width: 640px;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  border: 1px solid var(--ouro);
  color: var(--ouro);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.hero-cta:hover {
  background: var(--ouro);
  color: var(--azul-profundo);
  transform: translateY(-2px);
}

.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-down span {
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--ouro));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== SEÇÕES GERAIS ===== */
.secao-cabecalho, .docentes-cabecalho, .ciclos-cabecalho {
  text-align: center;
  margin-bottom: 4rem;
}

.secao-tag {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--azul-claro);
  margin-bottom: 0.8rem;
}

.secao-titulo {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--azul-profundo);
  margin: 0 0 1rem;
}

.secao-divisor {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
  width: 100px;
  position: relative;
}
.secao-divisor::before, .secao-divisor::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ouro);
}
.secao-divisor-gem {
  width: 8px; height: 8px;
  background: var(--ouro);
  border-radius: 50%;
  margin: 0 8px;
}

/* ===== MANIFESTO ===== */
.secao-missao {
  padding: 6rem 1.5rem;
  background: var(--creme);
}
.manifesto {
  max-width: 760px;
  margin: 0 auto;
}
.manifesto p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--texto);
  margin: 0 0 1.5rem;
}
.manifesto p:last-child { margin-bottom: 0; }

/* ===== CORPO DOCENTE ===== */
.secao-docentes {
  background: var(--branco);
  padding: 6rem 1.5rem;
}
.docentes-inner { max-width: 1200px; margin: 0 auto; }
.docentes-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--texto-claro);
  line-height: 1.7;
  max-width: 720px;
  margin: 1.5rem auto 0;
}
.docentes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 5rem;
}
.docente-card { text-align: center; padding: 1.5rem 0.5rem; }
.docente-avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul-medio) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ouro);
  box-shadow: 0 4px 20px rgba(13,34,51,0.15);
}
.docente-letra {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ouro-claro);
  letter-spacing: 2px;
}
.docente-nome {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--azul-profundo);
  letter-spacing: 1px;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}
.docente-papel {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ouro);
  margin: 0 0 0.8rem;
}
.docente-descricao {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--texto-claro);
  margin: 0;
}

/* ===== INTELIGÊNCIAS DIGITAIS COMPANHEIRAS ===== */
.companheiras-wrap {
  max-width: 800px;
  margin: 4rem auto 0;
  background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul-medio) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border: 1px solid rgba(201,168,76,0.25);
  position: relative;
  overflow: hidden;
}
.companheiras-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.companheiras-wrap .secao-tag { color: var(--ouro); position: relative; z-index: 1; }
.companheiras-titulo {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--branco);
  letter-spacing: 3px;
  margin: 1rem 0;
  position: relative;
  z-index: 1;
}
.companheiras-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.companheiras-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid var(--ouro);
  color: var(--ouro);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}
.companheiras-cta:hover { background: var(--ouro); color: var(--azul-profundo); }

/* ===== CICLOS CURRICULARES ===== */
.secao-ciclos { background: var(--creme); padding: 6rem 1.5rem; }
.ciclos-inner { max-width: 1100px; margin: 0 auto; }
.ciclos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.ciclo-card {
  background: var(--branco);
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(13,34,51,0.08);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.ciclo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--ouro);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.ciclo-card:hover {
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 8px 30px rgba(13,34,51,0.08);
  transform: translateY(-4px);
}
.ciclo-card:hover::before { transform: scaleX(1); }
.ciclo-letra {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  color: var(--ouro);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.ciclo-titulo {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--azul-profundo);
  letter-spacing: 2px;
  margin: 0 0 0.5rem;
}
.ciclo-subtitulo {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ouro);
  margin: 0 0 1.5rem;
}
.ciclo-descricao {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--texto-claro);
  margin: 0;
}

/* ===== CITAÇÃO ===== */
.secao-citacao {
  background: var(--branco);
  padding: 5rem 1.5rem;
  text-align: center;
}
.citacao-bloco { max-width: 720px; margin: 0 auto; }
.citacao-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--azul-profundo);
  margin: 0 0 1rem;
}
.citacao-fonte {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ouro);
  font-style: normal;
}

/* ===== CHAMADO FINAL ===== */
.secao-chamado {
  position: relative;
  background: var(--azul-profundo);
  padding: 7rem 1.5rem;
  overflow: hidden;
  text-align: center;
}
.chamado-geom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.chamado-geom svg {
  width: 60vmin;
  height: 60vmin;
  opacity: 0.05;
  animation: rotateSlow 180s linear infinite reverse;
}
.chamado-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.chamado-titulo {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--branco);
  letter-spacing: 3px;
  line-height: 1.3;
  margin: 1rem 0 1.5rem;
}
.chamado-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin: 0 auto 2.5rem;
  max-width: 580px;
}
.chamado-link {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ouro);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding: 0.4rem 0;
  transition: all 0.3s;
}
.chamado-link:hover {
  color: var(--ouro-claro);
  border-bottom-color: var(--ouro-claro);
}

/* ===== RODAPÉ ===== */
footer {
  background: #061421;
  color: rgba(255,255,255,0.7);
  padding: 5rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ouro);
  margin: 0 0 1rem;
  font-weight: 500;
}
.footer-col p, .footer-col a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.footer-col a { text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--ouro-claro); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-versicle {
  font-style: italic;
  color: rgba(255,255,255,0.4);
  font-size: 0.95rem;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,168,76,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.footer-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--ouro);
  letter-spacing: 2px;
}

/* ===== PÁGINA COMO PARTICIPAR — específicas ===== */
.hero-secundario {
  min-height: 55vh;
  padding: 8rem 2rem 4rem;
}
.hero-secundario .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.secao-aulas {
  background: var(--creme);
  padding: 5rem 1.5rem 3rem;
}
.aulas-inner { max-width: 760px; margin: 0 auto; }
.aulas-texto p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--texto);
  margin: 0 0 1.5rem;
}
.aulas-texto p:last-child { margin-bottom: 0; }
.aulas-texto strong { color: var(--azul-profundo); }

.inaugural-card {
  background: var(--azul-profundo);
  border: 1px solid var(--ouro);
  padding: 3rem 2.5rem;
  margin: 3rem auto 0;
  max-width: 700px;
  text-align: center;
}
.inaugural-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ouro);
  margin: 0 0 0.5rem;
}
.inaugural-data {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--branco);
  letter-spacing: 3px;
  margin: 0.5rem 0;
}
.inaugural-prof {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0;
}
.inaugural-prof strong { color: var(--branco); }

.secao-participar {
  background: var(--branco);
  padding: 6rem 1.5rem;
}
.participar-inner { max-width: 820px; margin: 0 auto; }
.participar-titulo {
  text-align: center;
  margin-bottom: 3rem;
}

.passo {
  border: 1px solid rgba(13,34,51,0.12);
  padding: 2.5rem;
  margin-bottom: 2rem;
}
.passo-titulo {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--azul-profundo);
  letter-spacing: 2px;
  margin: 0 0 1rem;
}
.passo-numero { color: var(--ouro); }
.passo p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--texto-claro);
  margin: 0 0 1rem;
}
.passo p:last-child { margin-bottom: 0; }
.passo strong { color: var(--azul-profundo); }
.passo-nota {
  font-style: italic;
  font-size: 0.95rem !important;
}

.passo-cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1px solid var(--ouro);
  color: var(--azul-profundo);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 1rem;
}
.passo-cta:hover { background: var(--ouro); color: var(--branco); }

.pix-box {
  background: var(--creme);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}
.pix-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ouro);
  margin: 0 0 0.25rem;
}
.pix-chave {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--azul-profundo);
  margin: 0;
}

.voltar-wrap {
  background: var(--creme);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}
.voltar-link {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  background: transparent;
  border: 1px solid var(--azul-profundo);
  color: var(--azul-profundo);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.voltar-link:hover { background: var(--azul-profundo); color: var(--branco); }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13, 34, 51, 0.97);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
  }
  .nav-links.aberto { display: flex; }
  .hamburger { display: flex; }
  .nav-logo-text span:last-child { display: none; }

  .secao-missao, .secao-docentes, .secao-ciclos, .secao-aulas, .secao-participar {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .companheiras-wrap { padding: 2.5rem 1.5rem; margin: 3rem auto 0; }
  .passo { padding: 2rem 1.5rem; }
  .inaugural-card { padding: 2.5rem 1.5rem; }
}

@media (max-width: 600px) {
  .docentes-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .docente-avatar { width: 90px; height: 90px; }
}

/* ===== UTILITÁRIOS ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
