/*
 * R.A. Therapeutic Consulting
 * Editorial system — restrained, photographic and content-led.
 */

:root {
  --ra-bg: #ede5da;
  --ra-paper: #f7f3ed;
  --ra-blue: #2e4a67;
  --ra-blue-soft: rgba(46, 74, 103, 0.72);
  --ra-blue-faint: rgba(46, 74, 103, 0.48);
  --ra-gold: #d2b589;
  --ra-line: #d8c7ac;
  --ra-cloud: #a8b7c7;
  --ra-serif: "Antic Didone", serif;
  --ra-sans: "Sora", sans-serif;
  --ra-content: 1280px;
  --ra-edge: clamp(24px, 4.5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(247, 243, 237, 0.58) 0, rgba(247, 243, 237, 0) 34rem),
    var(--ra-bg);
  color: var(--ra-blue);
  font-family: var(--ra-sans);
  font-size: 16px;
  line-height: 1.75;
}

::selection {
  background: var(--ra-blue);
  color: var(--ra-paper);
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(100%, var(--ra-content));
  max-width: var(--ra-content);
  margin-inline: auto;
  padding-inline: var(--ra-edge);
}

h1,
h2,
h3,
h4 {
  color: var(--ra-blue);
  font-family: var(--ra-serif);
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(247, 243, 237, 0.65);
  text-wrap: balance;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ra-gold);
  outline-offset: 4px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(46, 74, 103, 0.14);
  background: rgba(237, 229, 218, 0.97);
  transition: background-color 180ms ease;
}

header.is-scrolled {
  background: rgba(247, 243, 237, 0.98);
}

.nav {
  min-height: 88px;
  padding-block: 0;
}

.brand {
  position: relative;
  padding-left: 18px;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 1px auto 1px 0;
  width: 2px;
  background: var(--ra-gold);
}

