/*
 Theme Name: StageOn Full Marketing Theme
 Theme URI: https://example.com
 Author: StageOn Agency
 Description: Tema WordPress – Home, Quem Somos, O Que Oferecemos, Criadores e Fale Conosco.
 Version: 1.0.60
 Text Domain: stageon-full
*/

/*==============================================================
# Variáveis & Reset
==============================================================*/
:root {
  --primary-color: #e91e63;
  --secondary-color: #000;
  --menu-height: 60px;
  --footer-height: 30px;
  --logo-size: 40px;
  --font-heading: 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Open Sans', sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: #333;
  background: #fff;
}

/*==============================================================
# Tipografia Global
==============================================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}
p, ul {
  font-family: var(--font-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
ul { list-style: disc inside; }

/*==============================================================
# Links & Botões
==============================================================*/
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
.hero-button { display: inline-block; padding: 1rem 2rem; background: var(--primary-color); color: #fff; border-radius: 4px; font-family: var(--font-heading); text-decoration: none; }
.hero-button:hover { opacity: 0.9; }

/*==============================================================
# Grid Layout Genérico
==============================================================*/
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.row { display: flex; flex-wrap: wrap; margin: 0 -0.5rem; }
[class*="col-"] { padding: 0 0.5rem; }

/*==============================================================
# Header & Menu (todas as páginas)
==============================================================*/
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--menu-height);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: 1000;
}
header.site-header nav.overlay-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
header.site-header nav.overlay-menu ul li a {
  color: #fff;
  font-weight: bold;
}
header.site-header nav.overlay-menu ul li a:hover { opacity: 0.8; }

/*==============================================================
# Logo no canto (todas as páginas)
==============================================================*/
.logo-canto {
  position: absolute;
  top: calc((var(--menu-height) - var(--logo-size)) / 2);
  right: 1rem;
  width: var(--logo-size);
  z-index: 1001;
}
.logo-canto img { width: 100%; height: auto; }

/*==============================================================
# Hero Banner & Overlay – Padrão Full-Screen
==============================================================*/
.hero-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
  z-index: 900;
}

/*==============================================================
# Home – Overlay Vertical
==============================================================*/
body.home .hero-banner {
  background-image: url('../assets/banner.png');
}
body.home .hero-overlay {
  /* central box */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  height: auto;
  background: rgba(0, 0, 0, 0.35);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
body.home .hero-overlay h1 {
  margin: 0;
  color: #fff;
  font-size: 2.5rem;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
body.home .hero-description,
body.home .hero-overlay p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}
body.home .hero-button {
  margin-top: 1rem;
  align-self: center;
}

/*==============================================================
# Quem Somos – Overlay Full-Screen + Grid 2×2
==============================================================*/
body.page-quem-somos .hero-banner {
  background-image: url('../assets/banner.png');
}
body.page-quem-somos .hero-overlay {
  /* full-screen overlay */
}
body.page-quem-somos .quem-somos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

/*==============================================================
# O Que Oferecemos – Overlay Full-Screen + Grid 3×3
==============================================================*/
body.page-o-que-oferecemos .hero-banner {
  background-image: url('../assets/banner-o-que-oferecemos.png');
}
body.page-o-que-oferecemos .hero-overlay {
  /* full-screen overlay */
}
body.page-o-que-oferecemos .o-que-oferecemos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

/*==============================================================
# Criadores – Overlay Full-Screen + Grid Flexível
==============================================================*/
body.page-criadores .hero-banner {
  background-image: url('../assets/banner-criadores.png');
}
body.page-criadores .hero-overlay {
  /* full-screen overlay */
}
body.page-criadores .criadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/*==============================================================
# Fale Conosco – Overlay Full-Screen + Form
==============================================================*/
body.page-fale-conosco .hero-banner {
  background-image: url('../assets/banner-fale-conosco.png');
}
body.page-fale-conosco .hero-overlay {
  /* full-screen overlay */
}
body.page-fale-conosco .fale-conosco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

/*==============================================================
# Footer (todas as páginas)
==============================================================*/
footer.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  background: var(--secondary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  text-align: center;
  z-index: 1000;
}
footer.site-footer p {
  margin: 0;
  line-height: var(--footer-height);
}

/*==============================================================
# Responsividade (≤768px)
==============================================================*/
@media (max-width: 768px) {
  header.site-header nav.overlay-menu ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 1rem;
  }
  header.site-header nav.overlay-menu ul li a {
    font-size: 0.875rem;
  }
  .logo-canto {
    width: 36px;
    top: 6px;
    right: 6px;
  }
  .hero-banner {
    height: calc(100vh - var(--menu-height) - var(--footer-height));
  }
  .hero-overlay {
    padding: 1.5rem;
  }
}
