:root {
    --primary: #00B4A6;
    --primary-light: #2ED3C6;
    --primary-dark: #007F7A;
    --text: #111111;
    --muted: #4B5563;
    --bg: #F3F4F6;
    --card: #ffffff;
    --border: #e5e7eb;
    --header-footer: #111111;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1 { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--text); }
h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--text); }
p { font-size: 16px; font-weight: 400; line-height: 1.6; color: var(--muted); }
label, .nav-link { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace; }
input[name*="cpf"], input[name*="matricula"], input[name*="id"] { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace; }

/* Forms minimal */
input, select, textarea {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(31,217,198,0.15);
}
label { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 6px; display: inline-block; }

/* Top Bar */
.top-bar { background: var(--primary); color: #fff; font-size: 13px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top-links { display: flex; gap: 20px; align-items: center; color: #fff; }
.top-links a { color: #fff; text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 8px; opacity: 0.9; transition: opacity 0.2s; }
.top-links a:hover { opacity: 1; color: var(--primary-light); }
.top-social { display: flex; gap: 15px; align-items: center; margin-right: 15px; }
.top-social a { color: #fff; text-decoration: none; font-size: 16px; transition: color 0.2s; }
.top-social a:hover { color: var(--primary-light); }
.top-whatsapp { background: #25d366; color: #fff; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3); }
.top-buttons { display: none; }
.top-btn { background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 13px; letter-spacing: 0.01em; transition: all 0.2s; }
.top-btn:hover { background: var(--primary-light); transform: translateY(-1px); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 10px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.01); }
.site-header::before { content: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 30px; }
.header-left { display:flex; align-items:center; gap:24px; }
.brand-logo { color: var(--header-footer); font-weight: 800; font-size: 26px; text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav-link { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: 0.01em; padding: 8px 0; border-bottom: 2px solid transparent; transition: all 0.2s; }
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.header-actions { display:flex; align-items:center; gap:12px; }
.header-actions .top-btn { padding: 8px 16px; border-radius: 6px; font-size: 13px; color:#fff !important; background: var(--primary); font-weight: 500; }
.header-actions .top-btn:hover { background: var(--primary-light); }
.header-right { display:flex; align-items:center; gap:24px; margin-left:auto; }
.hamburger { display:none; }

/* Hero & Slider */
.slider-container { position: relative; width: 100%; height: 450px; overflow: hidden; background: var(--header-footer); z-index: 1; }
.slider-wrapper { display: flex; width: 100%; height: 100%; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; flex-shrink: 0; }
.slide::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.4), transparent); pointer-events: none; }
.slide-link { display: block; width: 100%; height: 100%; text-decoration: none; }

.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; transition: 0.3s; border: 2px solid transparent; }
.slider-dot.active { background: var(--primary); border-color: #fff; transform: scale(1.2); }

.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 30px; z-index: 10; pointer-events: none; }
.slider-arrow { background: rgba(255, 255, 255, 0.1); color: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; pointer-events: auto; transition: 0.3s; font-size: 20px; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }

/* Unit Section */
.unit-info { background: var(--primary-dark); text-align: center; padding: 60px 0; color: #fff; }
.unit-info h2 { font-size: 42px; font-weight: 900; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.unit-info p { margin: 15px 0 0; opacity: 0.95; font-size: 18px; color: #fff; }

/* Section Title */
.section-title { text-align: center; padding: 60px 0 40px; background: transparent; }
.section-title h2 { font-size: 36px; color: var(--text); margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.section-title.center { text-align: center; }
.section-title.center h2 { display: inline-block; position: relative; padding-bottom: 12px; }
.section-title.center h2::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: var(--primary); border-radius: 2px; }

/* Yellow Nav (Newsletter/Informativo) */
.yellow-nav { background: var(--primary); padding: 40px 0; text-align: center; box-shadow: 0 4px 20px rgba(0,180,166,0.1); position: relative; z-index: 10; color: #fff; }
.yellow-nav .container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.yellow-nav h2 { color: #fff; margin: 0; }
.yellow-nav p { color: rgba(255,255,255,0.9); margin: 0; }
.yellow-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.yellow-nav a:hover { opacity: 0.8; }

/* Sections */
.page-section { padding: 60px 0; background: var(--bg); }
.atendimento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: #e2e8f0; }
.card + .card { margin-top: 24px; }
.card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; border-bottom: 1px solid #f8fafc; padding-bottom: 12px; }

/* Buttons Minimalist */
.btn { display: inline-block; background: var(--primary); color: #fff; padding: 9px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.2s ease; border: none; cursor: pointer; letter-spacing: 0.01em; font-size: 13px; text-align: center; }
.btn-yellow { background: var(--primary); color: #fff; }
.btn:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 180, 166, 0.15); }
.btn:active { transform: translateY(0); }
/* Minimal variants */
.btn-sm { padding: 6px 12px; font-size: 12px; font-weight: 500; border-radius: 5px; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-soft { background: #f0fdfa; color: var(--primary-dark); border: 1px solid #ccfbf1; }
.btn-disabled { background: #f3f4f6; color: #9ca3af; border: 1px solid var(--border); cursor: not-allowed; }

/* Pills */
.pill { display: inline-block; padding: 4px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); }
.pill-green { background: #f0fdfa; color: #0d9488; border-color: #ccfbf1; }
.pill-red { background: #fef2f2; color: #dc2626; border-color: #fee2e2; }
.pill-blue { background: #eff6ff; color: #2563eb; border-color: #dbeafe; }

.text-muted-sm { font-size: 12px; color: var(--muted); }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Tables Minimalist */
.table-clean { width: 100%; border-collapse: collapse; }
.table-clean thead th { text-align: left; padding: 12px 15px; font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid #f1f5f9; }
.table-clean tbody td { padding: 12px 15px; font-size: 13px; vertical-align: middle; border-bottom: 1px solid #f8fafc; color: #334155; }
.table-clean tbody tr:hover { background: #f8fafc; }
.table-clean tbody tr:last-child td { border-bottom: none; }

/* Footer */
.site-footer { background: var(--header-footer); color: #fff; padding: 0; margin-top: 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-main { padding: 25px 0 15px; }
.footer-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.footer-top-row p { margin: 0; font-size: 13px; font-weight: 700; color: #fff; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.05em; }
.social-icons-unip { display: flex; gap: 15px; }
.social-icons-unip a { color: #fff; text-decoration: none; font-size: 18px; transition: all 0.2s; opacity: 0.7; }
.social-icons-unip a:hover { color: var(--primary-light); opacity: 1; transform: translateY(-2px); }
.footer-contact { text-align: center; }
.contact-item { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--primary); }

.footer-col h4 { color: #fff; margin-bottom: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-bottom { background: rgba(0,0,0,0.3); padding: 10px 0; font-size: 11px; color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { margin: 0; text-align: center; font-weight: 500; }

/* Cookie Notice LGPD */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    z-index: 9999;
    padding: 15px 0;
}
.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.cookie-text {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cookie-text i {
    color: #00B4A6;
    font-size: 24px;
}
.cookie-text p {
    font-size: 13px;
    margin: 0;
    color: #4b5563;
    line-height: 1.5;
}
.cookie-text a {
    color: #00B4A6;
    text-decoration: underline;
    font-weight: 600;
}
.cookie-actions .btn {
    padding: 10px 25px;
    white-space: nowrap;
}

/* Grid and Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.access-card { text-align: center; background: #fff; padding: 24px; border-radius: 12px; border: 1px solid var(--border); transition: 0.2s; }
.access-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.access-card img { width: 100%; border-radius: 8px; margin-bottom: 20px; }

/* Course Cards Grid (Home) */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.course-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; cursor: pointer; }
.course-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: var(--primary-light); }
.course-card img { width: 100%; height: 180px; object-fit: cover; }
.course-card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.course-card h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.course-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.course-card-footer { padding: 16px 24px; background: #fafafa; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.course-card strong { font-size: 20px; color: var(--primary-dark); font-weight: 800; }

.news-wrap { display:grid; grid-template-columns: 1.2fr 1.8fr; gap: 24px; align-items:start; }
.news-feature-img { width:100%; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.news-cat { font-size: 12px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.news-title { display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden; font-size: 16px; font-weight: 800; color: #1A1A1A; text-decoration:none; margin-bottom: 4px; line-height: 1.2; }
.news-author { font-size: 12px; color: #6b7280; }
.news-list { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-item { display:flex; gap: 12px; align-items:flex-start; min-height: 92px; }
.news-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.news-item-title { display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden; font-size: 16px; font-weight: 700; color:#1A1A1A; text-decoration:none; margin-bottom: 4px; }
.news-item-title:hover { color: var(--primary); }
.news-item-content { display:flex; flex-direction:column; }
.news-list.titles-only .news-item { min-height: 0; display:block; }
.news-list.titles-only .news-item-title { margin: 0; }

.fab-whatsapp { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff; border-radius: 50%; box-shadow: 0 8px 20px rgba(0,0,0,0.2); z-index: 1000; text-decoration: none; font-size: 26px; }
.fab-whatsapp:hover { filter: brightness(1.05); transform: translateY(-1px); }
.fab-badge { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; background: #e11d48; color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* Testimonials */
.testimonial-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.testimonial-card { background:#fff; border:1px solid var(--border); border-radius: 10px; padding: 16px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.testimonial-head { display:flex; align-items:center; gap: 12px; margin-bottom: 10px; }
.testimonial-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar-fallback { width: 48px; height: 48px; border-radius: 50%; background: #e5e7eb; display: grid; place-items: center; }
.avatar-fallback span { font-size: 16px; font-weight: 800; color: #0f172a; }
.testimonial-name { font-size: 14px; font-weight: 800; color: var(--text); }
.testimonial-course { font-size: 12px; color: var(--muted); }
.testimonial-message { font-size: 14px; color: var(--text); }

 

/* Admin Sidebar Layout */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; overflow: hidden; background: #f8fafc; }
.admin-sidebar { 
    background: #004d4a; /* Tom mais escuro e sóbrio */
    color: #fff; 
    padding: 24px 16px; 
    display: flex; 
    flex-direction: column; 
    height: 100vh; 
    position: sticky; 
    top: 0; 
    overflow-y: auto;
}
.admin-brand { 
    padding: 0 12px 24px; 
    margin-bottom: 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.admin-menu { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-menu a { 
    color: rgba(255,255,255,0.7); 
    text-decoration: none; 
    padding: 10px 14px; 
    border-radius: 8px; 
    font-weight: 500; 
    display: flex; 
    align-items: center; 
    gap: 12px;
    font-size: 13.5px;
    transition: all 0.2s ease;
}
.admin-menu a i { width: 18px; text-align: center; font-size: 15px; opacity: 0.6; }
.admin-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-menu a.active { 
    background: rgba(255,255,255,0.12); 
    color: #fff;
    font-weight: 600;
}
.admin-menu a.active i { opacity: 1; }

.admin-main { 
    display: flex; 
    flex-direction: column; 
    height: 100vh; 
    overflow-y: auto; 
    background: #f8fafc;
    font-family: 'Inter', system-ui, sans-serif;
}
.admin-header { 
    background: #fff; 
    border-bottom: 1px solid #f1f5f9; 
    padding: 14px 24px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: sticky; 
    top: 0; 
    z-index: 50;
    box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.admin-content { padding: 32px; flex: 1; font-size: 14px; }
.admin-header h1 { font-size: 18px; font-weight: 700; color: #1e293b; margin: 0; }
.admin-header .user-info { font-size: 12px; color: #64748b; }

.admin-footer {
    background: #fff;
    color: #94a3b8;
    padding: 24px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #f1f5f9;
}

.top-btn.alt { background: var(--secondary); color: var(--primary); }
.top-btn { 
    background: #00897b; 
    color: #fff; 
    padding: 10px; 
    border-radius: 8px; 
    text-align: center; 
    text-decoration: none; 
    font-weight: 700;
    margin-top: 5px;
    display: block;
}


/* Admin Dashboard */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.kpi-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 18px; }
.kpi-icon.teal { background: #f0fdfa; color: var(--primary); }
.kpi-icon.green { background: #f0fdf4; color: #10b981; }
.kpi-icon.blue { background: #eff6ff; color: #3b82f6; }
.kpi-icon.yellow { background: #fffbeb; color: #f59e0b; }
.kpi-content h4 { margin: 0; font-size: 11px; color: #94a3b8; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.kpi-content p { margin: 2px 0 0; font-size: 22px; font-weight: 800; color: #1e293b; }

/* Tables in Admin */
.table-clean thead th { font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--border); }
.table-clean tbody td { font-size: 13px; color: var(--text); padding: 12px 8px; border-bottom: 1px solid #f3f4f6; }
.table-clean tbody tr:last-child td { border-bottom: none; }

/* Buttons in Admin Tables/Content */
.admin-content .btn { padding: 8px 16px; font-size: 13px; font-weight: 500; border-radius: 6px; }
.admin-content .btn-sm { padding: 6px 12px; font-size: 12px; }

/* Admin Forms/Filters */
.admin-content input, .admin-content select { padding: 8px 12px; font-size: 13px; border-radius: 6px; }
.admin-content label { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 16px; }
.card-title { margin-top: 0; font-size: 16px; font-weight: 700; }
.quick-links { display: grid; grid-template-columns: 1fr; gap: 10px; }
.quick-links a { text-decoration: none; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.quick-links a:hover { border-color: var(--primary); }
.section-head { display:flex; align-items:center; justify-content:space-between; }
.section-head h3 { margin:0; font-size:18px; }



/* Modais */
.modal-backdrop { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.6); 
    display: none; 
    align-items: center; 
    justify-content: center; 
    z-index: 2000; 
    backdrop-filter: blur(4px);
}
.modal { 
    background: #fff; 
    width: 90%; 
    max-width: 500px; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
    animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-header { padding: 20px; background: var(--primary); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { margin: 0; font-size: 18px; }
.modal-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; opacity: 0.8; }
.modal-close:hover { opacity: 1; }
.modal-body { padding: 25px; }
.modal-footer { padding: 15px 25px; background: #f9fafb; display: flex; justify-content: flex-end; gap: 10px; }

.course-card { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.course-card h4 { transition: color 0.2s; }
.course-card:hover h4 { color: var(--secondary) !important; }
