:root {
  --ivory: #f7f1ea;
  --sand: #eddcb2;
  --ink: #151515;
  --brown: #151515;
  --wine: #34001a;
  --wine-soft: #7d5368;
  --rose: #bc8f8f;
  --green: #0b2b26;
  --green-light: #235347;
  --line: rgba(21, 21, 21, 0.22);
}

html,
body {
  background: var(--ivory);
  color: var(--ink);
}

body {
  overflow-x: hidden;
}

::selection {
  background: var(--wine);
  color: var(--ivory);
}

.site-header {
  position: relative;
  z-index: 40;
  height: 88px;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "nav brand cta";
  background: var(--ivory);
  border-color: var(--ink);
}

.brand {
  grid-area: brand;
  width: 230px;
  height: 68px;
  justify-self: center;
}

.brand img {
  width: 230px;
  height: 68px;
  filter: brightness(0);
}

.site-header nav {
  grid-area: nav;
  gap: clamp(0.85rem, 1.5vw, 1.75rem);
  justify-self: start;
}

.site-header nav a,
.header-cta,
.menu-toggle {
  color: var(--ink);
  transition: opacity 180ms ease;
}

.site-header nav a:hover,
.header-cta:hover {
  opacity: 0.58;
}

.header-cta {
  grid-area: cta;
  justify-self: end;
}

.menu-toggle {
  grid-area: menu;
}

.home-page {
  padding: 0;
  background: var(--ivory);
}

.home-page > section,
.home-page > aside {
  width: 100%;
  margin-inline: 0;
}

.home-hero {
  min-height: min(820px, calc(100svh - 88px));
  align-items: center;
  background: var(--wine) url('../images/hero-patrimonio-hd.png') center 55% / cover no-repeat;
  box-shadow: none;
}

.home-hero__shade {
  background: linear-gradient(90deg, rgba(52, 0, 26, 0.9) 0%, rgba(52, 0, 26, 0.58) 50%, rgba(52, 0, 26, 0.14) 100%);
}

.home-hero__content {
  width: min(1180px, 88%);
  padding-block: clamp(5rem, 11vh, 8.5rem);
}

.home-hero h1 {
  max-width: 850px;
}

.home-hero h1 em,
.plain-hero h1 em,
.blog-hero h1 em {
  color: var(--sand);
}

.section h2 em,
.form-section h2 em {
  color: var(--wine-soft);
}

.dark h2 em,
.article-cta h2 em {
  color: var(--rose);
}

.home-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.8rem clamp(1.5rem, 7vw, 7rem);
  background: var(--green);
  color: var(--ivory);
  border-block: 1px solid rgba(246, 242, 233, 0.8);
}

.home-principles span {
  padding: 0.45rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(246, 242, 233, 0.38);
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-principles span:last-child {
  border-right: 0;
}

.plain-hero,
.blog-hero {
  min-height: 540px;
  padding-top: clamp(5.5rem, 9vw, 8rem);
  padding-bottom: clamp(5.5rem, 9vw, 8rem);
  background: var(--wine);
  color: var(--ivory);
  border-bottom: 1px solid rgba(246, 242, 233, 0.75);
}

.section,
.home-page .section,
.form-section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  border-bottom: 1px solid var(--green);
}

.section,
.form-section,
.faq-list,
.blog-index,
.article-page,
.legal,
.home-page .intro,
.home-page .closing,
.closing {
  background: var(--ivory);
  color: var(--ink);
  backdrop-filter: none;
}

.dark,
.home-page .dark,
.article-cta {
  background: var(--wine);
  color: var(--ivory);
  backdrop-filter: none;
}

.founder {
  background: var(--ivory);
  color: var(--ink);
}

.founder figure {
  width: min(100%, 460px);
  max-width: 460px;
  padding: clamp(0.65rem, 1.5vw, 1rem);
  border: 1px solid var(--ink);
}

.founder img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 34%;
}

.process-section .steps {
  gap: 1px;
  background: rgba(246, 242, 233, 0.55);
  border: 1px solid rgba(246, 242, 233, 0.55);
}

.process-section .steps li {
  display: block;
  min-height: 270px;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--wine);
}

.process-section .steps span {
  display: block;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: 0;
}

.process-section .steps h3,
.process-section .steps p {
  display: block;
  margin-left: 0;
}

.process-section .steps h3 {
  margin-bottom: 0.7rem;
}

.step-visual {
  height: clamp(210px, 23vw, 300px);
  margin: calc(clamp(2rem, 4vw, 3.5rem) * -1) calc(clamp(2rem, 4vw, 3.5rem) * -1) 2rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.72) contrast(1.02);
  transition: filter 300ms ease, transform 500ms ease;
}

.process-section .steps li:hover .step-visual {
  filter: saturate(0.92) contrast(1.04);
}

.closing {
  align-items: center;
}

.closing-highlight {
  color: var(--wine-soft);
}

.button,
.home-page .closing .button {
  border: 1px solid var(--wine);
  border-radius: 0;
  background: var(--wine);
  color: var(--ivory);
  padding: 1rem 1.5rem;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.home-page .closing .button:hover {
  background: transparent;
  color: var(--wine);
}

.dark .button,
.article-cta .button,
.button.light {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--wine);
}

.dark .button:hover,
.article-cta .button:hover,
.button.light:hover {
  background: transparent;
  color: var(--ivory);
}

.lead-form {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: transparent;
  border: 1px solid var(--ink);
}

fieldset + fieldset {
  padding-top: 2.5rem;
  border-top: 1px solid var(--ink);
}

input,
select,
textarea {
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-bottom-width: 2px;
}

.field-error,
.form-message.error {
  color: var(--wine);
}

