.page-shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.subpage .header { margin-bottom: 24px; }
.page-hero { min-height: 535px; padding: 80px 0 115px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: end; border-bottom: 1px solid var(--line); }
.page-kicker { display: flex; align-items: center; gap: 10px; color: var(--lime); margin-bottom: 25px; font: .65rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.page-kicker:before { content: ""; width: 28px; height: 1px; background: var(--lime); }
.page-hero h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(2.75rem, 4.85vw, 4.95rem); line-height: 1; }
.page-hero-text { max-width: 500px; margin: 0 0 30px; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.page-hero-aside { position: relative; min-height: 305px; padding: 28px; overflow: hidden; background: #1a1a1a; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.page-hero-aside:before { content: ""; position: absolute; width: 260px; height: 260px; top: -105px; right: -85px; border-radius: 50%; background: var(--lime); opacity: .84; filter: blur(1px); }
.page-hero-aside > * { position: relative; z-index: 1; }
.aside-number { color: var(--lime); font: .65rem var(--mono); letter-spacing: .06em; }
.aside-copy { max-width: 245px; font-size: 1.18rem; line-height: 1.15; letter-spacing: -.06em; }
.aside-copy em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.aside-list { display: flex; flex-wrap: wrap; gap: 7px; }
.aside-list span { padding: 7px 9px; border: 1px solid rgba(241,239,233,.25); color: #d0d0ca; font: .57rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }

.page-intro { padding: 120px 0 100px; display: grid; grid-template-columns: 22% 1fr; gap: 30px; }
.page-intro-copy { max-width: 720px; }
.page-intro-copy h2, .about-statement h2, .method-intro h2, .page-cta h2 { margin: 0 0 22px; font-size: clamp(2.3rem, 3.9vw, 3.85rem); line-height: 1.05; letter-spacing: -.075em; font-weight: 600; }
.page-intro-copy h2 em, .about-statement h2 em, .method-intro h2 em, .page-cta h2 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.page-intro-copy > p { max-width: 550px; margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.8; }

.services-catalog { padding-bottom: 145px; }
.service-detail { position: relative; display: grid; grid-template-columns: 11% minmax(180px, .75fr) minmax(260px, 1.25fr) 205px; gap: 25px; padding: 33px 0 35px; border-top: 1px solid var(--line); transition: padding .3s ease, background .3s ease; }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail:hover { padding-right: 18px; padding-left: 18px; background: #181818; }
.detail-number { color: var(--lime); font: .65rem var(--mono); padding-top: 9px; }
.detail-category { padding-top: 9px; color: #9a9a95; font: .58rem var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.detail-content h2 { margin: 0 0 13px; font-size: clamp(1.65rem, 2.6vw, 2.25rem); line-height: 1; letter-spacing: -.07em; }
.detail-content p { max-width: 440px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.detail-tags { display: flex; flex-wrap: wrap; align-content: start; gap: 7px; padding-top: 8px; }
.detail-tags span { padding: 7px 8px; border: 1px solid rgba(241,239,233,.22); color: #c3c3bd; font: .54rem var(--mono); line-height: 1; letter-spacing: .03em; text-transform: uppercase; }

.method-band { padding: 100px 0 120px; background: #1a1a1a; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 65px; }
.method-intro h2 { margin-bottom: 0; }
.method-intro > p { width: 270px; margin: 0 15px 8px 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.method-step { padding: 25px; min-height: 205px; background: var(--bg); border: 1px solid var(--line); }
.method-step > span { display: inline-block; margin-bottom: 55px; color: var(--lime); font: .64rem var(--mono); }
.method-step h3 { margin: 0 0 9px; font-size: 1.2rem; letter-spacing: -.055em; }
.method-step p { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.65; }

.page-cta { margin-top: 145px; padding: 80px 0; position: relative; overflow: hidden; background: var(--lime); color: #151515; }
.page-cta:after { content: "nexo."; position: absolute; right: -5px; bottom: -54px; color: rgba(17,17,17,.08); font-size: clamp(9rem, 24vw, 22rem); font-weight: 800; letter-spacing: -.12em; line-height: .8; }
.page-cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.page-cta .page-kicker { color: #3b4716; }.page-cta .page-kicker:before { background: #3b4716; }
.page-cta h2 { max-width: 650px; margin-bottom: 0; font-size: clamp(2.6rem, 4.7vw, 4.5rem); }.page-cta h2 em { color: #151515; }
.page-cta .button { flex: 0 0 215px; background: #151515; color: var(--paper); }.page-cta .button:hover { box-shadow: 0 9px 0 #657c11; }
.page-footer { margin-top: 0; }

.about-hero { min-height: 505px; }.about-hero .page-hero-aside:before { background: #a65ce5; }.about-hero .aside-copy em { color: #e3a5ff; }
.about-statement { padding: 125px 0 135px; display: grid; grid-template-columns: 22% 1fr; gap: 30px; }
.about-statement-copy { max-width: 790px; }.about-statement-copy > p { max-width: 580px; margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.85; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 0 135px; }
.principle { min-height: 270px; padding: 26px; position: relative; overflow: hidden; border: 1px solid var(--line); background: #191919; }
.principle:after { position: absolute; right: 17px; bottom: -26px; color: rgba(210,249,59,.14); font-size: 10rem; font-weight: 700; letter-spacing: -.12em; line-height: 1; }
.principle:nth-child(1):after { content: "01"; }.principle:nth-child(2):after { content: "02"; }.principle:nth-child(3):after { content: "03"; }
.principle > span { display: block; margin-bottom: 66px; color: var(--lime); font: .61rem var(--mono); text-transform: uppercase; }.principle h3 { margin: 0 0 11px; font-size: 1.35rem; letter-spacing: -.06em; }.principle p { max-width: 250px; margin: 0; position: relative; z-index: 1; color: var(--muted); font-size: .77rem; line-height: 1.7; }
.about-method { padding: 110px 0 130px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 1px solid var(--line); }
.about-method .mini-label { margin-top: 10px; }.about-method h2 { margin: 18px 0 0; font-size: clamp(2.3rem, 3.8vw, 3.75rem); letter-spacing: -.075em; line-height: 1.04; }.about-method h2 em { color: var(--lime); font-family: Georgia,serif; font-weight: 400; }
.method-list { border-top: 1px solid var(--line); }.method-list-item { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }.method-list-item > span { color: var(--lime); font: .62rem var(--mono); padding-top: 4px; }.method-list-item h3 { margin: 0 0 7px; font-size: 1rem; letter-spacing: -.04em; }.method-list-item p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.65; }
.about-fit { padding: 110px 0 125px; background: #eeece6; color: #151515; }.about-fit .section-index { color: #62625d; }.about-fit .section-index i { background: #8a8a85; }.about-fit h2 { margin: 0 0 44px 20%; max-width: 720px; font-size: clamp(2.3rem, 4vw, 3.95rem); line-height: 1.02; letter-spacing: -.075em; }.about-fit h2 em { color: #638008; font-family: Georgia,serif; font-weight: 400; }.fit-grid { margin-left: 20%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.fit-card { padding: 20px 0; border-top: 1px solid rgba(17,17,17,.25); }.fit-card span { display: block; margin-bottom: 19px; color: #6d890c; font: .6rem var(--mono); }.fit-card h3 { margin: 0 0 9px; font-size: 1.1rem; letter-spacing: -.05em; }.fit-card p { margin: 0; color: #5f5f5a; font-size: .75rem; line-height: 1.65; }

@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr 290px; gap: 45px; }.service-detail { grid-template-columns: 9% .75fr 1.25fr; }.detail-tags { grid-column: 2 / -1; padding-top: 0; }.about-method { gap: 55px; }.fit-grid, .about-fit h2 { margin-left: 13%; } }
@media (max-width: 680px) { .page-shell { width: calc(100% - 40px); }.page-hero { min-height: auto; padding: 58px 0 75px; display: block; }.page-hero h1 { font-size: clamp(2.55rem, 10.5vw, 3.55rem); }.page-hero-text { font-size: .84rem; }.page-hero-aside { min-height: 235px; margin-top: 52px; padding: 22px; }.aside-copy { font-size: 1.12rem; }.page-intro, .about-statement { display: block; padding: 88px 0; }.page-intro .section-index, .about-statement .section-index { margin-bottom: 35px; }.page-intro-copy h2, .about-statement h2, .method-intro h2 { font-size: clamp(2.2rem, 9.5vw, 3.3rem); }.service-detail { display: grid; grid-template-columns: 42px 1fr; gap: 5px 13px; padding: 25px 0; }.service-detail:hover { padding-right: 8px; padding-left: 8px; }.detail-number { grid-column: 1; grid-row: 1; }.detail-category { grid-column: 2; grid-row: 1; padding: 0; }.detail-content { grid-column: 2; }.detail-content h2 { font-size: 1.65rem; }.detail-content p { font-size: .76rem; }.detail-tags { grid-column: 2; }.method-band { padding: 80px 0; }.method-intro { display: block; margin-bottom: 38px; }.method-intro > p { width: auto; margin: 20px 0 0; }.method-steps { display: block; }.method-step { min-height: 0; margin-bottom: 10px; }.method-step > span { margin-bottom: 37px; }.page-cta { margin-top: 90px; padding: 66px 0; }.page-cta-inner { display: block; }.page-cta h2 { margin-bottom: 30px; font-size: clamp(2.4rem, 10vw, 3.65rem); }.page-cta .button { width: 100%; }.principles { display: block; padding-bottom: 90px; }.principle { min-height: 218px; margin-bottom: 10px; }.principle > span { margin-bottom: 42px; }.about-method { display: block; padding: 88px 0; }.about-method h2 { margin-bottom: 45px; font-size: clamp(2.2rem, 9.5vw, 3.3rem); }.about-fit { padding: 85px 0; }.about-fit h2, .fit-grid { margin-left: 0; }.about-fit h2 { font-size: clamp(2.2rem, 9.5vw, 3.3rem); }.fit-grid { display: block; }.fit-card { padding: 20px 0; }.page-footer { margin-top: 0; } }
.projects-hero .page-hero-aside:before { background: #3d77e4; }
.projects-hero .aside-copy em { color: #8bb7ff; }
.projects-intro { display: grid; grid-template-columns: 22% 1fr; gap: 30px; padding: 125px 0 85px; }
.projects-intro-copy { max-width: 760px; }
.projects-intro-copy h2 { margin: 0 0 22px; font-size: clamp(2.3rem, 3.9vw, 3.85rem); font-weight: 600; letter-spacing: -.075em; line-height: 1.05; }
.projects-intro-copy h2 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.projects-intro-copy p { max-width: 570px; margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.8; }
.case-studies { padding-bottom: 145px; }
.case-study { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: clamp(34px, 6vw, 86px); padding: 62px 0; border-top: 1px solid var(--line); }
.case-study:last-child { border-bottom: 1px solid var(--line); }
.case-study:nth-child(even) .case-study-image { order: 2; }
.case-study-image { position: relative; min-height: 455px; overflow: hidden; background: #1b1b1b; }
.case-study-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.case-study:hover .case-study-image img { transform: scale(1.035); }
.case-study-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.52)); pointer-events: none; }
.case-study-image > span { position: absolute; z-index: 1; bottom: 18px; left: 18px; padding: 8px 10px; background: var(--lime); color: #151515; font: .56rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.case-study-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.case-study-heading { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.case-index { margin: 0 0 14px; color: var(--lime); font: .61rem var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.case-study-heading h2 { max-width: 380px; margin: 0; font-size: clamp(2rem, 3.4vw, 3.35rem); line-height: .98; letter-spacing: -.075em; }
.case-summary { max-width: 465px; margin: 25px 0 31px; color: #d2d2cc; font-size: .94rem; line-height: 1.72; }
.case-details { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 27px; }
.case-details > div { min-height: 112px; padding-top: 13px; border-top: 1px solid var(--line); }
.case-details span { display: block; margin-bottom: 9px; color: var(--lime); font: .56rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.case-details p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.65; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.case-tags span { padding: 7px 8px; border: 1px solid rgba(241,239,233,.22); color: #c3c3bd; font: .54rem var(--mono); letter-spacing: .03em; text-transform: uppercase; }

@media (max-width: 900px) {
  .case-study { grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr); gap: 42px; }
  .case-study-image { min-height: 400px; }
  .case-details { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .projects-intro { display: block; padding: 88px 0 55px; }
  .projects-intro .section-index { margin-bottom: 35px; }
  .projects-intro-copy h2 { font-size: clamp(2.2rem, 9.5vw, 3.3rem); }
  .projects-intro-copy p { font-size: .84rem; }
  .case-studies { padding-bottom: 88px; }
  .case-study, .case-study:nth-child(even) { display: flex; flex-direction: column; gap: 29px; padding: 42px 0; }
  .case-study:nth-child(even) .case-study-image { order: initial; }
  .case-study-image { width: 100%; min-height: 315px; height: 315px; }
  .case-study-heading { padding-bottom: 21px; }
  .case-study-heading h2 { font-size: 2.2rem; }
  .case-summary { margin: 21px 0 25px; font-size: .84rem; }
  .case-details { grid-template-columns: 1fr; gap: 0; margin-bottom: 24px; }
  .case-details > div { min-height: 0; padding: 13px 0; }
  .case-details p { font-size: .74rem; }
}
/* Ritmo vertical mais compacto nas páginas internas */
@media (min-width: 681px) {
  .page-hero { min-height: 460px; padding: 60px 0 80px; gap: 55px; }
  .page-hero-aside { min-height: 260px; }
  .page-intro { padding: 85px 0 65px; }
  .services-catalog { padding-bottom: 95px; }
  .method-band { padding: 75px 0 90px; }
  .method-intro { margin-bottom: 48px; }
  .page-cta { margin-top: 95px; padding: 65px 0; }
  .about-hero { min-height: 440px; }
  .about-statement { padding: 90px 0 95px; }
  .principles { padding-bottom: 95px; }
  .about-method { padding: 85px 0 95px; }
  .about-fit { padding: 85px 0 95px; }
  .projects-intro { padding: 85px 0 60px; }
  .case-studies { padding-bottom: 95px; }
  .case-study { gap: clamp(30px, 4vw, 58px); padding: 45px 0; }
  .case-study-image { min-height: 365px; }
  .case-summary { margin: 20px 0 24px; }
  .case-details { margin-bottom: 22px; }
  .case-details > div { min-height: 90px; }
}

@media (max-width: 680px) {
  .page-hero { padding: 50px 0 65px; }
  .page-hero-aside { margin-top: 38px; min-height: 205px; }
  .page-intro, .about-statement { padding: 70px 0; }
  .method-band { padding: 65px 0; }
  .page-cta { margin-top: 70px; padding: 55px 0; }
  .principles { padding-bottom: 70px; }
  .about-method { padding: 70px 0; }
  .about-fit { padding: 70px 0; }
  .projects-intro { padding: 70px 0 45px; }
  .case-studies { padding-bottom: 68px; }
  .case-study, .case-study:nth-child(even) { gap: 24px; padding: 32px 0; }
  .case-study-image { min-height: 270px; height: 270px; }
  .case-summary { margin: 18px 0 21px; }
}

/* A transição para uma coluna acontece antes de os cases ficarem comprimidos. */
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 40px); }

  .page-hero {
    min-height: auto;
    padding: 50px 0 65px;
    display: block;
  }

  .page-hero h1 { font-size: clamp(2.45rem, 9.5vw, 3.45rem); }
  .page-hero-aside { min-height: 205px; margin-top: 38px; padding: 22px; }

  .projects-intro {
    display: block;
    padding: 70px 0 45px;
  }

  .projects-intro .section-index { margin-bottom: 35px; }
  .case-studies { padding-bottom: 68px; }

  .case-study,
  .case-study:nth-child(even) {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 0;
  }

  .case-study:nth-child(even) .case-study-image { order: initial; }

  .case-study-image {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .case-summary { margin: 18px 0 21px; }
}

@media (max-width: 480px) {
  .page-shell { width: calc(100% - 32px); }

  .page-hero { padding: 42px 0 52px; }
  .page-hero h1 { font-size: clamp(2.25rem, 10.5vw, 2.7rem); }
  .page-hero-text { font-size: .82rem; }

  .page-hero-aside {
    min-height: 190px;
    margin-top: 30px;
    padding: 18px;
  }

  .page-hero-aside:before {
    width: 210px;
    height: 210px;
    top: -95px;
    right: -85px;
  }

  .aside-copy { max-width: 220px; font-size: 1.02rem; }
  .projects-intro { padding: 58px 0 38px; }
  .projects-intro-copy p { font-size: .81rem; }
  .case-studies { padding-bottom: 58px; }

  .case-study,
  .case-study:nth-child(even) {
    gap: 20px;
    padding: 28px 0;
  }

  .case-study-heading { padding-bottom: 18px; }
  .case-study-heading h2 { font-size: clamp(1.95rem, 9.5vw, 2.2rem); }
  .case-summary { font-size: .81rem; }
  .case-details p { font-size: .71rem; }
  .case-tags { gap: 6px; }
  .case-tags span { padding: 6px 7px; font-size: .5rem; }
}