.brand .ra {
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand .tc {
  margin-top: 7px;
  color: var(--ra-blue);
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: 0.24em;
}

.brand .name {
  margin-top: 4px;
  color: var(--ra-gold);
  font-size: 8.5px;
  line-height: 1.1;
  letter-spacing: 0.09em;
}

.navlinks {
  gap: clamp(16px, 1.9vw, 30px);
}

.navlinks a {
  position: relative;
  padding-block: 9px;
  color: var(--ra-blue-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.navlinks a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ra-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.navlinks a:hover,
.navlinks a.active {
  border: 0;
  color: var(--ra-blue);
}

.navlinks a:hover::after,
.navlinks a.active::after {
  transform: scaleX(1);
}

.btn-cta {
  min-height: 44px;
  justify-content: center;
  border: 1px solid var(--ra-blue);
  border-radius: 0;
  padding: 12px 19px;
  background: var(--ra-blue);
  color: var(--ra-paper);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.13em;
  transition: background-color 180ms ease, color 180ms ease;
}

.btn-cta:hover {
  background: transparent;
  color: var(--ra-blue);
}

.btn-cta.on-blue {
  border-color: var(--ra-paper);
  background: var(--ra-paper);
  color: var(--ra-blue);
}

.btn-cta.on-blue:hover {
  background: transparent;
  color: var(--ra-paper);
}

.menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(46, 74, 103, 0.28);
  border-radius: 0;
  padding: 11px;
}

.menu-btn span {
  width: 20px;
  margin: 4px 0;
}

/* Small editorial language */
.kicker {
  display: inline-block;
  border-bottom: 1px solid rgba(210, 181, 137, 0.72);
  padding-bottom: 6px;
  color: var(--ra-blue);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.22em;
}

.btn-ed {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 0;
  padding: 0 0 6px;
  color: var(--ra-blue);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.btn-ed::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ra-blue);
  transition: background-color 180ms ease;
}

.btn-ed:hover::after {
  background: var(--ra-gold);
}

.btn-ed.muted {
  color: var(--ra-blue-soft);
}

.btn-ed.on-blue {
  color: var(--ra-paper);
}

.btn-ed.on-blue::after {
  background: rgba(247, 243, 237, 0.55);
}

/* Hero */
section.hero {
  min-height: 720px;
  border-bottom: 1px solid var(--ra-line);
  padding: 0;
  background:
    linear-gradient(128deg, rgba(247, 243, 237, 0.9) 0%, rgba(237, 229, 218, 0.96) 58%, rgba(210, 181, 137, 0.14) 100%),
    var(--ra-bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  width: min(100%, 1480px);
  min-height: 720px;
  margin-inline: auto;
  padding-left: var(--ra-edge);
  align-items: stretch;
}

.hero .hero-text.wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  max-width: 760px;
  margin: 0;
  padding: clamp(84px, 8vw, 124px) clamp(44px, 6vw, 94px) clamp(90px, 8vw, 126px) 0;
}

.hero h1 {
  max-width: 11.5ch;
  margin: 24px 0 28px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.055;
  letter-spacing: -0.026em;
}

.hero p.lede {
  max-width: 42ch;
  margin: 0 0 17px;
  color: var(--ra-blue);
  font-family: var(--ra-serif);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.55;
}

.hero p.compl {
  max-width: 56ch;
  margin: 0 0 31px;
  color: var(--ra-blue-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
}

.hero-actions .btn-ed:first-child {
  min-height: 46px;
  border: 1px solid var(--ra-blue);
  padding: 12px 18px;
  background: var(--ra-blue);
  color: var(--ra-paper);
  transition: background-color 180ms ease, color 180ms ease;
}

.hero-actions .btn-ed:first-child::after {
  display: none;
}

.hero-actions .btn-ed:first-child:hover {
  background: transparent;
  color: var(--ra-blue);
}

.hero-meta {
  margin-top: 26px;
  color: var(--ra-blue-faint);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.hero-img {
  position: relative;
  z-index: 1;
  min-height: 720px;
  width: calc(100% + clamp(54px, 6vw, 96px));
  margin-left: clamp(-96px, -6vw, -54px);
  overflow: hidden;
  background: var(--ra-cloud);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 9%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 9%, #000 28%, #000 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Contact has no image. */
.page-contact section.hero {
  display: flex;
  min-height: 560px;
  align-items: center;
  padding-bottom: 0 !important;
}

.page-contact section.hero > .wrap {
  width: min(100%, 880px);
  max-width: 880px !important;
  margin-inline: auto;
  padding-top: 0 !important;
}

.page-contact .hero h1 {
  max-width: 10ch;
}

.page-contact .hero .lede {
  max-width: 54ch;
}

/* Sections */
section {
  position: relative;
  padding-block: clamp(92px, 8vw, 132px);
}

.section-tight {
  padding-block: clamp(70px, 6vw, 96px);
}

.bloco-ivory,
.asym-img-wrap.bloco-ivory {
  margin: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(247, 243, 237, 1) 0%, rgba(247, 243, 237, 0.86) 46%, rgba(210, 181, 137, 0.12) 100%),
    var(--ra-paper);
}

.bloco-azul {
  margin: 0;
  border-radius: 0;
  background:
    linear-gradient(118deg, rgba(168, 183, 199, 0.1) 0%, rgba(46, 74, 103, 0) 43%, rgba(210, 181, 137, 0.09) 100%),
    var(--ra-blue);
  color: var(--ra-paper);
  box-shadow: none;
}

.bloco-azul h2,
.bloco-azul h3 {
  color: var(--ra-paper);
  text-shadow: none;
}

.bloco-azul p {
  color: rgba(247, 243, 237, 0.75);
}

.bloco-azul .kicker {
  border-bottom-color: rgba(210, 181, 137, 0.72);
  color: var(--ra-gold);
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(48px, 5vw, 72px);
  border-left: 2px solid var(--ra-gold);
  padding-left: 24px;
}

.section-head h2 {
  max-width: 18ch;
  margin-top: 17px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.section-head p {
  max-width: 61ch;
  margin-top: 20px;
  color: var(--ra-blue-soft);
  font-size: 15.5px;
  line-height: 1.82;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(64px, 9vw, 132px);
  width: min(100%, var(--ra-content));
  margin-inline: auto;
  padding: clamp(92px, 8vw, 132px) var(--ra-edge);
  align-items: start;
}

.two-col h2 {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(34px, 3.4vw, 49px);
  line-height: 1.14;
  letter-spacing: -0.014em;
}

.two-col > .corpo,
.two-col > .col:last-child {
  padding-top: 34px;
}

.corpo p {
  max-width: 66ch;
  margin-bottom: 22px;
  color: var(--ra-blue-soft);
  font-size: 15.5px;
  line-height: 1.88;
}

.corpo p.destaque {
  max-width: 35ch;
  margin-bottom: 28px;
  color: var(--ra-blue);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.45;
}

.tags-line {
  max-width: 900px;
  margin-block: 38px;
  color: var(--ra-gold);
  font-family: var(--ra-sans);
  font-size: 11px;
  line-height: 2.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Editorial columns */
.editorial-3,
.contact-paths,
.midia-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--ra-line);
}

.editorial-3 .item,
.cpath,
.midia-item {
  margin: 0;
  border: 0;
  border-right: 1px solid var(--ra-line);
  padding: 36px clamp(26px, 3vw, 42px) 8px;
}

.editorial-3 .item:first-child,
.cpath:first-child,
.midia-item:first-child {
  padding-left: 0;
}

.editorial-3 .item:last-child,
.cpath:last-child,
.midia-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.editorial-3 h3,
.cpath h3 {
  margin: 15px 0 13px;
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.25;
}

.editorial-3 p,
.cpath p,
.midia-item p {
  margin-bottom: 22px;
  color: var(--ra-blue-soft);
  font-size: 13.5px;
  line-height: 1.78;
}

.midia-item .ano {
  margin-bottom: 13px;
  color: var(--ra-gold);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.midia-item h4 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.42;
}

/* Lists */
.lista-fina,
.perguntas {
  margin: 0;
}

.lista-fina li,
.perguntas li {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--ra-line);
  color: var(--ra-blue-soft);
}

.lista-fina li:first-child,
.perguntas li:first-child {
  border-top: 1px solid var(--ra-line);
}

.lista-fina li {
  padding: 23px 0;
  font-size: 14.5px;
}

.lista-fina b {
  margin-bottom: 5px;
  color: var(--ra-blue);
  font-size: 20px;
}

.perguntas {
  max-width: 880px;
  margin-top: 36px;
}

.perguntas li {
  padding: 23px 0 23px 34px;
  color: var(--ra-blue);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.48;
}

.perguntas li::before {
  content: "—";
  position: absolute;
  top: 22px;
  left: 0;
  color: var(--ra-gold);
}

/* Comparison, process and timeline */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(46px, 7vw, 92px);
  margin-top: 44px;
}

.compare .col,
.compare .col:first-child,
.compare .col:last-child {
  margin: 0;
  border: 0;
  padding: 0;
}

.compare h3 {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ra-gold);
  padding-bottom: 11px;
  color: var(--ra-blue);
  font-size: 11px;
  letter-spacing: 0.11em;
}