.form-message {
  border-color: var(--ink);
}

.faq-list details,
.blog-search,
.blog-pagination {
  border-color: var(--ink);
}

.faq-list details {
  padding-block: clamp(1.6rem, 3vw, 2.5rem);
}

.faq-list summary {
  align-items: baseline;
  transition: opacity 180ms ease;
}

.faq-list summary:hover {
  opacity: 0.58;
}

.blog-index {
  padding-top: clamp(4.5rem, 8vw, 7rem);
}

.blog-grid {
  gap: clamp(2.5rem, 4vw, 5rem) clamp(1.5rem, 3vw, 3rem);
}

.blog-card,
.blog-card.featured {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
}

.blog-card__image {
  background: var(--green);
}

.blog-card__image img {
  filter: saturate(0.75) contrast(1.03);
}

.blog-card__body {
  padding-inline: 0;
}

.article-body,
.article-body h2,
.article-body h3 {
  color: var(--ink);
}

.article-body h3 {
  color: var(--wine-soft);
}

.article-cta {
  border: 1px solid var(--wine);
}

.site-footer {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 7vw, 7rem) 3rem;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  background: var(--green);
  color: var(--ivory);
  border-top: 1px solid var(--ivory);
}

.site-footer img {
  width: min(280px, 100%);
  height: 90px;
  filter: none;
}

.site-footer nav {
  align-content: start;
}

.site-footer a {
  text-underline-offset: 0.22em;
}

.footer-legal {
  align-self: start;
}

.footer-disclaimer {
  grid-column: 1 / -1;
  max-width: 1050px;
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 242, 233, 0.36);
  font-size: 0.82rem;
  line-height: 1.65;
  opacity: 0.76;
}

.whatsapp {
  border: 1px solid var(--ivory);
  border-radius: 0;
  background: var(--wine);
  color: var(--ivory);
  box-shadow: 0 0.75rem 2rem rgba(52, 0, 26, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .section,
  .form-section,
  .faq-list,
  .blog-index {
    animation: editorial-reveal 600ms ease both;
  }

  @keyframes editorial-reveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 1100px) {
  .site-header nav {
    gap: 0.8rem;
  }

  .brand,
  .brand img {
    width: 205px;
  }
}

@media (max-width: 850px) {
  .site-header {
    height: 72px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand menu";
  }

  .brand {
    justify-self: start;
    width: 200px;
    height: 60px;
  }

  .brand img {
    width: 200px;
    height: 60px;
  }

  .site-header nav {
    top: 72px;
    border-bottom: 1px solid var(--ink);
    background: var(--ivory);
  }

  .home-hero {
    min-height: min(720px, calc(100svh - 72px));
    background-position: 60% center;
  }

  .home-hero__shade {
    background: linear-gradient(180deg, rgba(52, 0, 26, 0.2), rgba(52, 0, 26, 0.86));
  }

  .home-hero__content {
    align-self: end;
    padding: 8rem 0 4rem;
  }

  .home-principles {
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
  }

  .home-principles span {
    padding: 0.9rem 0.5rem;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 242, 233, 0.36);
  }

  .home-principles span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .plain-hero,
  .blog-hero {
    min-height: auto;
  }

  .process-section .steps li {
    min-height: auto;
  }

  .step-visual {
    height: 220px;
  }

  .founder figure {
    max-width: 340px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-disclaimer {
    grid-column: 1;
  }
}

@media (max-width: 390px) {
  .brand,
  .brand img {
    width: 178px;
  }

  .home-principles {
    grid-template-columns: 1fr;
  }

  .home-principles span,
  .home-principles span:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(246, 242, 233, 0.36);
  }

  .home-principles span:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}


/* Layout editorial contido — 2026-10-02 */
:root {
  --content-wide: 1180px;
  --content-reading: 760px;
  --page-gutter: clamp(1.5rem, 4vw, 3.5rem);
  --type-display: clamp(2.75rem, 4.5vw, 4.75rem);
  --type-title: clamp(1.9rem, 3vw, 3rem);
  --type-subtitle: clamp(1.22rem, 1.5vw, 1.55rem);
  --type-lead: clamp(1rem, 1.15vw, 1.12rem);
}

.site-header {
  padding-inline: max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2));
}

.home-hero {
  min-height: min(760px, calc(100svh - 88px));
}

.home-hero__content {
  width: min(var(--content-wide), calc(100% - var(--page-gutter) - var(--page-gutter)));
  padding-block: clamp(4.5rem, 9vh, 7rem);
}

.home-hero h1 {
  max-width: 780px;
}

.home-principles {
  width: 100%;
  padding: 0;
}

.home-principles__inner {
  width: min(var(--content-wide), calc(100% - var(--page-gutter) - var(--page-gutter)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 1.55rem;
}

.home-principles:not(:has(.home-principles__inner)) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, calc(var(--content-wide) / 4)));
  justify-content: center;
  padding: 1.55rem max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2));
}

.home-principles span {
  padding: 0.45rem 1.25rem;
}

.plain-hero,
.blog-hero {
  min-height: 460px;
  padding: clamp(4.5rem, 7vw, 6.5rem) max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2));
}

.section,
.home-page .section,
.form-section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  padding-inline: max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2));
}

.section h2,
.form-section h2 {
  max-width: 650px;
}

.intro > div:last-child,
.founder > div,
.closing-copy,
.form-section > header {
  max-width: 560px;
}

.process-heading {
  max-width: 760px;
}

.faq-list,
.legal {
  width: min(var(--content-wide), calc(100% - var(--page-gutter) - var(--page-gutter)));
  margin-inline: auto;
}

.legal {
  max-width: var(--content-reading);
}

