/* Layout H: investimentos e referencias na mesma linha; FAQ centralizada. */
.portal-home-layout-h .portal-home-h-investments-row>.row{display:grid;grid-template-columns:minmax(0,1fr);gap:1.75rem;margin:0;height:auto!important;align-items:start}
.portal-home-layout-h .portal-home-h-investments-row>.row>div,
.portal-home-layout-h .portal-home-h-investments-row>.row>aside{width:100%;max-width:100%;margin:0;padding:0;min-width:0;height:auto!important}
.portal-home-layout-h .portal-home-h-investments-row .portal-home-institutional-calendar-section{margin:0!important}
.portal-home-layout-h .portal-home-h-references-column .portal-home-institutional-shell{padding-left:1.25rem}
.portal-home-layout-h .portal-home-h-references-column .portal-home-h-references-scroll{display:grid;grid-template-columns:minmax(0,1fr);gap:0;flex:0 1 auto!important;height:auto!important;max-height:320px;min-height:0;margin:0;overflow-y:auto;overscroll-behavior:contain}
.portal-home-layout-h .portal-home-h-references-column .portal-home-h-references-scroll>div{width:100%;margin:0;padding:0}
@media(min-width:992px){.portal-home-layout-h .portal-home-h-investments-row.has-two-columns>.row{grid-template-columns:minmax(0,3fr) minmax(0,1fr)}}
@media(max-width:991.98px){.portal-home-layout-h .portal-home-h-references-column .portal-home-institutional-shell{padding-left:0;border-left:0}.portal-home-layout-h .portal-home-h-references-column .portal-home-h-references-scroll{max-height:none;overflow:visible}}
/* Perguntas do Layout H: faixa aberta, centralizada, sem painel ou rotulos repetidos. */
.portal-home-layout-h .portal-home-faq-section{padding:1.5rem clamp(1rem,4vw,4rem);border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.portal-home-layout-h .portal-home-h-faq-content{width:100%;max-width:700px;margin-inline:auto;padding:0;border:0;background:none;box-shadow:none}
.portal-home-layout-h .portal-home-h-faq-content .portal-faq-accordion{display:grid;gap:0;margin:0;padding:0;border:0;background:none}
.portal-home-layout-h .portal-home-h-faq-content .portal-faq-item{margin:0;padding:0;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--portal-primary) 18%,transparent)!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible}
.portal-home-layout-h .portal-home-h-faq-content .accordion-header{margin:0}
.portal-home-layout-h .portal-home-h-faq-content .accordion-button{min-height:56px;justify-content:flex-start;gap:.75rem;padding:.85rem .9rem;border:0!important;border-radius:0!important;background:color-mix(in srgb,var(--portal-primary) 3%,white)!important;box-shadow:none!important;color:var(--portal-primary);font-size:1rem;font-weight:600;line-height:1.5;transition:background-color .15s ease}
.portal-home-layout-h .portal-home-h-faq-content .accordion-button:hover,
.portal-home-layout-h .portal-home-h-faq-content .accordion-button:not(.collapsed){background:color-mix(in srgb,var(--portal-primary) 7%,white)!important}
.portal-home-layout-h .portal-home-h-faq-content .accordion-button:focus-visible{outline:2px solid var(--portal-primary);outline-offset:2px}
.portal-home-layout-h .portal-home-h-faq-content .accordion-button::after{content:'+' / '';display:grid;place-items:center;flex:0 0 1.5rem;width:1.5rem;height:1.5rem;margin-left:auto;background:none!important;color:var(--portal-primary);font-size:1.35rem;font-weight:400;line-height:1;transform:none!important}
.portal-home-layout-h .portal-home-h-faq-content .accordion-button:not(.collapsed)::after{content:'−' / ''}
.portal-home-layout-h .portal-home-h-faq-content .accordion-body{padding:.5rem 3.5rem 1.25rem .75rem;color:var(--portal-text,#334e60);font-size:1rem;line-height:1.7}
.portal-home-layout-h .portal-home-h-faq-content .accordion-body>:last-child{margin-bottom:0}
.portal-home-layout-h .portal-home-h-faq-content .accordion-body p{text-align:left!important}
.portal-home-layout-h .portal-home-h-faq-footer{display:flex;justify-content:center;margin-top:1rem}
.portal-home-layout-h .portal-home-h-faq-all{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;min-height:44px;padding:.5rem .75rem;color:var(--portal-primary);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.portal-home-layout-h .portal-home-h-faq-all:focus-visible{outline:2px solid var(--portal-primary);outline-offset:2px}
@media(max-width:575.98px){.portal-home-layout-h .portal-home-faq-section{padding:1rem .75rem}.portal-home-layout-h .portal-home-h-faq-content .accordion-button{padding:.85rem .65rem;font-size:1rem;gap:.6rem}.portal-home-layout-h .portal-home-h-faq-content .accordion-body{padding:.5rem .65rem 1rem}}
@media(prefers-reduced-motion:reduce){.portal-home-layout-h .portal-home-h-faq-content .accordion-button{transition:none}}

/* Separacao da FAQ de ponta a ponta, usando a cor configurada no menu. */
.portal-home-shell.portal-home-layout-h{overflow:visible!important}
.portal-home-layout-h .portal-home-faq-section{--portal-faq-band:var(--portal-menu-bg,#f0f0f0);padding-block:2rem;background:var(--portal-faq-band)!important;box-shadow:0 0 0 100vmax var(--portal-faq-band)!important;clip-path:inset(0 -100vmax);margin-top:1.5rem}
.portal-home-layout-h .portal-home-h-faq-content .portal-faq-item{border-bottom-color:color-mix(in srgb,var(--portal-menu-text,var(--portal-primary)) 18%,transparent)!important}
.portal-home-layout-h .portal-home-h-faq-content .accordion-button{background:transparent!important;color:var(--portal-menu-text,var(--portal-primary))}
.portal-home-layout-h .portal-home-h-faq-content .accordion-button::after{color:inherit}
.portal-home-layout-h .portal-home-h-faq-content .accordion-button:hover,
.portal-home-layout-h .portal-home-h-faq-content .accordion-button:not(.collapsed){background:color-mix(in srgb,var(--portal-menu-text,var(--portal-primary)) 6%,var(--portal-faq-band))!important}
.portal-home-layout-h .portal-home-h-faq-content .accordion-body,
.portal-home-layout-h .portal-home-h-faq-all{color:var(--portal-menu-text,var(--portal-primary))}

/* Contato do Layout H: area editorial aberta; formulario nativo preservado. */
.portal-layout-h-active .portal-prefooter-contact-section{padding:clamp(2.5rem,5vw,4.5rem) 0;background:#fff;border-top:1px solid color-mix(in srgb,var(--portal-primary) 12%,transparent)}
.portal-layout-h-active .portal-prefooter-contact-wrap{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);column-gap:clamp(2rem,5vw,5rem);row-gap:1.25rem;align-items:start;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.portal-layout-h-active .portal-prefooter-contact-wrap>.portal-section-title{grid-column:1;grid-row:1;margin:0!important}
.portal-layout-h-active .portal-prefooter-contact-wrap>.portal-section-title h2{font-size:clamp(1.6rem,2.2vw,2rem);line-height:1.2;color:var(--portal-primary);margin-bottom:1rem!important}
.portal-layout-h-active .portal-prefooter-contact-wrap>.portal-section-title p{max-width:38ch;line-height:1.7;text-align:left}
.portal-layout-h-active .portal-contact-summary{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0!important}
.portal-layout-h-active .portal-contact-summary>div{width:100%;margin:0;padding:0}
.portal-layout-h-active .portal-contact-summary-card{padding:1rem 0!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--portal-primary) 14%,transparent)!important;border-radius:0!important;background:none!important;box-shadow:none!important;min-height:0;overflow-wrap:anywhere}
.portal-layout-h-active .portal-contact-summary-card .portal-mini-label{display:block;color:var(--portal-primary);font-size:.78rem;letter-spacing:.03em;margin-bottom:.4rem}
.portal-layout-h-active .portal-contact-summary-card a{color:var(--portal-primary);text-decoration-thickness:1px;text-underline-offset:3px}
.portal-layout-h-active .portal-contact-form-card{grid-column:2;grid-row:1 / span 2;min-width:0;margin:0;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.portal-layout-h-active .portal-contact-form-card .form-label{font-size:.95rem;font-weight:600;margin-bottom:.45rem;color:var(--portal-primary)}
.portal-layout-h-active .portal-contact-form-card .form-control{min-height:46px;border:1px solid color-mix(in srgb,var(--portal-primary) 24%,white);border-radius:4px;background:#fff;color:var(--portal-primary);padding:.7rem .8rem}
.portal-layout-h-active .portal-contact-form-card textarea.form-control{min-height:170px;resize:vertical}
.portal-layout-h-active .portal-contact-submit{min-height:48px;padding:.75rem 1.4rem;border-radius:4px;font-size:1rem;font-weight:600}
@media(max-width:991.98px){.portal-layout-h-active .portal-prefooter-contact-wrap{grid-template-columns:minmax(0,1fr);gap:1.5rem}.portal-layout-h-active .portal-prefooter-contact-wrap>.portal-section-title{grid-column:1;grid-row:auto}.portal-layout-h-active .portal-contact-summary{grid-column:1;grid-row:auto}.portal-layout-h-active .portal-contact-form-card{grid-column:1;grid-row:auto}.portal-layout-h-active .portal-prefooter-contact-wrap>.portal-section-title p{max-width:65ch}.portal-layout-h-active .portal-contact-submit{width:100%}}

/* O tamanho minimo das tabelas nao pode alargar toda a grade do modal. */
.portal-layout-h-active .investment-dialog .investment-dashboard{grid-template-columns:minmax(0,1fr)}
.portal-layout-h-active .investment-dialog .investment-dashboard>*,
.portal-layout-h-active .investment-dialog .investment-dialog__body{min-width:0;max-width:100%}
.portal-layout-h-active .investment-dialog .investment-table-wrap{max-width:100%;overflow-x:auto}