.compare li {
  border-bottom: 1px solid var(--ra-line);
  padding: 12px 0;
  color: var(--ra-blue-soft);
  font-size: 14px;
}

.steps-vert,
.timeline {
  max-width: 960px;
  margin: 44px 0 0 auto;
}

.step-row,
.tl-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 30px;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--ra-line);
  padding: 30px 0;
}

.step-row:last-child,
.tl-item:last-child {
  border-bottom: 1px solid var(--ra-line);
}

.step-row .n,
.tl-year {
  color: var(--ra-gold);
  font-family: var(--ra-serif);
  font-size: 30px;
  line-height: 1.2;
}

.step-row h3,
.tl-item h3 {
  margin-bottom: 7px;
  color: var(--ra-blue);
  font-family: var(--ra-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.step-row p,
.tl-item p {
  max-width: 63ch;
  color: var(--ra-blue-soft);
  font-size: 14px;
  line-height: 1.78;
}

.tl-item .tl-stat {
  color: var(--ra-blue-faint);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.tl-photo {
  max-width: 560px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 0;
}

.tl-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  object-fit: cover;
}

/* Founder / image and text */
.asym-img-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.asym-img-wrap.reverse {
  grid-template-columns: minmax(360px, 0.96fr) minmax(0, 1.04fr);
}

.asym-img {
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.18) 91%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.18) 91%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.asym-img img {
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
  object-position: top center;
}

.asym-text,
.asym-img-wrap.reverse .asym-text {
  align-self: center;
  max-width: 660px;
  margin: 0;
  padding: 90px clamp(44px, 7vw, 112px);
}

.asym-img-wrap.reverse .asym-img {
  order: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 9%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 9%, #000 28%, #000 100%);
}

.asym-text h2 {
  margin: 17px 0 20px;
  font-size: clamp(39px, 4vw, 55px);
  line-height: 1.1;
}

.asym-text p {
  margin-bottom: 20px;
  color: var(--ra-blue-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.aviso {
  max-width: 62ch;
  margin-top: 24px;
  color: var(--ra-blue-faint);
  font-size: 12px;
  line-height: 1.7;
}

/* Form */
.form-inst {
  max-width: 820px;
  margin: 32px 0 0 auto;
}

.field {
  margin-bottom: 26px;
}

.field-row {
  gap: 28px;
}

.field label {
  margin-bottom: 7px;
  color: var(--ra-blue-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.field input,
.field select,
.field textarea {
  border: 0;
  border-bottom: 1px solid rgba(46, 74, 103, 0.35);
  border-radius: 0;
  padding: 11px 2px;
  background: transparent;
  color: var(--ra-blue);
  font-size: 15px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ra-gold);
  box-shadow: none;
}

.form-note {
  color: var(--ra-blue-faint);
}

.success-inst {
  max-width: 760px;
  margin-left: auto;
}

/* Footer */
footer {
  position: relative;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 76px 0 30px;
  background: var(--ra-blue);
  color: rgba(247, 243, 237, 0.68);
  overflow: hidden;
}

.foot-top {
  gap: 48px;
  padding-bottom: 46px;
}

.foot-brand {
  border-left: 2px solid var(--ra-gold);
  padding-left: 18px;
}

.foot-brand .ra {
  color: var(--ra-paper);
  font-size: 30px;
  line-height: 1;
}

.foot-brand .tc {
  margin-top: 8px;
  font-size: 8.5px;
}

.foot-brand .name {
  margin-top: 7px;
  font-size: 10px;
}

.foot-links {
  max-width: 620px;
  justify-content: flex-end;
  gap: 15px 34px;
  font-size: 11.5px;
}

.foot-mid {
  padding-block: 24px;
  font-size: 11px;
}

.foot-bottom {
  max-width: 48ch;
  padding-top: 27px;
  color: rgba(247, 243, 237, 0.68);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .navlinks {
    gap: 14px;
  }

  .navlinks a {
    font-size: 9px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.86fr);
  }

  .hero h1 {
    font-size: clamp(46px, 5.1vw, 59px);
  }
}

@media (max-width: 1040px) {
  .navlinks {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .navlinks[style] {
    top: 88px !important;
    gap: 0 !important;
    border-bottom: 1px solid var(--ra-line) !important;
    padding: 16px var(--ra-edge) 22px !important;
    background: var(--ra-paper) !important;
  }

  .navlinks[style] a {
    width: 100%;
    border-bottom: 1px solid rgba(46, 74, 103, 0.12);
    padding: 12px 0;
    font-size: 10px;
  }

  .navlinks[style] a::after {
    display: none;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .two-col h2 {
    max-width: 16ch;
  }

  .two-col > .corpo,
  .two-col > .col:last-child {
    max-width: 760px;
    margin-left: clamp(0px, 7vw, 76px);
    padding-top: 0;
  }

  .editorial-3,
  .contact-paths,
  .midia-list {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-3 .item:nth-child(2),
  .cpath:nth-child(2),
  .midia-item:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .editorial-3 .item:nth-child(3),
  .cpath:nth-child(3),
  .midia-item:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ra-line);
    border-right: 0;
    padding-left: 0;
  }

  .asym-img-wrap,
  .asym-img-wrap.reverse {
    grid-template-columns: 1fr;
  }

  .asym-img-wrap.reverse .asym-img {
    order: 0;
  }

  .asym-img,
  .asym-img-wrap.reverse .asym-img {
    min-height: 590px;
    height: 70svh;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  }

  .asym-text,
  .asym-img-wrap.reverse .asym-text {
    max-width: 780px;
    padding: 76px var(--ra-edge) 96px;
  }

  .page-contact section.hero {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  section.hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-inline: var(--ra-edge);
  }

  .hero .hero-text.wrap {
    max-width: 760px;
    padding: 74px 0 56px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(47px, 8vw, 64px);
  }

  .hero-img {
    min-height: 520px;
    height: 65svh;
    width: calc(100% + var(--ra-edge) + var(--ra-edge));
    margin-right: calc(0px - var(--ra-edge));
    margin-left: calc(0px - var(--ra-edge));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
  }
}

@media (max-width: 640px) {
  :root {
    --ra-edge: 22px;
  }

  html {
    scroll-padding-top: 74px;
  }

  .nav {
    min-height: 74px;
  }

  .brand {
    padding-left: 14px;
  }

  .brand .ra {
    font-size: 21px;
  }

  .brand .tc,
  .brand .name {
    display: none;
  }

  header .btn-cta {
    min-height: 40px;
    padding: 11px 13px;
    font-size: 9.5px;
  }

  .menu-btn {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .navlinks[style] {
    top: 74px !important;
  }

  section,
  .two-col {
    padding-block: 76px;
  }

  .section-tight {
    padding-block: 60px;
  }

  .hero .hero-text.wrap {
    padding: 64px 0 48px;
  }

  .hero h1 {
    margin: 20px 0 24px;
    font-size: clamp(41px, 12vw, 55px);
    line-height: 1.06;
  }

  .hero p.lede {
    font-size: 18px;
  }

  .hero p.compl {
    font-size: 13px;
  }

  .hero-actions {
    gap: 18px 24px;
  }

  .hero-img {
    min-height: 430px;
    height: 61svh;
  }

  .page-contact section.hero {
    min-height: 450px;
  }

  .section-head {
    margin-bottom: 42px;
    padding-left: 18px;
  }

  .section-head h2,
  .two-col h2,
  .asym-text h2 {
    font-size: clamp(34px, 10.5vw, 45px);
  }

  .two-col {
    gap: 35px;
  }

  .two-col > .corpo,
  .two-col > .col:last-child {
    margin-left: 0;
  }

  .corpo p {
    font-size: 14.5px;
  }

  .editorial-3,
  .contact-paths,
  .midia-list,
  .compare {
    grid-template-columns: 1fr !important;
  }

  .editorial-3 .item,
  .cpath,
  .midia-item,
  .editorial-3 .item:first-child,
  .cpath:first-child,
  .midia-item:first-child,
  .editorial-3 .item:nth-child(2),
  .cpath:nth-child(2),
  .midia-item:nth-child(2),
  .editorial-3 .item:nth-child(3),
  .cpath:nth-child(3),
  .midia-item:nth-child(3) {
    grid-column: auto;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ra-line);
    padding: 28px 0;
  }

  .editorial-3 .item:last-child,
  .cpath:last-child,
  .midia-item:last-child {
    border-bottom: 0;
  }

  .compare {
    gap: 48px;
  }

  .steps-vert,
  .timeline,
  .form-inst {
    margin-left: 0;
  }

  .step-row,
  .tl-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    padding-block: 25px;
  }

  .step-row .n,
  .tl-year {
    font-size: 22px;
  }

  .step-row h3,
  .tl-item h3 {
    font-size: 20px;
  }

  .asym-img {
    min-height: 460px;
    height: 64svh;
  }

  .asym-text,
  .asym-img-wrap.reverse .asym-text {
    padding-block: 66px 78px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer {
    padding-top: 64px;
  }

  .foot-top {
    flex-direction: column;
  }

  .foot-links {
    justify-content: flex-start;
    gap: 13px 24px;
  }

  .foot-mid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* =========================================================
   BELOW-THE-FOLD DEPTH SYSTEM — V6
   The hero is intentionally untouched. Depth comes from
   editorial panels, paper surfaces and restrained contrast.
   ========================================================= */

:root {
  --ra-paper: #fbf8f2;
  --ra-paper-strong: #fffdf8;
  --ra-card-line: rgba(30, 53, 83, .14);
  --ra-shadow-card: 0 22px 60px rgba(21, 42, 68, .10);
  --ra-shadow-deep: 0 34px 84px rgba(8, 27, 52, .24);
}

/* Quote: an intentional transition out of the photographic hero. */
.page-home .hero + .bloco-ivory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .035), transparent 42%),
    linear-gradient(135deg, #142c49 0%, #1c3b61 56%, #132d4d 100%);
}

.page-home .hero + .bloco-ivory::before {
  content: "“";
  position: absolute;
  z-index: -1;
  top: -46px;
  left: max(24px, calc((100vw - var(--ra-content)) / 2));
  color: rgba(218, 185, 132, .14);
  font-family: Georgia, serif;
  font-size: clamp(210px, 24vw, 390px);
  font-weight: 700;
  line-height: 1;
}

.page-home .hero + .bloco-ivory .wrap {
  max-width: 980px;
  padding-block: clamp(10px, 2vw, 28px);
}

.page-home .hero + .bloco-ivory p {
  color: var(--ra-paper) !important;
  text-wrap: balance;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .12);
}

.page-home .hero + .bloco-ivory .kicker,
.page-home .hero + .bloco-ivory strong {
  color: var(--ra-gold) !important;
}

/* Narrative rows now have a clear editorial anchor and a paper surface. */
.page-home .two-col {
  position: relative;
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.page-home .two-col > .corpo {
  position: relative;
  margin-left: 0;
  padding: clamp(32px, 4.5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--ra-card-line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(248, 243, 234, .76));
  box-shadow: var(--ra-shadow-card);
}

.page-home .two-col > .corpo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ra-gold), rgba(181, 139, 78, .18));
}

