/* A quieter header with clear, comfortable navigation. */
html { scroll-padding-top: 94px; }
.site-header .header-inner { height: 76px; gap: 28px; }
.site-header .brand { width: 178px; min-width: 150px; gap: 5px; }
.site-header .brand > span { font-size: 10px; }
.site-header nav { gap: 4px; align-items: center; margin-left: auto; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 15px; font-weight: 700; letter-spacing: .005em; border-radius: 2px; transition: color .2s, background .2s; }
.site-header nav a:after { left: 12px; right: 12px; bottom: 4px; height: 2px; }
.site-header nav a:hover { background: #eef6fa; }
.site-header .mobile-home { display: none; }

/* Photographs lead the story, with captions on the page rather than panels. */
#obras .projects-heading { display: block; margin-bottom: 40px; }
#obras .projects-heading .eyebrow { max-width: none; margin: 0 0 20px; font-size: .75rem; color: var(--blue-dark); }
#obras .projects-heading h2 { font-size: clamp(3.25rem, 5.3vw, 4.5rem); line-height: 1.06; margin: 0; }
#obras .projects-heading .projects-subtitle { font-size: clamp(1.375rem, 2.1vw, 1.75rem); color: var(--blue-dark); max-width: none; margin: 18px 0 0; font-weight: 600; line-height: 1.4; }
#obras .projects-heading .projects-intro { font-size: 1rem; max-width: 850px; margin: 12px 0 0; line-height: 1.8; }
#obras .project-feature { display: block; background: transparent; border: 0; }
#obras .feature-photo { width: 100%; }
#obras .feature-photo img { width: 100%; height: auto; }
#obras .project-feature-copy { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 70px; padding: 30px 0 0; }
#obras .project-feature-copy .eyebrow { margin: 0 0 10px; font-size: .75rem; }
#obras .project-feature-copy h3 { font-family: var(--font-display); font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: 1.1; margin: 0; }
#obras .project-feature-copy p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; margin: 0; }
#obras .project-feature-copy .text-link { max-width: 330px; margin-top: 15px; font-size: .875rem; }
#obras .gallery-heading { border-top: 1px solid var(--line); padding-top: 40px; margin: 50px 0 28px; }
#obras .gallery-heading h3 { font-size: 2.375rem; }
#obras .gallery-heading p { font-size: 1rem; }
#obras .portrait-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
#obras .photo-figure figcaption { font-size: .9375rem; line-height: 1.6; padding-top: 14px; }
#obras .gallery-more { margin-top: 30px; }
#obras .gallery-more summary { border: 0; border-block: 1px solid var(--line); padding: 18px 0; justify-content: space-between; font-size: .9375rem; }
#obras .mixed-gallery { display: block; columns: 2; column-gap: 32px; padding-top: 32px; }
#obras .mixed-gallery .photo-figure { break-inside: avoid; margin-bottom: 32px; }

/* Three environmental practices, each with its own clear hierarchy. */
#sustentabilidade { padding-block: 86px; border-top: 0; }
#sustentabilidade .sustainability-heading { max-width: 860px; margin-bottom: 48px; }
#sustentabilidade .sustainability-heading .eyebrow { font-size: .75rem; margin: 0 0 20px; }
#sustentabilidade h2 { font-size: clamp(3rem, 4.6vw, 4rem); line-height: 1.08; margin: 0 0 24px; }
#sustentabilidade .sustainability-heading > p:not(.eyebrow) { max-width: 800px; font-size: 1.0625rem; line-height: 1.8; }
#sustentabilidade .sustainability-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
#sustentabilidade .sustainability-pillars article { border-top: 1px solid #70c6f066; padding-top: 25px; }
#sustentabilidade .pillar-number { display: block; font-family: var(--font-display); font-size: 2.75rem; color: #70c6f0; line-height: 1; margin-bottom: 20px; }
#sustentabilidade .pillar-label { color: #70c6f0; font-size: .75rem; line-height: 1.6; letter-spacing: .06em; min-height: 3.2em; margin: 0 0 12px; font-weight: 700; }
#sustentabilidade .sustainability-pillars h3 { font-family: var(--font-display); font-size: 2.375rem; line-height: 1.1; min-height: 2.2em; margin: 0 0 19px; }
#sustentabilidade .pillar-lead { color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.7; min-height: 3.4em; margin-bottom: 15px; }
#sustentabilidade .sustainability-pillars article > p:last-child { max-width: none; font-size: 1rem; line-height: 1.8; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1051px) {
    #sustentabilidade .sustainability-pillars { row-gap: 15px; }
    #sustentabilidade .sustainability-pillars article { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
    #sustentabilidade .sustainability-pillars article > * { min-height: 0; margin: 0; }
    #sustentabilidade .sustainability-pillars .pillar-number { margin-bottom: 5px; }
  }
}

