/* Homepage composition. Foundations are shared with every page.
   Approved palette: #f8f3ea #fffdf8 #dceaf2 #315c73 #b99a63. */
/* Handwritten signature, served locally; license in fontes/La-Belle-Aurore-OFL.txt. */
@font-face{
 font-family:'La Belle Aurore';font-style:normal;font-weight:400;font-display:swap;
 src:url('/tema/fontes/la-belle-aurore-400-54da154868e2.woff2') format('woff2')}
.portal:has(.home-reference){--home-width:1216px;--home-gutter:var(--gutter);--home-copy:480px;--home-header-height:89px}
.portal:has(.home-reference) main{margin:0;max-width:none;padding:0}
.portal:has(.home-reference) .home-reference{width:100%;max-width:none;margin:calc(-1 * var(--home-header-height)) auto 0;overflow:clip;position:relative;isolation:isolate}
/* One continuous illustration runs behind the masthead and the hero. */
.portal:has(.home-reference) .topo{background:transparent}
.portal:has(.home-reference) .topo::before{content:"";inset:0;width:auto;background:linear-gradient(90deg,#fffdf8b3,#fffdf8f5 12%,#fffdf8f5 86%,#fffdf8b3);opacity:1}
.portal:has(.home-reference) .topo::after{content:none}
.portal:has(.home-reference) .topo.home-scrolled{background:var(--color-surface)}
.portal:has(.home-reference) .svg-definitions{position:absolute;width:0;height:0;overflow:hidden}
.portal:has(.home-reference) :is(.wide-shell,.content-shell){width:min(var(--home-width),calc(100% - 2 * var(--home-gutter)));margin-inline:auto;position:relative}
.portal:has(.home-reference) .icon{width:18px;height:18px;flex:none;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.portal:has(.home-reference) .eyebrow{font:500 var(--type-caption)/1.5 var(--font-body);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--color-primary)}
.portal:has(.home-reference) :is(h1,h2,h3,p){margin:0}
.portal:has(.home-reference) a:not(.button){text-decoration:none}
.portal:has(.home-reference) .text-link{display:inline-flex;align-items:center;gap:var(--space-3);min-height:44px;font:500 var(--type-small)/1.5 var(--font-body);color:var(--color-primary)}
.portal:has(.home-reference) .text-link:hover{text-decoration:underline;text-underline-offset:4px}
/* Full-width watercolor; copy follows the shared grid. */
.portal:has(.home-reference) .hero{min-height:calc(760px + var(--home-header-height));position:relative;padding-block:calc(var(--space-16) + var(--home-header-height)) var(--space-8)}
.portal:has(.home-reference) .hero-art{position:absolute;inset:0;pointer-events:none;overflow:hidden;mask-image:linear-gradient(180deg,#000 72%,transparent)}
.portal:has(.home-reference) .hero-image{position:absolute;inset:0;display:block;width:100%;max-width:none;height:100%;object-fit:cover;object-position:75% top}
.portal:has(.home-reference) .hero-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f8f3eaf2,#f8f3eae0 20%,#f8f3eab3 34%,#f8f3ea26 49%,transparent 62%)}
.portal:has(.home-reference) .hero-copy{position:relative;z-index:2;margin-left:max(var(--home-gutter),calc((100% - var(--home-width))/2));width:var(--home-copy);max-width:calc(100% - 2 * var(--home-gutter))}
.portal:has(.home-reference) .hero-eyebrow{margin-bottom:var(--space-4)}
.portal:has(.home-reference) .hero-eyebrow span{color:var(--color-gold);margin-left:var(--space-3)}
.portal:has(.home-reference) .hero h1{font:700 var(--type-display)/1.04 var(--font-display);letter-spacing:var(--tracking-heading);color:var(--color-text)}
.portal:has(.home-reference) .hero h1 span{color:var(--color-primary)}
.portal:has(.home-reference) .title-flourish{display:block;width:160px;height:12px;color:var(--color-gold);margin-top:var(--space-3);opacity:.65}
.portal:has(.home-reference) .hero-description{font-size:var(--type-body-large);line-height:1.6;color:var(--color-text-muted);margin-top:var(--space-4);max-width:43ch;text-wrap:pretty}
.portal:has(.home-reference) .desktop-break{display:none}
.portal:has(.home-reference) .mobile-space{display:inline}
.portal:has(.home-reference) .hero-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-6)}
.portal:has(.home-reference) .hero-more{margin-top:var(--space-2)}
.portal:has(.home-reference) .hero-motto{position:absolute;z-index:1;top:calc(var(--space-12) + var(--home-header-height));left:44%;font:400 clamp(28px,1.7vw,32px)/1.4 'La Belle Aurore',cursive;font-synthesis:none;text-align:center;color:#716451;transform:rotate(-5deg);pointer-events:none}
.portal:has(.home-reference) .portal-server-overview{position:relative;z-index:3;margin:var(--space-8) auto 0;padding:0;width:min(var(--home-width),calc(100% - 2 * var(--home-gutter)))}
.portal:has(.home-reference) .portal-server-overview .portal-wrap{padding:0;max-width:none;width:100%;margin:0}
.portal:has(.home-reference) .portal-server-panel{padding:var(--space-6) var(--space-8) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fffdf8f2;box-shadow:var(--shadow-sm);max-width:none}
.portal:has(.home-reference) .portal-server-facts{display:grid;grid-template-columns:1fr .85fr 1.15fr 1fr;gap:0;padding:0 0 var(--space-6);border:0}
.portal:has(.home-reference) .portal-server-fact{display:flex;gap:var(--space-4);align-items:center;padding:0 var(--space-6);border:0;border-right:1px solid var(--color-border);min-width:0;color:var(--color-primary);background:none}
.portal:has(.home-reference) .portal-server-fact:first-child{padding-left:0}
.portal:has(.home-reference) .portal-server-fact:last-child{padding-right:0;border-right:0}
.portal:has(.home-reference) .portal-server-symbol{flex:0 0 28px;color:var(--color-primary)}
.portal:has(.home-reference) .portal-server-symbol svg{width:28px;height:32px}
.portal:has(.home-reference) .portal-server-fact small{font-size:var(--type-caption);letter-spacing:.05em;line-height:1.5;color:var(--color-text-muted);white-space:normal}
.portal:has(.home-reference) .portal-server-fact strong{font:600 26px/1.3 var(--font-display);color:var(--color-text);white-space:nowrap;letter-spacing:var(--tracking-heading)}
.portal:has(.home-reference) .portal-server-fact>span>span{font-size:var(--type-caption);color:var(--color-text-muted);line-height:1.5;white-space:normal}
.portal:has(.home-reference) .portal-server-presence{display:flex;align-items:center;justify-content:center;gap:var(--space-6);padding:var(--space-4) 0 0;border-top:1px solid var(--color-border);margin:0;font-size:var(--type-small)}
.portal:has(.home-reference) .portal-server-live{padding:0;border:0;background:transparent;font-size:inherit;color:var(--color-primary)}
.portal:has(.home-reference) .portal-server-state{color:var(--color-success)}
.portal:has(.home-reference) .portal-server-state i{background:var(--color-success)}
.portal:has(.home-reference) .portal-server-state.is-unavailable{color:var(--color-warning)}
.portal:has(.home-reference) .portal-server-state.is-unavailable i{background:var(--color-warning)}
.portal:has(.home-reference) .portal-server-players strong{color:var(--color-primary)}
.portal:has(.home-reference) :is(.portal-server-live>span:last-child,.portal-server-actions){display:none}
.portal:has(.home-reference) .portal-server-cash{font-size:inherit;color:var(--color-primary)}
/* Continuous paper; quiet ornaments do not form a rectangular frame. */
.portal:has(.home-reference) :is(.explore,.features,.news,.site-footer){position:relative;background:transparent;padding-block:var(--space-8)}
.portal:has(.home-reference) .explore{padding-top:var(--space-12)}
.portal:has(.home-reference) .section-rule{position:absolute;top:-15px;left:0;width:100%;height:30px;color:var(--color-gold-line);opacity:.5;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent)}
.portal:has(.home-reference) .corner-decoration{position:absolute;left:0;top:0;width:48px;height:96px;color:var(--color-gold);opacity:.18;pointer-events:none}
.portal:has(.home-reference) .corner-right{position:absolute;top:0;right:0;transform:scaleX(-1);width:48px;height:96px;pointer-events:none}
.portal:has(.home-reference) .section-heading{display:flex;align-items:end;justify-content:space-between;gap:var(--space-6);margin-bottom:var(--space-6)}
.portal:has(.home-reference) .section-heading h2{font:700 var(--type-h2)/var(--leading-heading) var(--font-display);letter-spacing:var(--tracking-heading);color:var(--color-text)}
.portal:has(.home-reference) .section-heading h2 span{color:var(--color-primary)}
.portal:has(.home-reference) .section-heading p{font-size:var(--type-body);line-height:var(--leading-body);color:var(--color-text-muted);margin-top:var(--space-2)}
.portal:has(.home-reference) .section-heading>.text-link{flex:none}
.portal:has(.home-reference) .map-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-6)}
.portal:has(.home-reference) :is(.map-card,.news-card){display:flex;flex-direction:column;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-sm);overflow:hidden;color:var(--color-text);transition:border-color var(--duration-fast),box-shadow var(--duration-fast)}
.portal:has(.home-reference) :is(.map-card,.news-card):hover{border-color:var(--color-field-border);box-shadow:var(--shadow-md)}
.portal:has(.home-reference) .map-art{aspect-ratio:1.6;overflow:hidden}
.portal:has(.home-reference) :is(.map-art,.news-art) img{display:block;width:100%;height:100%;object-fit:cover}
.portal:has(.home-reference) .map-copy{position:relative;flex:1;padding:var(--space-4)}
.portal:has(.home-reference) .map-copy h3{font:600 var(--type-body)/1.5 var(--font-body);color:var(--color-text)}
.portal:has(.home-reference) .map-copy p{margin-top:var(--space-1);padding-right:var(--space-4);font-size:var(--type-small);line-height:1.55;color:var(--color-text-muted)}
.portal:has(.home-reference) .map-copy>.icon{position:absolute;right:var(--space-3);bottom:var(--space-4);width:14px;height:14px}
.portal:has(.home-reference) .feature-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:var(--space-6)}
.portal:has(.home-reference) .feature-card{min-height:296px;position:relative;isolation:isolate;border:1px solid #315c7326;border-radius:var(--radius-lg);background:linear-gradient(120deg,#e7f0f5eb,#e7f0f5b3 65%,#f8f3ea80);box-shadow:var(--shadow-sm)}
.portal:has(.home-reference) .feature-content{position:relative;z-index:3;padding:var(--space-8);width:58%;max-width:370px}
.portal:has(.home-reference) .feature-content h2{font:700 clamp(26px,2.2vw,30px)/1.22 var(--font-display);color:var(--color-text)}
.portal:has(.home-reference) .feature-content p{font-size:var(--type-body);line-height:var(--leading-body);color:var(--color-text-muted);margin-top:var(--space-3)}
.portal:has(.home-reference) .feature-content .button{margin-top:var(--space-4)}
.portal:has(.home-reference) .classes-art{position:absolute;right:0;bottom:0;width:320px;height:auto;max-width:48%;object-fit:contain;object-position:bottom right;z-index:2;pointer-events:none}
.portal:has(.home-reference) .achievements-card .feature-content{width:67%;padding-right:var(--space-4)}
.portal:has(.home-reference) .achievement-art{position:absolute;right:var(--space-3);bottom:var(--space-4);width:150px;height:auto;max-width:33%;object-fit:contain;z-index:1;pointer-events:none}
.portal:has(.home-reference) .news{padding-bottom:var(--space-12)}
.portal:has(.home-reference) .news-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:var(--space-6);align-items:start}
.portal:has(.home-reference) .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6)}
.portal:has(.home-reference) .news-art{aspect-ratio:2.3;overflow:hidden}
.portal:has(.home-reference) .news-copy{padding:var(--space-4);display:flex;flex-direction:column;flex:1;gap:var(--space-3)}
.portal:has(.home-reference) .news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);font-size:var(--type-caption);color:var(--color-text-muted)}
.portal:has(.home-reference) .tag{display:inline-block;background:var(--color-secondary-soft);color:var(--color-primary);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-2);font:500 var(--type-caption)/1.4 var(--font-body)}
.portal:has(.home-reference) .news-copy h3{font:600 var(--type-h4)/1.4 var(--font-body);color:var(--color-text)}
.portal:has(.home-reference) .news-copy p{font-size:var(--type-small);line-height:var(--leading-body);color:var(--color-text-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.portal:has(.home-reference) .news-read{font-size:var(--type-small);font-weight:500;margin-top:auto;padding-top:var(--space-2);color:var(--color-primary)}
.portal:has(.home-reference) .community-card{display:grid;gap:var(--space-4);padding:0;min-width:0;border:1px solid #315c7326;border-radius:var(--radius-lg);background:linear-gradient(140deg,#e7f0f5eb,#e7f0f5cc 70%,#f8f3ea80);overflow:hidden}
.portal:has(.home-reference) .community-content{min-width:0;padding:var(--space-6) var(--space-6) 0}
.portal:has(.home-reference) .community-content h2{font:600 26px/1.25 var(--font-display);letter-spacing:var(--tracking-heading)}
.portal:has(.home-reference) .community-content p{margin-top:var(--space-3);font-size:var(--type-small);line-height:var(--leading-body);color:var(--color-text-muted)}
.portal:has(.home-reference) .community-panel{display:grid;gap:var(--space-4);min-width:0}
.portal:has(.home-reference) .community-illustration{display:block;min-width:0;margin:0;padding:0}
.portal:has(.home-reference) .community-art{display:block;width:100%;max-width:100%;height:auto;pointer-events:none;opacity:1}
.portal:has(.home-reference) .community-actions{display:grid;gap:var(--space-2);min-width:0;width:calc(100% - 2 * var(--space-6));max-width:312px;justify-self:center}
.portal:has(.home-reference) .community-actions .button{display:flex;align-items:center;justify-content:center;gap:var(--space-2);width:100%;min-height:44px;margin:0;padding:10px 12px;text-align:center;font-size:var(--type-small);line-height:1.4}
.portal:has(.home-reference) .rodape{margin:0;padding:0;border:0;background:transparent}
.portal:has(.home-reference) .rodape>.rodape-dentro{display:none}
.portal:has(.home-reference) .site-footer{width:100%;padding-block:var(--space-12) var(--space-20);isolation:isolate}
.portal:has(.home-reference) .footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.1fr 1.25fr;gap:var(--space-8);z-index:2}
.portal:has(.home-reference) .footer-brand{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-4);align-self:start}
.portal:has(.home-reference) .footer-brand>a{width:160px;max-width:100%;flex:none}
.portal:has(.home-reference) .footer-brand img{display:block;width:100%;height:auto}
.portal:has(.home-reference) .footer-brand .brand-signature{width:129px;height:32px;object-fit:contain}
.portal:has(.home-reference) :is(.footer-column,.footer-social) h2{font:600 var(--type-small)/1.5 var(--font-body);margin-bottom:var(--space-3);color:var(--color-text)}
.portal:has(.home-reference) .footer-column a{display:flex;align-items:center;min-height:36px;font-size:var(--type-small);line-height:1.5;color:var(--color-text-muted)}
.portal:has(.home-reference) .footer-column a:hover{color:var(--color-primary);text-decoration:underline;text-underline-offset:4px}
.portal:has(.home-reference) .social-links{display:flex;gap:var(--space-3)}
.portal:has(.home-reference) .social-links a{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-primary)}
.portal:has(.home-reference) .footer-copyright{border-top:1px solid var(--color-border);padding-top:var(--space-4);margin-top:var(--space-4)}
.portal:has(.home-reference) .footer-copyright p{font-size:var(--type-caption);line-height:var(--leading-body);color:var(--color-text-muted)}
.portal:has(.home-reference) .footer-copyright .footer-signoff{font:italic var(--type-body)/1.5 Georgia,serif;margin-top:var(--space-2)}
.portal:has(.home-reference) .footer-skyline{position:absolute;inset:auto 0 0;height:160px;background:url("/tema/arte/home-revisada/footer-skyline-classic-ee6fc4a86623-1536.webp") center bottom/cover no-repeat;opacity:.6;mask-image:linear-gradient(180deg,transparent,#000 60%);pointer-events:none;z-index:1}
.portal:has(.home-reference) .home-legal{position:relative;z-index:2;max-width:80ch;margin:var(--space-8) auto 0;padding-inline:var(--gutter);font-size:var(--type-caption);line-height:var(--leading-body);color:var(--color-text-muted);text-align:center}
.portal:has(.home-reference) .back-top{position:absolute;right:var(--gutter);bottom:var(--space-6);width:44px;height:44px;display:grid;place-items:center;z-index:4;border:1px solid var(--color-field-border);border-radius:var(--radius-pill);background:var(--color-surface);color:var(--color-primary)}
@media(min-width:1600px){.portal:has(.home-reference) .hero{min-height:calc(800px + var(--home-header-height))}.portal:has(.home-reference) .hero-copy{padding-top:var(--space-4)}}
@media(max-width:1100px){
 .portal:has(.home-reference){--home-header-height:93px}
 .portal:has(.home-reference) .hero-motto{display:none}
 .portal:has(.home-reference) .portal-server-fact{padding-inline:var(--space-4);gap:var(--space-3)}
 .portal:has(.home-reference) .portal-server-fact strong{font-size:22px}
 .portal:has(.home-reference) .portal-server-symbol{display:none}
 .portal:has(.home-reference) .map-grid{gap:var(--space-4)}
 .portal:has(.home-reference) .feature-grid{grid-template-columns:1.2fr 1fr}
 .portal:has(.home-reference) .news-layout{grid-template-columns:minmax(0,1fr)}
 .portal:has(.home-reference) .community-card{width:100%;max-width:360px;justify-self:center}
 .portal:has(.home-reference) .footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:var(--space-8)}
}
@media(min-width:768px) and (max-width:900px){.portal:has(.home-reference){--home-header-height:105px}}
@media(max-width:767px){.portal:has(.home-reference){--home-header-height:77px}}
@media(max-width:820px){
 .portal:has(.home-reference) .hero{padding-top:calc(var(--space-12) + var(--home-header-height));min-height:0}
 .portal:has(.home-reference) .hero-art{height:calc(620px + var(--home-header-height))}
 .portal:has(.home-reference) .hero-image{object-position:64% top}
 .portal:has(.home-reference) .hero-art::after{background:linear-gradient(90deg,#f8f3eaf5,#f8f3eacc 46%,#f8f3ea40),linear-gradient(0deg,var(--color-bg),transparent 35%)}
 .portal:has(.home-reference) .portal-server-facts{grid-template-columns:1fr 1fr;padding-bottom:var(--space-4)}
 .portal:has(.home-reference) .portal-server-fact{padding:var(--space-4);border-right:0}
 .portal:has(.home-reference) .portal-server-fact:nth-child(odd){padding-left:0;border-right:1px solid var(--color-border)}
 .portal:has(.home-reference) .portal-server-fact:nth-child(-n+2){border-bottom:1px solid var(--color-border);padding-top:0}
 .portal:has(.home-reference) .portal-server-fact:last-child{padding-right:0}
 .portal:has(.home-reference) .portal-server-presence{flex-wrap:wrap;gap:var(--space-3)}
 .portal:has(.home-reference) .section-heading{flex-wrap:wrap;align-items:start;gap:var(--space-3)}
 .portal:has(.home-reference) .map-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .portal:has(.home-reference) .feature-grid{grid-template-columns:minmax(0,1fr)}
 .portal:has(.home-reference) .feature-card{min-height:272px}
 .portal:has(.home-reference) .feature-content{width:62%;max-width:420px}
 .portal:has(.home-reference) .classes-art{max-width:42%}
 .portal:has(.home-reference) .achievement-art{max-width:30%;right:var(--space-8);bottom:var(--space-8)}
 .portal:has(.home-reference) .news-grid{gap:var(--space-4)}
 .portal:has(.home-reference) .footer-grid{grid-template-columns:1fr 1fr}
 .portal:has(.home-reference) .footer-brand{grid-column:1/-1}
}
@media(max-width:520px){
 .portal:has(.home-reference) .hero{padding-top:calc(var(--space-8) + var(--home-header-height))}
 .portal:has(.home-reference) .hero-art::after{background:linear-gradient(90deg,#f8f3eaf2,#f8f3eacc 48%,#f8f3ea80 70%,#f8f3ea33),linear-gradient(180deg,transparent 30%,#f8f3ea66 50%,var(--color-bg) 75%)}
 .portal:has(.home-reference) .hero-description{font-size:var(--type-body)}
 .portal:has(.home-reference) .hero h1{font-size:clamp(40px,10.5vw,48px)}
 .portal:has(.home-reference) .hero-actions .button{flex:1;padding-inline:var(--space-3);font-size:var(--type-small)}
 .portal:has(.home-reference) .hero-actions .button .icon:last-child{display:none}
 .portal:has(.home-reference) .portal-server-panel{padding:var(--space-4)}
 .portal:has(.home-reference) .portal-server-fact strong{font-size:20px;white-space:normal}
 .portal:has(.home-reference) .portal-server-fact small{font-size:var(--type-caption);letter-spacing:0}
 .portal:has(.home-reference) .portal-server-fact{min-height:100px}
 .portal:has(.home-reference) .portal-server-players{padding-left:var(--space-3)}
 .portal:has(.home-reference) :is(.explore,.features,.news){padding-block:var(--space-6)}
 .portal:has(.home-reference) .corner-decoration{display:none}
 .portal:has(.home-reference) .map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .portal:has(.home-reference) .map-copy{padding:var(--space-3)}
 .portal:has(.home-reference) .map-copy p{padding-right:0}
 .portal:has(.home-reference) .map-copy>.icon{display:none}
 .portal:has(.home-reference) .map-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}
 .portal:has(.home-reference) .feature-card{min-height:400px;overflow:hidden}
 .portal:has(.home-reference) .feature-content,.portal:has(.home-reference) .achievements-card .feature-content{width:100%;max-width:none;padding:var(--space-6)}
 .portal:has(.home-reference) .feature-content h2{font-size:26px}
 .portal:has(.home-reference) .classes-art{width:240px;max-width:75%}
 .portal:has(.home-reference) .achievement-art{width:130px;max-width:45%;bottom:var(--space-4);right:var(--space-6)}
 .portal:has(.home-reference) .achievements-card{min-height:380px}
 .portal:has(.home-reference) .news-grid{grid-template-columns:minmax(0,1fr)}
 .portal:has(.home-reference) .news-card{display:flex;flex-direction:column}
 .portal:has(.home-reference) .news-art{aspect-ratio:2.3;height:auto;min-height:0}
 .portal:has(.home-reference) .news-copy h3{font-size:var(--type-body)}
 .portal:has(.home-reference) .site-footer{padding-top:var(--space-8)}
 .portal:has(.home-reference) .footer-grid{gap:var(--space-6)}
}
@media(max-width:360px){.portal:has(.home-reference) .hero-actions .button{flex-basis:100%}.portal:has(.home-reference) .feature-card{min-height:440px}}
@media(prefers-reduced-motion:reduce){.portal:has(.home-reference) :is(.map-card,.news-card){transition:none}}
@media print{.portal:has(.home-reference) .back-top{display:none}.portal:has(.home-reference) .hero-art{opacity:.35}.portal:has(.home-reference) :is(.feature-card,.news-card,.map-card){break-inside:avoid}}

/* Performance promise inside the existing server summary. */
.portal:has(.home-reference) .portal-performance{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:var(--space-8);align-items:center;margin:calc(-1 * var(--space-6)) calc(-1 * var(--space-8)) var(--space-6);padding:var(--space-8);border-bottom:1px solid var(--color-border);border-radius:var(--radius-md) var(--radius-md) 0 0;background:linear-gradient(110deg,var(--color-secondary-soft),var(--color-surface))}
.portal:has(.home-reference) .portal-performance-copy>.rotulo-fino{font-size:var(--type-caption);color:var(--color-primary)}
.portal:has(.home-reference) .portal-performance h2{margin:var(--space-2) 0 var(--space-4);font:700 clamp(28px,2.6vw,38px)/var(--leading-heading) var(--font-display);letter-spacing:var(--tracking-heading);color:var(--color-text)}
.portal:has(.home-reference) .portal-performance h2 span{color:var(--color-primary)}
.portal:has(.home-reference) .portal-performance-copy>p{max-width:65ch;margin:0;font-size:var(--type-body);line-height:var(--leading-body);color:var(--color-text-muted)}
.portal:has(.home-reference) .portal-performance-copy>p strong{color:var(--color-text);font-weight:600}
.portal:has(.home-reference) .portal-performance-benefits{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-6);list-style:none;margin:var(--space-4) 0 0;padding:0;color:var(--color-primary);font-size:var(--type-small);font-weight:600}
.portal:has(.home-reference) .portal-performance-benefits li{display:flex;align-items:center;gap:var(--space-2)}
.portal:has(.home-reference) .portal-performance-benefits li::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--color-gold)}
.portal:has(.home-reference) .portal-performance-invite{display:grid;justify-items:center;gap:var(--space-3);padding-left:var(--space-8);border-left:1px solid var(--color-gold-line);text-align:center}
.portal:has(.home-reference) .portal-performance-symbol{color:var(--color-primary);line-height:0}
.portal:has(.home-reference) .portal-performance-symbol svg{width:32px;height:32px}
.portal:has(.home-reference) .portal-performance-invite p{margin:0;font:600 var(--type-h4)/1.5 var(--font-display);color:var(--color-text)}
.portal:has(.home-reference) .portal-performance-line{display:block;white-space:nowrap}
.portal:has(.home-reference) .portal-performance-invite .botao{width:100%;gap:var(--space-3);min-height:48px;white-space:normal}
.portal:has(.home-reference) .portal-performance-details{font-size:var(--type-small);color:var(--color-primary);text-underline-offset:4px}
.portal:has(.home-reference) .portal-performance-details:hover{text-decoration:underline}
.portal:has(.home-reference) .portal-performance-details:focus-visible{outline:3px solid var(--color-primary);outline-offset:4px;border-radius:var(--radius-sm)}
@media(max-width:820px){
 .portal:has(.home-reference) .portal-performance{grid-template-columns:minmax(0,1fr);gap:var(--space-6)}
 .portal:has(.home-reference) .portal-performance-invite{grid-template-columns:minmax(0,1fr) minmax(0,1fr);justify-items:start;align-items:center;padding:var(--space-4) 0 0;border-left:0;border-top:1px solid var(--color-gold-line);text-align:left}
 .portal:has(.home-reference) .portal-performance-symbol{display:none}
 .portal:has(.home-reference) .portal-performance-details{grid-column:1/-1}
}
@media(max-width:520px){
 .portal:has(.home-reference) .portal-performance{margin:calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) var(--space-4);padding:var(--space-6) var(--space-4)}
 .portal:has(.home-reference) .portal-performance-invite{grid-template-columns:minmax(0,1fr);justify-items:stretch}
 .portal:has(.home-reference) .portal-performance-invite p br{display:none}
 .portal:has(.home-reference) .portal-performance-benefits{gap:var(--space-2) var(--space-4)}
}

@media(max-width:620px){
 .portal:has(.home-reference) .portal-performance-invite{grid-template-columns:minmax(0,1fr);justify-items:stretch}
 .portal:has(.home-reference) .portal-performance-invite p{font-size:var(--type-body)}
}