.page-home .two-col > .corpo p:last-child {
  margin-bottom: 0;
}

/* Blue sections are full-bleed, but their content lives in a composed panel. */
.page-home .bloco-azul {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .035), transparent 38%),
    linear-gradient(145deg, #163352 0%, #1e4167 52%, #142f4f 100%);
}

.page-home .bloco-azul > .wrap {
  position: relative;
  padding: clamp(42px, 5.5vw, 76px);
  border: 1px solid rgba(247, 243, 237, .20);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: 0 32px 76px rgba(4, 21, 40, .18);
}

.page-home .bloco-azul > .wrap::after {
  content: "";
  position: absolute;
  right: clamp(28px, 6vw, 86px);
  bottom: 0;
  width: clamp(86px, 12vw, 168px);
  height: 3px;
  background: var(--ra-gold);
}

.page-home .bloco-azul .kicker {
  color: #e0bd82;
}

/* Services: meaningful, tactile cards instead of floating text columns. */
.page-home .two-col + .bloco-ivory.section-tight {
  position: relative;
  background:
    linear-gradient(90deg, rgba(30, 62, 98, .045) 1px, transparent 1px),
    linear-gradient(180deg, #f1ece3 0%, #f8f4ed 100%);
  background-size: min(8vw, 92px) 100%, auto;
}

.page-home .two-col + .bloco-ivory.section-tight .editorial-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px;
  border: 0;
}

