/* Identidade visual do portal institucional */
:root { --radius: 18px; --wrap: 1180px; }
html { scroll-behavior: smooth; }
body { font-family: Nunito, sans-serif; line-height: 1.65; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.topbar { background: var(--cinza-superficie); box-shadow: 0 2px 18px rgba(8,35,22,.08); }
.topbar.scrolled { background: var(--cinza-superficie); box-shadow: 0 8px 24px rgba(8,35,22,.12); }
.brand { color: var(--texto); letter-spacing: .04em; }
.brand img { height: 42px; width: auto; object-fit: contain; }
.nav a, .submenu-toggle { font-weight: 700; }
.hero { min-height: 0; background: linear-gradient(120deg,#103d2b 0%,#19573a 62%,#2d7550 100%); }
.hero::before { inset: 0; background: radial-gradient(circle at 85% 25%,rgba(211,186,113,.22),transparent 28%), radial-gradient(circle at 75% 100%,rgba(255,255,255,.08),transparent 35%); animation: none; filter: none; }
.hero__inner { padding: clamp(70px, 10vw, 135px) 0 clamp(70px, 9vw, 120px); }
.hero-card, .hero-card.visible { max-width: 800px; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; color: white; opacity: 1; transform: none; }
.hero-eyebrow { margin: 0 0 18px; color: #d8d5a5; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 760px; font-size: clamp(2.25rem, 5vw, 4.3rem); line-height: 1.08; letter-spacing: -.035em; }
.hero .lead { max-width: 590px; margin-top: 22px; color: #e2eee6; font-size: clamp(1rem,1.4vw,1.2rem); }
.hero .cta { justify-content: flex-start; margin-top: 30px !important; }
.hero .btn--primary { background: #e3c97c; color: #173d29; box-shadow: none; }
.hero .btn--ghost { background: transparent; color: white; border-color: rgba(255,255,255,.6); }
.hero .btn--ghost:hover { background: white; color: #173d29; }
section:not(.hero) { padding: clamp(38px,5vw,68px) 0; }
section:not(.hero) h2 { font-size: clamp(1.55rem,2.5vw,2.2rem); letter-spacing: -.025em; margin-bottom: 24px; }
section:not(.hero) h2::after { content: ''; display: block; width: 42px; height: 3px; margin-top: 10px; border-radius: 3px; background: #c8a957; }
.card { border-radius: 18px; box-shadow: 0 8px 30px rgba(16,55,34,.06); }
.card h3 { font-size: 1.15rem; }
#institucional .lead { line-height: 1.8; text-align: left !important; }
#institucional .card .wrap { width: 100%; margin-top: 30px; }
#institucional .card .card { padding: 0; overflow: hidden; }
.list a { border-radius: 10px; transition: background .2s, border-color .2s; }
.list a:hover { background: var(--verde-suave); color: #194a31; border-color: #8ab69b; }
.tile { border-style: solid; background: var(--cinza-superficie); padding: 22px; }
.tile__icon { flex: 0 0 48px; width: 48px; height: 48px; }
.tile span { display: block; margin-top: 4px; }
.notice { border-left: 4px solid #c8a957; }
.notice .tag { color: var(--verde-acao); }
footer { padding: 55px 0; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #c8a957; outline-offset: 3px; }
@media (max-width: 880px) { .nav { background: var(--cinza-superficie); } }
@media (max-width: 600px) { .wrap { width: min(100% - 32px, var(--wrap)); } .hero__inner { padding: 64px 0 70px; } .hero .cta { align-items: stretch; flex-direction: column; } .hero .btn { width: 100%; } .list a { align-items: flex-start; flex-direction: column; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Destaque para os novos acessos */
.novidades { background: var(--cinza-claro); }
.novidades__label { margin: 0 0 6px; color: var(--verde-acao); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.novidades__intro { margin: -10px 0 24px; color: var(--texto-suave); }
.novidades__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.novidade { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 210px; padding: 26px; border: 1px solid var(--borda); border-radius: 18px; background: var(--cinza-superficie); color: var(--texto); box-shadow: 0 8px 30px rgba(16,55,34,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.novidade:hover, .novidade:focus-visible { transform: translateY(-5px); border-color: #6aab82; box-shadow: 0 16px 32px rgba(16,55,34,.14); }
.novidade strong { font-size: 1.35rem; }
.novidade > span:not(.novidade__tag):not(.novidade__action) { color: var(--texto-suave); }
.novidade__tag { padding: 4px 10px; border-radius: 999px; background: #e1f2e7; color: #1c613a; font-size: .75rem; font-weight: 800; }
.novidade__action { margin-top: auto; color: var(--verde-acao); font-weight: 800; }
.novidade__action span { display: inline-block; transition: transform .2s ease; }
.novidade:hover .novidade__action span { transform: translate(3px,-3px); }
@media (max-width: 600px) { .novidades__grid { grid-template-columns: 1fr; } }

/* Acessos em destaque na abertura */
.hero .hero-access { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 730px; margin-top: 32px !important; }
.hero .hero-access .btn { min-width: 0; min-height: 66px; padding: 14px 18px; border-radius: 14px; text-align: left; }
.hero .hero-access__new { justify-content: space-between; background: #ead58e; color: #173d29; border: 1px solid transparent; }
.hero-access__new > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.hero-access__new small { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.hero-access__new > span:last-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(23,61,41,.1); font-size: 1.2rem; transition: transform .2s ease, background .2s ease; }
.hero .hero-access__new:hover, .hero .hero-access__new:focus-visible { background: #f4e3a8; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.hero-access__new:hover > span:last-child, .hero-access__new:focus-visible > span:last-child { transform: translate(3px,-3px); background: rgba(23,61,41,.18); }
.hero .hero-access .btn:not(.hero-access__new) { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); color: #fff; box-shadow: none; }
.hero .hero-access .btn:not(.hero-access__new):hover { background: rgba(255,255,255,.18); border-color: #fff; }
@media (max-width: 600px) { .hero .hero-access { grid-template-columns: 1fr; } }

/* Atalhos por perfil */
.perfis__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.perfil { padding: 28px; background: var(--cinza-superficie); border: 1px solid var(--borda); border-radius: 18px; box-shadow: 0 8px 30px rgba(16,55,34,.06); }
.perfil__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e1f2e7; color: #1c613a; font-size: 1.4rem; }
.perfil h3 { margin: 16px 0 5px; font-size: 1.25rem; }
.perfil p { color: var(--texto-suave); margin: 0 0 18px; }
.perfil__links { display: flex; flex-wrap: wrap; gap: 10px; }
.perfil__links a { padding: 9px 12px; border: 1px solid var(--borda); border-radius: 10px; color: var(--verde-acao); font-weight: 800; transition: background .2s, transform .2s; }
.perfil__links a:hover, .perfil__links a:focus-visible { background: #e1f2e7; color: #194a31; transform: translateY(-2px); }
#lista-despachantes button:disabled { opacity: .45; cursor: not-allowed; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::after { content: '+'; color: var(--verde-acao); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
@media (max-width: 600px) { .perfis__grid { grid-template-columns: 1fr; } }
