:root {
    --bg-color: #f1f5f9;
    --text-color: #0f172a;
    --text-muted: #58697e;
    --primary: #011730;
    --card-border: #dfe7ee;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--text-color);
    background: radial-gradient(ellipse at 12% 45%, #e5efe9 0, transparent 45%), var(--bg-color);
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #138657; outline-offset: 4px; }
.app-container {
    width: 100%;
    max-width: 1600px;
    min-height: 100svh;
    margin: auto;
    padding: clamp(20px, 3vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    align-items: center;
}
.desktop-left { min-width: 0; padding-right: clamp(20px, 3vw, 48px); }
.header, .logo-container { width: 100%; display: flex; align-items: center; justify-content: center; }
.logo { display: block; width: 100%; height: auto; object-fit: contain; }
.desktop-right { min-width: 0; }
.main-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.8vh, 20px); }
.hero-section, .main-content > .partners-section, .projects-section, .event-teaser { grid-column: 1 / -1; }
.card-panel {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: clamp(18px, 2.4vh, 28px);
    box-shadow: 0 4px 18px #01173004;
}
.hero-section { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.badge {
    background: #edf5ef;
    color: #12653e;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-title { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.045em; }
.gradient-text { color: #087546; }
.hero-description { max-width: 760px; color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.partners-section, .projects-section { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.partners-label { font-size: 10px; color: var(--text-muted); letter-spacing: .15em; font-weight: 600; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.partner-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.partner-info h3 { font-size: 15px; margin-bottom: 5px; color: var(--primary); letter-spacing: -.02em; }
.partner-info p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.partner-link { color: var(--primary); text-decoration: none; font-size: 12px; font-weight: 600; padding: 9px 12px; border-radius: 8px; background: #edf3f7; }
.partner-link:hover { background: #e1ede6; }
.carousel-frame { padding: 10px; }
.carousel-track-container { width: 100%; min-width: 0; }
.carousel-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.project-box-square { min-width: 0; min-height: 108px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: #f6f8fa; border: 1px solid #e8edf2; border-radius: 10px; text-decoration: none; transition: background .2s, border-color .2s; }
.project-box-square:hover { background: #eef5f0; border-color: #a4c7b3; }
.project-box-square h4 { color: var(--primary); font-size: 13px; line-height: 1.3; }
.project-box-square span { color: #14653f; font-size: 11px; font-weight: 600; }
.carousel-btn { display: none; }
.event-teaser { display: flex; flex-direction: column; gap: 8px; }
.event-card { min-height: clamp(112px, 17vh, 160px); padding: clamp(22px, 3vh, 32px); width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(110deg, #ffffff, #f2f8f4); }
.event-info { display: grid; gap: 10px; }
.highlight-border { border-top: 3px solid #087546; }
.status-dot { width: 6px; height: 6px; flex: 0 0 6px; background: #d99a25; border-radius: 50%; }
.event-card h3 { font-size: 20px; padding-right: 12px; letter-spacing: -.025em; }
.event-card p { color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.primary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; border: 1px solid #e3e9ef; border-radius: 8px; padding: 9px; background: #f1f5f9; color: #667588; font-size: 11px; font-weight: 600; cursor: not-allowed; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; text-align: center; color: var(--text-muted); font-size: 10px; line-height: 1.5; padding-top: 16px; }
.powered-by { display: inline-flex; align-items: baseline; gap: 6px; color: var(--primary); text-decoration: none; padding: 5px 0; }
.powered-label { color: var(--text-muted); font-size: 9px; }
.powered-by strong { font-size: 12px; font-weight: 600; letter-spacing: -.035em; }
.brand-dot, .powered-arrow { color: #087546; }
.powered-arrow { font-size: 13px; transition: transform .2s; }
.powered-by:hover strong { color: #087546; }
.powered-by:hover .powered-arrow { transform: translate(2px, -2px); }
.fade-in { animation: fade-in .45s both ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 900px) and (max-height: 700px) {
    .app-container { padding-top: 16px; padding-bottom: 16px; }
    .main-content { gap: 10px; }
    .card-panel { padding: 14px; }
    .hero-section { gap: 8px; }
    .hero-title { font-size: 30px; }
    .project-box-square { min-height: 84px; }
    .event-card { min-height: 112px; padding: 18px; }
    .event-card h3 { font-size: 18px; }
    .carousel-frame { padding: 8px; }
    .footer { padding-top: 10px; }
}
@media (max-width: 899px) {
    .app-container { max-width: 720px; grid-template-columns: 1fr; align-content: center; gap: 14px; padding: 18px; }
    .desktop-left { padding: 0; }
    .logo { width: 190px; }
    .main-content { gap: 10px; }
    .card-panel { padding: 15px; border-radius: 12px; }
    .hero-section { gap: 7px; }
    .hero-title { font-size: clamp(24px, 4.3vw, 32px); }
    .hero-description { font-size: 12px; line-height: 1.45; }
    .badge { font-size: 9px; padding: 5px 8px; }
    .services-grid { gap: 8px; }
    .partner-info h3 { font-size: 13px; }
    .partner-info p, .event-card p { font-size: 11px; line-height: 1.4; }
    .carousel-frame { padding: 7px; }
    .carousel-track { gap: 5px; }
    .project-box-square { min-height: 84px; padding: 10px 5px; gap: 8px; }
    .project-box-square h4 { font-size: 11px; overflow-wrap: anywhere; }
    .project-box-square span { font-size: 9px; }
    .event-card { min-height: 142px; padding: 18px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
    .event-card h3 { font-size: 17px; }
    .partner-link { font-size: 10px; padding: 8px; }
    .primary-btn { font-size: 10px; padding: 8px 4px; }
    .partners-label { font-size: 9px; }
    .footer { justify-content: center; gap: 4px 12px; font-size: 9px; padding-top: 12px; }
}
@media (max-width: 899px) and (max-height: 740px) {
    .app-container { padding: 12px; gap: 8px; }
    .logo { width: 115px; }
    .main-content { gap: 8px; }
    .card-panel { padding: 10px; }
    .event-card { min-height: 124px; padding: 12px; gap: 8px; }
    .event-info { gap: 6px; }
    .carousel-frame { padding: 6px; }
    .project-box-square { min-height: 66px; padding: 8px 5px; }
    .footer { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 899px) and (max-height: 660px) {
    .app-container { padding: 6px 12px; gap: 6px; }
    .logo { width: 100px; }
    .main-content { gap: 6px; }
    .card-panel { padding: 9px; }
    .event-card { min-height: 120px; padding: 12px; }
    .carousel-frame { padding: 5px; }
    .project-box-square { min-height: 60px; }
    .footer { gap: 2px 12px; }
}

/* Eventos anteriores continuam no HTML, fora da exibição e da navegação. */
[hidden] { display: none !important; }
.event-access { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; padding: 12px 16px; border-radius: 8px; background: #146747; color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; }
.event-access:hover { background: #0c5035; }
@media (max-width: 899px) { .event-access { padding: 10px 12px; font-size: 11px; } }

.service-link { color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
.service-link:hover { border-color: #9fbea9; background: #f6faf7; }
.service-action { display: flex; align-items: center; gap: 8px; color: #146747; font-size: 11px; font-weight: 600; }
@media (max-width: 899px) { .service-action { font-size: 9px; } }

.skip-link{position:fixed;left:16px;top:-80px;z-index:100;background:#fff;color:#011730;padding:12px;border-radius:6px}.skip-link:focus{top:12px}