.blog-index {
  padding-inline: max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2));
}

.article-header,
.article-cta {
  width: min(var(--content-wide), calc(100% - var(--page-gutter) - var(--page-gutter)));
}

.article-body {
  width: min(var(--content-reading), calc(100% - var(--page-gutter) - var(--page-gutter)));
}

.article-cover {
  width: 100%;
}

.site-footer {
  padding: clamp(4rem, 7vw, 6.5rem) max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2)) 3rem;
}

@media (max-width: 850px) {
  :root {
    --page-gutter: 1.25rem;
    --type-display: clamp(2.25rem, 9.5vw, 3.35rem);
    --type-title: clamp(1.75rem, 7.5vw, 2.6rem);
    --type-subtitle: clamp(1.18rem, 5vw, 1.45rem);
  }

  .home-hero {
    min-height: min(650px, calc(100svh - 72px));
  }

  .home-hero__content {
    padding: 6rem 0 3.5rem;
  }

  .home-principles__inner,
  .home-principles:not(:has(.home-principles__inner)) {
    grid-template-columns: 1fr 1fr;
    padding-block: 0.75rem;
  }

  .plain-hero,
  .blog-hero {
    min-height: auto;
  }

  .section,
  .home-page .section,
  .form-section {
    padding: 3.75rem var(--page-gutter);
  }
}

@media (max-width: 390px) {
  .home-principles__inner,
  .home-principles:not(:has(.home-principles__inner)) {
    grid-template-columns: 1fr;
  }
}


/* Refinamento editorial: seção Como funciona */
.home-page .process-section {
  padding-top: clamp(4.5rem, 7vw, 6.75rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.75rem);
}
.home-page .process-heading {
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
}
.home-page .process-heading h2 {
  max-width: 760px;
  margin-inline: auto;
}
.home-page .process-heading h2 em {
  display: block;
  margin-top: .2em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.025em;
}
.home-page .process-intro {
  max-width: 660px;
  margin: 1.5rem auto 0;
  color: rgba(247,241,234,.78);
  font-size: var(--type-lead);
  line-height: 1.65;
}
.home-page .process-section .steps {
  gap: 1px;
  background: rgba(247,241,234,.55);
  border: 1px solid rgba(247,241,234,.55);
}
.home-page .process-section .steps li {
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  background: var(--green);
}
.home-page .process-section .step-number {
  display: block;
  grid-column: auto;
  grid-row: auto;
  align-self: auto;
  margin-bottom: 1rem;
  padding: 0;
  color: rgba(247,241,234,.7);
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: .16em;
}
.home-page .step-content {
  display: flex;
  min-height: 360px;
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  flex: 1;
  flex-direction: column;
}
.home-page .process-section .steps h3 {
  margin: 0 0 1.1rem;
}
.home-page .process-section .steps .step-kicker {
  margin: 0 0 .9rem;
  color: var(--ivory);
  font-size: clamp(1rem,1.15vw,1.12rem);
  font-weight: 600;
  line-height: 1.45;
}
.home-page .process-section .steps .step-description {
  margin: 0;
  color: rgba(247,241,234,.8);
  line-height: 1.7;
}
.home-page .process-section .steps .step-meta {
  margin: auto 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(247,241,234,.24);
  color: rgba(247,241,234,.72);
  font-family: var(--sans);
  font-size: clamp(.68rem,.75vw,.76rem);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.55;
  text-transform: uppercase;
}
.home-page .process-section .step-visual {
  height: clamp(220px,22vw,290px);
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(.72) contrast(1.02);
  transition: filter 300ms ease, transform 500ms ease;
}
.home-page .process-section .steps li:hover .step-visual {
  filter: saturate(.92) contrast(1.04);
}
.home-page .process-cta {
  margin-top: clamp(2.5rem,4vw,4rem);
  text-align: center;
}
.home-page .process-cta a {
  display: inline-block;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(247,241,234,.72);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}
.home-page .process-cta a:hover { opacity: .62; }
@media (max-width: 760px) {
  .home-page .process-heading { margin-bottom: 2.5rem; text-align: left; }
  .home-page .process-heading h2,
  .home-page .process-intro { margin-inline: 0; }
  .home-page .step-content { min-height: 0; padding: 1.75rem 1.5rem 2rem; }
  .home-page .process-section .step-visual { height: 220px; }
  .home-page .process-section .steps .step-meta { margin-top: 1.75rem; }
}

.home-page .process-section .step-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .process-section { background: var(--green); }
.home-page .process-section .steps li { align-items: stretch; }



/* Refinamento editorial — logo e processo */
.site-header .brand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(225px, 16vw, 270px);
  height: auto;
  aspect-ratio: 909 / 200;
  overflow: hidden;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.site-header .brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 125.5%;
  height: auto;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -48.4%);
  filter: brightness(0);
}
.home-page .process-section {
  padding-top: clamp(4.25rem, 6vw, 5.75rem);
  padding-bottom: clamp(4.25rem, 6vw, 5.75rem);
  background: var(--green);
}
.home-page .process-heading {
  max-width: 720px;
  margin-bottom: clamp(3rem, 5vw, 4.75rem);
}
.home-page .process-heading h2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  line-height: 1.02;
}
.process-section .steps {
  width: min(100%, 1020px);
  margin-inline: auto;
  gap: clamp(2rem, 4vw, 3.75rem);
  background: transparent;
  border: 0;
}
.process-section .steps li {
  display: flex;
  min-height: 0;
  padding: 0;
  align-items: stretch;
  flex-direction: column;
  background: transparent;
}
.process-section .step-visual {
  width: min(100%, 250px);
  height: auto;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(247, 241, 234, 0.42);
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.72) contrast(1.03);
  transition: filter 300ms ease, transform 500ms ease;
}
.process-section .step-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-section .steps li:hover .step-visual {
  filter: saturate(0.92) contrast(1.04);
  transform: translateY(-3px);
}
.process-section .step-content {
  display: flex;
  width: min(100%, 270px);
  min-height: 350px;
  margin-inline: auto;
  padding: 1.5rem 0 0;
  flex: 1;
  flex-direction: column;
  text-align: center;
}
.process-section .step-number {
  display: block;
  margin-bottom: 0.8rem;
  padding: 0;
  color: rgba(247, 241, 234, 0.7);
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.16em;
}
.process-section .steps h3 {
  margin: 0 0 0.95rem;
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  line-height: 1.22;
}
.process-section .steps .step-kicker {
  margin: 0 0 0.8rem;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}
