/* FUCAM / Portal público V4: composição alinhada ao conceito aprovado.
   Apenas a homepage; recursos, rotas, conteúdo e administração permanecem no CMS. */
.fucam-home-v4 { --v4-ink:var(--ink-brand); --v4-forest:var(--brand-950); --v4-green:var(--brand-700); --v4-border:var(--line-soft); color:var(--v4-ink); background:#fff; }
.fucam-home-v4 * { box-sizing:border-box; }
.fucam-home-v4 .container { width:min(100% - 60px, 1440px); }
/* Cabeçalho escuro do mockup, sem descartar as ações institucionais da barra superior. */
.fucam-home-v4 .utility-bar { background:var(--brand-950); }
.fucam-home-v4 .utility-inner, .fucam-home-v4 .utility-actions a, .fucam-home-v4 .utility-panel, .fucam-home-v4 .utility-panel-trigger { min-height:29px; }
.fucam-home-v4 .utility-links a, .fucam-home-v4 .utility-link-button { font-size:var(--fs-xs); }
.fucam-home-v4 .utility-panel-trigger, .fucam-home-v4 .utility-actions a { padding:.4rem .95rem; }
.fucam-home-v4 .site-header { background:linear-gradient(110deg,var(--brand-950),var(--brand-900) 60%,var(--brand-950)); border-bottom:1px solid rgba(255,255,255,.09); box-shadow:none; position:relative; z-index:50; }
.fucam-home-v4 .header-inner { width: min(100% - 64px,1680px); max-width:none; min-height:75px; grid-template-columns:minmax(190px,225px) minmax(0,1fr) minmax(130px,170px) auto; gap:clamp(.6rem,1.3vw,1.4rem); }
.fucam-home-v4 .brand-logo { width:210px; max-height:64px; filter:brightness(0) invert(1); }
.fucam-home-v4 .main-nav { gap:clamp(.6rem,1.35vw,1.5rem); justify-content:center; }
.fucam-home-v4 .main-nav > a,.fucam-home-v4 .main-nav .nav-item > a { color:#fff; font-size:var(--fs-sm); font-weight:600; text-transform:none; white-space:nowrap; }
.fucam-home-v4 .main-nav > a:hover,.fucam-home-v4 .main-nav .nav-item > a:hover { color:var(--brand-200); }
.fucam-home-v4 .nav-submenu a { color:var(--ink-brand); }
.fucam-home-v4 .site-search input { width:100%; padding:.68rem 2.4rem .68rem .8rem; background:rgba(255,255,255,.075); border:1px solid rgba(255,255,255,.24); border-radius:var(--radius-sm); color:#fff; font-size:var(--fs-xs); }
.fucam-home-v4 .site-search input::placeholder { color:var(--line-soft); }
.fucam-home-v4 .site-search button { right:.62rem; top:.52rem; color:var(--brand-100); }
.fucam-home-v4 .site-search > a { display:none; }
.fucam-home-v4 .home-v4-header-quick-wrap { position:relative; justify-self:end; }
.fucam-home-v4 .home-v4-header-quick { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; cursor:pointer; text-decoration:none; font-family:inherit; font-weight:800; border:0; border-radius:var(--radius-xs); background:var(--brand-700); color:#fff; padding:.75rem 1rem; font-size:var(--fs-xs); white-space:nowrap; }
.fucam-home-v4 .home-v4-header-quick:hover,.fucam-home-v4 .home-v4-header-quick[aria-expanded="true"] { background:var(--brand-750); }
.fucam-home-v4 .home-v4-header-quick[aria-expanded="true"] > .site-icon { transform:rotate(180deg); }
.fucam-home-v4 .home-v4-header-quick .site-icon { width:.9rem; height:.9rem; transition:transform .18s ease; }
.fucam-home-v4 .home-v4-quick-popover { position:absolute; z-index:100; right:0; top:calc(100% + 12px); width:min(385px,calc(100vw - 32px)); max-height:min(70vh,550px); overflow:auto; padding:1.05rem 1.1rem 1rem; background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius-md); box-shadow:var(--shadow-lg); color:var(--ink-brand); }
.fucam-home-v4 .home-v4-quick-popover[hidden] { display:none !important; }
.fucam-home-v4 .home-v4-quick-popover h2 { margin:0 0 .65rem; font-size:var(--fs-base); font-weight:800; color:var(--ink-brand); }
.fucam-home-v4 .home-v4-quick-popover .home-v4-quick-list { border:0; border-radius:0; box-shadow:none; padding:0; }
.fucam-home-v4 .home-v4-quick-popover .home-v4-quick-list a { font-size:var(--fs-md); }
.fucam-home-v4 .home-v4-quick-popover .home-v4-quick-list a:focus-visible { outline:3px solid #ffc658; outline-offset:-2px; border-radius:var(--radius-xs); }
/* A esquerda ocupa 75%; a coluna do lado direito comeca AO LADO do hero. */
.fucam-home-v4 .home-v4-shell { display:grid; grid-template-columns:minmax(0, 3fr) minmax(310px,1fr); width:100%; max-width:2200px; margin:auto; align-items:start; }
.fucam-home-v4 .home-v4-main { min-width:0; }
.fucam-home-v4 .home-v4-sidebar { min-width:0; padding:1.1rem clamp(1.1rem,2vw,2.1rem) 2.5rem; background:linear-gradient(90deg,#fbfcfb,#fff); border-left:1px solid var(--surface-2); display:grid; gap:1.6rem; align-content:start; }
/* Fotografia real e titulo continuam configuraveis no CMS; a imagem do conceito NAO vira imagem oficial. */
.fucam-home-v4 .legacy-hero { padding:0; margin:0; background:var(--brand-950); }
.fucam-home-v4 .fucam-banner-carousel { width:100%; max-width:none; }
.fucam-home-v4 .fucam-banner-slide { min-height:415px; border-radius:0; grid-template-columns:1fr !important; align-items:center; justify-items:start; padding:clamp(2rem,4.2vw,4.2rem) clamp(2rem,4.2vw,4.3rem); background-color:var(--brand-900); background-size:cover; background-position:var(--hero-background-position,center); overflow:hidden; isolation:isolate; }
.fucam-home-v4 .fucam-banner-slide::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(0,27,24,.96) 0%,rgba(0,32,27,.88) 28%,rgba(0,29,26,.55) 54%,rgba(0,29,25,.12) 100%); }
.fucam-home-v4 .fucam-banner-copy { max-width:min(680px,63%); margin:0; position:relative; z-index:1; color:white; text-align:left !important; }
.fucam-home-v4 .fucam-banner-copy :is(h1, h2) { max-width:660px; font-family: var(--font-display); font-size:clamp(2.4rem,3.4vw,3.75rem) !important; line-height:1.11; margin:.8rem 0 1rem; letter-spacing:-.046em; text-wrap:balance; color:white !important; }
.fucam-home-v4 .fucam-banner-copy p { max-width:490px; color:#fff !important; font-size:clamp(.92rem,1.15vw,1.1rem); line-height:1.5; font-weight:500; margin:0; opacity:.97; }
.fucam-home-v4 .fucam-banner-eyebrow { display:inline-flex; align-items:center; width:auto; background:transparent !important; color:var(--brand-300) !important; padding:0; border-radius:0; font-size:var(--fs-xs); letter-spacing:.16em; }
.fucam-home-v4 .fucam-banner-eyebrow:before { content:""; display:inline-block; width:24px; height:2px; background:var(--brand-300); margin-right:.7rem; }
.fucam-home-v4 .fucam-banner-buttons { gap:.7rem; margin-top:1.4rem; }
.fucam-home-v4 .fucam-banner-button { padding:.78rem 1.2rem; min-height:43px; border-radius:var(--radius-sm); font-size:var(--fs-sm); text-transform:none; }
.fucam-home-v4 .fucam-banner-button--primary { background:var(--brand-700); color:#fff; }
.fucam-home-v4 .fucam-banner-button--secondary { background:rgba(0,24,21,.3); border:1px solid var(--line-strong); color:white; }
.fucam-home-v4 .fucam-banner-dots { bottom:1rem; }
.fucam-home-v4 .fucam-banner-dots button { background:rgba(255,255,255,.65); }
.fucam-home-v4 .fucam-banner-dots button.is-active { background:var(--brand-300); }
.fucam-home-v4 .fucam-banner-control { color:#fff; border:0; background:rgba(0,24,20,.35); width:36px; height:36px; }
.fucam-home-v4 .fucam-banner-control--prev { left:.2rem; }
.fucam-home-v4 .fucam-banner-control--next { right:.2rem; }
/* faixa com 6 servicos, como na imagem aprovada */
.fucam-home-v4 .home-service-strip { border-bottom:1px solid var(--v4-border); background:white; }
.fucam-home-v4 .home-service-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); padding:0 2rem; box-shadow:var(--shadow-md); }
.fucam-home-v4 .home-service-grid a { display:flex; min-width:0; align-items:center; gap:.55rem; padding:.95rem .65rem; color:var(--ink-brand); text-decoration:none; border-right:1px solid var(--surface-2); min-height:70px; }
.fucam-home-v4 .home-service-grid a:hover { background:var(--surface); }
.fucam-home-v4 .home-service-grid a > .site-icon:first-child { flex:0 0 auto; width:1.6rem; height:1.6rem; color:var(--brand-700); }
.fucam-home-v4 .home-service-grid a > .site-icon:last-child { flex:0 0 auto; width:.72rem; height:.72rem; color:var(--muted); margin-left:auto; }
.fucam-home-v4 .home-service-grid strong { font-size:var(--fs-md); line-height:1.2; display:block; }
.fucam-home-v4 .home-service-grid small { font-size:var(--fs-sm); color:var(--muted); display:block; margin-top:.15rem; }
/* Noticias estao na COLUNA ESQUERDA; sem area vazia mesmo se so houver uma noticia. */
.fucam-home-v4 .home-news-panel { padding:1.75rem clamp(1.4rem,3vw,3.4rem) 2.5rem; min-width:0; }
.fucam-home-v4 .legacy-section-heading { margin:0 0 1.05rem; }
.fucam-home-v4 .legacy-section-heading h2 { font-size:clamp(1.55rem,2vw,2.05rem); letter-spacing:-.04em; margin:.25rem 0 0; }
.fucam-home-v4 .legacy-section-kicker { font-size:var(--fs-xs); text-transform:uppercase; }
.fucam-home-v4 .legacy-outline-button { border:0; border-radius:0; color:var(--brand-800); background:transparent; font-size:var(--fs-xs); text-transform:none; padding:.3rem; }
.fucam-home-v4 .legacy-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.7rem,1.2vw,1rem); }
.fucam-home-v4 .home-v4-explore-card { border:1px solid var(--line-soft); border-radius:var(--radius-sm); overflow:hidden; box-shadow:var(--shadow-md); background:#fff; min-width:0; }
.fucam-home-v4 .home-empty-news { grid-column:1/-1; display:grid; align-content:center; padding:1.3rem; min-height:180px; background:var(--surface); border-radius:var(--radius-sm); border:1px dashed var(--line-strong); }
.fucam-home-v4 .home-empty-news h3 { margin:.5rem 0; }
.fucam-home-v4 .home-empty-news p { font-size:var(--fs-md); }
.fucam-home-v4 .home-empty-news a { color:var(--brand-800); font-weight:700; }
/* Cards honestos de navegação quando ha menos de 3 noticias publicadas. */
.fucam-home-v4 .home-v4-explore-card { display:flex; flex-direction:column; color:inherit; text-decoration:none; transition:transform .2s; }
.fucam-home-v4 .home-v4-explore-card:hover { transform:translateY(-3px); }
.fucam-home-v4 .home-v4-explore-art { display:flex; align-items:center; justify-content:center; gap:1rem; height:190px; background:radial-gradient(circle at 80% 20%,var(--brand-600) 0%,transparent 45%),linear-gradient(135deg,var(--brand-900),var(--brand-750)); color:var(--brand-100); }
.fucam-home-v4 .home-v4-explore-art .site-icon { width:3.6rem; height:3.6rem; }
.fucam-home-v4 .home-v4-explore-art span { font-family: var(--font-display); font-size:var(--fs-2xl); font-weight:800; letter-spacing:.12em; }
.fucam-home-v4 .home-v4-explore-card--units .home-v4-explore-art { background:radial-gradient(circle at 60% 30%,#4a8b9a,transparent 50%),linear-gradient(135deg,#24424e,#396576); }
.fucam-home-v4 .home-v4-explore-body { display:flex; flex-direction:column; flex:1; padding:.95rem 1rem 1rem; }
.fucam-home-v4 .home-v4-explore-label { color:var(--brand-750); font-size:var(--fs-xs); font-weight:800; }
.fucam-home-v4 .home-v4-explore-body h3 { font-size:var(--fs-base); margin:.65rem 0 .45rem; }
.fucam-home-v4 .home-v4-explore-body p { color:var(--muted); font-size:var(--fs-sm); line-height:1.4; margin:0 0 .9rem; }
.fucam-home-v4 .home-v4-explore-more { display:inline-flex; align-items:center; gap:.4rem; margin-top:auto; color:var(--brand-700); font-size:var(--fs-xs); font-weight:800; }
.fucam-home-v4 .home-v4-explore-more .site-icon { width:.9rem; }
/* Cartoes da lateral: lista limpa + destaques coloridos + canais de apoio. */
.fucam-home-v4 .home-v4-aside-section h2,.fucam-home-v4 .home-aside-group h2 { font-family: var(--font-display); font-size:var(--fs-lg); margin:0 0 .7rem; padding:0 0 .75rem; border-bottom:1px solid var(--line-soft); font-weight:800; }
.fucam-home-v4 .home-v4-aside-section h2:after,.fucam-home-v4 .home-aside-group h2:after { display:block; content:""; height:2px; width:24px; margin-top:.6rem; background:var(--brand-600); }
.fucam-home-v4 .home-v4-quick-list { display:grid; gap:0; border:1px solid var(--line-soft); border-radius:var(--radius-sm); background:white; padding:.15rem 1rem; box-shadow:var(--shadow-lg); }
.fucam-home-v4 .home-v4-quick-list a { display:grid; grid-template-columns:28px minmax(0,1fr) 14px; align-items:center; gap:.55rem; min-height:57px; padding:.58rem 0; border-bottom:1px solid var(--surface-2); color:var(--ink); text-decoration:none; font-size:var(--fs-sm); }
.fucam-home-v4 .home-v4-quick-list a:last-child { border:0; }
.fucam-home-v4 .home-v4-quick-list a:hover { color:var(--brand-700); }
.fucam-home-v4 .home-v4-quick-list a > .site-icon:first-child { width:1.35rem; height:1.35rem; color:var(--brand-700); }
.fucam-home-v4 .home-v4-quick-list a > .site-icon:last-child { width:.85rem; color:var(--muted); }
.fucam-home-v4 .home-v4-quick-list strong { font-size:var(--fs-xs); font-weight:600; }
.fucam-home-v4 .home-v4-quick-list small { display:block; font-size:var(--fs-xs); color:var(--muted); }
.fucam-home-v4 .home-context-aside { display:grid; gap:1.7rem; }
.fucam-home-v4 .home-highlight-list,.fucam-home-v4 .home-useful-list { display:grid; gap:.55rem; }
.fucam-home-v4 .home-highlight-card { display:grid; grid-template-columns:38px minmax(0,1fr) 13px; gap:.5rem; align-items:center; padding:.85rem; border-radius:var(--radius-sm); min-height:80px; text-decoration:none; color:white; background:linear-gradient(125deg,var(--brand-900),var(--brand-750)); }
.fucam-home-v4 .home-highlight-card--1 { background:linear-gradient(125deg,#785337,#9e6e49); }
.fucam-home-v4 .home-highlight-card--2 { background:linear-gradient(125deg,#244254,#3b6175); }
.fucam-home-v4 .home-highlight-icon .site-icon { width:1.65rem; height:1.65rem; }
.fucam-home-v4 .home-highlight-card strong { display:block; font-size:var(--fs-sm); line-height:1.2; }
.fucam-home-v4 .home-highlight-card small { display:block; color:rgba(255,255,255,.92); font-size:var(--fs-xs); line-height:1.4; margin-top:.2rem; }
.fucam-home-v4 .home-highlight-card > .site-icon { width:.85rem; }
.fucam-home-v4 .home-useful-list a { display:grid; grid-template-columns:30px minmax(0,1fr) 12px; gap:.6rem; align-items:center; border-radius:var(--radius-sm); border:1px solid var(--line-soft); padding:.8rem; min-height:70px; background:white; color:var(--ink); text-decoration:none; }
.fucam-home-v4 .home-useful-list a:hover { border-color:var(--line-strong); }
.fucam-home-v4 .home-useful-list a > .site-icon:first-child { color:var(--brand-700); width:1.35rem; }
.fucam-home-v4 .home-useful-list a strong { display:block; font-size:var(--fs-xs); }
.fucam-home-v4 .home-useful-list a small { display:block; margin-top:.2rem; font-size:var(--fs-xs); color:var(--muted); }
/* Missao: faixa fotografica da referencia substituida por textura elegante, sem imagem ficticia. */
.fucam-home-v4 .home-mission-band { margin:0; padding:0; background:linear-gradient(108deg,rgba(0,35,29,.97),rgba(0,80,61,.86)),radial-gradient(circle at 30% 30%,var(--muted),var(--brand-950)); color:#fff; }
.fucam-home-v4 .home-mission-inner { display:flex; gap:1.5rem; justify-content:space-between; align-items:center; padding:1.25rem clamp(1.5rem,4vw,4rem); }
.fucam-home-v4 .home-mission-inner span { color:var(--brand-200); font-size:var(--fs-xs); letter-spacing:.12em; text-transform:uppercase; }
.fucam-home-v4 .home-mission-inner h2 { font-size:clamp(1.15rem,1.8vw,1.65rem); line-height:1.25; max-width:450px; margin:.4rem 0; color:white; }
.fucam-home-v4 .home-mission-inner p { font-size:var(--fs-xs); color:var(--line-soft); margin:0; }
.fucam-home-v4 .home-mission-inner > a { display:inline-flex; gap:.6rem; align-items:center; border-radius:var(--radius-xs); background:var(--brand-700); color:#fff; padding:.8rem 1rem; font-size:var(--fs-xs); text-decoration:none; font-weight:800; white-space:nowrap; }
/* Rodape profundo como no conceito, mantendo os dados verdadeiros configurados no CMS. */
.fucam-home-v4 .site-footer { margin-top:0; background:var(--brand-950); color:var(--line-soft); }
.fucam-home-v4 .footer-grid { width:min(100% - 70px,1680px); padding-top:1.8rem; padding-bottom:1.5rem; gap:1rem; }
.fucam-home-v4 .brand-footer .brand-logo { width:220px; filter:brightness(0) invert(1); }
.fucam-home-v4 .footer-grid h2 { color:var(--brand-50); font-weight:700; font-size:var(--fs-xs); }
.fucam-home-v4 .footer-grid > div > a,.fucam-home-v4 .footer-grid p { color:var(--line); font-size:var(--fs-xs); }
.fucam-home-v4 .footer-bottom { width:min(100% - 70px,1680px); border-top:1px solid rgba(255,255,255,.19); color:var(--line); }
.fucam-home-v4 .state-brand strong { color:#fff; }
.fucam-home-v4 .state-brand span { color:var(--line-soft); }
.fucam-home-v4 a:focus-visible,.fucam-home-v4 button:focus-visible { outline:3px solid #ffc658; outline-offset:3px; }
@media (max-width:1370px) {
 .fucam-home-v4 .header-inner { grid-template-columns:180px minmax(0,1fr) 115px auto; gap:.8rem; }
 .fucam-home-v4 .brand-logo { width:177px; }
 .fucam-home-v4 .main-nav { gap:.65rem; }
 .fucam-home-v4 .main-nav .nav-item > a { font-size:var(--fs-xs); }
 .fucam-home-v4 .home-v4-shell { grid-template-columns:minmax(0,2.45fr) minmax(290px,1fr); }
 .fucam-home-v4 .home-service-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .fucam-home-v4 .home-service-grid a { min-height:64px; }
}
@media (max-width: 1150px) {
 .fucam-home-v4 .home-v4-shell { grid-template-columns:minmax(0,1fr); }
 .fucam-home-v4 .home-v4-sidebar { grid-template-columns:1fr; border-left:0; border-top:1px solid var(--surface-2); padding:1.3rem 2rem; }
 .fucam-home-v4 .home-context-aside { grid-column:1; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .fucam-home-v4 .home-v4-main { display:contents; }
 .fucam-home-v4 .legacy-hero,.fucam-home-v4 .home-service-strip,.fucam-home-v4 .home-news-panel,.fucam-home-v4 .home-mission-band { grid-column:1; }
 .fucam-home-v4 .home-news-panel { grid-row:3; }
 .fucam-home-v4 .home-v4-sidebar { grid-row:4; }
 .fucam-home-v4 .home-mission-band { grid-row:5; }
 .fucam-home-v4 .header-inner { grid-template-columns:155px minmax(0,1fr) 115px auto; }
 .fucam-home-v4 .home-v4-sidebar { grid-template-columns:1fr; }
 .fucam-home-v4 .home-context-aside { grid-column:1; }
}
@media (max-width:760px) {
 .fucam-home-v4 .container { width:min(100% - 30px,1440px); }
 .fucam-home-v4 .header-inner { display:flex; min-height:70px; padding:.65rem 0; gap:.65rem; }
 .fucam-home-v4 .site-header .brand-logo { width:155px; max-height:50px; }
 .fucam-home-v4 .menu-toggle { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.4); color:#fff; }
 .fucam-home-v4 .main-nav { order:4; width:100%; background:var(--brand-950); }
 .fucam-home-v4 .main-nav a { color:#fff !important; border-top:1px solid rgba(255,255,255,.14); }
 .fucam-home-v4 .nav-submenu { background:#fff; }
 .fucam-home-v4 .nav-submenu a { color:var(--ink) !important; }
 .fucam-home-v4 .brand { order:0; margin-right:auto; }
 .fucam-home-v4 .menu-toggle { order:1; }
 .fucam-home-v4 .home-v4-header-quick-wrap { order:2; margin-left:auto; }
 .fucam-home-v4 .site-search { order:3; }
 .fucam-home-v4 .home-v4-quick-popover { right:0; }
 .fucam-home-v4 .home-v4-header-quick { padding:.65rem .75rem; font-size:var(--fs-xs); }
 .fucam-home-v4 .site-search input { width:100%; }
 .fucam-home-v4 .fucam-banner-slide { min-height:400px; padding:2rem 1.4rem 3.2rem; }
 .fucam-home-v4 .fucam-banner-copy { max-width:100%; }
 .fucam-home-v4 .fucam-banner-copy :is(h1, h2) { font-size:clamp(2.15rem,9vw,3.15rem) !important; }
 .fucam-home-v4 .fucam-banner-slide::before { background:linear-gradient(90deg,rgba(0,28,23,.96),rgba(0,34,28,.55)); }
 .fucam-home-v4 .home-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 .5rem; }
 .fucam-home-v4 .home-service-grid a { padding:.75rem .45rem; min-height:66px; }
 .fucam-home-v4 .home-service-grid a > .site-icon:first-child { width:1.25rem; }
 .fucam-home-v4 .home-news-panel { padding:1.8rem 1rem; }
 .fucam-home-v4 .legacy-news-grid { grid-template-columns:1fr; }
 .fucam-home-v4 .home-v4-explore-art { height:195px; }
 .fucam-home-v4 .home-v4-sidebar { grid-template-columns:1fr; padding:1.2rem 1rem; }
 .fucam-home-v4 .home-context-aside { grid-column:1; grid-template-columns:1fr; }
 .fucam-home-v4 .home-mission-inner { flex-direction:column; align-items:start; gap:1rem; padding:1.4rem 1rem; }
 .fucam-home-v4 .footer-grid,.fucam-home-v4 .footer-bottom { width:min(100% - 35px,1680px); }
 .fucam-home-v4 .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (prefers-reduced-motion:reduce) { .fucam-home-v4 * { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }


/* V4.3 — Acesso rápido é um menu suspenso COMPLETO: links + destaques + para você.
   O cabeçalho, menus institucionais, ícones e cards continuam sem mudanças. */
.fucam-home-v4 .home-v4-shell { display:block; width:100%; max-width:2200px; }
.fucam-home-v4 .home-v4-main { display:block; width:100%; min-width:0; }
.fucam-home-v4 .home-v4-header-quick-wrap { position:relative; }
.fucam-home-v4 .home-v4-quick-popover {
    width:min(425px,calc(100vw - 24px));
    max-height:min(82vh,calc(100dvh - 104px));
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    padding:20px 20px 24px;
    scroll-behavior:smooth;
    color:var(--ink-brand);
    background:#fff;
    border:1px solid var(--line-soft);
    box-shadow:var(--shadow-lg);
    border-radius:var(--radius-sm);
}
.fucam-home-v4 .home-v4-quick-popover[hidden] { display:none !important; }
.fucam-home-v4 .home-v4-quick-popover > h2,
.fucam-home-v4 .home-v4-quick-popover .home-aside-group h2 {
    color:var(--ink);
    border-bottom:1px solid var(--line-soft);
    font-size:var(--fs-base);
    line-height:1.4;
    margin:0 0 .75rem;
    padding:0 0 .72rem;
}
.fucam-home-v4 .home-v4-quick-popover > h2::after,
.fucam-home-v4 .home-v4-quick-popover .home-aside-group h2::after {
    display:block; content:""; background:var(--brand-600); width:23px; height:2px; margin-top:.48rem;
}
.fucam-home-v4 .home-v4-quick-popover .home-context-aside {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:1.35rem;
    margin-top:1.4rem;
}
.fucam-home-v4 .home-v4-quick-popover .home-highlight-list,
.fucam-home-v4 .home-v4-quick-popover .home-useful-list { grid-template-columns:minmax(0,1fr); }
.fucam-home-v4 .home-v4-quick-popover .home-highlight-card { min-height:67px; }
.fucam-home-v4 .home-v4-quick-popover .home-useful-list a { min-height:61px; }
/* Estilos de teclado visíveis inclusive no menu sobreposto */
.fucam-home-v4 .home-v4-quick-popover a:focus-visible { outline:3px solid #edb845; outline-offset:-2px; }
@media(max-width: 1150px) {
 .fucam-home-v4 .home-v4-shell { display:block; }
 .fucam-home-v4 .home-v4-main { display:block; }
 .fucam-home-v4 .home-v4-quick-popover .home-context-aside { grid-column:auto; grid-template-columns:minmax(0,1fr); }
}
@media(max-width:760px) {
 .fucam-home-v4 .home-v4-quick-popover { max-height:calc(100dvh - 98px); padding:1rem; }
 .fucam-home-v4 .home-v4-quick-popover .home-context-aside { grid-template-columns:minmax(0,1fr); }
}

/* Acesso rápido dentro do banner (opções do painel: ligado, posição esquerda/centro/direita). */
.fucam-home-v4 .fucam-banner-slide .legacy-quick-access { position:relative; z-index:2; width:100%; max-width:620px; }
.fucam-home-v4 .fucam-banner-slide--quick-center { justify-items:center; }
.fucam-home-v4 .fucam-banner-slide--quick-center .legacy-quick-access { width:min(100%,620px); }
@media (min-width:1151px) {
 .fucam-home-v4 .fucam-banner-slide--quick-right { grid-template-columns:minmax(0,1fr) minmax(300px,420px) !important; column-gap:2.5rem; }
 .fucam-home-v4 .fucam-banner-slide--quick-left { grid-template-columns:minmax(300px,420px) minmax(0,1fr) !important; column-gap:2.5rem; }
 .fucam-home-v4 .fucam-banner-slide--quick-right .legacy-quick-access,
 .fucam-home-v4 .fucam-banner-slide--quick-left .legacy-quick-access { justify-self:stretch; }
 .fucam-home-v4 .fucam-banner-slide--quick-left .fucam-banner-copy { justify-self:end; }
}

/* Transição entre banners: o fade cruzado está em fucam-banner-editor.css (FUCAM-CARROSSEL-FADE-V1);
   aqui o texto e o acesso rápido entram em cascata depois do fade. */
.fucam-home-v4 .fucam-banner-slide .fucam-banner-copy > *,
.fucam-home-v4 .fucam-banner-slide .legacy-quick-access {
 opacity:0; transform:translateY(16px);
 transition:opacity .45s ease, transform .45s ease;
}
.fucam-home-v4 .fucam-banner-slide.is-active .fucam-banner-copy > *,
.fucam-home-v4 .fucam-banner-slide.is-active .legacy-quick-access {
 opacity:1; transform:none;
 transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.fucam-home-v4 .fucam-banner-slide.is-active .fucam-banner-copy > :nth-child(1) { transition-delay:.25s; }
.fucam-home-v4 .fucam-banner-slide.is-active .fucam-banner-copy > :nth-child(2) { transition-delay:.35s; }
.fucam-home-v4 .fucam-banner-slide.is-active .fucam-banner-copy > :nth-child(3) { transition-delay:.45s; }
.fucam-home-v4 .fucam-banner-slide.is-active .fucam-banner-copy > :nth-child(4) { transition-delay:.55s; }
.fucam-home-v4 .fucam-banner-slide.is-active .legacy-quick-access { transition-delay:.6s; }
.fucam-home-v4 .fucam-banner-dots button { transition:width .35s ease, background-color .35s ease; }
@media (prefers-reduced-motion: reduce) {
 .fucam-home-v4 .fucam-banner-slide .fucam-banner-copy > *,
 .fucam-home-v4 .fucam-banner-slide .legacy-quick-access,
 .fucam-home-v4 .fucam-banner-dots button { transition:none !important; transform:none !important; }
}
