/* Componentes compartilhados entre todas as páginas */
.header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.header.solid {
  position: relative;
  background: var(--pine);
}

.brand {
  width: 220px;
  text-decoration: none;
}

.brand svg {
  width: 100%;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.brand b {
  display: block;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.brand small {
  font-size: 6px;
  letter-spacing: 0.55em;
}

.header nav {
  display: flex;
  gap: 30px;
  margin: auto;
}

.header nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.status {
  width: 220px;
  text-align: right;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #cbd499;
  border-radius: 50%;
  margin-right: 8px;
}

.menu {
  display: none;
}

.hero {
  height: 100svh;
  min-height: 720px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero > img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.28) 0%,
      rgba(0, 0, 0, 0.12) 27%,
      transparent 52%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent 42%);
}

.hero .veil {
  background:
    linear-gradient(
      90deg,
      rgba(8, 42, 28, 0.52) 0%,
      rgba(8, 42, 28, 0.28) 30%,
      rgba(8, 42, 28, 0.1) 58%,
      rgba(8, 42, 28, 0.04) 100%
    ),
    linear-gradient(0deg, rgba(5, 30, 20, 0.22), transparent 44%);
}

.hero-scroll {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.88);
  font: 700 8px/1 Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.hero-scroll b {
  font-size: 13px;
  font-weight: 400;
}

.hero-copy {
  position: absolute;
  z-index: 4;
  left: 8vw;
  top: 51%;
  transform: translateY(-42%);
  max-width: 950px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--paper);
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 24px 0;
}

.hero h1 em {
  display: block;
  margin-left: 7vw;
  color: var(--paper);
}

.hero-copy > p:last-child {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  max-width: 570px;
  color: rgba(255, 255, 255, 0.82);
}

.stamp {
  position: absolute;
  z-index: 4;
  right: 7vw;
  bottom: 7vw;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: none;
  place-items: center;
  text-align: center;
}

.stamp b {
  display: block;
  font:
    48px Georgia,
    serif;
}

.stamp small {
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  min-height: 650px;
  padding: 120px 9vw;
  position: relative;
  overflow: hidden;
}

.cream {
  background: var(--cream);
}

.dark {
  background: var(--pine);
  color: #fff;
}

.section h2 {
  font:
    400 clamp(44px, 5.4vw, 82px) / 1.05 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0;
}

.section .copy {
  max-width: 1080px;
  position: relative;
  z-index: 2;
}

.section .copy > p {
  max-width: 620px;
  margin: 34px 0 0 35%;
  font:
    18px/1.75 Georgia,
    serif;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--pine);
  color: #fff;
  padding: 0 5vw;
}

.facts article {
  height: 190px;
  display: grid;
  place-content: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.facts article:last-child {
  border: 0;
}

.facts b {
  font:
    52px Georgia,
    serif;
  color: var(--paper);
}

.facts span {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  align-items: center;
}

.arch {
  height: 620px;
  border-radius: 48% 48% 3px 3px;
  overflow: hidden;
}

.arch img,
.photo-card img {
  height: 100%;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.feature-list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.full-photo {
  height: 720px;
  position: relative;
  color: #fff;
}

.full-photo > img {
  height: 100%;
  object-fit: cover;
}

.full-photo .caption {
  position: absolute;
  z-index: 2;
  left: 8vw;
  bottom: 70px;
  font:
    54px/1.05 Georgia,
    serif;
}

.full-photo .caption small {
  display: block;
  font: 8px Arial;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--paper);
  margin-bottom: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.photo-card {
  height: 440px;
  position: relative;
  overflow: hidden;
}

.photo-card span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  padding: 12px 15px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
}

.principles article {
  padding: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.principles b {
  font:
    38px Georgia,
    serif;
  color: var(--paper);
}

.principles h3 {
  font:
    28px Georgia,
    serif;
}

.principles p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.gallery {
  padding: 90px 5vw;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 115px;
  gap: 16px;
}

.gallery button {
  border: 0;
  padding: 0;
  background: none;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  grid-column: span 4;
  grid-row: span 4;
}

.gallery button:nth-child(5n + 1) {
  grid-column: span 7;
  grid-row: span 5;
}

.gallery button:nth-child(5n + 2) {
  grid-column: span 5;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);
  transition: 0.6s;
}

.gallery button:hover img {
  transform: scale(1.03);
}

.gallery span {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  color: #fff;
  font:
    19px Georgia,
    serif;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(4, 18, 13, 0.96);
  display: grid;
  place-items: center;
  padding: 55px;
}

.lightbox img {
  max-width: 1200px;
  max-height: 84vh;
  width: auto;
  height: auto;
}

.lightbox button {
  position: absolute;
  right: 28px;
  top: 18px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 42px;
}

.engraving {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.25;
}

.engraving.tree {
  left: -45px;
  bottom: -110px;
  width: 250px;
}

.engraving.mountains {
  right: 2%;
  bottom: -30px;
  width: 58%;
}

.closing {
  height: 470px;
  display: grid;
  place-items: center;
  text-align: center;
}

.closing p {
  font:
    clamp(44px, 5vw, 74px) / 1.1 Georgia,
    serif;
  position: relative;
  z-index: 2;
}

footer {
  min-height: 470px;
  background: var(--night);
  color: #fff;
  padding: 78px 7vw 28px;
  display: grid;
  grid-template-columns: 1.18fr 0.65fr 1fr;
  column-gap: 9vw;
  row-gap: 52px;
}

.footer-brand b {
  display: block;
  font: 300 28px Arial;
  letter-spacing: 0.06em;
}

.footer-brand small,
.footer-title {
  font-size: 7px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(231, 226, 185, 0.58);
}

.footer-brand p {
  max-width: 390px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 226, 185, 0.28);
  display: grid;
  place-items: center;
  text-decoration: none;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-title {
  margin-bottom: 10px;
}

.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
}