.process-section .steps .step-description {
  margin: 0;
  color: rgba(247, 241, 234, 0.8);
  font-size: 0.88rem;
  line-height: 1.68;
}
.process-section .steps .step-meta {
  margin: auto 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(247, 241, 234, 0.24);
  color: rgba(247, 241, 234, 0.72);
  font-family: var(--sans);
  font-size: clamp(0.61rem, 0.66vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}
.process-cta { margin-top: clamp(3rem, 5vw, 4.5rem); }
@media (max-width: 1100px) {
  .site-header .brand { width: 220px; }
}
@media (max-width: 850px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: ". menu"; }
  .site-header .brand { width: min(218px, calc(100vw - 9rem)); }
  .process-section .steps { grid-template-columns: 1fr; gap: 3.25rem; }
  .process-section .step-visual { width: min(78vw, 250px); height: auto; }
  .home-page .process-heading { margin-bottom: 2.5rem; text-align: center; }
  .home-page .process-heading h2, .process-intro { margin-inline: auto; }
  .process-section .step-content { width: min(100%, 290px); min-height: 0; padding: 1.5rem 0 0; }
  .process-section .steps .step-meta { margin-top: 1.75rem; }
}
@media (max-width: 390px) {
  .site-header .brand { width: min(190px, calc(100vw - 8rem)); }
}



/* Ajuste final de especificidade */
@media (min-width: 1101px) {
  .site-header nav { gap: clamp(0.65rem, 1vw, 1rem); transform: translateX(-3rem); }
}
.home-page .process-section .steps {
  width: min(100%, 1020px);
  margin-inline: auto;
  gap: clamp(2rem, 4vw, 3.75rem);
  background: transparent;
  border: 0;
}
.home-page .process-section .steps li {
  display: flex;
  min-height: 0;
  padding: 0;
  align-items: stretch;
  flex-direction: column;
  background: transparent;
}
.home-page .process-section .step-visual {
  width: min(100%, 250px);
  height: auto;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(247, 241, 234, 0.42);
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.72) contrast(1.03);
}
.home-page .process-section .steps li:hover .step-visual {
  filter: saturate(0.92) contrast(1.04);
  transform: translateY(-3px);
}
.home-page .process-section .step-content {
  width: min(100%, 270px);
  min-height: 350px;
  margin-inline: auto;
  padding: 1.5rem 0 0;
  text-align: center;
}
.home-page .process-section .step-number {
  margin-bottom: 0.8rem;
}
.home-page .process-section .steps h3 {
  margin: 0 0 0.95rem;
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  line-height: 1.22;
}
.home-page .process-section .steps .step-kicker {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}
.home-page .process-section .steps .step-description {
  font-size: 0.88rem;
  line-height: 1.68;
}
.home-page .process-section .steps .step-meta {
  margin: auto 0 0;
  padding-top: 1.35rem;
  font-size: clamp(0.61rem, 0.66vw, 0.68rem);
}
@media (max-width: 850px) {
  .home-page .process-section .steps { grid-template-columns: 1fr; gap: 3.25rem; }
  .home-page .process-section .step-visual { width: min(78vw, 250px); height: auto; }
  .home-page .process-heading { text-align: center; }
  .home-page .process-heading h2, .home-page .process-intro { margin-inline: auto; }
  .home-page .process-section .step-content { width: min(100%, 290px); min-height: 0; padding: 1.5rem 0 0; }
}


/* Internal pages: merge the navigation with the wine cover. */
body:has(.plain-hero) .site-header {
  background: var(--wine);
  border-color: rgba(247, 241, 234, 0.22);
}

body:has(.plain-hero) .site-header nav a,
body:has(.plain-hero) .header-cta,
body:has(.plain-hero) .menu-toggle {
  color: var(--ivory);
}

body:has(.plain-hero) .site-header .brand img {
  filter: none;
}

/* About: consultative work method. */
.work-method {
  align-items: start;
}

.work-method__intro {
  position: sticky;
  top: 7rem;
}

.work-method__intro > p:last-child {
  max-width: 520px;
  margin-top: 1.75rem;
  color: rgba(247, 241, 234, 0.78);
  font-size: var(--type-lead);
  line-height: 1.72;
}

.work-method__steps li {
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding: clamp(1.7rem, 3vw, 2.35rem) 0;
}

.work-method__steps li:last-child {
  border-bottom: 1px solid rgba(247, 241, 234, 0.25);
}

.work-method__steps span {
  grid-row: 1;
  padding-top: 0.35rem;
  color: rgba(247, 241, 234, 0.65);
}

.work-method__steps h3 {
  margin: 0;
  color: var(--ivory);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.2;
}

.work-method__steps p {
  max-width: 620px;
  margin: 0.8rem 0 0;
  color: rgba(247, 241, 234, 0.76);
  line-height: 1.7;
}