/* Optional specifications are grouped to keep the quote easy to complete. */
#contato { grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: start; }
#contato .form-panel { padding: 34px; }
#contato .form-panel h3 { font-family: var(--font-display); font-size: 2.125rem; line-height: 1.15; }
#contato .form-intro { font-size: .9375rem; line-height: 1.7; margin: 12px 0 27px; }
#contato .quote-fieldset { min-width: 0; border: 0; border-top: 1px solid var(--line); padding: 22px 0 0; margin: 0 0 30px; }
#contato .quote-fieldset legend { font-size: 1.0625rem; line-height: 1.4; font-weight: 700; padding: 0 14px 0 0; }
#contato .form-grid { gap: 20px; }
#contato .field label { font-size: .875rem; line-height: 1.5; }
#contato input, #contato select, #contato textarea { font-size: 1rem; min-width: 0; width: 100%; }
#contato input, #contato select { min-height: 52px; }
#contato input[type="date"] { display: block; min-height: 52px; appearance: auto; }
#contato input[type="date"]::-webkit-calendar-picker-indicator { padding: 4px; cursor: pointer; }
#contato .field-hint { font-size: .8125rem; color: var(--muted); line-height: 1.6; margin: 7px 0 0; }
#contato .privacy-note { font-size: .8125rem; line-height: 1.7; margin-top: 0; }
#contato .contact-hint { font-size: .9375rem; line-height: 1.8; }
@media (min-width: 1200px) { #contato .contact-copy { position: sticky; top: 110px; } }
@media (max-width: 1199px) {
  .site-header nav a { font-size: 14px; padding-inline: 10px; }
  .site-header .header-inner { gap: 20px; }
  #contato { gap: 38px; grid-template-columns: .8fr 1.2fr; }
  #contato .form-panel { padding: 28px; }
  #sustentabilidade .sustainability-pillars { gap: 28px; }
}
@media (max-width: 1050px) {
  .site-header nav { display: none; align-items: stretch; margin: 0; max-height: calc(100dvh - 76px); padding: 12px 28px 22px; }
  .site-header nav.open { display: grid; }
  .site-header nav a { font-size: 16px; padding: 13px; }
  .site-header .menu-button { margin-left: auto; }
  #contato { grid-template-columns: 1fr; gap: 38px; }
  #contato .contact-copy { max-width: 650px; }
  #contato .contact-hint { max-width: none; }
  #sustentabilidade .sustainability-pillars { grid-template-columns: 1fr; gap: 30px; }
  #sustentabilidade .sustainability-pillars article { display: grid; grid-template-columns: 52px 1fr; column-gap: 22px; }
  #sustentabilidade .pillar-number { grid-column: 1; grid-row: 1 / 5; }
  #sustentabilidade .sustainability-pillars article > :not(.pillar-number) { grid-column: 2; min-height: 0; }
  #sustentabilidade .pillar-label { margin-bottom: 10px; }
  #sustentabilidade .sustainability-pillars h3 { margin-bottom: 12px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 84px; }
  .site-header .header-inner { height: 66px; }
  .site-header .brand { width: 154px; min-width: 0; gap: 5px; }
  .site-header .brand > span { font-size: 9px; }
  .site-header nav { max-height: calc(100dvh - 66px); padding-inline: 16px; }
  #obras .projects-heading { margin-bottom: 30px; }
  #obras .projects-heading h2 { font-size: 3rem; }
  #obras .project-feature-copy { grid-template-columns: 1fr; gap: 17px; padding-top: 22px; }
  #obras .project-feature-copy h3 { font-size: 2.25rem; }
  #obras .gallery-heading { display: block; padding-top: 28px; margin-top: 34px; }
  #obras .gallery-heading h3 { font-size: 2.125rem; margin-bottom: 8px; }
  #obras .portrait-gallery { grid-template-columns: 1fr; gap: 28px; }
  #obras .mixed-gallery { columns: 1; }
  #sustentabilidade { padding-block: 60px; }
  #sustentabilidade h2 { font-size: 2.875rem; }
  #sustentabilidade .sustainability-heading { margin-bottom: 34px; }
  #sustentabilidade .sustainability-pillars article { display: block; }
  #sustentabilidade .pillar-number { font-size: 2.25rem; margin-bottom: 16px; }
  #sustentabilidade .sustainability-pillars h3 { font-size: 2.25rem; }
  #contato .form-panel { padding: 26px 22px; }
}
@media (max-width: 600px) {
  #contato .form-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media print { #contato .contact-copy { position: static; } #sustentabilidade .sustainability-pillars article { break-inside: avoid; } }

/* Full-width photographic opening, with the brand and copy in the foreground. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #112a3c; }
.hero .hero-inner { display: flex; align-items: center; min-height: 680px; padding-block: 80px 72px; }
.hero .hero-content { position: relative; z-index: 2; width: 58%; max-width: 760px; }
.hero .hero-visual { position: absolute; inset: 0 0 0 28%; margin: 0; z-index: -2; width: auto; max-width: none; }
.hero .hero-visual .photo-open { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; pointer-events: none; }
.hero .hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero .hero-visual figcaption, .hero .hero-visual .photo-expand { display: none; }
.hero::after { content: ''; display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #112a3c 0%, #112a3c 27%, rgba(17,42,60,.95) 39%, rgba(17,42,60,.58) 57%, rgba(17,42,60,.1) 80%), linear-gradient(0deg, rgba(17,42,60,.75), transparent 30%); }
.hero h1 { font-size: clamp(3.75rem, 5.6vw, 6rem); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 30px; }
.hero .eyebrow { font-size: .875rem; margin-bottom: 28px; }
.hero .hero-description { max-width: 490px; margin-bottom: 32px; font-size: 1.0625rem; line-height: 1.7; color: #d8e5ed; }
.hero-description strong { display: block; font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 8px; }
.hero-description > span { display: block; }
.hero .hero-actions .button { min-height: 56px; padding: 17px 24px; font-size: 1rem; gap: 36px; }
.hero .hero-tags { margin-top: 36px; font-size: .75rem; letter-spacing: .055em; gap: 18px; flex-wrap: wrap; }
.hero .hero-tags span + span { padding-left: 18px; }
.hero .hero-footnote { position: relative; z-index: 2; }
@media (max-width: 1000px) {
  .hero .hero-inner { min-height: 640px; padding-block: 64px; }
  .hero .hero-content { width: 75%; }
  .hero .hero-visual { left: 15%; }
  .hero::after { background: linear-gradient(90deg, #112a3c 0%, rgba(17,42,60,.94) 25%, rgba(17,42,60,.65) 60%, rgba(17,42,60,.28)); }
}
@media (max-width: 600px) {
  .hero .hero-inner { min-height: 650px; padding-block: 54px 48px; }
  .hero .hero-content { width: 100%; }
  .hero .hero-visual { inset: 0; }
  .hero::after { background: linear-gradient(90deg, rgba(17,42,60,.95), rgba(17,42,60,.69)), linear-gradient(0deg, #112a3c, transparent 65%); }
  .hero h1 { font-size: clamp(3rem, 10.8vw, 4rem); margin-bottom: 26px; }
  .hero .eyebrow { font-size: .75rem; margin-bottom: 24px; }
  .hero .hero-description { font-size: 1rem; }
  .hero-description strong { font-size: 1.125rem; }
  .hero .hero-tags { gap: 10px; font-size: .75rem; letter-spacing: 0; }
  .hero .hero-tags span + span { padding-left: 10px; }
}
