/* Folga entre os contornos e os textos da história do laboratório. */
body.units-waves-page main.about-page :is(.about-values,.about-memory,.about-today){padding:24px;box-sizing:border-box;border-radius:16px}
body.units-waves-page main.about-page .about-building-pair>figure,
body.units-waves-page main.about-page .about-memory-grid>figure{padding:14px;border-radius:16px;box-sizing:border-box}
body.units-waves-page main.about-page .about-since{border:0!important;padding:4px 2px 0;margin:0 0 14px;min-height:56px}
body.units-waves-page main.about-page :is(.about-building-pair,.about-memory-grid) figcaption{padding:12px 4px 4px;line-height:1.45}
body.units-waves-page main.about-page .about-equipment-grid>figure{padding:12px;border-radius:16px}
body.units-waves-page main.about-page .about-equipment-grid>figure>a{border:0!important}
body.units-waves-page main.about-page .about-memory-heading{gap:24px;margin-bottom:16px}
body.units-waves-page main.about-page .about-today-copy{min-width:0}
@media(max-width:650px){body.units-waves-page main.about-page :is(.about-values,.about-memory,.about-today){padding:18px}body.units-waves-page main.about-page .about-building-pair>figure,body.units-waves-page main.about-page .about-memory-grid>figure{padding:10px}body.units-waves-page main.about-page .about-memory-heading{margin-bottom:12px}}
/* História ao lado da fachada em transformação, sem a fotografia repetida. */
body.units-waves-page main.about-page>.about-intro{display:block}
body.units-waves-page main.about-page .about-building-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
body.units-waves-page main.about-page .about-history-copy{border:1px solid #a52671;border-radius:16px;padding:24px;min-width:0;background:#fff;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}
body.units-waves-page main.about-page .about-history-copy .about-kicker{font-size:20px;line-height:1.4;margin-bottom:16px}
body.units-waves-page main.about-page .about-history-copy h2{font-size:clamp(28px,2.5vw,40px);line-height:1.2;margin:0 0 20px}
body.units-waves-page main.about-page .about-history-copy p:not(.about-kicker){font-size:20px;line-height:1.55;margin:0 0 16px}
body.units-waves-page main.about-page .about-history-copy p:last-child{margin-bottom:0}
@media(max-width:750px){body.units-waves-page main.about-page .about-building-pair{grid-template-columns:1fr;gap:18px}body.units-waves-page main.about-page .about-history-copy{padding:20px}body.units-waves-page main.about-page .about-history-copy p:not(.about-kicker){font-size:18px}}
/* A qualidade complementa o histórico dentro do mesmo painel. */
body.units-waves-page main.about-page .about-history-copy>.about-values{border:0!important;border-radius:0;padding:0;margin-top:24px;background:transparent}
body.units-waves-page main.about-page .about-history-copy>.about-values>h2{font-size:26px;margin-bottom:16px}
body.units-waves-page main.about-page .about-history-copy .about-values-grid{gap:18px}
body.units-waves-page main.about-page .about-history-copy .about-values h3{font-size:20px;line-height:1.25;margin:0 0 8px}
body.units-waves-page main.about-page .about-history-copy .about-values p{font-size:18px;line-height:1.45;margin:0}
body.units-waves-page main.about-page .history-carousel{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
@media(max-width:1100px) and (min-width:751px){body.units-waves-page main.about-page .about-history-copy .about-values-grid{grid-template-columns:1fr}}
@media(max-width:750px){body.units-waves-page main.about-page .about-history-copy .about-values-grid{grid-template-columns:1fr}}
body.units-waves-page main.about-page .history-carousel{align-self:start;justify-content:flex-start}
/* Painel em quatro áreas: duas superiores e um retângulo inferior contínuo. */
body.units-waves-page main.about-page .about-history-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0;border:0!important;border-radius:0;background:transparent;align-content:start}
body.units-waves-page main.about-page .about-history-copy>.history-mini,
body.units-waves-page main.about-page .history-title-panel,
body.units-waves-page main.about-page .history-content-panel{border:1px solid #a52671;border-radius:16px;background:#fff;box-sizing:border-box;min-width:0}
body.units-waves-page main.about-page .about-history-copy>.history-mini{padding:10px;margin:0;aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;--fall-start:-14px;--fall-end:34px;--drift-factor:.4}
body.units-waves-page main.about-page .history-mini figcaption{font-size:16px;line-height:1.35;text-align:center;padding:10px 0 0;margin:0}
body.units-waves-page main.about-page .history-mini .history-falling-squares>span{width:3.8%;box-shadow:inset 1px 1px 0 #ffffff90,inset -1px -1px 0 #00000025,1px 2px 0 #6c2a574d,1px 3px 4px #39243130}
body.units-waves-page main.about-page .history-title-panel{display:flex;flex-direction:column;justify-content:center;padding:20px;aspect-ratio:1}
body.units-waves-page main.about-page .history-title-panel .about-kicker{font-size:16px;line-height:1.4;margin:0 0 12px}
body.units-waves-page main.about-page .history-title-panel h2{font-size:clamp(23px,1.9vw,32px);line-height:1.2;margin:0}
body.units-waves-page main.about-page .history-content-panel{grid-column:1/-1;padding:24px}
body.units-waves-page main.about-page .history-content-panel>.about-values{border:0!important;padding:0;margin:24px 0 0;border-radius:0;background:transparent}
body.units-waves-page main.about-page .history-content-panel>.about-values>h2{font-size:26px;line-height:1.2;margin:0 0 16px}
@media(max-width:1100px) and (min-width:751px){body.units-waves-page main.about-page .history-title-panel{padding:14px}body.units-waves-page main.about-page .history-title-panel h2{font-size:23px}}
@media(max-width:500px){body.units-waves-page main.about-page .about-history-copy{gap:12px}body.units-waves-page main.about-page .history-title-panel{padding:12px;aspect-ratio:auto}body.units-waves-page main.about-page .history-title-panel h2{font-size:21px}body.units-waves-page main.about-page .history-title-panel .about-kicker{font-size:16px}body.units-waves-page main.about-page .about-history-copy>.history-mini{aspect-ratio:auto;padding:8px}body.units-waves-page main.about-page .history-content-panel{padding:18px}}
body.units-waves-page main.about-page .history-title-panel #about-story{font-size:clamp(22px,1.8vw,30px);line-height:1.2;margin:0;padding:0;letter-spacing:0}
@media(max-width:500px){body.units-waves-page main.about-page .history-title-panel #about-story{font-size:21px}}
/* O histórico acompanha o título; o painel inferior reúne somente a qualidade. */
body.units-waves-page main.about-page .history-title-panel{aspect-ratio:auto;justify-content:flex-start}
body.units-waves-page main.about-page .history-title-panel #about-story{font-size:clamp(22px,1.7vw,28px);margin-bottom:16px}
body.units-waves-page main.about-page .history-title-panel p:not(.about-kicker){font-size:18px;line-height:1.45;margin:0 0 14px}
body.units-waves-page main.about-page .history-title-panel p:last-child{margin-bottom:0}
body.units-waves-page main.about-page .about-history-copy>.history-mini{aspect-ratio:auto;align-self:stretch}
body.units-waves-page main.about-page .history-content-panel>.about-values{margin-top:0}

body.units-waves-page main.about-page .history-gallery-copy{margin-top:22px;padding:20px 8px 8px;border:0!important;background:transparent}
body.units-waves-page main.about-page .history-gallery-copy .about-kicker{font-size:18px;line-height:1.4;color:#195b4b;margin:0 0 12px}
body.units-waves-page main.about-page .history-gallery-copy h2{font-size:clamp(26px,2vw,34px);line-height:1.2;color:#a52671;margin:0 0 16px}
body.units-waves-page main.about-page .history-gallery-copy p{font-size:18px;line-height:1.5;margin:0 0 14px}
body.units-waves-page main.about-page .about-equipment-grid[hidden]{display:none!important}
@media(max-width:650px){body.units-waves-page main.about-page .about-history-copy{grid-template-columns:1fr}body.units-waves-page main.about-page .history-gallery-copy{padding:12px 4px}}

/* Foto principal ocupa a altura integral dos três quadros à direita. */
body.units-waves-page main.about-page .about-building-pair>.history-carousel{grid-column:1;grid-row:1;align-self:stretch;position:relative;display:flex;padding:0;overflow:hidden;min-height:480px}
body.units-waves-page main.about-page .about-building-pair>.about-history-copy{grid-column:2;grid-row:1}
body.units-waves-page main.about-page .about-building-pair>.history-gallery-copy{grid-column:1;grid-row:2;margin:0}
body.units-waves-page main.about-page .history-carousel .history-stage{flex:1;width:100%;min-height:0;border-radius:16px}
body.units-waves-page main.about-page .history-carousel .history-stage>img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
body.units-waves-page main.about-page .history-carousel .about-since{display:none}
body.units-waves-page main.about-page .history-carousel>figcaption{position:absolute;bottom:58px;left:15%;right:15%;text-align:center;background:#ffffffeb;padding:8px;border-radius:8px;pointer-events:none}
body.units-waves-page main.about-page .history-carousel .showcase-controls{position:absolute;inset:0;pointer-events:none;margin:0;justify-content:space-between;padding:14px;z-index:3}
body.units-waves-page main.about-page .history-carousel .showcase-controls button{pointer-events:auto;background:#ffffffed}
body.units-waves-page main.about-page .history-carousel .showcase-controls .pause{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:16px}
@media(max-width:750px){body.units-waves-page main.about-page .about-building-pair>.history-carousel{grid-column:1;grid-row:1;min-height:0;aspect-ratio:1}body.units-waves-page main.about-page .about-building-pair>.history-gallery-copy{grid-column:1;grid-row:2}body.units-waves-page main.about-page .about-building-pair>.about-history-copy{grid-column:1;grid-row:3}}

body.units-waves-page main.about-page .tox-contact>.about-contact-actions{display:flex;flex:0 0 auto;gap:24px;align-items:center;justify-content:flex-end;min-width:0;margin-left:auto;flex-wrap:wrap}
body.units-waves-page main.about-page .about-contact-actions>a.tox-units-button{margin:0}
@media(max-width:650px){body.units-waves-page main.about-page .tox-contact>.about-contact-actions{width:100%;justify-content:center;gap:16px}body.units-waves-page main.about-page .about-contact-actions>a.tox-units-button{white-space:normal;flex:1 1 150px}}

/* Foto e histórico unidos num único retângulo com contorno fino. */
body.units-waves-page main.about-page .history-overview-panel{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:center;border:1px solid #a52671;border-radius:16px;padding:20px;background:#fff;min-width:0;box-sizing:border-box}
body.units-waves-page main.about-page .history-overview-panel>.history-mini{margin:0;padding:0;min-width:0;display:flex;flex-direction:column;justify-content:center;border:0!important;background:transparent}
body.units-waves-page main.about-page .history-overview-panel>.history-title-panel{border:0!important;border-radius:0;padding:0;background:transparent}
@media(max-width:650px){body.units-waves-page main.about-page .history-overview-panel{grid-template-columns:1fr;padding:18px;gap:20px}}

/* Dois conjuntos quadrados, com galeria e texto no bloco esquerdo. */
body.units-waves-page main.about-page .about-building-pair{align-items:start}
body.units-waves-page main.about-page .history-gallery-panel{grid-column:1;grid-row:1;aspect-ratio:1;display:flex;flex-direction:column;min-width:0;box-sizing:border-box;background:#fff;border:0!important}
body.units-waves-page main.about-page .history-gallery-panel>.history-carousel{position:relative;flex:1;min-height:0;width:100%;margin:0;padding:0;display:flex;border:0!important;box-shadow:none!important;border-radius:16px;overflow:hidden}
body.units-waves-page main.about-page .history-gallery-panel>.history-gallery-copy{margin:0;padding:22px 8px 0;flex:0 0 auto}
body.units-waves-page main.about-page .history-gallery-copy p:last-child{margin-bottom:0}
body.units-waves-page main.about-page .about-building-pair>.about-history-copy{aspect-ratio:1;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1.25fr) minmax(0,1fr);gap:18px;min-width:0;align-content:stretch}
body.units-waves-page main.about-page .history-overview-panel{grid-column:1;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);padding:18px;gap:16px}
body.units-waves-page main.about-page .history-content-panel{grid-column:1;padding:18px}
body.units-waves-page main.about-page .history-title-panel p:not(.about-kicker){font-size:16px;line-height:1.4;margin-bottom:12px}
body.units-waves-page main.about-page .history-title-panel #about-story{font-size:24px;line-height:1.15;margin-bottom:14px}
body.units-waves-page main.about-page .history-content-panel .about-values-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.units-waves-page main.about-page .about-history-copy .about-values p{font-size:16px;line-height:1.4}
body.units-waves-page main.about-page .about-history-copy .about-values h3{font-size:18px;line-height:1.2}
@media(max-width:1799px){body.units-waves-page main.about-page .about-building-pair{grid-template-columns:1fr}body.units-waves-page main.about-page .history-gallery-panel{grid-column:1;grid-row:1}body.units-waves-page main.about-page .about-building-pair>.about-history-copy{grid-column:1;grid-row:2}}
@media(max-width:650px){body.units-waves-page main.about-page .about-building-pair>.about-history-copy{aspect-ratio:auto;grid-template-rows:auto auto}body.units-waves-page main.about-page .history-overview-panel{grid-template-columns:1fr}body.units-waves-page main.about-page .history-content-panel .about-values-grid{grid-template-columns:1fr}body.units-waves-page main.about-page .history-gallery-panel{aspect-ratio:auto}body.units-waves-page main.about-page .history-gallery-panel>.history-carousel{flex:auto;aspect-ratio:1}body.units-waves-page main.about-page .history-gallery-panel>.history-gallery-copy{padding:18px 4px}}

/* Duas metades iguais: imagem ampliada e histórico. */
body.units-waves-page main.about-page .history-overview-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:18px;align-items:stretch}
body.units-waves-page main.about-page .history-overview-panel>.history-mini{align-self:stretch;width:100%;justify-content:center}
body.units-waves-page main.about-page .history-overview-panel .history-stage{width:100%;border-radius:14px}
body.units-waves-page main.about-page .history-overview-panel .history-stage>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
body.units-waves-page main.about-page .history-overview-panel>.history-title-panel{min-width:0;justify-content:center}
@media(max-width:650px){body.units-waves-page main.about-page .history-overview-panel{grid-template-columns:1fr;gap:20px}}

/* Qualidade em três linhas, com títulos e explicações alinhados. */
body.units-waves-page main.about-page .history-content-panel{display:flex;align-items:center;padding:24px}
body.units-waves-page main.about-page .history-content-panel>.about-values{width:100%}
body.units-waves-page main.about-page .history-content-panel .about-values-grid{display:grid;grid-template-columns:1fr;gap:20px}
body.units-waves-page main.about-page .history-content-panel .about-values-grid>article{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.6fr);gap:20px;align-items:start;min-width:0}
body.units-waves-page main.about-page .history-content-panel .about-values-grid>article>span{display:none}
body.units-waves-page main.about-page .history-content-panel .about-values h3{margin:0;font-size:18px;line-height:1.3;color:#a52671}
body.units-waves-page main.about-page .history-content-panel .about-values p{margin:0;font-size:16px;line-height:1.45}
body.units-waves-page main.about-page .history-content-panel>.about-values>h2{margin-bottom:24px}
@media(max-width:650px){body.units-waves-page main.about-page .history-content-panel{padding:20px}body.units-waves-page main.about-page .history-content-panel .about-values-grid>article{grid-template-columns:1fr;gap:8px}body.units-waves-page main.about-page .history-content-panel .about-values-grid{gap:22px}}

/* Mais destaque e leitura confortável nos quadros institucionais. */
body.units-waves-page main.about-page .about-building-pair>.about-history-copy{grid-template-rows:minmax(0,1.6fr) minmax(0,1fr)}
body.units-waves-page main.about-page .history-title-panel .about-kicker{font-size:18px;line-height:1.35}
body.units-waves-page main.about-page .history-title-panel #about-story{font-size:28px;line-height:1.18}
body.units-waves-page main.about-page .history-title-panel p:not(.about-kicker){font-size:18px;line-height:1.45}
body.units-waves-page main.about-page .history-content-panel>.about-values>h2{font-size:30px;line-height:1.2;margin-bottom:22px}
body.units-waves-page main.about-page .history-content-panel .about-values h3{font-size:20px;line-height:1.3}
body.units-waves-page main.about-page .history-content-panel .about-values p{font-size:18px;line-height:1.45}
body.units-waves-page main.about-page .history-gallery-copy .about-kicker{font-size:20px}
body.units-waves-page main.about-page .history-gallery-copy h2{font-size:clamp(30px,2.2vw,38px)}
body.units-waves-page main.about-page .history-gallery-copy p{font-size:20px;line-height:1.5}
@media(max-width:650px){body.units-waves-page main.about-page .about-building-pair>.about-history-copy{grid-template-rows:auto auto}body.units-waves-page main.about-page .history-title-panel #about-story{font-size:26px}body.units-waves-page main.about-page .history-gallery-copy p{font-size:18px}}

body.units-waves-page main.about-page .history-content-panel{padding:20px}
body.units-waves-page main.about-page .history-content-panel .about-values-grid{gap:14px}
body.units-waves-page main.about-page .history-content-panel>.about-values>h2{margin-bottom:16px}

/* Galeria e mensagem em um único quadrado com a mesma folga do quadro ao lado. */
body.units-waves-page main.about-page .history-gallery-panel{border:1px solid #a52671!important;border-radius:16px;padding:18px;background:#fff;overflow:hidden;aspect-ratio:1}
body.units-waves-page main.about-page .history-gallery-panel>.history-carousel{border:0!important;box-shadow:none!important;border-radius:14px;overflow:hidden;flex:1 1 0;min-height:0}
body.units-waves-page main.about-page .history-gallery-panel .history-stage{border:0!important;box-shadow:none!important;border-radius:14px;overflow:hidden;flex:1;min-height:0}
body.units-waves-page main.about-page .history-gallery-panel .history-stage>img{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;border:0!important;border-radius:14px;background:#fff}
body.units-waves-page main.about-page .history-gallery-panel>.history-gallery-copy{padding:18px 0 0;margin:0}
@media(max-width:650px){body.units-waves-page main.about-page .history-gallery-panel{aspect-ratio:auto;padding:18px}body.units-waves-page main.about-page .history-gallery-panel>.history-carousel{flex:none;aspect-ratio:1;width:100%}}

/* Mesmo carrossel de nove fotos e controles usado na Matriz Centro. */
body.units-waves-page main.about-page .history-gallery-panel>.matriz-carousel{position:relative}
body.units-waves-page main.about-page .history-gallery-panel .matriz-carousel-controls{inset:0 0 32px;z-index:4}
body.units-waves-page main.about-page .history-gallery-panel>.matriz-carousel>figcaption{position:static;flex:0 0 auto;margin:0;padding:8px 4px 0;background:transparent;pointer-events:auto;font-size:16px;line-height:1.4;text-align:center}
body.units-waves-page main.about-page .history-gallery-panel .unit-photo{position:relative;display:block;flex:1;min-height:0;width:100%;border-radius:14px;overflow:hidden}
body.units-waves-page main.about-page .history-gallery-panel .unit-photo>img{object-fit:cover;border-radius:14px}

/* Qualidade distribuída em quatro áreas leves, sem contornos internos. */
body.units-waves-page main.about-page .about-building-pair>.about-history-copy{grid-template-rows:minmax(0,1.35fr) minmax(0,1fr)}
body.units-waves-page main.about-page .history-content-panel{padding:26px;align-items:stretch}
body.units-waves-page main.about-page .history-content-panel>.about-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;row-gap:24px;align-content:center;align-items:start}
body.units-waves-page main.about-page .history-content-panel>.about-values>h2{grid-column:1;grid-row:1;margin:0;align-self:center;font-size:30px;line-height:1.2;max-width:12ch}
body.units-waves-page main.about-page .history-content-panel .about-values-grid{display:contents}
body.units-waves-page main.about-page .history-content-panel .about-values-grid>article{display:block;padding:0;margin:0;border:0!important;background:transparent;box-shadow:none;min-width:0}
body.units-waves-page main.about-page .history-content-panel .about-values h3{font-size:20px;line-height:1.3;margin:0 0 10px}
body.units-waves-page main.about-page .history-content-panel .about-values p{font-size:18px;line-height:1.45;margin:0}
@media(max-width:650px){body.units-waves-page main.about-page .about-building-pair>.about-history-copy{grid-template-rows:auto auto}body.units-waves-page main.about-page .history-content-panel{padding:22px}body.units-waves-page main.about-page .history-content-panel>.about-values{display:block}body.units-waves-page main.about-page .history-content-panel>.about-values>h2{max-width:none;margin-bottom:24px;font-size:28px}body.units-waves-page main.about-page .history-content-panel .about-values-grid{display:grid;grid-template-columns:1fr;gap:24px}}
