:root {
    --teal:       #5bbcb8;
    --teal-dark:  #3a9a96;
    --teal-light: #e8f7f6;
    --yellow:     #f0c040;
    --red:        #e05a40;
    --navy:       #2d4a6b;
    --white:      #ffffff;
    --gray-50:    #f9fafb;
    --gray-100:   #f3f4f6;
    --gray-200:   #e5e7eb;
    --gray-600:   #4b5563;
    --gray-800:   #1f2937;
    --radius:     12px;
    --radius-lg:  20px;
    --shadow:     0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:  0 8px 40px rgba(0,0,0,.12);
    --transition: .25s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--gray-50); color: var(--gray-800); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; border-radius: var(--radius); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.navbar { background: var(--white); border-bottom: 2px solid var(--teal-light); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(91,188,184,.15); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1100px; margin: 0 auto; }
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo img { width: 44px; height: 44px; border-radius: 10px; }
.navbar-logo span { font-weight: 700; font-size: 1.1rem; color: var(--teal-dark); }
.navbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: .9rem; cursor: pointer; border: none; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn:active { transform: translateY(0); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-yt { background: #FF0000; color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal-dark); }
.btn-outline:hover { background: var(--teal-light); }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

.hero { background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #7dd4d1 100%); color: var(--white); padding: 70px 20px 80px; text-align: center; }
.hero-logo { width: 100px; border-radius: 20px; margin-bottom: 24px; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.hero h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 12px; }
.hero p { font-size: 1.15rem; opacity: .9; max-width: 520px; margin: 0 auto 32px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-title { font-size: 1.6rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 8px; }
.section-subtitle { color: var(--gray-600); margin-bottom: 40px; }
.section-header { margin-bottom: 36px; }

.roda-atual-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--teal-light); }
.roda-atual-img { position: relative; min-height: 320px; }
.roda-atual-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.roda-atual-img .badge-ao-vivo { position: absolute; top: 16px; left: 16px; background: var(--red); color: white; padding: 5px 14px; border-radius: 50px; font-size: .8rem; font-weight: 700; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }
.roda-atual-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.roda-atual-info .tema { font-size: 1.7rem; font-weight: 700; color: var(--teal-dark); }
.roda-atual-info .meta { display: flex; gap: 16px; color: var(--gray-600); font-size: .9rem; flex-wrap: wrap; }
.roda-descricao { color: var(--gray-600); line-height: 1.7; }
.roda-frase { background: var(--teal-light); border-left: 4px solid var(--teal); padding: 12px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--teal-dark); font-size: .95rem; }
.roda-palestrante { display: flex; align-items: center; gap: 12px; }
.roda-palestrante img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--teal); }
.roda-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.roda-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); border: 1px solid var(--gray-200); }
.roda-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.roda-card-img { height: 180px; overflow: hidden; }
.roda-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.roda-card:hover .roda-card-img img { transform: scale(1.05); }
.card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--teal-light), var(--teal)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.roda-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.roda-card-tema { font-weight: 700; font-size: 1rem; }
.roda-card-meta { font-size: .82rem; color: var(--gray-600); }
.roda-card-frase { font-size: .85rem; font-style: italic; color: var(--teal-dark); border-left: 3px solid var(--teal); padding-left: 10px; }
.roda-card-footer { padding: 0 20px 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: var(--teal-light); color: var(--teal-dark); padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 500; }

.proxima-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border: 2px dashed var(--teal); transition: border-color var(--transition), box-shadow var(--transition); }
.proxima-card:hover { border-color: var(--teal-dark); box-shadow: var(--shadow); }
.proxima-card .tema { font-weight: 700; font-size: 1rem; color: var(--teal-dark); margin-bottom: 6px; }
.proxima-card .data { font-size: .85rem; color: var(--gray-600); margin-bottom: 8px; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--teal); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 6px; width: 12px; height: 12px; background: var(--teal); border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--teal); }
.timeline-data { font-size: .8rem; color: var(--gray-600); margin-bottom: 4px; }
.timeline-tema { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.timeline-insight { font-size: .88rem; color: var(--teal-dark); font-style: italic; margin-bottom: 8px; }
.timeline-link a { color: var(--red); font-weight: 600; font-size: .82rem; }
.timeline-link a:hover { text-decoration: underline; }

.suggest-box { background: var(--teal-light); border-radius: var(--radius-lg); padding: 36px; text-align: center; max-width: 600px; margin: 0 auto; }
.suggest-box h3 { color: var(--teal-dark); font-size: 1.3rem; margin-bottom: 8px; }
.suggest-form { display: flex; gap: 10px; margin-top: 20px; }
.suggest-form input { flex: 1; padding: 12px 18px; border-radius: 50px; border: 2px solid var(--teal); font-size: .95rem; outline: none; font-family: inherit; }
.suggest-form input:focus { border-color: var(--teal-dark); }

.counter-bar { background: var(--navy); color: var(--white); padding: 20px; text-align: center; }
.counter-bar .num { font-size: 2rem; font-weight: 700; color: var(--yellow); }

.footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand p { font-size: .9rem; opacity: .75; margin-top: 12px; max-width: 260px; }
.footer-logo { width: 50px; border-radius: 10px; }
.footer h4 { font-size: .9rem; font-weight: 700; margin-bottom: 14px; color: var(--teal); }
.footer-link { display: block; font-size: .88rem; opacity: .8; margin-bottom: 8px; transition: opacity .2s; }
.footer-link:hover { opacity: 1; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .82rem; opacity: .6; }

.no-content { text-align: center; padding: 48px; color: var(--gray-600); }
.no-content .icon { font-size: 3rem; margin-bottom: 12px; }

.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--navy); color: var(--white); padding: 24px 0; display: flex; flex-direction: column; }
.admin-sidebar .logo { padding: 0 20px 24px; border-bottom: 1px solid rgba(255,255,255,.1); display:flex; align-items:center; }
.admin-sidebar .logo img { width: 42px; border-radius: 8px; }
.admin-sidebar .logo span { font-weight: 700; font-size: .95rem; color: var(--teal); margin-left: 10px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: .9rem; transition: background .2s; color: rgba(255,255,255,.8); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: var(--white); }
.admin-main { padding: 32px; background: var(--gray-50); }
.admin-header { margin-bottom: 28px; }
.admin-header h1 { font-size: 1.5rem; color: var(--gray-800); }
.admin-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border-radius: var(--radius); border: 2px solid var(--gray-200); font-size: .95rem; font-family: inherit; transition: border-color .2s; }
.form-control:focus { outline: none; border-color: var(--teal); }
textarea.form-control { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--teal-light); color: var(--teal-dark); padding: 10px 14px; text-align: left; font-size: .85rem; font-weight: 600; }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); font-size: .88rem; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }
.badge { padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.badge-atual { background: #dcfce7; color: #15803d; }
.badge-planejada { background: #fef9c3; color: #854d0e; }
.badge-encerrada { background: var(--gray-200); color: var(--gray-600); }
.alert { padding: 12px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: .9rem; }
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

@media (max-width: 900px) {
    .roda-atual-card { grid-template-columns: 1fr; }
    .roda-atual-img { min-height: 220px; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-wrap { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 1.7rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .navbar-logo span { display: none; }
    .suggest-form { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
}