.page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item,
.page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item:first-child,
.page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item:last-child {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: clamp(32px, 4vw, 50px);
  overflow: hidden;
  border: 1px solid rgba(30, 53, 83, .14);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 253, 248, .98), rgba(244, 238, 228, .92));
  box-shadow: var(--ra-shadow-card);
}

.page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--ra-gold), rgba(181, 139, 78, .16));
}

.page-home .two-col + .bloco-ivory.section-tight .editorial-3 h3 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.12;
}

.page-home .two-col + .bloco-ivory.section-tight .editorial-3 p {
  max-width: 48ch;
  font-size: 15px;
}

.page-home .two-col + .bloco-ivory.section-tight .editorial-3 .btn-ed {
  align-self: flex-start;
  margin-top: auto;
}

/* Founder: the original slide is replaced visually by an authored portrait. */
.page-home .asym-img-wrap {
  grid-template-columns: minmax(300px, .86fr) minmax(360px, 1.14fr);
  gap: clamp(42px, 6vw, 92px);
  padding: clamp(88px, 9vw, 138px) max(var(--ra-edge), calc((100vw - var(--ra-content)) / 2 + var(--ra-edge)));
  overflow: hidden;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, .035), transparent 44%),
    linear-gradient(145deg, #132d4b 0%, #1b3b60 58%, #122a47 100%);
}