.work-method__steps .work-method__subtitle {
  margin-top: 1rem;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.5;
}

/* FAQ: visible editorial answers, without accordion behavior. */
.faq-hero h1 {
  max-width: 820px;
}

.faq-editorial {
  width: min(980px, calc(100% - 2 * var(--page-gutter)));
  padding-top: clamp(4.5rem, 7vw, 7rem);
}

.faq-editorial__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(2rem, 3.5vw, 3rem) 0;
  border-top: 1px solid var(--line);
}

.faq-editorial__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-editorial__number {
  padding-top: 0.45rem;
  color: var(--wine-soft);
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.faq-editorial__item h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.25;
}

.faq-editorial__item p {
  max-width: 760px;
  margin: 1rem 0 0;
  padding: 0;
  color: rgba(21, 21, 21, 0.76);
  font-size: 1rem;
  line-height: 1.78;
}

@media (max-width: 850px) {
  body:has(.plain-hero) .site-header nav {
    background: var(--wine);
    border-color: rgba(247, 241, 234, 0.22);
  }

  .work-method__intro {
    position: static;
  }

  .work-method__steps {
    margin-top: 0.5rem;
  }

  .work-method__steps li {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0 0.9rem;
  }

  .faq-editorial {
    width: min(100% - 2.5rem, 760px);
  }

  .faq-editorial__item {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.75rem;
  }
}


/* Global header: compact side logo and seamless edge. */
.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav cta";
  column-gap: clamp(2rem, 4vw, 4.5rem);
  border-bottom: 0;
}

.site-header .brand {
  position: relative;
  top: auto;
  left: auto;
  width: clamp(155px, 11vw, 185px);
  transform: none;
}

.site-header nav {
  justify-self: center;
}

@media (max-width: 1100px) {
  .site-header .brand {
    width: 170px;
  }
}

@media (max-width: 850px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand menu";
    column-gap: 1rem;
  }

  .site-header .brand {
    width: min(165px, calc(100vw - 8rem));
  }
}


/* Blog cover uses the same integrated header as every internal cover. */
body:has(.blog-hero) .site-header {
  background: var(--wine);
  border-color: rgba(247, 241, 234, 0.22);
}

body:has(.blog-hero) .site-header nav a,
body:has(.blog-hero) .header-cta,
body:has(.blog-hero) .menu-toggle {
  color: var(--ivory);
}

body:has(.blog-hero) .site-header .brand img {
  filter: none;
}

@media (max-width: 850px) {
  body:has(.blog-hero) .site-header nav {
    background: var(--wine);
    border-color: rgba(247, 241, 234, 0.22);
  }
}


/* About: subtle divider constrained to the content container. */
.intro:has(+ .founder) {
  position: relative;
  border-bottom: 0;
}

.intro:has(+ .founder)::after {
  content: "";
  position: absolute;
  right: max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2));
  bottom: 0;
  left: max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2));
  height: 1px;
  background: rgba(11, 43, 38, 0.14);
}


/* Consortium: educational, editorial long-form page. */
.consortium-hero { align-items: end; }
.consortium-hero__copy { display: grid; grid-column: 2; gap: 1.25rem; align-self: end; max-width: 520px; }
.consortium-hero__copy p { margin: 0; color: rgba(247, 241, 234, 0.82); font-size: var(--type-lead); line-height: 1.7; }
.consortium-hero__copy .button { justify-self: start; margin-top: 0.45rem; }
body:has(.consortium-hero) .plain-hero h1,
body:has(.consortium-hero) .section h2,
body:has(.consortium-hero) .consortium-editorial h2,
body:has(.consortium-hero) .consortium-transparency h2 { font-family: var(--editorial); font-weight: 400; letter-spacing: -0.035em; }
body:has(.consortium-hero) .section > div:last-child { max-width: 620px; font-family: var(--editorial); font-size: clamp(1.02rem, 1.2vw, 1.14rem); line-height: 1.76; }
.consortium-process .steps li { grid-template-columns: 2.5rem minmax(0, 1fr); padding: clamp(1.7rem, 3vw, 2.35rem) 0; }
.consortium-process .steps p { max-width: 620px; margin-top: 0.75rem; color: rgba(247, 241, 234, 0.76); line-height: 1.72; }
.consortium-editorial { padding: clamp(4.5rem, 8vw, 7.5rem) max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2)); background: var(--ivory); color: var(--ink); border-bottom: 1px solid rgba(11, 43, 38, 0.16); }
.consortium-editorial > header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.consortium-editorial h2 { max-width: 680px; margin: 0.75rem 0 0; font-size: var(--type-title); line-height: 1.08; }
.consortium-editorial h2 em { color: var(--wine-soft); font-weight: inherit; }
.consortium-editorial > header > p { max-width: 520px; margin: 0; line-height: 1.72; }
.consortium-costs__grid,
.consortium-decision__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(11, 43, 38, 0.22); border-bottom: 1px solid rgba(11, 43, 38, 0.22); }
.consortium-costs__grid article,
.consortium-decision__grid article { min-height: 250px; padding: 1.75rem clamp(1rem, 2vw, 1.6rem); border-right: 1px solid rgba(11, 43, 38, 0.18); }
.consortium-costs__grid article:last-child,
.consortium-decision__grid article:last-child { border-right: 0; }
.consortium-costs__grid span,
.consortium-decision__grid span { color: var(--green-light); font-size: var(--type-label); font-weight: 600; letter-spacing: 0.14em; }
.consortium-costs__grid h3,
.consortium-decision__grid h3 { margin: 2.25rem 0 0.8rem; font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.3; }
.consortium-costs__grid p,
.consortium-decision__grid p { margin: 0; color: rgba(21, 21, 21, 0.72); line-height: 1.68; }
.consortium-note { max-width: 760px; margin: 2.5rem 0 0; font-family: var(--editorial); font-size: var(--type-lead); }
.editorial-list { margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid rgba(11, 43, 38, 0.2); }
.editorial-list li { padding: 0.8rem 0; border-bottom: 1px solid rgba(11, 43, 38, 0.16); }
.factor-line { margin: 2rem 0; padding: 1.2rem 0; border-top: 1px solid rgba(247, 241, 234, 0.26); border-bottom: 1px solid rgba(247, 241, 234, 0.26); color: rgba(247, 241, 234, 0.78); font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.8; text-transform: uppercase; }
.consortium-decision__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.consortium-decision__grid article { min-height: 230px; }
.consortium-decision__closing { display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-top: 2.5rem; }
.consortium-decision__closing p { max-width: 760px; margin: 0; }
.consortium-transparency { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 7rem); padding: clamp(3.5rem, 6vw, 5.5rem) max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2)); background: var(--green-light); color: var(--ivory); }
.consortium-transparency h2 { max-width: 520px; margin: 0.75rem 0 0; font-size: clamp(1.8rem, 2.8vw, 2.7rem); line-height: 1.14; }
.consortium-transparency > div:last-child { max-width: 720px; color: rgba(247, 241, 234, 0.82); }


