/*
Theme Name: SIGEDE - Sistema Integrado de Gestão de Recursos Descentralizados da Educação
Theme URI: https://sigede.ap.gov.br
Author: PRIME.TECH
Author URI: https://prime-tech.com.br
Description: Tema WordPress moderno e responsivo para o SIGEDE
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sigede
Domain Path: /languages
*/

:root {
    --primary-color: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --secondary-color: #ecfdf5;
    --text-dark: #111827;
    --text-gray: #666666;
    --border-color: #e5e7eb;
    --bg-light: #f8f9fa;
    --spacing-unit: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header-top {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
}

.logo i {
    font-size: 32px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-dark);
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid white;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.btn:hover {
    background: transparent;
    color: white;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 42px;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Slides Container */
.slides-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 50px;
}

.slide-item {
    padding: 20px;
    margin-bottom: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.slide-item h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.slide-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.tab-button {
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-gray);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-light);
    padding: 15px 0;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary-color);
}

/* Posts */
.post {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.post-meta {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.post-content {
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    section h2 {
        font-size: 32px;
    }

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

    .tabs {
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    footer,
    .btn {
        display: none;
    }
}

/* === SIGEDE: HERO PRO (Home) === */
.hero-pro{
  position: relative;
  width: 100%;
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 16px;
  color: #fff;
}

.hero-pro__bg{
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  filter: saturate(1.1);
  z-index: 0;
}

.hero-pro__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.0) 55%),
    linear-gradient(90deg, rgba(4,67,180,0.55), rgba(0,160,120,0.55)),
    rgba(0,0,0,0.25);
  backdrop-filter: blur(1px);
}

.hero-pro__content{
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  padding: 10px 0;
}

.hero-pro__title{
  margin: 0 0 14px 0;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-pro__subtitle{
  margin: 0 auto 34px auto;
  max-width: 760px;
  font-size: clamp(16px, 1.8vw, 26px);
  opacity: 0.95;
}

.hero-pro__buttons{
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-pro__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.hero-pro__btn--light{
  background: rgba(255,255,255,0.95);
  color: #0b7d5b;
}

.hero-pro__btn--solid{
  background: rgba(0,160,120,0.92);
  color: #fff;
}

.hero-pro__btn:hover{
  transform: translateY(-2px);
  opacity: 0.98;
}

.hero-pro__title,
.hero-pro__subtitle,
.hero-pro__buttons{
  animation: heroFadeUp .7s ease both;
}

.hero-pro__subtitle{ animation-delay: .08s; }
.hero-pro__buttons{ animation-delay: .16s; }

@keyframes heroFadeUp{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px){
  .hero-pro{ min-height: 520px; padding: 60px 14px; }
}
/* === /SIGEDE: HERO PRO (Home) === */