.page-home .asym-img {
  order: 2;
  width: 100%;
  height: clamp(590px, 66vw, 760px);
  min-height: 0;
  margin-left: 0;
  border: 1px solid rgba(224, 189, 130, .52);
  border-radius: 26px;
  background-image: url("../assets/ra-photos/DSC01076.JPG");
  background-position: center;
  background-size: cover;
  box-shadow: var(--ra-shadow-deep);
  -webkit-mask-image: none;
  mask-image: none;
}

.page-home .asym-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .045);
  pointer-events: none;
}

.page-home .asym-img img {
  opacity: 0;
  visibility: hidden;
}

.page-home .asym-text {
  order: 1;
  max-width: 560px;
  padding: 0;
}

.page-home .asym-text .kicker {
  color: #e0bd82;
}

.page-home .asym-text h2 {
  color: var(--ra-paper);
  text-wrap: balance;
}

.page-home .asym-text p {
  color: rgba(247, 243, 237, .78);
}

.page-home .asym-text .btn-ed {
  border-color: var(--ra-paper);
  color: var(--ra-paper);
}

.page-home .asym-text .btn-ed:hover {
  background: var(--ra-paper);
  color: var(--ra-blue);
}

/* Closing argument: one elevated sheet between two deep-blue chapters. */
.page-home .asym-img-wrap + .section-tight {
  padding-block: clamp(86px, 9vw, 132px);
  background:
    linear-gradient(115deg, rgba(188, 151, 94, .10), transparent 42%),
    linear-gradient(180deg, #eee7dc 0%, #f7f3ec 100%);
}

.page-home .asym-img-wrap + .section-tight > .wrap {
  max-width: 960px;
  padding: clamp(42px, 6vw, 74px);
  border: 1px solid var(--ra-card-line);
  border-radius: 24px;
  background: rgba(255, 253, 248, .86);
  box-shadow: var(--ra-shadow-card);
}

/* Shared inner-page language: structured cards, never anonymous columns. */
.editorial-3,
.contact-paths,
.midia-list {
  gap: 22px;
}

body:not(.page-home) .editorial-3 .item,
body:not(.page-home) .cpath,
body:not(.page-home) .midia-item {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--ra-card-line);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 253, 248, .96), rgba(245, 239, 229, .88));
  box-shadow: 0 18px 48px rgba(21, 42, 68, .085);
}