/* Contact: boutique diagnostic experience in green and off-white only. */
body:has(.contact-hero) .site-header,
body:has(.contact-success) .site-header { background: var(--green); }
body:has(.contact-hero) .site-header nav a,
body:has(.contact-hero) .header-cta,
body:has(.contact-hero) .menu-toggle,
body:has(.contact-success) .site-header nav a,
body:has(.contact-success) .header-cta,
body:has(.contact-success) .menu-toggle { color: var(--ivory); }
body:has(.contact-hero) .site-header .brand img,
body:has(.contact-success) .site-header .brand img { filter: none; }
.contact-hero,
.contact-success { min-height: 380px; background: var(--green); }
.contact-hero > div:first-child { grid-column: 1; }
.contact-hero__copy { display: grid; grid-column: 2; gap: 1.5rem; align-self: end; max-width: 560px; }
.contact-hero__copy > p { margin: 0; color: rgba(247, 241, 234, 0.84); font-size: var(--type-lead); line-height: 1.7; }
.contact-hero__copy .contact-hero__meta { padding-top: 1rem; border-top: 1px solid rgba(247, 241, 234, 0.24); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-flow { padding: clamp(2.75rem, 5vw, 4.25rem) max(var(--page-gutter), calc((100vw - var(--content-wide)) / 2)); background: var(--ivory); color: var(--green); border-bottom: 1px solid rgba(11, 43, 38, 0.16); }
.contact-flow > header { margin-bottom: 1.5rem; }
.contact-flow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(11, 43, 38, 0.2); }
.contact-flow li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem clamp(1rem, 2vw, 1.75rem) 0 0; border-right: 1px solid rgba(11, 43, 38, 0.16); }
.contact-flow li + li { padding-left: clamp(1rem, 2vw, 1.75rem); }
.contact-flow li:last-child { border-right: 0; }
.contact-flow span { font-size: var(--type-label); font-weight: 600; letter-spacing: 0.12em; }
.contact-flow h2 { margin: 0 0 0.55rem; font-size: 1rem; line-height: 1.4; }
.contact-flow p { margin: 0; color: rgba(11, 43, 38, 0.72); font-size: 0.9rem; line-height: 1.65; }
.contact-form-section { grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1.48fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; background: var(--ivory); border-bottom-color: rgba(11, 43, 38, 0.18); }
.contact-form-intro { position: sticky; top: 2rem; max-width: 420px; }
.contact-form-intro h2 em { color: var(--green-light); }
.contact-form-intro > p:last-child { color: rgba(11, 43, 38, 0.76); line-height: 1.72; }
.contact-form-wrap { width: min(100%, 850px); }
.diagnostic-form { width: 100%; padding: clamp(1.5rem, 3.5vw, 3rem); background: rgba(255, 255, 255, 0.3); border-color: rgba(11, 43, 38, 0.22); }
.diagnostic-form fieldset { margin: 0; padding: clamp(2.25rem, 4vw, 3.25rem) 0; border-top: 1px solid rgba(11, 43, 38, 0.18); }
.diagnostic-form fieldset:first-of-type { padding-top: 0; border-top: 0; }
.diagnostic-form legend { width: 100%; color: var(--green); }
.diagnostic-form legend span { margin-right: 0.75rem; color: var(--green-light); font-size: var(--type-label); letter-spacing: 0.12em; }
.fieldset-intro { max-width: 650px; margin: -0.5rem 0 1.75rem; color: rgba(11, 43, 38, 0.68); font-size: 0.92rem; }
.diagnostic-form label { gap: 0.55rem; margin-bottom: 1.35rem; color: var(--green); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.diagnostic-form input,
.diagnostic-form select,
.diagnostic-form textarea { min-height: 48px; color: var(--green); border-bottom-color: rgba(11, 43, 38, 0.4); }
.diagnostic-form textarea { min-height: 130px; resize: vertical; }
.diagnostic-form input:focus,
.diagnostic-form select:focus,
.diagnostic-form textarea:focus { border-bottom-color: var(--green); box-shadow: 0 2px 0 var(--green); }
.field-help,
.diagnostic-form .field-error { display: block; font-size: 0.76rem; font-weight: 400; line-height: 1.5; }
.field-help { color: rgba(11, 43, 38, 0.62); }
.diagnostic-form .consents { margin: 0; padding: 2rem 0 0; border-top: 1px solid rgba(11, 43, 38, 0.18); }
.diagnostic-form .consents label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.8rem; align-items: start; font-weight: 400; }
.diagnostic-form .consents input { min-height: 0; margin-top: 0.3rem; accent-color: var(--green); }
.diagnostic-form .consents > p,
.form-submit > p { color: rgba(11, 43, 38, 0.62); font-size: 0.76rem; line-height: 1.55; }
.form-submit { display: flex; gap: 1.5rem; align-items: center; margin-top: 2rem; }
.form-submit .button { flex: 0 0 auto; background: var(--green); border-color: var(--green); border-radius: 2px; }
.form-submit > p { max-width: 340px; margin: 0; }
.contact-success h1 em { color: rgba(247, 241, 234, 0.74); }
.contact-success > p { max-width: 680px; }
.contact-success .actions { justify-content: center; }