.chat {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
}

.chat-launch {
  height: 58px;
  border: 0;
  border-radius: 100px;
  background: var(--pine);
  color: #fff;
  padding: 0 20px;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 0.16em;
  box-shadow: 0 14px 45px rgba(5, 24, 17, 0.25);
}

.chat-panel {
  width: min(390px, calc(100vw - 28px));
  height: min(590px, calc(100vh - 90px));
  background: #f4f0e5;
  box-shadow: 0 26px 80px rgba(4, 22, 15, 0.28);
  border-radius: 24px 24px 4px 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.chat-head {
  background: var(--pine);
  color: #fff;
  padding: 22px;
  font:
    18px Georgia,
    serif;
}

.chat-messages {
  padding: 20px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.chat-messages p {
  max-width: 86%;
  padding: 12px 14px;
  margin: 0;
  border-radius: 16px;
  font:
    14px/1.45 Georgia,
    serif;
  background: #ddd8ad;
}

.chat-messages .user {
  align-self: flex-end;
  background: var(--pine);
  color: #fff;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding: 13px;
  background: #eee9dd;
}

.chat-form input {
  border: 0;
  border-radius: 100px;
  padding: 0 15px;
}

.chat-form button {
  border: 0;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 20px;
}

.hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Refinamentos de identidade, alinhamento e movimento */
body {
  overflow-x: hidden;
}

.brand {
  width: 225px;
  height: 72px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 190px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.header {
  padding-inline: clamp(28px, 6vw, 110px);
}

.hero-copy {
  width: min(920px, calc(100% - 64px));
  max-width: none;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(58px, 6.7vw, 108px);
  line-height: 0.9;
}

.hero-copy > p:last-child {
  max-width: 610px;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
}

.section .copy {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section h2 {
  max-width: 1080px;
  font-size: clamp(48px, 5.15vw, 80px);
  line-height: 1.03;
}

.section .copy > p {
  max-width: 650px;
  margin-top: 36px;
  margin-left: clamp(0px, 29vw, 380px);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.7;
}

.split {
  padding-inline: clamp(28px, 8vw, 145px);
  gap: clamp(45px, 8vw, 130px);
}

.split > div:last-child {
  max-width: 680px;
}

.cards,
.gallery,
.principles {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.full-photo .caption {
  width: min(1120px, calc(100% - 64px));
  font-size: clamp(42px, 4.2vw, 70px);
  line-height: 1.05;
}

.footer-logo {
  width: 250px;
  height: 105px;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-brand > p {
  max-width: 430px;
}

.section > *:not(.decorative) {
  position: relative;
  z-index: 2;
}

.decorative.botanical {
  position: absolute;
  z-index: 1;
  width: clamp(190px, 18vw, 310px);
  max-height: 78%;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.decorative.botanical-left {
  left: -45px;
  bottom: -70px;
  object-position: left bottom;
}

.decorative.botanical-right {
  right: -38px;
  top: 8%;
  object-position: right center;
  transform: rotate(4deg);
}

.engraving {
  opacity: 0.2;
}

.chat {
  width: min(390px, calc(100vw - 28px));
  right: 24px;
  bottom: 22px;
}

.chat-launch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 14px 38px rgba(6, 37, 23, 0.22);
}

.chat-launch:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(6, 37, 23, 0.3);
}

.chat-launch span {
  display: inline-block;
  animation: chatbotSparkle 2.2s ease-in-out infinite;
}

.chat.open .chat-launch {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
}

.chat-panel {
  display: grid;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 390px;
  max-width: calc(100vw - 28px);
  height: min(610px, calc(100vh - 36px));
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid rgba(27, 48, 23, 0.13);
  border-radius: 24px;
  background: #f8f4e8;
  box-shadow: 0 28px 80px rgba(5, 29, 18, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.94);
  transform-origin: right bottom;
  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.28s;
}

.chat.open .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chat-head {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px 10px 20px;
  background: var(--pine);
}

.chat-head img {
  width: 175px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.chat-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.chat-messages {
  padding: 18px;
  overflow-y: auto;
}

.chat-messages p {
  max-width: 88%;
  margin: 0 0 11px;
  padding: 12px 14px;
  border-radius: 15px 15px 15px 5px;
  background: #e6dfad;
  color: var(--pine);
  line-height: 1.45;
  animation: chatbotMessage 0.32s ease both;
}

.chat-messages .user {
  margin-left: auto;
  border-radius: 15px 15px 5px 15px;
  background: var(--pine);
  color: #fff;
}

.chat-messages .typing {
  width: fit-content;
  opacity: 0.65;
  font-style: italic;
}

.chat-quick {
  display: flex;
  gap: 7px;
  padding: 10px 14px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(27, 48, 23, 0.08);
}

.chat-quick::-webkit-scrollbar {
  display: none;
}

.chat-quick button {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(27, 48, 23, 0.25);
  border-radius: 100px;
  background: transparent;
  color: var(--pine);
  font-size: 11px;
  cursor: pointer;
  transition: 0.2s ease;
}

.chat-quick button:hover {
  background: var(--pine);
  color: #fff;
}

.chat-form {
  padding: 12px 14px;
  background: #efeadc;
}

.chat-form input {
  min-width: 0;
  font-size: 14px;
}

@keyframes chatbotMessage {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes chatbotSparkle {
  50% {
    transform: rotate(90deg) scale(1.18);
  }
}

@keyframes botanicalDrift {
  to {
    transform: translateY(-12px) rotate(2deg);
  }
}

/* Revisão final de escala, contraste, rodapé e assistente */
.eyebrow,
.cream .eyebrow {
  color: #817a3e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 1;
}

.hero .eyebrow,
.full-photo .caption small,
.dark .eyebrow {
  color: #f0e9b7;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(58px, 5.5vw, 88px);
  line-height: 0.94;
}

.hero-copy > p:last-child {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(16px, 1.1vw, 18px);
}

.section h2 {
  max-width: 990px;
  font-size: clamp(46px, 4.35vw, 68px);
  line-height: 1.06;
}

.section .copy > p {
  color: #50583f;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
}

.split h2 {
  font-size: clamp(46px, 4vw, 66px);
}

.feature-list li {
  color: #4f573e;
  font-size: 11px;
  font-weight: 600;
}

.facts b {
  font-size: clamp(40px, 3.4vw, 52px);
}

.facts span {
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.full-photo .caption {
  max-width: 900px;
  font-size: clamp(40px, 3.8vw, 60px);
  text-shadow: 0 2px 18px rgba(5, 27, 18, 0.35);
}

.principles p {
  color: rgba(255, 255, 255, 0.78);
}

.closing p {
  font-size: clamp(42px, 4.25vw, 66px);
}

footer {
  min-height: 390px;
  padding: 58px clamp(28px, 7vw, 112px) 24px;
  grid-template-columns: 1.15fr 0.55fr 0.95fr;
  column-gap: clamp(60px, 9vw, 150px);
  row-gap: 34px;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(125, 127, 66, 0.12),
      transparent 28%
    ),
    #0c2414;
}

.footer-logo {
  width: 220px;
  height: 82px;
  margin-bottom: 8px;
}

.footer-brand > p {
  max-width: 400px;
  margin: 8px 0 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 7px;
  color: #d5d49a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.footer-nav,
.footer-contact {
  gap: 13px;
  padding-top: 13px;
}

.footer-nav a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.25;
  transition: 0.22s ease;
}

.footer-nav a:hover {
  color: #d5d49a;
  transform: translateX(4px);
}

.footer-contact > span:not(.footer-title),
.footer-contact a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.55;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-line i {
  width: 20px;
  color: #c7c77d;
  font-style: normal;
  text-align: center;
}

.social {
  flex-wrap: wrap;
  gap: 8px;
}

.social a {
  width: auto;
  height: 35px;
  display: flex;
  gap: 7px;
  padding: 0 11px;
  border-color: rgba(213, 212, 154, 0.3);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  transition: 0.22s ease;
}

.social a span {
  color: #d5d49a;
  font-size: 14px;
}

.social a:hover {
  border-color: #d5d49a;
  background: rgba(213, 212, 154, 0.09);
}

.footer-bottom {
  padding-top: 19px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

/* Rodapé institucional — composição ampla da referência */
footer {
  min-height: 470px;
  padding: 78px 7vw 28px;
  grid-template-columns: 1.22fr 0.62fr 1fr;
  column-gap: clamp(84px, 9vw, 150px);
  row-gap: 70px;
  background: #0c2414;
}

.footer-logo {
  width: 220px;
  height: 92px;
  margin: 0 0 14px;
}

.footer-brand > p {
  max-width: 430px;
  margin: 0 0 27px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.85;
}

.footer-title {
  margin-bottom: 18px;
  color: rgba(213, 212, 154, 0.58);
  font-size: 8px;
  letter-spacing: 0.26em;
}

.footer-nav,
.footer-contact {
  gap: 17px;
  padding-top: 4px;
}

.footer-nav a,
.footer-contact > span:not(.footer-title),
.footer-contact a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.contact-line {
  gap: 13px;
}

.contact-line i {
  width: 18px;
  color: rgba(199, 199, 125, 0.72);
}

.social {
  gap: 12px;
  flex-wrap: nowrap;
}

.social a {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(213, 212, 154, 0.3);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.82);
}

.social a span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1;
}

.footer-bottom {
  align-self: end;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
}

/* Escala e ícones finais do rodapé */
.footer-logo {
  width: 230px;
  height: 88px;
}

.footer-brand > p {
  max-width: 410px;
  font-size: 14px;
  line-height: 1.75;
}

.footer-title {
  font-size: 9px;
}

.footer-nav a,
.footer-contact > span:not(.footer-title),
.footer-contact a {
  font-size: 14px;
  line-height: 1.5;
}

.social a svg,
.contact-line svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social a {
  color: rgba(255, 255, 255, .78);
}

.contact-line i {
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  padding-top: 1px;
}

.contact-line i svg {
  color: rgba(199, 199, 125, .78);
}

.footer-bottom { font-size: 10px; }

/* Rodapé da referência, adaptado à identidade do Serra Verde */
footer {
  min-height: 425px;
  padding: 68px 7vw 24px;
  grid-template-columns: minmax(320px, 1.08fr) minmax(150px, 0.5fr) minmax(310px, 0.9fr);
  column-gap: clamp(75px, 8vw, 135px);
  row-gap: 48px;
  background: #0c2414;
}

.footer-logo {
  width: 190px;
  height: 68px;
  margin: 0 0 18px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand > p {
  max-width: 370px;
  margin: 0 0 28px;
  font-size: 12px;
  line-height: 1.85;
}

.footer-title {
  margin-bottom: 17px;
  font-size: 8px;
  letter-spacing: 0.28em;
}

.footer-nav,
.footer-contact {
  gap: 16px;
  padding-top: 8px;
}

.social a {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.footer-bottom {
  padding-top: 25px;
  border-top-color: rgba(231, 226, 185, 0.16);
  font-size: 9px;
}

.chat {
  width: min(374px, calc(100vw - 28px));
}

.chat-launch {
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(215, 214, 157, 0.28);
  background: #15371f;
  font-size: 9px;
}

.chat-panel {
  width: 374px;
  height: min(488px, calc(100vh - 32px));
  grid-template-rows: auto minmax(130px, 1fr) auto auto;
  border: 1px solid rgba(32, 59, 37, 0.15);
  border-radius: 20px;
  background: #f5f1df;
}

.chat-head {
  min-height: 76px;
  padding: 9px 14px 9px 18px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 60%), #17381f;
}

.chat-identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.chat-head img {
  width: 128px;
  height: 50px;
}

.chat-identity > span {
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: #dfddac;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chat-close {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  color: #efebce;
  font-size: 21px;
}

.chat-messages {
  padding: 18px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(125, 127, 66, 0.08),
      transparent 35%
    ),
    #f8f5e9;
}

.chat-messages p {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 4px 15px 15px 15px;
  background: #e6dfad;
  color: #203821;
  font:
    14px/1.45 Georgia,
    serif;
}

.chat-messages .user {
  border-radius: 15px 4px 15px 15px;
  background: #17381f;
}

.chat-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 12px 14px;
  overflow: visible;
  background: #f0ecdc;
}

.chat-quick button {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-color: rgba(32, 56, 33, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.48);
  color: #243c25;
  font-size: 10px;
  line-height: 1.25;
  text-align: left;
}

.chat-quick button span {
  color: #888649;
  font:
    13px Georgia,
    serif;
}

.chat-form {
  grid-template-columns: 1fr 42px;
  gap: 7px;
  padding: 11px 13px 13px;
  border-top: 1px solid rgba(32, 56, 33, 0.1);
  background: #f0ecdc;
}

.chat-form input {
  height: 42px;
  border: 1px solid rgba(32, 56, 33, 0.16);
  background: #fffdf5;
  color: #203821;
  outline: none;
}

.chat-form input:focus {
  border-color: #7d7f42;
  box-shadow: 0 0 0 3px rgba(125, 127, 66, 0.12);
}

.chat-form button {
  width: 42px;
  height: 42px;
  background: #17381f;
  font-size: 18px;
  transition: 0.22s ease;
}

.chat-form button:hover {
  transform: translateY(-2px);
  background: #234b2c;
}

/* Capa editorial — preserva a composição aprovada sem ampliar as páginas internas */
.home-page .hero-copy {
  top: 53%;
  width: min(1080px, calc(100% - 16vw));
}

.home-page .hero h1 {
  max-width: 1000px;
  margin: 25px 0 28px;
  font-size: clamp(72px, 7.15vw, 114px);
  line-height: 0.91;
  letter-spacing: -0.045em;
}

.home-page .hero h1 em {
  display: block;
  margin-left: 0;
}

.home-page .hero-copy > p:last-of-type {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.55;
}

/* Navegação com leitura mais confortável, mantendo o desenho leve do cabeçalho */
@media (min-width: 901px) {
  .header nav {
    gap: clamp(28px, 2.25vw, 38px);
  }

  .header nav a {
    position: relative;
    padding: 10px 0;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.13em;
  }

  .header nav a::after {
    position: absolute;
    right: 50%;
    bottom: 3px;
    left: 50%;
    height: 1px;
    content: "";
    background: #e3dfaa;
    transition: right 0.25s ease, left 0.25s ease;
  }

  .header nav a:hover::after {
    right: 0;
    left: 0;
  }

  .status {
    font-size: 9px;
  }
}

.hero-cta {
  width: 224px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 0 23px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 100px;
  background: rgba(8, 38, 25, 0.14);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease;
}

.hero-cta span {
  font-size: 14px;
  transition: transform 0.28s ease;
}

.hero-cta:hover {
  background: #f4efd5;
  color: #17381f;
  transform: translateY(-2px);
}

.hero-cta:hover span {
  transform: translate(2px, -2px);
}

.hero-botanical {
  position: absolute;
  z-index: 3;
  right: -38px;
  bottom: -95px;
  width: clamp(275px, 25vw, 430px);
  height: 86%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.3;
  filter: grayscale(1) brightness(2.35);
  mix-blend-mode: screen;
  pointer-events: none;
  transform-origin: right bottom;
  animation: hero-botanical-enter 1.4s 0.35s both ease-out;
}

.chat-launch {
  width: 184px;
  height: 64px;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px 0 21px;
  border: 1px solid rgba(232, 229, 185, 0.5);
  background: #15371f;
  box-shadow: 0 14px 38px rgba(5, 25, 13, 0.24);
  font-size: 10px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.chat-launch span {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(232, 229, 185, 0.62);
  border-radius: 50%;
  background: rgba(213, 212, 154, 0.08);
  color: #ece8bd;
  font-size: 15px;
  transition: transform 0.35s ease;
}

.chat-launch:hover span {
  transform: rotate(35deg);
}

.chat-launch:hover {
  border-color: #dedb9f;
  background: #1d4728;
  transform: translateY(-2px);
}

/* Assistente virtual — fidelidade ao design aprovado */
.chat {
  width: min(390px, calc(100vw - 28px));
}

.chat-launch {
  width: 176px;
  height: 58px;
  justify-content: space-between;
  gap: 8px;
  padding: 0 9px 0 19px;
  border: 1px solid rgba(232, 229, 185, 0.72);
  border-radius: 100px;
  background: #15371f;
  box-shadow: 0 14px 38px rgba(5, 25, 13, 0.22);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.chat-launch span {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(232, 229, 185, 0.62);
  border-radius: 50%;
  background: rgba(213, 212, 154, 0.08);
  color: #ece8bd;
  font-size: 14px;
  animation: none !important;
  transform: none !important;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.chat-launch:hover,
.chat-launch:hover span {
  transform: none !important;
}

.chat-launch:hover {
  border-color: rgba(232, 229, 185, 0.92);
  background: #173b21;
}

.chat-panel {
  width: 390px;
  max-width: calc(100vw - 28px);
  height: min(610px, calc(100vh - 36px));
  grid-template-rows: 88px minmax(0, 1fr) auto auto;
  border: 1px solid rgba(232, 229, 185, 0.72);
  border-radius: 24px 24px 4px 24px;
  background: #f5f1df;
  box-shadow: 0 28px 80px rgba(5, 29, 18, 0.28);
}

.chat-head {
  min-height: 88px;
  padding: 10px 15px 10px 18px;
  background: #17381f;
}

.chat-identity {
  gap: 7px;
}

.chat-head img {
  width: 184px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.chat-identity > span {
  padding-left: 0;
  border-left: 0;
  color: #dfddac;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.chat-close {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 28px;
}

.chat-messages {
  padding: 23px 18px;
  background: #f8f5e9;
}

.chat-messages p {
  max-width: 86%;
  margin: 0 0 11px;
  padding: 13px 15px;
  border-radius: 15px 15px 15px 5px;
  background: #e6dfad;
  color: #203821;
  font: 14px/1.45 Georgia, serif;
}

.chat-messages .user {
  margin-left: auto;
  border-radius: 15px 15px 5px 15px;
  background: #17381f;
  color: #fff;
}

.chat-quick {
  display: flex;
  gap: 7px;
  padding: 10px 14px 12px;
  overflow-x: auto;
  border-top: 1px solid rgba(27, 48, 23, 0.08);
  background: #f5f1df;
  scrollbar-width: none;
}

.chat-quick button {
  min-height: 0;
  flex: 0 0 auto;
  display: block;
  padding: 8px 11px;
  border: 1px solid rgba(27, 48, 23, 0.25);
  border-radius: 100px;
  background: transparent;
  color: var(--pine);
  font-size: 9px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 48px;
  grid-template-rows: auto 48px;
  gap: 7px 8px;
  padding: 10px 13px 13px;
  border-top: 1px solid rgba(32, 56, 33, 0.1);
  background: #efeadc;
}

.chat-form label {
  grid-column: 1 / -1;
  color: #527166;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat-form input {
  height: 48px;
  padding: 0 15px;
  border: 0;
  border-radius: 100px;
  background: #fff;
  color: #203821;
  font: 14px Georgia, serif;
  outline: none;
  box-shadow: none;
}

.chat-form input:focus {
  border-color: transparent;
  box-shadow: none;
}

.chat-form button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #17381f;
  color: #fff;
  font-size: 24px;
}

.chat-form button:hover {
  transform: none;
  background: #1d4728;
}

/* Ajuste fino do botão do assistente — igual ao design aprovado */
.chat-launch {
  width: 184px;
  height: 64px;
  padding: 0 11px 0 21px;
  border: 0 !important;
  border-radius: 999px;
  background: #12331b;
  box-shadow: 0 12px 32px rgba(5, 25, 13, 0.17);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.chat-launch span {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(230, 232, 208, 0.36) !important;
  border-radius: 50%;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  animation: none !important;
  transform: none !important;
  transition: none !important;
}

.chat-launch span::before {
  display: block;
  content: "✦";
  color: #e7e2b9;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-0.5px);
}

.chat-launch:hover,
.chat-launch:focus-visible {
  border: 0 !important;
  background: #12331b;
  box-shadow: 0 12px 32px rgba(5, 25, 13, 0.17);
  transform: none !important;
}

.chat-launch:hover span,
.chat-launch:focus-visible span {
  border-color: rgba(230, 232, 208, 0.36) !important;
  background: transparent !important;
  transform: none !important;
}

/* Alinhamento e tipografia finais do assistente */
.chat-launch {
  width: 176px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .045em;
}

.chat-launch span,
.chat-launch span::before {
  align-self: center;
  transform: none !important;
}

.chat-panel {
  border: 0 !important;
  border-radius: 24px !important;
  font-family: Arial, Helvetica, sans-serif;
}

.chat-messages p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: 0;
}

.chat-identity > span,
.chat-quick button,
.chat-form label,
.chat-form input,
.chat-form button {
  font-family: Arial, Helvetica, sans-serif;
}

.chat-identity > span { font-size: 6.5px; letter-spacing: .1em; }
.chat-quick button { font-size: 7.5px; font-weight: 500; }
.chat-form label { font-size: 6.5px; font-weight: 500; }
.chat-form input { font-size: 13px; font-weight: 400; }

/* Movimento suave e transição entre páginas */
.site-preloader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  background: #e7e2b9;
  opacity: 1;
  visibility: visible;
  transition: opacity .42s ease, visibility .42s ease;
}

.preloader-pending .site-preloader { display: grid; }
.preloader-seen .site-preloader { display: none; }
.preloader-pending { overflow: hidden; }
.preloader-pending.preloader-finished { overflow: auto; }
.preloader-finished .site-preloader { opacity: 0; visibility: hidden; }

.preloader-logo {
  position: relative;
  width: min(620px, 76vw);
  aspect-ratio: 1156 / 428;
}

.preloader-logo svg {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 34%;
  overflow: visible;
  fill: none;
  stroke: #5b6048;
  stroke-width: 3;
  stroke-linecap: round;
}

.preloader-mountain {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: preloader-draw 1.15s cubic-bezier(.55, .05, .35, 1) forwards;
}

.preloader-mountain.mountain-two { animation-delay: .16s; }

.preloader-logo img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: inset(31% 0 0 0);
  opacity: 0;
  transform: translateY(7px);
  animation: preloader-name .62s .95s ease-out forwards;
}

@keyframes preloader-draw { to { stroke-dashoffset: 0; } }
@keyframes preloader-name { to { opacity: 1; transform: none; } }

.page-transition {
  display: none;
}

body {
  animation: page-soft-enter .18s ease-out;
}

body.page-leaving { opacity: 1; }

.header {
  animation: site-header-enter .5s .04s both ease-out;
}

.hero-copy {
  animation: hero-copy-enter .62s .1s both ease-out;
}

.legacy-hero-copy {
  animation: legacy-copy-enter .62s .1s both ease-out;
}

.stamp {
  animation: stamp-enter .55s .18s both ease-out;
}

.hero-scroll {
  animation: scroll-hint-enter .55s .28s both ease-out,
    scroll-hint-float 3.6s 1.2s infinite ease-in-out;
}

.reveal {
  filter: none;
  transform: translateY(12px);
  transition:
    opacity .65s ease-out,
    transform .65s ease-out;
}

.reveal.visible {
  filter: none;
}

.archive-photo img,
.evolution-preview-photo img,
.legacy-landscape > img,
.photo-card img {
  transition: transform 1.1s cubic-bezier(0.2, 0.75, 0.2, 1), filter 0.65s ease;
}

.archive-photo:hover img,
.evolution-preview-photo:hover img,
.legacy-landscape:hover > img,
.photo-card:hover img {
  transform: scale(1.025);
}

@keyframes site-header-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-copy-enter {
  from { opacity: 0; transform: translateY(calc(-42% + 10px)); }
  to { opacity: 1; transform: translateY(-42%); }
}

@keyframes legacy-copy-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes stamp-enter {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: none; }
}

@keyframes scroll-hint-enter {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes scroll-hint-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 3px); }
}

@keyframes page-soft-enter {
  from { opacity: .97; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .page-transition { display: none; }
  .reveal { filter: none; transform: none; opacity: 1; }
}
/* Identidade no assistente e crédito institucional */
.chat-launch span img {
  width: 31px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #d5d49a;
}