body:not(.page-home) .editorial-3 .item::before,
body:not(.page-home) .cpath::before,
body:not(.page-home) .midia-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--ra-gold), rgba(181, 139, 78, .14));
}

body:not(.page-home) .editorial-3 .btn-ed,
body:not(.page-home) .cpath .btn-ed,
body:not(.page-home) .midia-item .btn-ed {
  align-self: flex-start;
  margin-top: auto;
}

body:not(.page-home) .compare {
  gap: 24px;
}

body:not(.page-home) .compare .col {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--ra-card-line);
  border-radius: 22px;
  background: rgba(255, 253, 248, .82);
  box-shadow: var(--ra-shadow-card);
}

body:not(.page-home) .step-row,
body:not(.page-home) .tl-item {
  margin-bottom: 14px;
  padding: 28px;
  border: 1px solid var(--ra-card-line);
  border-radius: 16px;
  background: rgba(255, 253, 248, .76);
  box-shadow: 0 12px 32px rgba(21, 42, 68, .06);
}

body:not(.page-home) .step-row:last-child,
body:not(.page-home) .tl-item:last-child {
  border-bottom: 1px solid var(--ra-card-line);
}

@media (hover: hover) {
  .page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item,
  body:not(.page-home) .editorial-3 .item,
  body:not(.page-home) .cpath,
  body:not(.page-home) .midia-item {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  }

  .page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item:hover,
  body:not(.page-home) .editorial-3 .item:hover,
  body:not(.page-home) .cpath:hover,
  body:not(.page-home) .midia-item:hover {
    transform: translateY(-4px);
    border-color: rgba(181, 139, 78, .36);
    box-shadow: 0 28px 64px rgba(21, 42, 68, .13);
  }
}

