/* Home: return the hero to a quieter scale and keep the path to the work immediate. */
.home-hero--single .home-hero-copy{top:clamp(200px,31vh,255px);bottom:auto;width:min(580px,calc(100% - (2 * var(--page))));transform:none}
.home-hero--single .home-hero-copy h1{max-width:570px;font-size:clamp(32px,3vw,48px);line-height:1.1;letter-spacing:-.03em}
.home-hero--single .home-hero-actions{gap:12px 30px;margin-top:clamp(27px,3vw,40px)}
.home-hero--single .home-hero-actions a,.home-hero--single .home-hero-primary,.home-hero--single .home-hero-secondary{min-width:0;min-height:0;justify-content:flex-start;padding:7px 0 9px;border:0;border-bottom:1px solid rgba(255,255,255,.55);border-radius:0;background:transparent;color:#fff;backdrop-filter:none}
.home-hero--single .home-hero-actions a:hover,.home-hero--single .home-hero-actions a:focus-visible{border-bottom-color:#fff;background:transparent;color:#fff;transform:translateY(-2px)}
.home-paths-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.home-paths-head{display:grid;grid-template-columns:minmax(190px,.55fr) minmax(280px,1.15fr);gap:clamp(38px,8vw,130px);align-items:end;margin-bottom:clamp(42px,5vw,72px);padding-bottom:24px;border-bottom:1px solid rgba(18,17,17,.18)}
.home-paths-head h2{max-width:none;color:var(--blood);font-size:clamp(28px,2.7vw,43px);line-height:1.05}
.home-paths-head p{max-width:640px;margin:0;color:#393432;font-size:clamp(13px,1.15vw,17px);font-weight:400;line-height:1.65;letter-spacing:0;text-transform:none}
.home-path-card,.home-path-card>a{height:100%}
.home-path-card figure,.home-path-clinics figure{height:clamp(390px,37vw,590px);border-radius:5px;transition:border-radius .38s var(--ease-editorial)}
.home-path-copy{grid-template-rows:auto auto 1fr auto;height:100%}
.home-path-copy strong{align-self:end}
.home-path-card a:hover figure,.home-path-card a:focus-visible figure{border-radius:0}
.home-closing-quote{position:relative;height:clamp(520px,70svh,860px);margin:0;overflow:hidden;background:#1f1d1c;color:#fff}
.hero-slide>picture,.home-path-card figure>picture,.home-closing-quote>picture{display:contents}
.home-closing-quote img{width:100%;height:100%;object-fit:cover;object-position:center 58%;filter:grayscale(1);transform:scale(1.004)}
.home-closing-quote-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,11,10,.05),rgba(13,11,10,.62))}
.home-closing-quote blockquote{position:absolute;right:var(--page);bottom:clamp(58px,8vw,120px);left:var(--page);max-width:900px;margin:0}
.home-closing-quote p{margin:0;font-size:clamp(32px,3vw,48px);font-weight:400;line-height:1.1;letter-spacing:-.03em;text-wrap:balance}
.home-closing-quote cite{display:block;margin-top:24px;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.14em;text-transform:uppercase}

/* Office introduction: principles become part of the opening argument. */
.office-editorial-hero>img{object-position:center}
.office-editorial-hero-copy h1{max-width:540px;font-size:clamp(34px,3.25vw,50px);line-height:1.07}
.office-hero-cta{min-height:0;padding:8px 0 10px;border:0;border-bottom:1px solid rgba(102,0,0,.45);border-radius:0;background:transparent;font-size:13px}
.office-hero-cta:hover,.office-hero-cta:focus-visible{border-bottom-color:#990000;background:transparent;color:#990000;transform:translateY(-2px)}
.office-introduction{align-items:start}
.office-introduction-copy{grid-column:2/8}
.office-introduction-copy>.office-principles-editorial{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:clamp(38px,4vw,56px);padding:0;background:transparent}
.office-introduction-copy>.office-principles-editorial article,.office-introduction-copy>.office-principles-editorial article:first-child,.office-introduction-copy>.office-principles-editorial article:last-child{min-height:172px;padding:16px 15px 18px;border:1px solid rgba(18,17,17,.13);border-radius:5px;background:rgba(239,231,224,.42)}
.office-introduction-copy>.office-principles-editorial span{font-size:8px;font-weight:600}
.office-introduction-copy>.office-principles-editorial h3{margin:18px 0 10px;font-size:17px}
.office-introduction-copy>.office-principles-editorial p{font-size:10.5px;line-height:1.55}
.office-introduction-image{grid-column:9/13;align-self:start}
.office-introduction-image img{height:min(64svh,720px);min-height:0;object-position:center 50%;transform:translateX(8%) scale(1.18)}
.office-introduction-image:hover img{transform:translateX(8%) scale(1.19)}
.office-partner-portrait--light{margin-top:0}

/* Method: service-like rows with a clear scan pattern and restrained interaction. */
.office-method{--office-method-height:min(75svh,790px);position:relative;z-index:2;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:clamp(55px,8vw,130px);align-items:stretch;padding:clamp(100px,11vw,165px) var(--page);background:var(--paper);color:var(--ink)}
.office-method-image{height:min(75svh,790px);min-height:0;border-radius:5px}
.office-method-image img{filter:grayscale(1) contrast(1.02)}
.office-method-content{height:var(--office-method-height);justify-content:flex-start;padding:0}
.office-method-head .section-index{margin-bottom:clamp(34px,4vw,54px);color:var(--blood);font-weight:600}
.office-method-head h2{max-width:650px;color:var(--blood)}
.office-method-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));flex:1;margin-top:clamp(28px,3vw,42px);border-color:var(--line)}
.office-method-list li{grid-template-columns:42px minmax(0,1fr);gap:20px;min-height:0;padding:clamp(13px,1.4vw,20px) 0;border-color:var(--line);transition:padding .35s var(--ease-editorial),background .35s ease,color .35s ease}
.office-method-list li>span{padding-top:4px;color:var(--blood);font-size:9px;font-weight:600}
.office-method-list li>div{display:grid;grid-template-columns:minmax(150px,.58fr) minmax(220px,1fr);gap:clamp(28px,5vw,80px);align-items:start}
.office-method-list h3{font-size:17px;font-weight:600}
.office-method-list p{max-width:520px;margin:0;color:#4b4745;font-size:13px;font-weight:400;line-height:1.68}
.office-method-list li:hover{padding-right:0;padding-left:0;background:#efe7e0}

/* Office expertise: reuse the exact editorial card system from the Home. */
.office-expertise{position:relative;z-index:1}
.office-expertise-head{display:block;margin-bottom:clamp(52px,6vw,84px)}
.office-expertise-head h2{max-width:760px;text-align:left}
.office-expertise-links{width:100%;max-width:none}

@media(max-width:1000px){
  .office-introduction-copy{grid-column:1/6}.office-introduction-image{grid-column:6/9}
  .office-introduction-copy>.office-principles-editorial{grid-template-columns:1fr}.office-introduction-copy>.office-principles-editorial article,.office-introduction-copy>.office-principles-editorial article:first-child,.office-introduction-copy>.office-principles-editorial article:last-child{min-height:142px}
  .office-method{grid-template-columns:.78fr 1.22fr;gap:45px}.office-method-list li>div{grid-template-columns:1fr;gap:10px}
}

/* Acabamento editorial final */
.office-editorial-hero-copy h1,.office-introduction-copy h2,.office-partners-copy h2,.office-method-head h2,.office-expertise-head h2,.office-contact-cta h2{font-size:var(--castello-display)}
.office-hero-cta{color:var(--ink);font-weight:400}
.office-page .site-header,.office-page .site-header.is-solid{box-shadow:none!important;text-shadow:none!important}
.office-introduction-copy>.office-principles-editorial{gap:clamp(18px,2vw,30px)}
.office-introduction-copy>.office-principles-editorial article,.office-introduction-copy>.office-principles-editorial article:first-child,.office-introduction-copy>.office-principles-editorial article:last-child{min-height:150px;padding:18px 0 0;border:0;border-top:1px solid rgba(18,17,17,.24);border-radius:0;background:transparent}
.office-introduction-copy>.office-principles-editorial h3{margin:22px 0 10px}

@media(hover:hover) and (pointer:fine){
  .home-path-card figure:hover img{filter:grayscale(1) contrast(.94) brightness(.78);transform:scale(1.022)}
  .home-path-card figure:hover .project-hover{opacity:1;transform:none}
  .home-path-card a:hover:not(:has(figure:hover)) img{filter:saturate(.94) contrast(.99);transform:scale(1.008)}
  .home-path-card a:hover:not(:has(figure:hover)) .project-hover{opacity:0;transform:translateY(8px)}
  .home-path-card a:hover:not(:has(figure:hover)) .home-path-copy>span{opacity:1}
  .home-path-card a:hover:not(:has(figure:hover)) .home-path-copy>strong{border-color:rgba(18,17,17,.35);color:var(--ink)}
}

@media(max-width:760px){
  .office-editorial-hero-copy h1,.office-introduction-copy h2,.office-partners-copy h2,.office-method-head h2,.office-expertise-head h2,.office-contact-cta h2{font-size:var(--castello-display-mobile)}
  .office-introduction-copy>.office-principles-editorial article,.office-introduction-copy>.office-principles-editorial article:first-child,.office-introduction-copy>.office-principles-editorial article:last-child{min-height:0;padding:20px 0 24px}
}

.home-hero--single .home-hero-copy h1,.home-paths-head h2,.home-vision-copy h2,.home-closing-quote p{font-size:var(--castello-display)}
@media(max-width:760px){.home-hero--single .home-hero-copy h1,.home-paths-head h2,.home-vision-copy h2,.home-closing-quote p{font-size:var(--castello-display-mobile)}}

/* Setembro 2026 — ajustes cromáticos e de interação no site atual. */
.home-page .site-header:not(.is-solid){color:#F6F2EA}
.home-page .site-header:not(.is-solid) .site-nav{color:#F6F2EA;font-weight:600}
.home-page .site-header .site-nav>a:after,.home-page .site-header .nav-projects-group>a:after{display:block!important;background:currentColor}
.home-page .site-header .nav-projects-menu a:after{display:none!important}
.home-page .home-hero .home-hero-copy{top:clamp(200px,31vh,255px);bottom:auto;width:min(580px,calc(100% - (2 * var(--page))));transform:none}
.home-page .home-hero .home-hero-copy h1{max-width:570px;font-size:var(--castello-display);line-height:1.1;letter-spacing:-.03em}
.home-page .home-hero-kicker{color:#FCF7F6}
.home-page .home-hero-actions a,.home-page .home-hero-primary,.home-page .home-hero-secondary{min-width:0;min-height:0;justify-content:flex-start;padding:7px 0 9px;border:0;border-bottom:1px solid #8A6845;border-radius:0;background:transparent;color:#fff;backdrop-filter:none}
.home-page .home-hero-actions a:hover,.home-page .home-hero-actions a:focus-visible{border-bottom-color:#8A6845;background:transparent;color:#fff;transform:translateY(-2px)}
.home-page .hero-slide--fl img{object-position:center 54%}
.home-casacor-banner{background:#8A6845;color:#F6F2EA}
.home-casacor-banner:hover,.home-casacor-banner:focus-visible{background:#7b5d3e;color:#F6F2EA}
.home-path-copy>span{font-weight:600}
.home-path-card figure>.project-hover,.project-grid .project-card figure>.project-hover{inset:auto;top:50%;left:50%;display:flex;width:min(66%,220px);aspect-ratio:1;align-items:flex-start;justify-content:center;padding:clamp(20px,2vw,30px);background:rgba(246,242,234,.93);color:#252321;text-align:left;opacity:0;transform:translate(-50%,-46%) scale(.97)}
.home-path-card figure>.project-hover strong,.project-grid .project-card figure>.project-hover strong{color:#252321;text-align:left}
.home-path-card figure>.project-hover i,.project-grid .project-card figure>.project-hover i{background:#8A6845;transform-origin:left center}
.home-path-card figure:hover>.project-hover,.home-path-card figure:focus-within>.project-hover,.project-grid .project-card:hover figure>.project-hover,.project-grid .project-card:focus-within figure>.project-hover{opacity:1;transform:translate(-50%,-50%) scale(1)!important}
.home-path-copy>strong{border-bottom-color:transparent!important;color:var(--ink)!important}
.home-path-copy>strong:hover,.home-path-card .project-link:focus-visible .home-path-copy>strong{border-bottom-color:#7F2823!important;color:#660000!important;font-weight:600}

.office-page .site-header,.office-page .site-header.is-solid{color:#252321;box-shadow:0 12px 36px rgba(18,17,17,.045)!important;text-shadow:none!important}
.office-page .site-header .site-nav{color:#252321}
.office-page .site-header .brand-logo-light{filter:none}
.office-editorial-hero-copy h1{color:#660000}
.office-hero-subtitle{color:#252321!important;letter-spacing:.02px!important}
.office-hero-cta,.office-hero-cta--primary,.office-hero-cta--secondary{padding:7px 0 9px;border-bottom-color:#8A6845;color:#252321;font-size:12px;font-weight:400}
.office-hero-cta:hover,.office-hero-cta:focus-visible{border-bottom-color:#8A6845;background:transparent;color:#8A6845;font-weight:600}
.office-introduction-image figcaption,.office-partner-portrait figcaption,.office-partners-copy .section-index{font-weight:600}
.office-introduction-copy>.office-principles-editorial span{color:var(--blood);font-size:11.5px;font-weight:600}
.office-introduction-copy>.office-principles-editorial p{color:#252321;font-size:14px;line-height:1.68}
.office-method-lead{color:#252321;font-size:14px}
.office-method-list li>span{font-size:12px}
.office-method-list h3{color:var(--blood);font-weight:400}
.office-method-list h3 strong{font-weight:600}
.office-method-list p{color:#252321;font-size:14px}
.office-lead-section{background:#8A6845;color:#FCF7F6}
.office-lead-section .lead-intro h2,.office-lead-section .lead-intro>p:not(.section-index),.office-lead-section .lead-whatsapp,.office-lead-section .lead-field>span,.office-lead-section .lead-field input,.office-lead-section .lead-field select,.office-lead-section .lead-field textarea,.office-lead-section .lead-consent,.office-lead-section .lead-submit{color:#FCF7F6}
.office-lead-section .lead-field,.office-lead-section .lead-whatsapp,.office-lead-section .lead-submit{border-bottom-color:rgba(252,247,246,.58)}
.office-lead-section .lead-field select{background-image:linear-gradient(45deg,transparent 50%,#FCF7F6 50%),linear-gradient(135deg,#FCF7F6 50%,transparent 50%)}

@media(max-width:1050px){
  .home-page .site-header .site-nav{color:var(--ink);font-weight:500}
  .home-page .site-header .site-nav>a:after,.home-page .site-header .nav-projects-group>a:after{display:none!important}
}
@media(max-width:760px){
  .home-page .home-hero .home-hero-copy{top:auto;right:19px;bottom:166px;left:19px;width:auto}
  .home-page .home-hero .home-hero-copy h1{font-size:var(--castello-display-mobile);line-height:1.08}
  .home-page .home-hero-actions{display:flex;gap:10px 24px;margin-top:25px}
  .home-page .home-hero-actions a,.home-page .home-hero-primary,.home-page .home-hero-secondary{padding:5px 0 8px;font-size:10px}
  .home-page .hero-slide--fl img{object-position:58% center}
  .office-introduction-copy>.office-principles-editorial p,.office-method-list p,.office-method-lead{font-size:13px}
}

/* Setembro 2026 — nova narrativa da home e do escritório */
.home-hero--single .home-hero-kicker{margin-bottom:18px;color:rgba(255,255,255,.9);font-weight:600}
.home-hero--single .home-hero-lead{max-width:540px;margin-top:22px;color:rgba(255,255,255,.92)}
.home-hero--single .home-hero-actions{margin-top:26px}
.office-editorial-hero-copy{width:min(38vw,520px)}
.office-hero-subtitle{max-width:430px!important;margin:18px 0 0!important;color:rgba(102,0,0,.82)!important;font-size:13px!important;font-weight:400!important;line-height:1.55!important;letter-spacing:0!important;text-transform:none!important}
.office-hero-actions{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;margin-top:24px}
.office-hero-actions .office-hero-cta{margin-top:0}
.office-hero-cta--primary{color:var(--blood);font-weight:500}
.office-hero-cta--secondary{border-bottom-color:rgba(18,17,17,.28)}
.office-method-lead{max-width:610px;margin:22px 0 0;color:#4b4745;font-size:13px;line-height:1.7}
.office-principles-editorial h3{max-width:290px}
@media(max-width:760px){
  .home-hero--single .home-hero-copy{bottom:150px}
  .home-hero--single .home-hero-kicker{margin-bottom:14px;font-size:8px}
  .home-hero--single .home-hero-lead{display:none}
  .office-hero-subtitle{max-width:300px!important;margin-top:14px!important;font-size:11px!important}
  .office-hero-actions{align-items:flex-start;margin-top:20px}
  .office-method-lead{margin-top:17px;font-size:12px}
}

/* Fotografias editoriais: cantos discretos que se tornam retos no hover. */
.office-introduction-image,.office-partner-portrait,.office-method-image{overflow:hidden;border-radius:5px;transition:border-radius .38s var(--ease-editorial)}
.office-introduction-image:hover,.office-partner-portrait:hover,.office-method-image:hover{border-radius:0}

.home-hero--single .home-hero-copy h1,.home-paths-head h2,.home-vision-copy h2,.home-closing-quote p{font-size:var(--castello-display)}
@media(max-width:760px){.home-hero--single .home-hero-copy h1,.home-paths-head h2,.home-vision-copy h2,.home-closing-quote p{font-size:var(--castello-display-mobile)}}

@media(max-width:760px){
  .home-hero--single .home-hero-copy{top:auto;right:19px;bottom:166px;left:19px;width:auto}
  .home-hero--single .home-hero-copy h1{font-size:clamp(29px,8.7vw,37px);line-height:1.08}
  .home-hero--single .home-hero-actions{display:flex;gap:10px 24px;margin-top:25px}
  .home-hero--single .home-hero-actions a,.home-hero--single .home-hero-primary,.home-hero--single .home-hero-secondary{padding:5px 0 8px;font-size:10px}
  .home-path-card figure,.home-path-clinics figure{height:auto;aspect-ratio:4/5;border-radius:4px}
  .home-paths-head{display:block;margin-bottom:44px;padding-bottom:20px}.home-paths-head h2{font-size:32px}.home-paths-head p{margin-top:18px;font-size:13px}
  .home-paths-grid{grid-template-columns:1fr;align-items:start}
  .home-closing-quote{height:72svh}.home-closing-quote blockquote{right:19px;bottom:58px;left:19px}.home-closing-quote p{font-size:clamp(29px,8.7vw,37px);line-height:1.08}.home-closing-quote cite{margin-top:18px}
  .office-editorial-hero-copy h1{font-size:33px}.office-hero-cta{margin-top:25px;padding:6px 0 8px;background:transparent;backdrop-filter:none}
  .office-editorial-hero>img{object-position:50% center}
  .office-introduction{grid-template-columns:1fr;grid-template-rows:auto;padding-top:84px}
  .office-introduction-copy,.office-introduction-image{grid-column:auto;grid-row:auto}
  .office-introduction-copy>.office-principles-editorial{grid-template-columns:1fr;gap:9px;margin-top:42px}
  .office-introduction-copy>.office-principles-editorial article,.office-introduction-copy>.office-principles-editorial article:first-child,.office-introduction-copy>.office-principles-editorial article:last-child{min-height:146px;padding:18px 19px 20px}
  .office-introduction-image{margin-top:54px}.office-introduction-image img{height:auto;min-height:0;aspect-ratio:2/3}
  .office-partner-portrait--light{margin-top:0}
  .office-method{grid-template-columns:1fr;gap:54px;padding:82px 19px 96px}.office-method-image{height:58svh}.office-method-content{height:auto;padding:0}
  .office-method-list{display:block;margin-top:42px}.office-method-list li{grid-template-columns:32px 1fr;gap:15px;min-height:0;padding:23px 0}.office-method-list li>div{display:block}.office-method-list p{margin-top:11px;font-size:12px}.office-method-list li:hover{padding-right:0;padding-left:0}
  .office-expertise{padding:88px 19px 100px}.office-expertise-head{margin-bottom:48px}
}

/* Última camada: mantém o acabamento acima das regras responsivas históricas. */
.office-editorial-hero-copy h1,.office-introduction-copy h2,.office-partners-copy h2,.office-method-head h2,.office-expertise-head h2,.office-contact-cta h2{font-size:var(--castello-display)}
.office-hero-cta{color:var(--ink);font-weight:400}
.office-page .site-header,.office-page .site-header.is-solid{box-shadow:none!important;text-shadow:none!important}
.office-introduction-copy>.office-principles-editorial article,.office-introduction-copy>.office-principles-editorial article:first-child,.office-introduction-copy>.office-principles-editorial article:last-child{min-height:150px;padding:18px 0 0;border:0;border-top:1px solid rgba(18,17,17,.24);border-radius:0;background:transparent}

@media(max-width:760px){
  .office-editorial-hero-copy h1,.office-introduction-copy h2,.office-partners-copy h2,.office-method-head h2,.office-expertise-head h2,.office-contact-cta h2{font-size:var(--castello-display-mobile)}
  .office-introduction-copy>.office-principles-editorial article,.office-introduction-copy>.office-principles-editorial article:first-child,.office-introduction-copy>.office-principles-editorial article:last-child{min-height:0;padding:20px 0 24px}
}

.home-hero--single .home-hero-copy h1,.home-paths-head h2,.home-vision-copy h2,.home-closing-quote p{font-size:var(--castello-display)}
@media(max-width:760px){.home-hero--single .home-hero-copy h1,.home-paths-head h2,.home-vision-copy h2,.home-closing-quote p{font-size:var(--castello-display-mobile)}}

/* Mantém estes acabamentos acima das camadas históricas do Escritório. */
.office-page .site-header,.office-page .site-header.is-solid{box-shadow:0 12px 34px rgba(18,17,17,.045)!important}
.office-page .office-hero-subtitle{color:#252321!important;letter-spacing:0!important}
.office-page .office-hero-cta,.office-page .office-hero-cta--primary,.office-page .office-hero-cta--secondary{border-bottom-color:#8A6845;color:#252321;font-size:12px;font-weight:400}
.office-page .office-hero-cta:hover,.office-page .office-hero-cta:focus-visible{border-bottom-color:#8A6845;color:#8A6845;font-weight:600}
.office-page .office-method-lead{color:#252321;font-size:14px}
@media(max-width:760px){.office-page .office-method-lead{font-size:13px}}

/* Setembro 2026 — refinamento cromático e editorial final. */
.home-page .site-header:not(.is-solid) .site-nav>a:hover,
.home-page .site-header:not(.is-solid) .site-nav>a:focus-visible,
.home-page .site-header:not(.is-solid) .nav-projects-group>a:hover,
.home-page .site-header:not(.is-solid) .nav-projects-group>a:focus-visible{color:#8A6845}
.home-page .home-hero-actions a,.home-page .home-hero-primary,.home-page .home-hero-secondary{font-size:13px}
.home-page .slider-controls button,.home-page .slider-controls button.is-active{color:#8A6845}
.home-page .slider-controls button:after{background:#8A6845}
.home-page .hero-slide figcaption,.home-page .hero-slide figcaption strong,.home-page .hero-slide figcaption span{color:#F6F2EA}

.home-casacor-banner{min-height:80px;margin-top:0;padding-top:18px;padding-bottom:18px;scroll-margin-top:80px}
.home-casacor-banner>span{font-weight:500}
.home-casacor-banner>span>strong{font-weight:600}

.home-page .segment-explore{gap:10px}
.home-page .segment-explore i{position:relative;width:44px;height:1px;overflow:hidden;border:0;background:rgba(252,247,246,.42);transform:none;animation:none}
.home-page .segment-explore i:after{content:"";position:absolute;inset:0;background:#8A6845;transform:scaleX(0);transform-origin:left;transition:transform .45s var(--ease-editorial)}
.home-page .segment-explore:hover i:after,.home-page .segment-explore:focus-visible i:after{transform:scaleX(1)}

.home-path-copy>span{color:#8A6845;font-weight:600}
.home-path-copy h3{color:#660000}
.home-path-card figure>.project-hover{background:rgba(37,35,33,.86);color:#FCF7F6}
.home-path-card figure>.project-hover strong{color:#FCF7F6}
.home-path-card figure>.project-hover i{background:#8A6845}

/* Escritório: navegação integrada ao hero e hierarquia da abertura. */
.office-page .site-header,.office-page .site-header.is-solid{box-shadow:none!important;text-shadow:none!important}
.office-page .site-header:not(.is-solid){background:transparent!important}
.office-editorial-hero-copy h1>span{display:block}
.office-editorial-hero-copy h1 .office-hero-title-secondary{margin-top:clamp(10px,1vw,17px)}
.office-page .office-hero-cta,.office-page .office-hero-cta--primary,.office-page .office-hero-cta--secondary{font-weight:600}
.office-introduction-copy>.office-principles-editorial h3{max-width:275px;font-size:clamp(15px,1.2vw,17px);line-height:1.22}
.office-method{padding-top:clamp(84px,8vw,120px);padding-bottom:clamp(64px,6vw,92px)}
.office-method-list li:hover{background:#F7E8E6}
.office-expertise{padding-top:clamp(68px,7vw,104px)}

/* Escritório: contato mais humano, com retrato e formulário no mesmo eixo. */
.office-lead-section{grid-template-columns:minmax(300px,.78fr) minmax(520px,1.22fr);gap:clamp(46px,6vw,96px);align-items:stretch;padding:clamp(80px,8vw,120px) var(--page)}
.office-lead-photo{min-height:760px;margin:0;overflow:hidden;border-radius:5px;background:#443527}
.office-lead-photo img{width:100%;height:100%;object-fit:cover;object-position:center 42%;transition:transform .8s var(--ease-editorial),border-radius .38s var(--ease-editorial)}
.office-lead-photo:hover{border-radius:0}
.office-lead-photo:hover img{transform:scale(1.012)}
.office-lead-panel{display:flex;min-width:0;flex-direction:column;gap:clamp(48px,5vw,72px)}
.office-lead-panel .lead-intro h2{max-width:680px}
.office-lead-panel .lead-intro>p:not(.section-index){max-width:620px;margin-top:24px}
.office-lead-actions{display:flex;flex-wrap:wrap;align-items:center;gap:15px 32px;margin-top:30px}
.office-lead-actions a{display:inline-flex;align-items:center;margin:0;padding:0 0 9px;border-bottom:1px solid rgba(252,247,246,.62);color:#FCF7F6;font-size:14px;font-weight:500;line-height:1.35;transition:color .28s ease,border-color .28s ease,font-weight .28s ease}
.office-lead-actions a:hover,.office-lead-actions a:focus-visible{border-bottom-color:#FCF7F6;color:#FCF7F6;font-weight:600}
.office-lead-panel .lead-whatsapp{margin:0}
#officeLeadForm{scroll-margin-top:100px}

/* Listagem: o nome e a cidade têm o mesmo peso visual no hover. */
#projectGrid .project-hover strong,#projectGrid .project-hover small{color:#FCF7F6;font-size:11px;font-weight:500;line-height:1.4;letter-spacing:.04em;text-transform:none}

@media(max-width:1050px){
  .home-page .site-header .site-nav>a:hover,.home-page .site-header .site-nav>a:focus-visible,.home-page .site-header .nav-projects-group>a:hover,.home-page .site-header .nav-projects-group>a:focus-visible{color:#8A6845}
  .office-lead-section{grid-template-columns:minmax(260px,.68fr) minmax(440px,1.32fr);gap:42px}
}
@media(max-width:760px){
  .home-page .home-hero-actions a,.home-page .home-hero-primary,.home-page .home-hero-secondary{font-size:11px}
  .home-casacor-banner{min-height:80px;margin-top:0;padding:17px 19px;scroll-margin-top:66px}
  .office-editorial-hero-copy{right:19px;left:19px;width:auto}
  .office-editorial-hero-copy h1 .office-hero-title-secondary{margin-top:10px}
  .office-method{padding:82px 19px 72px}
  .office-expertise{padding-top:68px}
  .office-lead-section{grid-template-columns:1fr;gap:50px;padding:74px 19px 90px}
  .office-lead-photo{width:100%;min-height:0;aspect-ratio:4/5}
  .office-lead-photo img{object-position:center 38%}
  .office-lead-panel{gap:48px}
  .office-lead-actions{align-items:flex-start;flex-direction:column;gap:18px}
  .office-lead-actions a{font-size:13px}
}

/* Setembro 2026 — coerência final entre hero, portfólio e formulários. */
.home-page .site-header:not(.is-solid) .site-nav>a:hover,
.home-page .site-header:not(.is-solid) .site-nav>a:focus-visible,
.home-page .site-header:not(.is-solid) .nav-projects-group>a:hover,
.home-page .site-header:not(.is-solid) .nav-projects-group>a:focus-visible{color:#F6F2EA}
.home-page .site-header .site-nav>a:after,
.home-page .site-header .nav-projects-group>a:after{background:#8A6845!important}
.home-page .home-hero-kicker{color:#8A6845!important;font-weight:600}
.home-page .slider-controls button{color:#F6F2EA;font-weight:400}
.home-page .slider-controls button.is-active{color:#F6F2EA;font-weight:600}
.home-page .slider-controls button:after{background:#8A6845}
.home-page .hero-slide figcaption,
.home-page .hero-slide figcaption strong,
.home-page .hero-slide figcaption span{color:#F6F2EA!important;opacity:1}
.home-page .segment-explore i{width:1px;height:44px;background:rgba(252,247,246,.42)}
.home-page .segment-explore i:after{transform:scaleY(0);transform-origin:top}
.home-page .segment-explore:hover i:after,
.home-page .segment-explore:focus-visible i:after{transform:scaleY(1)}

/* O CTA das categorias usa o mesmo desenho e a mesma escala do hero da home. */
.segment-page .segment-hero-actions .segment-button{
  min-height:0;
  justify-content:flex-start;
  padding:7px 0 9px;
  border:0;
  border-bottom:1px solid #8A6845;
  border-radius:0;
  background:transparent;
  color:#fff;
  font-size:13px;
  font-weight:500;
}
.segment-page .segment-hero-actions .segment-button:hover,
.segment-page .segment-hero-actions .segment-button:focus-visible{border-bottom-color:#8A6845;background:transparent;color:#fff;font-weight:600}
.office-page .office-hero-cta,
.office-page .office-hero-cta--primary,
.office-page .office-hero-cta--secondary{font-size:13px}

/* Um único sistema 1–2–1 para a listagem geral e para todas as categorias. */
.project-listing-pattern,
.conversion-page .project-listing-pattern{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:clamp(54px,6.5vw,104px);width:100%}
.project-listing-pattern>.project-card[hidden]{display:none}
.project-listing-pattern .project-hover{background:rgba(12,8,7,.48);color:#FCF7F6}
.project-listing-pattern .project-hover strong{color:#FCF7F6;font-size:clamp(17px,1.5vw,24px);font-weight:500;line-height:1.2;letter-spacing:0;text-transform:none}
.project-listing-pattern .project-hover small{color:#FCF7F6;font-size:11px;font-weight:500;line-height:1.4;letter-spacing:.04em;text-transform:none}
.project-listing-pattern .project-hover i{background:#8A6845}

.office-partners{background:#F6F2EA}
.office-method-list li:hover{background:#F6F2EA}
.office-lead-photo{align-self:stretch;height:100%}
.office-lead-panel{height:100%}

.contact-form-column .lead-field select,
.contact-form-column .lead-field select option{font-size:13px}
.office-lead-panel .lead-field select,
.office-lead-panel .lead-field select option{font-size:13px}

@media(max-width:1050px){
  .home-page .site-header .site-nav>a:hover,
  .home-page .site-header .site-nav>a:focus-visible,
  .home-page .site-header .nav-projects-group>a:hover,
  .home-page .site-header .nav-projects-group>a:focus-visible{color:#F6F2EA}
}
@media(max-width:760px){
  .segment-page .segment-hero-actions .segment-button,
  .office-page .office-hero-cta,
  .office-page .office-hero-cta--primary,
  .office-page .office-hero-cta--secondary{font-size:11px}
  .project-listing-pattern,
  .conversion-page .project-listing-pattern{gap:52px}
  .contact-form-column .lead-field select,
  .contact-form-column .lead-field select option{font-size:12px}
  .office-lead-panel .lead-field select,
  .office-lead-panel .lead-field select option{font-size:12px}
}

/* Setembro 2026 — padronização final da navegação, cards e páginas internas. */
.home-page .hero-slide.is-active figcaption,
.home-page .hero-slide.is-active figcaption strong,
.home-page .hero-slide.is-active figcaption span{
  color:#F6F2EA!important;
  opacity:1!important;
  font-weight:600;
  text-shadow:0 1px 4px rgba(18,17,17,.94),0 0 18px rgba(18,17,17,.72);
}

/* O mesmo indicador vertical e animado acompanha todo link “Explorar”. */
.segment-explore{gap:10px}
.segment-explore i,
.home-page .segment-explore i{
  position:relative;
  width:1px;
  height:44px;
  overflow:hidden;
  border:0;
  background:rgba(252,247,246,.42);
  transform:none;
  animation:none;
}
.segment-explore i:after,
.home-page .segment-explore i:after{
  content:"";
  position:absolute;
  inset:0;
  background:#8A6845;
  opacity:0;
  transform:scaleY(0);
  transform-origin:top;
  animation:castello-explore-fill 2.4s ease-in-out infinite;
}
@keyframes castello-explore-fill{
  0%{opacity:0;transform:translateY(-100%)}
  42%,56%{opacity:1;transform:translateY(0)}
  100%{opacity:0;transform:translateY(100%)}
}

/* Todas as categorias usam exatamente a mesma assinatura cromática. */
.home-path-copy>span{color:#252321!important;font-weight:600}
.office-expertise-links.home-paths-grid{
  width:min(1500px,100%);
  max-width:none;
  margin-right:auto;
  margin-left:auto;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2vw,32px);
}

/* Listagem geral e categorias compartilham o mesmo card da home. */
.project-listing-pattern .project-hover,
#projectGrid.project-listing-pattern .project-hover,
.conversion-page .segment-project-grid.project-listing-pattern .project-hover{
  background:rgba(37,35,33,.86);
  color:#FCF7F6;
}
.project-listing-pattern .project-hover strong{color:#FCF7F6}
.project-listing-pattern .project-hover i{background:#8A6845}
#projectGrid.project-listing-pattern .project-hover strong{
  color:#FCF7F6;
  font-size:clamp(17px,1.5vw,24px);
  font-weight:500;
  line-height:1.2;
  letter-spacing:0;
  text-transform:none;
}
#projectGrid.project-listing-pattern .project-hover small{
  color:#FCF7F6;
  font-size:11px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.04em;
  text-transform:none;
}
.listing-page .projects-page{
  padding-top:clamp(24px,3vw,42px);
  padding-bottom:clamp(68px,7vw,108px);
}

/* O slider entra direto após a galeria, sem o título intermediário. */
.project-related{
  padding-top:clamp(48px,6vw,82px);
  padding-bottom:clamp(76px,8vw,122px);
}
.project-related>header{display:none!important}

/* Foto e formulário terminam rigorosamente no mesmo eixo. */
.office-lead-photo{
  position:relative;
  align-self:stretch;
  height:auto!important;
  min-height:0;
}
.office-lead-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.office-partners{background:#FBF5F3}

@media(prefers-reduced-motion:reduce){
  .segment-explore i:after,
  .home-page .segment-explore i:after{opacity:1;transform:scaleY(1);animation:none}
}

@media(max-width:760px){
  .office-expertise-links.home-paths-grid{grid-template-columns:1fr;gap:42px}
  .listing-page .projects-page{padding-top:24px;padding-bottom:68px}
  .project-related{padding:50px 19px 78px}
  .office-lead-photo{aspect-ratio:4/5}
}

/* Setembro 2026 — um único sistema de menu para o site inteiro. */
.site-header,
.home-page .site-header,
.office-page .site-header,
.listing-page .site-header,
.segment-page .site-header,
.project-page .site-header{
  min-height:94px;
  border:0;
  padding-right:var(--page);
  padding-left:var(--page);
  box-shadow:none!important;
  text-shadow:none!important;
}
.site-header.is-scrolled,
.site-header.is-solid{min-height:66px}

.site-header .site-nav{
  align-self:stretch;
  gap:clamp(30px,4vw,62px);
  color:var(--nav-color);
  font-size:var(--castello-menu);
  font-weight:600;
  line-height:1.35;
  letter-spacing:.01em;
  text-transform:none;
}
.site-header .site-nav>a,
.site-header .nav-projects-group>a{
  display:flex;
  height:100%;
  align-items:center;
  padding:0;
  color:inherit;
  font-size:inherit;
  font-weight:inherit;
  letter-spacing:inherit;
}
.site-header .site-nav>a:after,
.site-header .nav-projects-group>a:after{
  display:block!important;
  right:0;
  bottom:calc(50% - 13px);
  left:0;
  height:1px;
  background:#8A6845!important;
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .32s var(--ease-editorial);
}
.site-header .site-nav>a:hover:after,
.site-header .site-nav>a:focus-visible:after,
.site-header .site-nav>a.is-active:after,
.site-header .nav-projects-group:hover>a:after,
.site-header .nav-projects-group:focus-within>a:after,
.site-header .nav-projects-group>a.is-active:after{transform:scaleX(1)}

/* Sobre imagens: marfim; sobre superfícies claras: carvão. */
.site-header{--nav-color:#F6F2EA;color:#F6F2EA;background:transparent}
.home-page .site-header:not(.is-solid),
.project-page .site-header:not(.is-solid),
.segment-page .site-header:not(.is-solid){--nav-color:#F6F2EA;color:#F6F2EA;background:transparent}
.office-page .site-header:not(.is-solid){--nav-color:#252321;color:#252321;background:transparent}
.site-header.is-solid,
.home-page .site-header.is-solid,
.office-page .site-header.is-solid,
.listing-page .site-header.is-solid,
.segment-page .site-header.is-solid,
.project-page .site-header.is-solid{
  --nav-color:#252321;
  color:#252321;
  background:rgba(251,250,247,.96)!important;
  box-shadow:none!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  mix-blend-mode:normal!important;
}
.site-header.is-solid .site-nav{color:#252321!important}
.project-page.project-chrome-adaptive .site-header{mix-blend-mode:normal}

.site-header:not(.is-solid) .site-nav>a:hover,
.site-header:not(.is-solid) .site-nav>a:focus-visible,
.site-header:not(.is-solid) .nav-projects-group:hover>a,
.site-header:not(.is-solid) .nav-projects-group:focus-within>a{color:inherit;font-weight:600;text-shadow:none}
.office-page .site-header:not(.is-solid) .site-nav>a:hover,
.office-page .site-header:not(.is-solid) .site-nav>a:focus-visible,
.office-page .site-header:not(.is-solid) .nav-projects-group:hover>a,
.office-page .site-header:not(.is-solid) .nav-projects-group:focus-within>a,
.site-header.is-solid .site-nav>a:hover,
.site-header.is-solid .site-nav>a:focus-visible,
.site-header.is-solid .nav-projects-group:hover>a,
.site-header.is-solid .nav-projects-group:focus-within>a{color:#660000;font-weight:600;text-shadow:none}

.site-header.is-solid .brand-logo-light{opacity:0!important}
.site-header.is-solid .brand-logo-dark{opacity:1!important}
.office-page .site-header:not(.is-solid) .brand-logo-light{opacity:1;filter:none}
.office-page .site-header:not(.is-solid) .brand-logo-dark{opacity:0}

/* O dropdown mantém a mesma escala e o mesmo acabamento em qualquer página. */
.site-header .nav-projects-group{align-self:stretch}
.site-header .nav-projects-menu{
  top:calc(100% - 4px);
  min-width:250px;
  padding:13px 20px 16px;
  border:1px solid rgba(37,35,33,.1);
  border-radius:0;
  background:#FBF5F3;
  color:#252321;
  box-shadow:0 14px 34px rgba(37,35,33,.08);
  text-shadow:none;
}
.site-header .nav-projects-menu a{
  padding:9px 0!important;
  color:#252321!important;
  font-size:var(--castello-menu);
  font-weight:500;
  line-height:1.4;
  letter-spacing:.01em;
}
.site-header .nav-projects-menu a:first-child,
.site-header .nav-projects-menu a:first-child.is-active{color:#252321!important;font-weight:600!important}
.site-header .nav-projects-menu a.is-active{color:#660000!important;font-weight:600}
.site-header .nav-projects-menu a:hover,
.site-header .nav-projects-menu a:focus-visible{color:#660000!important;font-weight:600;text-shadow:none!important}

/* A página de contato preserva seu fundo vinho sem virar uma exceção tipográfica. */
.contact-page .site-header,
.contact-page .site-header.is-solid{
  --nav-color:#FCF7F6;
  color:#FCF7F6;
  background:#660000!important;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.contact-page .site-header .site-nav,
.contact-page .site-header.is-solid .site-nav{color:#FCF7F6!important}
.contact-page .site-header .brand-logo-light,
.contact-page .site-header.is-solid .brand-logo-light{opacity:1!important;filter:invert(1)}
.contact-page .site-header .brand-logo-dark,
.contact-page .site-header.is-solid .brand-logo-dark{opacity:0!important}
.contact-page .site-header .site-nav>a:hover,
.contact-page .site-header .site-nav>a:focus-visible,
.contact-page .site-header .nav-projects-group:hover>a,
.contact-page .site-header .nav-projects-group:focus-within>a{color:#FCF7F6;font-weight:600}

@media(max-width:1050px){
  .site-header,
  .home-page .site-header,
  .office-page .site-header,
  .listing-page .site-header,
  .segment-page .site-header,
  .project-page .site-header,
  .site-header.is-scrolled,
  .site-header.is-solid{min-height:66px}
  .site-header .site-nav{
    width:100vw;
    max-width:none;
    justify-self:stretch;
    justify-content:flex-start;
    gap:0;
    padding:94px 25px 38px;
    background:var(--ice);
    color:#252321!important;
    font-weight:500;
  }
  .contact-page .site-header .site-nav,
  .contact-page .site-header.is-solid .site-nav{color:#252321!important}
  .site-header .site-nav>a,
  .site-header .nav-projects-group>a{
    display:block;
    width:100%;
    height:auto;
    padding:10px 0;
    color:#252321;
    font-size:19px;
    font-weight:500;
    line-height:1.2;
  }
  .site-header .site-nav>a:after,
  .site-header .nav-projects-group>a:after{display:none!important}
  .site-header .nav-projects-group{display:block;width:100%;align-self:auto}
  .site-header .nav-projects-menu{
    position:static;
    width:100%;
    min-width:0;
    margin-top:2px;
    padding:4px 0 8px 14px;
    border:0;
    border-left:1px solid rgba(37,35,33,.18);
    background:transparent;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
  }
  .site-header .nav-projects-menu a{padding:5px 0!important;font-size:12px;line-height:1.25}
  .site-header.menu-active,
  .contact-page .site-header.menu-active{color:#252321;background:transparent!important}
  .site-header.menu-active .brand-logo-light,
  .contact-page .site-header.menu-active .brand-logo-light{opacity:0!important}
  .site-header.menu-active .brand-logo-dark,
  .contact-page .site-header.menu-active .brand-logo-dark{opacity:1!important}
  .menu-toggle{gap:10px;font-weight:600}
  .menu-toggle-label{display:block;font-size:10px;letter-spacing:.12em}
}

@media(max-width:760px){
  .site-header .site-nav{padding-right:19px;padding-left:19px}
  .site-header .site-nav>a,
  .site-header .nav-projects-group>a{font-size:19px}
}

/* Setembro 2026 — refinamentos finais de tipografia, superfícies e ritmo. */
.home-page .hero-slide figcaption,
.home-page .hero-slide figcaption strong,
.home-page .hero-slide figcaption span{
  color:#F6F2EA!important;
  font-size:var(--castello-menu);
  font-weight:600;
  line-height:1.35;
  letter-spacing:.01em;
}
.office-method-list li:hover{background:#FBF5F3}
.office-expertise-links.home-paths-grid .project-hover{
  background:rgba(37,35,33,.86);
  color:#FCF7F6;
}
.office-expertise-links.home-paths-grid .project-hover strong{color:#FCF7F6}
.office-expertise-links.home-paths-grid .project-hover i{background:#8A6845}
.listing-page .site-header.is-solid{
  background:var(--ice)!important;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.listing-page #projectGrid{gap:clamp(30px,3.4vw,54px)}
.project-listing-pattern .project-hover strong span{display:block}

@media(min-width:1051px){
  .site-header .nav-projects-menu{background:#f7f7f5}
}

/* Os quatro passos do método usam exatamente a superfície de Castello + Cambraia. */
.office-method-list li:hover,
.office-method-list li:focus-within{
  background:#FBF5F3;
  color:var(--ink);
}

/* Cards das categorias: o mesmo hover escuro, tipografia e movimento da Home. */
.conversion-page .project-listing-pattern .project-card figure > .project-hover{
  inset:auto;
  top:50%;
  left:50%;
  display:flex;
  width:min(66%,220px);
  aspect-ratio:1;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:clamp(20px,2vw,30px);
  border:0;
  border-radius:0;
  background:rgba(37,35,33,.86);
  color:#FCF7F6;
  text-align:left;
  opacity:0;
  transform:translate(-50%,-46%) scale(.97);
}
.conversion-page .project-listing-pattern .project-card figure > .project-hover strong{
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  color:#FCF7F6;
  font-size:clamp(17px,1.5vw,24px);
  font-weight:400;
  line-height:1.12;
  letter-spacing:-.012em;
  text-align:left;
  text-transform:none;
}
.conversion-page .project-listing-pattern .project-card figure > .project-hover strong span{display:block}
.conversion-page .project-listing-pattern .project-card figure > .project-hover i{
  display:block;
  width:48px;
  height:1px;
  margin:clamp(13px,1.2vw,18px) 0;
  background:#8A6845;
}
.conversion-page .project-listing-pattern .project-card figure > .project-hover small{
  color:#FCF7F6;
  font-size:11px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.04em;
  text-align:left;
  text-transform:none;
}
@media(hover:hover){
  .conversion-page .project-listing-pattern .project-card:hover img,
  .conversion-page .project-listing-pattern .project-card:focus-within img{
    filter:grayscale(1) contrast(.94) brightness(.78);
    transform:scale(1.022);
  }
  .conversion-page .project-listing-pattern .project-card:hover figure > .project-hover,
  .conversion-page .project-listing-pattern .project-card:focus-within figure > .project-hover{
    opacity:1;
    transform:translate(-50%,-50%) scale(1)!important;
  }
}

@media(max-width:760px){
  .conversion-page .project-listing-pattern .project-card figure > .project-hover{display:none}
}

/* Experimento 01 — troca editorial dos CTAs e continuidade do formulário no rodapé. */
.cta-text-swap-link{gap:12px}
.cta-text-swap{position:relative;display:inline-grid;overflow:hidden;line-height:1.25}
.cta-text-swap>span{grid-area:1/1;display:block;transition:transform .42s var(--ease-editorial),opacity .3s ease}
.cta-text-swap-hover{opacity:0;transform:translateY(110%)}
.cta-text-swap-link:hover .cta-text-swap-default,
.cta-text-swap-link:focus-visible .cta-text-swap-default{opacity:0;transform:translateY(-110%)}
.cta-text-swap-link:hover .cta-text-swap-hover,
.cta-text-swap-link:focus-visible .cta-text-swap-hover{opacity:1;transform:none}

.office-page .office-lead-section{border-bottom:0;outline:0;box-shadow:none}
.office-page .site-footer{border-top:0;outline:0;box-shadow:none;background:#8A6845;color:var(--ice)}
.office-page .site-footer-logo{filter:invert(1)}
.office-page .site-footer-meta{color:rgba(255,255,255,.7)}
.office-page .site-footer-meta a,
.office-page .site-footer-policies button{border-color:rgba(255,255,255,.35);color:var(--ice)}
.office-page .site-footer-nav a:hover,
.office-page .site-footer-nav a:focus-visible,
.office-page .site-footer-meta a:hover,
.office-page .site-footer-meta a:focus-visible,
.office-page .site-footer-policies button:hover,
.office-page .site-footer-policies button:focus-visible{border-color:#fff;color:#fff}

@media(prefers-reduced-motion:reduce){
  .cta-text-swap>span{transition:none}
}

/* Continuous office contact and footer surface. */
.office-page{--office-contact-surface:#8A6845}
.office-page .office-lead-section,.office-page .site-footer{background:var(--office-contact-surface);border:0;box-shadow:none}

/* September 2026: category headings and prominent contact buttons. */
.segment-hero-copy > h2.segment-hero-subtitle{margin-bottom:0;font-weight:400;letter-spacing:.005em;text-transform:none}
.segment-page .segment-hero-actions .segment-button{min-height:50px;justify-content:center;padding:15px 26px;border:1px solid #f7f7f5;background:#f7f7f5;color:#660000;font-size:14px;font-weight:600;line-height:1.3;text-shadow:none;box-shadow:0 4px 18px rgba(0,0,0,.12)}
.segment-page .segment-hero-actions .segment-button:hover,.segment-page .segment-hero-actions .segment-button:focus-visible{border-color:#660000;background:#660000;color:#fff;font-weight:600}
.segment-page .segment-hero-actions .segment-button:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:760px){
  .segment-page .segment-hero-actions{justify-items:start}
  .segment-page .segment-hero-actions .segment-button{min-height:48px;padding:14px 24px;font-size:13px}
}

.residences-page .segment-hero-copy > h2.segment-hero-subtitle{width:100%;max-width:560px!important}

/* Review: two-line home headline, desktop section sizes and mobile spacing. */
.home-page .home-hero .home-hero-copy h1{max-width:760px}
.home-title-line{display:block;white-space:nowrap}
@media(min-width:761px){
  #homePathsTitle,#officeIntroductionTitle,#officePartnersTitle,#officeMethodTitle,#officeExpertiseTitle,#officeContactTitle,#residentialCtaTitle{font-size:32px}
}
@media(max-width:760px){
  .home-page .home-hero .home-hero-copy h1{font-size:clamp(18px,5.6vw,37px)}
  .office-page .office-editorial-hero-copy{bottom:128px}
  .office-page .office-editorial-hero > .segment-explore{bottom:22px}
  .office-page .office-introduction{padding-bottom:32px}
  .office-page .office-partners{padding-top:32px;padding-bottom:36px}
  .office-page .office-method{padding-top:36px}
  .clinics-page .segment-hero-copy > h2.segment-hero-subtitle,.residences-page .segment-hero-copy > h2.segment-hero-subtitle{width:100%;max-width:560px!important}
}

/* Keep both partner portraits aligned, including reveal and hover states. */
.office-partners > .office-partner-portrait{align-self:start;width:100%;min-width:0;margin:0;transform:none!important}
.office-partners > .office-partner-portrait img{display:block;width:100%;transform:none!important}
@media(max-width:760px){
  .office-partners{grid-template-columns:repeat(2,minmax(0,1fr))}
  .office-partners > .office-partner-portrait img{height:auto;aspect-ratio:2/3;object-fit:cover}
}