@media (max-width: 1000px) {
  .consortium-costs__grid,
  .consortium-decision__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consortium-costs__grid article:nth-child(2),
  .consortium-decision__grid article:nth-child(2),
  .consortium-decision__grid article:nth-child(4) { border-right: 0; }
  .consortium-costs__grid article:nth-child(-n + 2),
  .consortium-decision__grid article:nth-child(-n + 4) { border-bottom: 1px solid rgba(11, 43, 38, 0.18); }
}
@media (max-width: 850px) {
  body:has(.contact-hero) .site-header nav,
  body:has(.contact-success) .site-header nav { background: var(--green); border-color: rgba(247, 241, 234, 0.22); }
  .consortium-hero__copy,
  .contact-hero__copy,
  .contact-hero > div:first-child { grid-column: 1; }
  .consortium-editorial > header,
  .consortium-transparency,
  .contact-form-section { grid-template-columns: 1fr; }
  .consortium-decision__closing,
  .form-submit { align-items: flex-start; flex-direction: column; }
  .contact-flow ol { grid-template-columns: 1fr; }
  .contact-flow li,
  .contact-flow li + li { padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid rgba(11, 43, 38, 0.16); }
  .contact-flow li:last-child { border-bottom: 0; }
  .contact-form-intro { position: static; max-width: 620px; }
  .form-submit .button { width: 100%; }
}
@media (max-width: 560px) {
  .consortium-costs__grid,
  .consortium-decision__grid { grid-template-columns: 1fr; }
  .consortium-costs__grid article,
  .consortium-decision__grid article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(11, 43, 38, 0.18); }
  .consortium-costs__grid article:last-child,
  .consortium-decision__grid article:last-child { border-bottom: 0; }
  .diagnostic-form { padding: 1.25rem; }
  .diagnostic-form .two-cols { grid-template-columns: 1fr; }
}


/* Home cover header + borderless founder portrait — 2026-10-02 */
.founder figure {
  padding: 0;
  border: 0;
}

body:has(.home-page) .site-header {
  position: absolute;
  inset: 0 0 auto;
  color: var(--ivory);
  background: transparent;
}

body:has(.home-page) .site-header nav a,
body:has(.home-page) .header-cta,
body:has(.home-page) .menu-toggle {
  color: var(--ivory);
}

body:has(.home-page) .site-header .brand img {
  filter: none;
}

body:has(.home-page) .home-hero {
  min-height: min(840px, 100svh);
}

@media (max-width: 850px) {
  body:has(.home-page) .site-header nav {
    background: rgba(52, 0, 26, 0.98);
    border-color: rgba(247, 241, 234, 0.22);
  }
}


/* Consortium: varied editorial rhythm without changing the content — 2026-10-02 */
@media (min-width: 851px) {
  .consortium-concept { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); align-items: start; }
  .consortium-concept > div:first-child { position: sticky; top: 2.5rem; padding-top: 2.5rem; }
  .consortium-concept > div:last-child { padding: clamp(2.25rem, 4vw, 3.75rem); border-left: 1px solid rgba(11, 43, 38, 0.2); }
  .consortium-process { display: block; }
  .consortium-process > div:first-child { display: grid; grid-template-columns: 0.34fr minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
  .consortium-process > div:first-child .eyebrow { padding-top: 0.8rem; }
  .consortium-process > div:first-child h2 { max-width: 820px; margin-top: 0; }
  .consortium-process .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(247, 241, 234, 0.3); border-bottom: 1px solid rgba(247, 241, 234, 0.3); }
  .consortium-process .steps li { display: block; min-height: 390px; padding: 2.25rem clamp(1.5rem, 2.4vw, 2.5rem); border-top: 0; border-right: 1px solid rgba(247, 241, 234, 0.22); }
  .consortium-process .steps li:last-child { border-right: 0; }
  .consortium-process .steps span { display: block; margin-bottom: clamp(3rem, 7vw, 6rem); }
  .consortium-process .steps h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); }
  .consortium-lance { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; }
  .consortium-lance > div:first-child { padding-top: clamp(2.5rem, 6vw, 6rem); }
  .consortium-lance > div:last-child { padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(2.5rem, 4vw, 4rem) clamp(2rem, 5vw, 5rem); border-left: 1px solid rgba(247, 241, 234, 0.25); }
  .consortium-fgts { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; }
  .consortium-fgts > div:first-child { grid-column: 2; grid-row: 1; justify-self: end; }
  .consortium-fgts > div:last-child { grid-column: 1; grid-row: 1; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid rgba(11, 43, 38, 0.2); }
  .consortium-time { display: block; text-align: center; }
  .consortium-time > div:first-child { width: min(760px, 100%); margin-inline: auto; }
  .consortium-time > div:first-child h2 { max-width: none; }
  .consortium-time > div:last-child { max-width: 940px !important; margin: clamp(3rem, 6vw, 5rem) auto 0; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(247, 241, 234, 0.28); columns: 2; column-gap: clamp(3rem, 8vw, 7rem); text-align: left; }
  .consortium-time > div:last-child p { break-inside: avoid; margin-top: 0; margin-bottom: 1.35rem; }
  .consortium-commitment { grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr); align-items: start; }
  .consortium-commitment > div:first-child { position: sticky; top: 2.5rem; }
  .consortium-commitment .editorial-list { margin-block: 2.5rem; }
  .consortium-commitment .editorial-list li { padding: 1.1rem 0; font-size: clamp(1.05rem, 1.3vw, 1.18rem); }
  .consortium-compare { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; }
  .consortium-compare > div:last-child { padding-left: clamp(2rem, 5vw, 5rem); border-left: 1px solid rgba(247, 241, 234, 0.25); }
  .consortium-decision > header { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .consortium-decision > header > p { max-width: 680px; }
}
@media (max-width: 850px) {
  .consortium-concept > div:first-child, .consortium-commitment > div:first-child { position: static; }
  .consortium-concept > div:last-child, .consortium-lance > div:last-child, .consortium-compare > div:last-child { padding-left: 0; border-left: 0; }
  .consortium-fgts > div:first-child, .consortium-fgts > div:last-child { grid-column: 1; grid-row: auto; }
  .consortium-time > div:last-child { columns: 1; }
}