@media (max-width: 760px) {
  .page-home .hero + .bloco-ivory::before {
    top: -24px;
    left: 14px;
    font-size: 190px;
  }

  .page-home .two-col {
    gap: 34px;
  }

  .page-home .two-col > .corpo {
    padding: 30px 26px 30px 30px;
    border-radius: 18px;
  }

  .page-home .bloco-azul > .wrap {
    padding: 34px 26px 38px;
    border-radius: 20px;
  }

  .page-home .two-col + .bloco-ivory.section-tight .editorial-3 {
    grid-template-columns: 1fr !important;
  }

  .page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item,
  .page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item:first-child,
  .page-home .two-col + .bloco-ivory.section-tight .editorial-3 .item:last-child {
    min-height: 300px;
    padding: 34px 28px;
    border: 1px solid var(--ra-card-line);
    border-radius: 18px;
  }

  .page-home .asym-img-wrap {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 76px 22px 84px;
  }

  .page-home .asym-text {
    max-width: none;
  }

  .page-home .asym-img {
    width: 100%;
    height: min(132vw, 640px);
    min-height: 480px;
    border-radius: 20px;
    background-position: center top;
  }

  .page-home .asym-img-wrap + .section-tight > .wrap {
    margin-inline: 22px;
    padding: 36px 28px;
    border-radius: 20px;
  }

  body:not(.page-home) .editorial-3 .item,
  body:not(.page-home) .cpath,
  body:not(.page-home) .midia-item {
    min-height: 0;
    padding: 30px 26px;
    border: 1px solid var(--ra-card-line);
    border-radius: 18px;
  }

  body:not(.page-home) .compare .col,
  body:not(.page-home) .step-row,
  body:not(.page-home) .tl-item {
    padding: 28px 24px;
  }
}
