/* zoe_platform/css/styles.css */
:root {
  --color-primary: #ffffff;
  --color-accent: #348941;
  --color-primary-escola: #151515;
  --color-bg: #151515;
  --color-card: rgba(255, 255, 255, 0.05);
  --color-text: #f8f9fa;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-escola: #3a3a3a;
  --color-success: #4ade80;
  --color-error: #ff6b6b;
  --radius-lg: 20px;
  --radius-md: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
/* Esconde o aviso por padrão (no celular) */
#aviso-desktop {
  display: none;
}

/* Quando a tela for maior que 1024px */
@media screen and (min-width: 1025px) {
  /* Esconde o conteúdo do seu app */
  #app-mobile {
    display: none;
  }

  /* Mostra e estiliza a mensagem de construção */
  #aviso-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: #1a1a1a; /* Cor de fundo */
    color: white;
    text-align: center;
    font-family: sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
  }

  .conteudo {
    padding: 20px;
    border: 2px solid #ffcc00;
    border-radius: 15px;
  }
}
.homeback {
  width: 100vw;
  height: max-content;
  z-index: -100;
  position: fixed;
}

/* ===== SPLASH SCREEN ===== */
.splash {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.logo-container {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo-main {
  width: 100%;
  z-index: 2;
  animation: logoEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0;
  animation: glowPulse 3s infinite 1.2s;
}

@keyframes logoEntrance {
  0% {
    transform: scale(0.6) translateY(20px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(1.15);
  }
}

/* ===== LOGIN PAGE ===== */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image: url(../assets/images/loginback.png);
  background-size: cover;
}

.login-card {
  /* Glass effect */
  background: rgba(77, 106, 67, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  /* Borda suave */
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Sombra */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);

  color: rgb(255, 255, 255);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-card::before{
    content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.25;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.login-card *{
      position: relative;
  z-index: 1;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header img {
  width: 190px;
}

.login-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

#btn-login {
  height: 50px;
  background-color: #2c5637;
}

.form-group {
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.input-field:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  /* Dimensões: Estreito e Largo */
  padding: 8px 60px;
  min-height: 45px;
  min-width: 250px;

  /* Tipografia Moderna */
  font-family: "Inter", sans-serif; /* Ou sua fonte preferida */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;

  /* Estilo e Cores */
  background-color: #348941;
  border: none;
  border-radius: 80px; /* Efeito pílula */
  cursor: pointer;

  /* Suavidade na interação */
  transition: all 0.3s ease;
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Efeito ao passar o mouse */
.btn-primary:hover {
  background-color: #333333;
  transform: translateY(-2px); /* Leve levante */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Efeito ao clicar */
.btn-primary:active {
  transform: translateY(0);
}

.btn-google {
  background: white;
  color: #000;
  margin-top: 12px;
}

.btn-google:hover {
  background: #f1f1f1;
}

.login-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.login-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

/* ===== MENU LATERAL (DRAWER) ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
    border-radius: 0px 30px 30px 0px;
  /* Glassmorphism */
  background: #F25623;


  border-right: 1px solid rgba(255,255,255,0.08);
  box-shadow: 6px 0 20px rgba(0,0,0,0.45);

  z-index: 1100; /* Acima do conteúdo, abaixo do header se quiser */

  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Quando abrir */
.sidebar.active {
  transform: translateX(0);
}

/* Ruído sutil */
.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* Garante conteúdo acima do ruído */
.sidebar * {
  position: relative;
  z-index: 1;
}


.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  padding: 24px;
  border-bottom: 2px solid rgba(0, 0, 0, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.sidebar-menu {
  flex: 1;
  list-style: none;
  padding: 12px 0;
}

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.sidebar-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--color-primary);
  color: var(--color-primary);
}

.sidebar-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer button {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-footer button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== HOME PAGE ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(20, 20, 20, 0.1);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 1000;

  transition: var(--transition);
}

/* Estado ATIVO ao scroll */
header.scrolled {
  background: rgba(243, 244, 246, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  margin-top:180px;
  margin:100px 20px 0px 20px;
}

.hero-subtitle {
  
  margin: 0px 20px 0px 25px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.75);
}


/* Ruído sutil */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
}

/* Garante conteúdo acima do ruído */
header * {
  position: relative;
  z-index: 1;
}


.nav-logo {
  height: 40px;
}


.menu-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

main {
  padding-top: 70px;
  padding-bottom: 40px;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-left: 8px;
  letter-spacing: 6px;
  margin-bottom: 24px;
  color: var(--color-primary);
  padding: 0 24px;
  text-transform: uppercase;
}

/* ===== BLOCO A: CARDS VERTICAIS ===== */
.cards-container {
    margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 24px 24px;
}

.card-vertical {
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-vertical:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}

.card-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.card-vertical:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Painel Glass apenas no texto */
.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;

  background: rgba(181, 220, 168, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255,255,255,0.15);

  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);

  overflow: hidden;
}

/* Ruído sutil */
.card-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
}

/* Tipografia */
.card-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}


