/* Home V4 — layout editorial exclusivo, compatível com as páginas existentes. */
.home-v4{--h4-navy:#0b293e;--h4-teal:#078b8b;--h4-muted:#58707a;--h4-line:#dce8e9;--h4-mist:#f3f8f8}
.home-v4 .site-header{background:rgba(255,255,255,.975)}
.home-v4 .site-footer{background:#fff}
.home-v4 .h4-section{padding:90px 0}
.home-v4 .h4-label{display:block;color:#00848c;letter-spacing:.18em;font-size:.69rem;font-weight:800;margin-bottom:22px}
.home-v4 h1,.home-v4 h2,.home-v4 h3{color:var(--h4-navy)}
.home-v4 .h4-section h2{font-size:clamp(2rem,3.2vw,3.5rem);letter-spacing:-.056em;line-height:1.15}
.home-v4 .h4-inline-link{display:inline-flex;gap:14px;align-items:center;color:#076f78;font-size:.87rem;font-weight:750;transition:gap .2s}
.home-v4 .h4-inline-link:hover{gap:20px}
/* Hero com fotografia independente e imagem realmente incluída nos assets. */
.home-v4 .h4-hero{background:#fafdfd;overflow:hidden}
.home-v4 .h4-hero-stage{display:grid;grid-template-columns:minmax(0,50.5%) minmax(0,49.5%);min-height:540px;max-width:1900px;margin-inline:auto}
.home-v4 .h4-hero-copy{padding:clamp(50px,5.2vw,86px) clamp(24px,4vw,64px) 44px max(32px,calc((100vw - 1300px)/2));display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;z-index:2;background:linear-gradient(115deg,#fbfefe,#f4fafa)}
.home-v4 .h4-eyebrow{display:inline-flex;align-items:center;gap:12px;color:#087f85;font-size:.68rem;font-weight:800;letter-spacing:.2em;white-space:normal;line-height:1.7}
.home-v4 .h4-kicker-dot{width:7px;height:7px;flex:none;background:#13aa9e;border-radius:50%}
.home-v4 .h4-hero h1{font-size:clamp(2.45rem,3.6vw,4.3rem);letter-spacing:-.067em;line-height:1.06;font-weight:800;max-width:680px;margin:18px 0 22px;text-wrap:balance}
.home-v4 .h4-hero h1 span{color:#008b8c}
.home-v4 .h4-hero-copy>p{font-size:clamp(.96rem,1.06vw,1.08rem);max-width:540px;line-height:1.68;color:#506879;margin:0 0 22px}
.home-v4 .h4-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.home-v4 .h4-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:52px;padding:13px 22px;border-radius:8px;font-size:.91rem;font-weight:750;transition:transform .2s,background .2s}
.home-v4 .h4-button:hover{transform:translateY(-2px)}
.home-v4 .h4-button-solid{background:#067c7e;color:#fff}
.home-v4 .h4-button-solid:hover{background:#045c66}
.home-v4 .h4-button-outline{background:transparent;border:1px solid #bed5d8;color:#184357}
.home-v4 .h4-button-outline:hover{background:#e8f4f3}
.home-v4 .h4-hero-proof{margin-top:32px;display:flex;align-items:center;flex-wrap:wrap;gap:13px;color:#62808a;font-size:.74rem;font-weight:600}
.home-v4 .h4-hero-proof i{width:4px;height:4px;background:#9db8bb;border-radius:50%}
.home-v4 .h4-hero-media{position:relative;isolation:isolate;min-height:500px;margin:0;background:#c7d6d9}
.home-v4 .h4-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,27,37,.03),transparent 35%),linear-gradient(0deg,rgba(4,28,37,.18),transparent 38%);pointer-events:none}
.home-v4 .h4-hero-media>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:49% 52%;filter:saturate(.92) contrast(1.02)}
.home-v4 .h4-hero-media figcaption{position:absolute;right:17px;bottom:12px;color:rgba(255,255,255,.93);font-size:.68rem;z-index:2;text-shadow:0 1px 8px #051c2b}
.home-v4 .h4-hero-floating{position:absolute;bottom:36px;left:28px;right:28px;z-index:2;max-width:350px;display:flex;gap:14px;align-items:center;background:rgba(255,255,255,.94);padding:14px 18px;border:1px solid rgba(255,255,255,.7);border-radius:12px;box-shadow:0 20px 50px rgba(7,29,40,.13);backdrop-filter:blur(10px)}
.home-v4 .h4-float-icon{font-size:2rem;color:#04888e;line-height:1}
.home-v4 .h4-hero-floating small{display:block;font-size:.63rem;letter-spacing:.17em;color:#168287;font-weight:800;margin-bottom:3px}
.home-v4 .h4-hero-floating strong{font-size:.97rem;font-weight:750;color:#163e50}
.home-v4 .h4-impact-strip{background:#fff;border-bottom:1px solid #e7eff0}
.home-v4 .h4-impact-inner{display:grid;grid-template-columns:repeat(3,1fr);padding:20px 0}
.home-v4 .h4-impact-item{display:flex;gap:18px;align-items:center;padding:6px 30px;border-right:1px solid #e3edef}
.home-v4 .h4-impact-item:first-child{padding-left:0}
.home-v4 .h4-impact-item:last-child{border:0;padding-right:0}
.home-v4 .h4-impact-num{font-size:1.65rem;font-weight:800;color:#b4d9d8;letter-spacing:-.06em}
.home-v4 .h4-impact-item strong{display:block;font-size:.91rem;line-height:1.2;color:#133646}
.home-v4 .h4-impact-item small{display:block;margin-top:5px;color:#70818c;font-size:.78rem}
/* Sobre */
.home-v4 .h4-about{background:white}
.home-v4 .h4-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:start;margin-bottom:39px}
.home-v4 .h4-about-head h2{margin:0;max-width:600px}
.home-v4 .h4-about-content{padding-top:37px}
.home-v4 .h4-about-content p{font-size:1.02rem;line-height:1.86;margin-bottom:21px;max-width:620px}
.home-v4 .h4-capabilities{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.home-v4 .h4-capability{background:#f7fafa;border:1px solid #e8eff0;border-radius:13px;padding:30px 27px;min-height:215px;transition:border-color .25s,background .25s}
.home-v4 .h4-capability:hover{background:#f0f8f7;border-color:#d2e4e5}
.home-v4 .h4-capability-symbol{display:flex;align-items:center;justify-content:center;background:#e5f4f1;border-radius:13px;width:46px;height:46px;color:#07838b;margin-bottom:22px}
.home-v4 .h4-capability-symbol svg{width:25px;height:25px}
.home-v4 .h4-capability h3{font-size:.98rem;margin:0 0 8px;letter-spacing:-.02em}
.home-v4 .h4-capability p{font-size:.84rem;line-height:1.65;margin:0;color:#607580}
/* Projetos */
.home-v4 .h4-projects{background:#f2f7f7;border-top:1px solid #ebf1f2;border-bottom:1px solid #e6edef}
.home-v4 .h4-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:31px}
.home-v4 .h4-section-head h2{margin:0 0 12px;max-width:690px}
.home-v4 .h4-section-head p{color:#677983;font-size:.95rem;margin:0}
.home-v4 .h4-section-head>.h4-inline-link{white-space:nowrap;margin-bottom:10px}
.home-v4 .h4-project-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-v4 .h4-project-card{min-width:0;border-radius:13px;background:#fff;border:1px solid #e3ecee;overflow:hidden;box-shadow:0 12px 28px rgba(21,54,60,.035);transition:transform .23s,box-shadow .23s}
.home-v4 .h4-project-card:hover{transform:translateY(-5px);box-shadow:0 22px 38px rgba(15,57,65,.09)}
.home-v4 .h4-project-visual{height:232px;position:relative;display:block;background:#d8e7e7;overflow:hidden}
.home-v4 .h4-project-visual img{width:100%;height:100%;object-fit:cover;transition:transform .4s;filter:saturate(.88)}
.home-v4 .h4-project-card:hover .h4-project-visual img{transform:scale(1.04)}
.home-v4 .h4-photo-note{position:absolute;right:12px;bottom:10px;color:white;background:rgba(5,32,42,.65);font-size:.61rem;letter-spacing:.03em;padding:3px 8px;border-radius:5px}
.home-v4 .h4-project-description{padding:27px 26px 30px;position:relative;min-height:221px;padding-right:72px}
.home-v4 .h4-type{display:block;font-size:.67rem;letter-spacing:.15em;font-weight:800;color:#00868a;margin-bottom:14px}
.home-v4 .h4-project-description h3{font-size:1.28rem;letter-spacing:-.04em;line-height:1.28;margin:0 0 12px}
.home-v4 .h4-project-description h3 span{font-weight:500;font-size:.96rem}
.home-v4 .h4-project-description p{font-size:.86rem;line-height:1.62;color:#5c7180;margin:0}
.home-v4 .h4-card-arrow{position:absolute;right:24px;bottom:28px;width:41px;height:41px;display:flex;align-items:center;justify-content:center;border:1px solid #cadfe1;color:#057c83;border-radius:50%;font-size:1.25rem;transition:background .2s,color .2s}
.home-v4 .h4-card-arrow:hover{background:#087b82;color:#fff}
/* Acadêmico */
.home-v4 .h4-academic{background:#fff}
.home-v4 .h4-academic-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px;min-height:430px}
.home-v4 .h4-workshop{border-radius:15px;position:relative;overflow:hidden;background:#19384a;margin:0;min-height:430px}
.home-v4 .h4-workshop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;filter:saturate(.87)}
.home-v4 .h4-workshop:after{position:absolute;content:"";inset:0;background:linear-gradient(90deg,rgba(7,34,53,.96) 0%,rgba(7,37,54,.6) 65%,rgba(8,42,50,.28));pointer-events:none}
.home-v4 .h4-workshop-overlay{position:relative;z-index:2;height:100%;min-height:430px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:35px}
.home-v4 .h4-workshop-top{font-weight:800;font-size:.68rem;letter-spacing:.18em;color:#90dcd9}
.home-v4 .h4-workshop-date{font-weight:650;color:#bbdfde;font-size:.9rem;margin:0 0 12px}
.home-v4 .h4-workshop h3{color:#fff;font-size:clamp(1.7rem,2.4vw,2.6rem);line-height:1.14;max-width:450px;margin:0 0 21px;letter-spacing:-.055em}
.home-v4 .h4-workshop-link{color:#fff;display:inline-flex;gap:16px;align-items:center;border-bottom:1px solid #9fcece;padding-bottom:5px;font-size:.88rem;font-weight:700}
.home-v4 .h4-workshop-caption{z-index:2;position:absolute;right:16px;bottom:11px;font-size:.66rem;color:#cfe4e4}
.home-v4 .h4-academic-links{display:flex;flex-direction:column;gap:14px;min-width:0}
.home-v4 .h4-resource{flex:1;background:#f8fbfb;border:1px solid #e6eef0;border-radius:13px;padding:22px;display:flex;align-items:center;gap:22px;min-height:130px;transition:background .2s,border-color .2s}
.home-v4 .h4-resource:hover{background:#eff8f6;border-color:#bddcdd}
.home-v4 .h4-resource-icon{flex:none;display:flex;justify-content:center;align-items:center;width:70px;height:70px;background:#e1f2f0;color:#08848a;border-radius:12px}
.home-v4 .h4-resource-icon svg{width:29px;height:29px}
.home-v4 .h4-resource-thumbnail{width:70px;height:70px;border-radius:12px;overflow:hidden;flex:none}
.home-v4 .h4-resource-thumbnail img{width:100%;height:100%;object-fit:cover}
.home-v4 .h4-resource-body{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.home-v4 .h4-resource-body small{font-weight:800;letter-spacing:.11em;font-size:.62rem;color:#0b8b91}
.home-v4 .h4-resource-body strong{font-size:1.04rem;color:#173a4e}
.home-v4 .h4-resource-body>span{font-size:.81rem;color:#697c88;line-height:1.46}
.home-v4 .h4-resource-arrow{font-size:1.2rem;color:#08868e;align-self:center}
/* CTA */
.home-v4 .h4-outro{background:#0c3547;position:relative;overflow:hidden}
.home-v4 .h4-outro:before{content:"";position:absolute;width:470px;height:470px;right:5%;top:-180px;border-radius:50%;background:radial-gradient(circle,rgba(32,177,174,.18),transparent 70%)}
.home-v4 .h4-outro-inner{min-height:255px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:50px;position:relative}
.home-v4 .h4-outro .h4-label{color:#79d7d1;margin-bottom:14px}
.home-v4 .h4-outro h2{color:white;font-size:clamp(1.8rem,2.9vw,3.1rem);line-height:1.17;max-width:700px;margin:0 0 12px;letter-spacing:-.055em}
.home-v4 .h4-outro p{color:#c4d8dd;margin:0;font-size:.94rem}
.home-v4 .h4-button-white{background:#fff;color:#0a3a4e;white-space:nowrap}
.home-v4 .h4-button-white:hover{background:#e5f5f1}
@media(max-width:1200px){
 .home-v4 .h4-hero-copy{padding-left:34px;padding-right:30px}
 .home-v4 .h4-hero h1{font-size:clamp(2.6rem,4.4vw,4.2rem)}
 .home-v4 .h4-hero-stage{min-height:500px}
 .home-v4 .h4-hero-media{min-height:500px}
 .home-v4 .h4-capability{padding:24px 20px}
 .home-v4 .h4-project-description{padding:23px 65px 27px 23px}
}
@media(max-width:850px){
 .home-v4 .h4-hero-stage{grid-template-columns:1fr 1fr;min-height:460px}
 .home-v4 .h4-hero-copy{padding:36px 22px 34px}
 .home-v4 .h4-hero h1{font-size:clamp(2.15rem,5vw,3.1rem)}
 .home-v4 .h4-hero-media{min-height:440px}
 .home-v4 .h4-hero-floating{left:18px;right:18px;bottom:28px}
 .home-v4 .h4-hero-proof{margin-top:18px}
 .home-v4 .h4-impact-item{padding:8px 17px;gap:10px}
 .home-v4 .h4-impact-num{font-size:1.2rem}
 .home-v4 .h4-capabilities{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-v4 .h4-project-cards{grid-template-columns:1fr 1fr}
 .home-v4 .h4-project-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
 .home-v4 .h4-project-card:last-child .h4-project-visual{height:100%;min-height:220px}
 .home-v4 .h4-academic-grid{grid-template-columns:1fr}
 .home-v4 .h4-workshop{min-height:380px}
 .home-v4 .h4-workshop-overlay{min-height:380px}
}
@media(max-width:620px){
 .home-v4 .h4-section{padding:65px 0}
 .home-v4 .h4-hero-stage{display:flex;flex-direction:column}
 .home-v4 .h4-hero-copy{padding:34px 18px 24px}
 .home-v4 .h4-hero h1{font-size:clamp(2.35rem,9.6vw,3.05rem);max-width:520px;margin:18px 0 18px}
 .home-v4 .h4-eyebrow{font-size:.59rem}
 .home-v4 .h4-hero-copy>p{font-size:.98rem}
 .home-v4 .h4-hero-proof{font-size:.67rem;gap:7px 10px;margin-top:16px}
 .home-v4 .h4-hero-media{min-height:250px;height:250px;width:100%}
 .home-v4 .h4-hero-floating{padding:10px 13px;bottom:18px;left:16px;right:16px;max-width:300px}
 .home-v4 .h4-hero-floating strong{font-size:.85rem}
 .home-v4 .h4-float-icon{font-size:1.55rem}
 .home-v4 .h4-impact-inner{grid-template-columns:1fr;padding:14px 0}
 .home-v4 .h4-impact-item,.home-v4 .h4-impact-item:first-child,.home-v4 .h4-impact-item:last-child{padding:13px 0;border:0;border-bottom:1px solid #e9f0f0}
 .home-v4 .h4-impact-item:last-child{border:0}
 .home-v4 .h4-impact-num{font-size:1.3rem;width:40px}
 .home-v4 .h4-about-grid{grid-template-columns:1fr;gap:10px;margin-bottom:30px}
 .home-v4 .h4-about-content{padding-top:0}
 .home-v4 .h4-about-content p{font-size:.95rem}
 .home-v4 .h4-capabilities{grid-template-columns:1fr 1fr;gap:10px}
 .home-v4 .h4-capability{padding:20px 15px;min-height:210px}
 .home-v4 .h4-capability h3{font-size:.93rem}
 .home-v4 .h4-capability p{font-size:.8rem}
 .home-v4 .h4-section-head{display:block;margin-bottom:25px}
 .home-v4 .h4-section-head>.h4-inline-link{margin-top:16px}
 .home-v4 .h4-project-cards{display:grid;grid-template-columns:1fr;gap:14px}
 .home-v4 .h4-project-card:last-child{grid-column:auto;display:block}
 .home-v4 .h4-project-visual,.home-v4 .h4-project-card:last-child .h4-project-visual{height:210px;min-height:0}
 .home-v4 .h4-project-description{min-height:202px}
 .home-v4 .h4-workshop{min-height:360px}
 .home-v4 .h4-workshop-overlay{min-height:360px;padding:25px}
 .home-v4 .h4-workshop-top{font-size:.61rem}
 .home-v4 .h4-resource{padding:16px;gap:14px}
 .home-v4 .h4-resource-icon,.home-v4 .h4-resource-thumbnail{width:54px;height:54px}
 .home-v4 .h4-resource-body strong{font-size:.93rem}
 .home-v4 .h4-resource-body>span{font-size:.75rem}
 .home-v4 .h4-resource-arrow{font-size:1rem}
 .home-v4 .h4-outro-inner{display:block;min-height:0}
 .home-v4 .h4-outro .h4-button{margin-top:25px}
}
@media(prefers-reduced-motion:reduce){.home-v4 *{transition:none!important}}