/* Internal cover title scale + WhatsApp icon button — 2026-10-02 */
body:not(:has(.home-page)) .plain-hero h1,
body:not(:has(.home-page)) .blog-hero h1 {
  font-size: var(--type-display);
  line-height: var(--leading-display);
}
.whatsapp {
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 0.75rem 2rem rgba(11, 43, 38, 0.28);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.whatsapp svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp:hover { background: #1fbd5a; box-shadow: 0 1rem 2.4rem rgba(11, 43, 38, 0.34); transform: translateY(-2px); }
.whatsapp:focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; }
@media (max-width: 560px) {
  .whatsapp { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
  .whatsapp svg { width: 27px; height: 27px; }
}


/* Internal covers: exact Consortium title typography — 2026-10-02 */
body:not(:has(.home-page)) .plain-hero h1,
body:not(:has(.home-page)) .blog-hero h1 {
  font-family: var(--editorial);
  font-size: var(--type-display);
  font-weight: 400;
  line-height: var(--leading-display);
  letter-spacing: -0.035em;
}


/* About portrait: medium circular crop — 2026-10-02 */
.founder figure {
  width: min(100%, 340px);
  max-width: 340px;
  padding: 0;
  border: 0;
}
.founder img {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}
@media (max-width: 850px) {
  .founder figure { max-width: 280px; }
}


/* Documentos legais — composição editorial, sem esconder conteúdo */
.legal-document { width: min(1120px, 88%); max-width: none; padding: clamp(4rem, 8vw, 8rem) 0; }
.legal-header { max-width: 860px; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.legal-header h1 { max-width: 820px; margin: 0.65rem 0 1.25rem; font-family: var(--editorial); font-size: clamp(3.4rem, 7vw, 6.5rem); font-weight: 400; letter-spacing: -0.04em; line-height: 0.96; }
.legal-updated { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-lead { max-width: 720px; margin-top: 1.5rem; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.65; }
.legal-index { margin-bottom: clamp(4rem, 7vw, 7rem); padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid rgba(11, 43, 38, 0.22); border-bottom: 1px solid rgba(11, 43, 38, 0.22); }
.legal-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 2rem; margin: 1.25rem 0 0; padding: 0; list-style-position: inside; }
.legal-index a { text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.legal-document > section { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: clamp(1.2rem, 3vw, 3rem); max-width: 900px; padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid rgba(11, 43, 38, 0.16); scroll-margin-top: 2rem; }
.legal-document > section > *:not(.legal-number) { grid-column: 2; }
.legal-number { grid-column: 1; grid-row: 1 / span 12; padding-top: 0.55rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; }
.legal-document section h2 { margin: 0 0 1.5rem; font-family: var(--editorial); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; }
.legal-document section h3 { margin: 2rem 0 0.5rem; font-size: 1rem; font-weight: 700; }
.legal-document section p, .legal-document section li { font-size: 1.02rem; line-height: 1.78; }
.legal-document section ul { margin: 0.5rem 0 1.25rem; padding-left: 1.25rem; }
.legal-document section li + li { margin-top: 0.35rem; }
.legal-note { margin-top: 1.5rem; padding: 1.4rem 1.6rem; background: rgba(11, 43, 38, 0.06); border-left: 2px solid var(--green); }
.legal-note p:first-child { margin-top: 0; }
.legal-note p:last-child { margin-bottom: 0; }
.legal-table-wrap { overflow-x: auto; margin: 0.75rem 0 1.5rem; }
.legal-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 1rem; border-bottom: 1px solid rgba(11, 43, 38, 0.18); text-align: left; vertical-align: top; }
.legal-table th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-top { display: inline-block; margin-top: 2rem; padding-bottom: 0.35rem; border-bottom: 1px solid currentColor; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
@media (max-width: 700px) {
  .legal-document { width: min(100% - 2.5rem, 1120px); }
  .legal-index ol { grid-template-columns: 1fr; }
  .legal-document > section { grid-template-columns: 1fr; }
  .legal-document > section > *:not(.legal-number), .legal-number { grid-column: 1; }
  .legal-number { grid-row: auto; margin-bottom: 0.7rem; }
}