/* ===== BLOCO B: MURAL ===== */
.mural-section {
  background-image: url(../assets/images/muralback.jpg);
  background-size: cover;
  padding: 40px 24px;
}

.aviso-card {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;

  /* Glassmorphism */
  background: rgba(44, 45, 44, 0.218);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-left: 4px solid var(--color-primary);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--color-primary);

  box-shadow: 0 6px 18px rgba(0,0,0,0.35);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ruído sutil */
.aviso-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
  border-radius: inherit;
}

/* Conteúdo acima do ruído */
.aviso-card * {
  position: relative;
  z-index: 1;
}

/* Hover elegante */
.aviso-card:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}


.aviso-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* ===== BLOCO C: LOCALIZAÇÃO ===== */
.loc-section {
  padding: 40px 24px;
}

.loc-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-container {
  height: 250px;
  background: #333;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.loc-info {
  padding: 24px;
}

.loc-info h4 {
  margin-bottom: 8px;
  color: var(--color-primary);
}

.loc-info p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.btn-group {
  display: flex;
  gap: 12px;
}

.btn-action {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
}

.btn-rota {
  background: var(--color-primary);
  color: #000;
}

.btn-rota:hover {
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
}

/* ===== BLOCO D: GALERIA ===== */
.galeria-section {
  padding: 40px 24px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.galeria-item {
  aspect-ratio: 1;
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.galeria-item:hover {
  transform: scale(1.05);
  border-color: var(--color-primary);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-instagram {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-instagram:hover {
  transform: translateY(-2px);
}

/* ===== ESCOLA ZOE PAGE ===== */
.escola-header {
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.escola-header h1 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.escola-header p {
  color: var(--color-text-secondary);
}

.cursos-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px 40px;
}

.curso-card {
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 26px rgba(0,0,0,0.35);
}

.curso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.45);
}

.curso-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.95;
}

.curso-card:hover img {
  transform: scale(1.05);
}

/* Painel glass inferior */
.curso-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;

  background: rgba(96, 94, 94, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.35);

  overflow: hidden;
}

/* Ruído sutil */
.curso-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  opacity: 0.22;
  pointer-events: none;
}

/* Conteúdo acima do ruído */
.curso-info * {
  position: relative;
  z-index: 1;
}

/* Tipografia */
.curso-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.curso-info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

/* Barra de progresso moderna */
.progress-bar-course {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-course-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #ffffff);
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* Info progresso */
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

/* Botão integrado */
.curso-info .btn-primary {
  margin-top: 6px !important;
  width: 100%;
  padding: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 30px;
}


/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.3rem;
  }

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

@media (max-width: 480px) {
  header {
    padding: 0 16px;
  }

  .section-title {
    padding: 0 16px;
    font-size: 1.3rem;
  }

  .cards-container,
  .mural-section,
  .loc-section,
  .galeria-section {
    padding-left: 16px;
    padding-right: 16px;
  }


}
.md-content h1 { font-size: 1.6rem; margin: 16px 0 10px; }
.md-content h2 { font-size: 1.3rem; margin: 18px 0 8px; }
.md-content h3 { font-size: 1.1rem; margin: 14px 0 6px; }

.md-content p { margin: 10px 0; }

.md-content ul,
.md-content ol {
  padding-left: 22px;
  margin: 10px 0;
}

.md-content blockquote {
  border-left: 4px solid #4E6813;
  background: rgba(0,0,0,0.04);
  padding: 12px 16px;
  border-radius: 12px;
  margin: 14px 0;
  font-style: italic;
}

.md-content code {
  background: rgba(0,0,0,0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.md-content pre {
  background: rgba(0,0,0,0.08);
  padding: 14px;
  border-radius: 14px;
  overflow: auto;
}
#swipe-layer {
  position: fixed;
  inset: 0;
  z-index: 999;          /* abaixo do seu header/menu se precisar */
  background: transparent;
  touch-action: pan-y;   /* deixa scroll vertical funcionar */
}
