/* Layout da home e do portfólio. A base de navegação pertence a site-ui.css. */
.home-page{margin:0;background:#FAF5EC;color:#1B1A14;font-family:'Hanken Grotesk',system-ui,-apple-system,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
.home-container,.home-container *{box-sizing:border-box}
.home-container{width:min(100% - 2rem,1180px);margin-inline:auto}
.home-page main{min-width:0}
.home-page main:focus{outline:none}
.home-hero h1,.home-gallery-intro h1,.home-section h2,.home-section h3{font-family:'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-.025em}
.home-hero h1,.home-gallery-intro h1,.home-section h2,.home-section h3,.home-section p,.home-hero p,.home-gallery-intro p{overflow-wrap:break-word}
.home-section h2{font-size:clamp(1.65rem,4vw,2.6rem);line-height:1.12;margin:0}
.home-page h3{line-height:1.2}
.home-eyebrow{color:#A6380B;font-size:.78rem;font-weight:750;letter-spacing:.075em;line-height:1.55;text-transform:uppercase;margin:0 0 .9rem}
.home-hero{padding:2.2rem 0 2.65rem;border-bottom:1px solid #DDD3C3;background:linear-gradient(125deg,#FAF5EC 65%,#F5E5D2)}
.home-hero h1{font-size:clamp(2.3rem,6vw,4.8rem);line-height:1.01;max-width:15ch;margin:0;letter-spacing:-.045em;text-wrap:balance}
.home-hero h1 span,.home-gallery-intro h1 span{color:#B63C0A}
.home-lead{font-size:1.0625rem;line-height:1.6;color:#554D40;max-width:41em;margin:1.25rem 0 0}
.home-actions{display:flex;align-items:center;gap:.65rem 1.5rem;flex-wrap:wrap;margin:1.5rem 0 .7rem}
.home-button{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-height:50px;padding:.85rem 1.15rem;border:2px solid #B63C0A;border-radius:12px;background:#B63C0A;color:#fff;font-size:1rem;font-weight:750;text-decoration:none;text-align:center;line-height:1.35}
.home-button:hover{background:#913108;border-color:#913108}
.home-text-link{display:inline-flex;align-items:center;gap:.6rem;min-height:44px;padding:.45rem 0;color:#8F3009;font-weight:700;line-height:1.4;text-decoration:underline;text-underline-offset:4px}
.home-text-link:hover{text-decoration-thickness:2px}
.home-button:focus-visible,.home-text-link:focus-visible,.home-path:focus-visible,.home-project-link:focus-visible,.home-faq-item summary:focus-visible{outline:3px solid #73320E;outline-offset:4px}
.home-hero-note{font-size:.875rem;line-height:1.6;color:#615749;max-width:40em;margin:.5rem 0 0}
.home-section{padding:2.65rem 0;scroll-margin-top:1rem}
.home-section-heading{display:flex;flex-direction:column;gap:.35rem}
.home-section-heading>.home-text-link{align-self:flex-start}
.home-section-intro{font-size:1rem;line-height:1.65;color:#615749;max-width:43em;margin:1rem 0 1.5rem}
.home-project-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.home-project{min-width:0;background:#fffdf9;border:1px solid #D8CDBB;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.home-project-image{background:#EAE2D6;aspect-ratio:1000/672;overflow:hidden;border-bottom:1px solid #DED5C6}
.home-project-image img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.home-project-body{padding:1.2rem;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.home-project-category{font-size:.75rem;color:#9A360F;font-weight:750;letter-spacing:.055em;text-transform:uppercase;margin:0 0 .4rem}
.home-project .home-project-name{font-size:1.3rem;margin:0;line-height:1.15}
.home-project-summary{font-size:.96rem;line-height:1.55;color:#554D40;margin:.75rem 0 0}
.home-project-credit{font-size:.85rem;line-height:1.5;color:#645A4B;margin:.7rem 0 .55rem}
.home-project-link{display:flex;align-items:center;justify-content:space-between;gap:.8rem;min-height:44px;color:#963008;text-decoration:underline;text-underline-offset:3px;font-size:.94rem;font-weight:700;overflow-wrap:anywhere;width:100%;margin-top:auto;padding:.55rem 0 .3rem}
.home-project-link span{flex:none}
.home-external-note{font-size:.75rem;line-height:1.5;color:#6A6050}
.home-paths{background:#F1E7D8;border-block:1px solid #E2D6C5}
.home-path-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;margin-top:1.5rem}
.home-path{display:flex;flex-direction:column;padding:1.4rem;border:1px solid #D9C7AE;background:#FFFCF6;border-radius:16px;text-decoration:none;color:#1B1A14}
.home-path:hover{border-color:#AF4118;background:#fff}
.home-path-index{font-family:'Bricolage Grotesque',sans-serif;font-size:.875rem;font-weight:700;color:#A13B12}
.home-path h3{font-size:1.35rem;margin:.5rem 0 0}
.home-path p{font-size:1rem;line-height:1.55;color:#5C5142;margin:.75rem 0 1.2rem;max-width:33em}
.home-path-action{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:.94rem;font-weight:750;color:#8F3009;min-height:44px;margin-top:auto}
.home-anchor{scroll-margin-top:1rem}
.home-about{background:#EEE3D2;border-block:1px solid #DFD1BC}
.home-about-grid{display:grid;gap:1.5rem}
.home-about h2{max-width:20ch}
.home-about p:not(.home-eyebrow){color:#554D40;line-height:1.65}
.home-team{display:flex;flex-direction:column;gap:1rem;justify-content:center}
.home-team-row{display:flex;align-items:center;gap:1rem;padding:1rem 0;border-bottom:1px solid #D3C3AC}
.home-team-row:last-child{border-bottom:0}
.home-partner-description{margin:0;max-width:42ch;font-size:.95rem}
.home-partner-badge{display:block;width:260px;max-width:100%;height:auto;align-self:flex-start;margin-top:.5rem}
.home-team-row img{width:52px;height:52px;object-fit:contain;flex-shrink:0}
.home-team-row h3{margin:0;font-size:1.1rem}
.home-team-row p{margin:.4rem 0 0;font-size:.95rem}
.home-faq-layout{display:grid;gap:1.5rem}
.home-faq-item{border-bottom:1px solid #D8CEBE}
.home-faq-item:first-child{border-top:1px solid #D8CEBE}
.home-faq-item summary{padding:1.1rem .15rem;cursor:pointer;font-weight:700;line-height:1.5;min-height:48px}
.home-faq-item p{margin:0;padding:0 .15rem 1.25rem;color:#584E40;line-height:1.7;font-size:1rem}
.home-diagnostic{background:#1B1A14;color:#FAF5EC;text-align:center}
.home-diagnostic .home-eyebrow{color:#FDAE82}
.home-diagnostic h2{max-width:25ch;margin-inline:auto}
.home-diagnostic p:not(.home-eyebrow){max-width:42em;line-height:1.65;margin:1rem auto;color:#E0D6C5}
.home-diagnostic .home-button{margin:.5rem 0;background:#F5A475;border-color:#F5A475;color:#24180F}
.home-diagnostic .home-button:hover{background:#FFC5A0;border-color:#FFC5A0}
.home-diagnostic .home-button:focus-visible{outline-color:#FAF5EC}
.home-diagnostic p.home-diagnostic-note{font-size:.875rem;margin:.5rem auto 0;max-width:42em;color:#C9BFAD}
.home-gallery-intro{padding:1.5rem 0 1.75rem}
.home-gallery-intro .home-eyebrow{margin-top:1.3rem}
.home-gallery-intro h1{font-size:clamp(2.4rem,6vw,4.5rem);line-height:1.04;letter-spacing:-.045em;max-width:15ch;margin:0}
.home-gallery-intro p:not(.home-eyebrow){max-width:43em;font-size:1.1rem;line-height:1.65;color:#554D40;margin:1.1rem 0 0}
.home-gallery-intro p.home-gallery-note{font-size:.9rem;max-width:48em}
.home-gallery{padding-top:0}
.home-gallery-count{font-size:.875rem;font-weight:700;color:#665746;margin:0 0 1rem}
.home-gallery .home-project-body{padding:1rem}
.home-gallery .home-project-name{font-size:1.2rem}
@media(min-width:42rem){
.home-container{width:min(100% - 4rem,1180px)}
.home-hero{padding:3.75rem 0}
.home-hero .home-container{position:relative}
.home-lead{font-size:1.1875rem}
.home-section{padding:3.5rem 0}
.home-section-heading{flex-direction:row;align-items:end;justify-content:space-between;gap:2rem}
.home-section-heading>.home-text-link{align-self:flex-end;flex-shrink:0}
.home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.home-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-about-grid{grid-template-columns:1.2fr 1fr;gap:3rem}
.home-faq-layout{grid-template-columns:.8fr 1.2fr;gap:3rem}
.home-gallery-intro{padding:2rem 0 2.5rem}
.home-gallery{padding-top:0}
}
@media(min-width:62rem){
.home-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-hero{padding:4rem 0 4.5rem}
.home-section{padding:4rem 0}
.home-gallery{padding-top:0}
}
@media(max-width:25rem){
.home-hero h1{font-size:2.25rem}
.home-actions{align-items:stretch}
.home-button{width:100%;padding:.8rem .75rem}
.home-hero .home-actions>.home-text-link{justify-content:center;width:100%;padding:.4rem 0}
}
