/* Root Variables - Colors */
:root {
  --algodao: #F4F1E6;
  --adubo: #452A1A;
  --nanquim: #111412;
  --rio: #3A3D2F;
  --musgo: #39411F;
  --alecrim: #858e6f;
  --salvia: #91a386;
  --orvalho: #bec1aa;
  --barro: #c67142;
  --areia: #c9ab7f;
}

/* Font Faces */
@font-face {
  font-family: 'ZT Nature';
  src: url('../assets/fonts/ZT_nature/ZT Nature - OT/ZTNature-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'ZT Nature';
  src: url('../assets/fonts/ZT_nature/ZT Nature - OT/ZTNature-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'ZT Nature';
  src: url('../assets/fonts/ZT_nature/ZT Nature - OT/ZTNature-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'ZT Nature';
  src: url('../assets/fonts/ZT_nature/ZT Nature - OT/ZTNature-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'ZT Nature';
  src: url('../assets/fonts/ZT_nature/ZT Nature - OT/ZTNature-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'ZT Nature';
  src: url('../assets/fonts/ZT_nature/ZT Nature - OT/ZTNature-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Meshed Display';
  src: url('../assets/fonts/Meshed Display/Font Files/OpenType-TT/MeshedDisplay-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Meshed Display';
  src: url('../assets/fonts/Meshed Display/Font Files/OpenType-TT/MeshedDisplay-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Meshed Display';
  src: url('../assets/fonts/Meshed Display/Font Files/OpenType-TT/MeshedDisplay-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Meshed Display';
  src: url('../assets/fonts/Meshed Display/Font Files/OpenType-TT/MeshedDisplay-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--algodao);
  color: var(--nanquim);
  font-family: 'ZT Nature', sans-serif;
  overflow-x: hidden;
}

.container {
  padding: 0 20px;
}
/* Header */
header {
  background-color: var(--algodao);
  height: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(0);
  transition: transform 0.35s ease;
}

header.header-hidden {
  transform: translateY(-100%);
}

/* Compensa o espaço do header fixo */
body {
  padding-top: var(--header-height, 80px);
}

.logo img {
  width: 286px;
  height: 38px;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.grafismo-h {
  cursor: pointer;
  z-index: 1001; /* Above overlay */
  transition: transform 0.4s ease, opacity 0.4s ease;
  width: 32px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grafismo-h span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--nanquim);
}

.header-right.menu-open .grafismo-h {
  transform: translateX(100px); /* Slide out to the right */
  opacity: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--algodao);
  z-index: 2000; /* Higher z-index */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow: hidden;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-menu {
  position: fixed; /* Keep fixed to screen */
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-family: 'ZT Nature', sans-serif;
  font-size: 32pt;
  font-weight: 200;
  cursor: pointer;
  color: var(--nanquim);
  z-index: 2100; /* Above overlay content */
  padding: 15px;
  line-height: 1;
}

.mobile-menu-overlay nav ul {
  flex-direction: column;
  align-items: flex-start; /* Align left */
  gap: 20px;
  margin-bottom: 40px;
}

.mobile-menu-overlay nav ul li a {
  font-size: 32pt;
}

.mobile-menu-overlay .lang-switch {
  flex-direction: row;
  gap: 20px;
}

.mobile-menu-overlay .lang-btn {
  font-size: 18pt;
}

.lang-switch {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
}

.lang-btn {
  background: none;
  border: none;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 10pt;
  cursor: pointer;
  padding: 0;
  line-height: 1.1;
  text-align: right;
}

.lang-btn.active {
  color: var(--alecrim);
}

.lang-btn.inactive {
  color: var(--orvalho);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--nanquim);
  font-family: 'Meshed Display', sans-serif;
  font-weight: 200;
  font-size: 24pt;
  text-transform: lowercase;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--alecrim);
}

nav ul li a.active {
  font-weight: 600;
}

/* Slider Section */
.slider-wrapper {
  position: relative;
  width: 100%;
  z-index: 1;
}

.slider-container {
  margin: 0 20px;
  width: calc(100% - 40px);
  height: 60vw;
  max-height: 697px;
  min-height: 300px;
  background-color: var(--algodao);
  overflow: hidden;
  position: relative;
}

.slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Full Wrapper */
.hero-full-wrapper {
  position: relative;
  width: 100%;
}

.grafismo-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%;
  pointer-events: none;
  z-index: 5;
  display: flex;
  justify-content: flex-start;
  will-change: transform;
}

.grafismo-hero img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left top;
}

/* Hero Section */
.hero-section {
  background-color: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  z-index: 10;
  will-change: transform;
}

.hero-content {
  width: 50%;
  margin-left: 50%; /* Back to the right side */
}

.hero-title {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 60pt;
  line-height: 65pt;
  color: var(--nanquim);
  margin-bottom: 30px;
}

.hero-title .highlight {
  font-weight: 600;
}

.hero-description {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 16pt;
  line-height: 1.4;
  color: var(--nanquim);
  margin-bottom: 30px;
  max-width: 500px;
}

.cta-button {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600;
  font-size: 12pt;
  color: var(--alecrim);
  text-decoration: underline;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  display: inline-block;
}

/* Quem Somos Section */
.about-section {
  background-color: var(--nanquim);
  background-image: url('../assets/images/elementos/Textura-quem-somos.webp');
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 30; /* Overlaps the parallax graphic from previous folds */
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: 100%;
  padding-left: 20px;
  padding-right: 0; /* No padding on the right to let the image hit the edge */
}

.about-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
}

.about-title {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 28pt;
  line-height: 1.1;
  color: var(--areia);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.about-description {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 200;
  font-size: 34pt;
  line-height: 1.1;
  color: var(--algodao);
  margin-bottom: 30px;
  max-width: 600px;
}

.about-detail {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 200;
  font-size: 14pt;
  line-height: 1.5;
  color: var(--algodao);
  margin-bottom: 50px;
  max-width: 500px;
}

.about-ctas {
  display: flex;
  gap: 40px;
}

.about-cta {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600;
  font-size: 12pt;
  color: var(--areia);
  text-decoration: underline;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

.about-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.about-image-wrapper {
  width: 100%;
  height: 100%;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Quem Somos */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    padding-right: 20px;
    gap: 40px;
  }
  
  .about-title, .about-description {
    font-size: 28pt;
  }
  
  .about-right {
    justify-content: center;
  }
  
  .about-image-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 60px 0;
  }
  
  .about-title, .about-description {
    font-size: 24pt;
  }
  
  .about-detail {
    font-size: 12pt;
  }
  
  .about-ctas {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==================== Nossos Projetos Section ==================== */
.projects-section {
  background-color: var(--algodao);
  padding: 80px 0 60px;
}

/* Linha 1: card destaque + bloco de texto */
.projects-row-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 20px;
}

.projects-col-left {
  display: flex;
  flex-direction: column;
}

.projects-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Card de projeto */
.project-card {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: block;
  position: relative;
  /* Animação de entrada */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

/* Overlay barro no hover */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(198, 113, 66, 0);
  transition: background-color 0.4s ease;
  pointer-events: none;
}

.project-card:hover::after {
  background-color: rgba(198, 113, 66, 0.35);
}

.project-card-name {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600;
  font-size: 12pt;
  color: var(--barro);
  text-decoration: underline;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  display: inline-block;
  margin-top: 14px;
}

/* Grafismo H */
.projects-grafismo {
  width: calc(100% / 3);
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.projects-grafismo.visible {
  opacity: 1;
  transform: translateY(0);
}

.projects-grafismo img {
  width: 100%;
  height: auto;
  display: block;
  /* grafismoH.png → cor alecrim (#858e6f) */
  filter: brightness(0) saturate(100%) invert(57%) sepia(14%) saturate(430%) hue-rotate(42deg) brightness(96%) contrast(88%);
}

/* Título NOSSOS PROJETOS */
.projects-title {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 28pt;
  line-height: 1.1;
  color: var(--nanquim);
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.projects-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Descrição */
.projects-description {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 12pt;
  line-height: 1.4;
  color: var(--nanquim);
  max-width: 80%; /* Aumentado de 50% */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.projects-description.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Linha 2: dois cards lado a lado */
.projects-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 50px;
}

.project-card-wrapper {
  display: flex;
  flex-direction: column;
}

.project-card-wrapper .project-card {
  aspect-ratio: 16 / 9;
}

/* Linha divisora */
.projects-divider {
  border: none;
  border-top: 1px solid var(--nanquim);
  margin: 0 20px 60px;
}

/* Premiações */
.premiacoes {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px 20px;
}

.premiacoes-title {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 12pt;
  color: var(--nanquim);
  white-space: nowrap;
  flex-shrink: 0;
}

.premiacoes-logos {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: 1;
  padding-left: 100px;
  padding-right: 100px;
}

.premiacoes-logos img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .premiacoes {
    flex-direction: column;
    gap: 40px;
  }

  .premiacoes-logos {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
  }

  .premiacoes-logos img {
    height: 80px; /* Logos maiores no iPad */
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px; /* Mais espaço entre colunas no iPad */
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .premiacoes {
    align-items: center;
    text-align: center;
    gap: 40px; /* Espaço maior entre título e logos */
  }

  .premiacoes-title {
    position: relative;
    padding-bottom: 15px;
  }

  /* Linha decorativa abaixo do título */
  .premiacoes-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--nanquim);
  }

  .premiacoes-logos {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .premiacoes-logos img {
    height: 60px; /* Logos legíveis no Mobile */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* Separador Trama */
.trama-divisor {
  background-color: var(--adubo);
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.trama-divisor img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== Serviços Section ==================== */
.services-section {
  background-color: var(--orvalho);
  padding: 80px 20px 100px;
}

/* Grid unificado — garante alinhamento de todas as colunas */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 40px;
  align-items: start;
}

.services-top-col {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
}

.services-label {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600;
  font-size: 12pt;
  color: var(--algodao);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-nanquim {
  color: var(--nanquim);
}

.services-divider {
  grid-column: 1 / -1;
  border: none;
  border-top: 1px solid var(--nanquim);
  margin: 0 0 60px;
}

.services-bottom-divider {
  margin: 60px 0 0;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-title {
  font-family: 'Meshed Display', sans-serif;
  font-weight: 300;
  font-size: 42pt;
  line-height: 1.05;
  color: var(--musgo);
  text-transform: uppercase;
}

.service-text {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 12pt;
  line-height: 1.6;
  color: var(--musgo);
}

.services-bottom-col {
  display: flex;
  margin-top: 80px;
}

.services-quote-col {
  align-items: flex-start;
}

.services-quote {
  font-family: 'Meshed Display', sans-serif;
  font-weight: 200;
  font-size: 60pt;
  line-height: 1.05;
  color: var(--nanquim);
}

.services-cta-col {
  align-items: flex-start;
  justify-content: flex-start;
}

.cta-algodao {
  color: var(--algodao);
}

.services-folha-col {
  justify-content: flex-end;
  align-items: flex-start;
}

.services-folha {
  width: 60%;
  height: auto;
  display: block;
  margin-left: auto;
}

@media (max-width: 1024px) {
  .services-layout {
    grid-template-columns: 1fr 1fr;
  }

  .services-top-col:last-child,
  .services-folha-col {
    display: none;
  }

  .service-item:last-of-type {
    grid-column: 1 / -1;
  }

  .services-quote {
    font-size: 46pt;
  }

  .service-title {
    font-size: 34pt;
  }
}

@media (max-width: 768px) {
  .services-layout {
    grid-template-columns: 1fr;
    row-gap: 60px;
  }

  .services-top-col:not(:first-child) {
    display: none;
  }

  .services-quote {
    font-size: 36pt;
  }

  .service-title {
    font-size: 28pt;
  }
}

@media (max-width: 480px) {
  .services-layout {
    row-gap: 40px;
  }

  .services-quote {
    font-size: 28pt;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 60px 20px 80px;
  }

  .service-title {
    font-size: 24pt;
  }
}

@media (max-width: 1024px) {
  .projects-row-1 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-col-left {
    padding-right: 0;
    order: 2;
  }

  .projects-col-right {
    padding-left: 0;
    order: 1;
  }

  .projects-description {
    max-width: 100%;
  }

  .project-card {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .projects-row-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .projects-title {
    font-size: 28pt;
  }

  .projects-description {
    font-size: 14pt;
  }
}

@media (max-width: 480px) {
  .projects-section {
    padding: 60px 0 40px;
  }

  .projects-title {
    font-size: 24pt;
  }

  .projects-description {
    font-size: 12pt;
  }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }

  header .lang-switch {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-right: 20px;
  }

  .header-right {
    gap: 0;
  }

  .hero-content {
    width: 80%;
    margin-left: 10%;
  }
  
  .hero-title {
    font-size: 42pt;
    line-height: 46pt;
  }

  .grafismo-hero {
    width: 100%;
    top: 0;
    height: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .grafismo-hero img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: left top;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  .header-right {
    gap: 15px;
  }
  
  .logo img {
    width: 200px;
    height: auto;
  }

  nav ul {
    gap: 10px;
  }

  nav ul li a {
    font-size: 14pt;
  }

  .lang-btn {
    font-size: 12pt;
  }

  .slider-container {
    height: 85vw; /* Slightly more vertical */
  }

  .hero-section {
    min-height: auto;
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 20px;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }

  .header-right {
    justify-content: flex-end;
    width: auto;
    gap: 0;
  }

  .logo img {
    width: 180px;
  }

  nav ul {
    gap: 8px;
  }

  nav ul li a {
    font-size: 12pt;
  }

  .slider-container {
    margin: 0 15px;
    width: calc(100% - 30px);
    height: 120vw; /* More vertical */
  }

  .grafismo-hero {
    top: 0;
    height: 100%;
  }

  .hero-section {
    padding: 40px 20px;
    min-height: auto;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    font-size: 27pt;
    line-height: 30pt;
  }

  .hero-description {
    font-size: 12pt;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* ==================== Depoimentos Section ==================== */
.testimonials-section {
  position: relative;
  width: 100%;
  background-image: url('../assets/images/elementos/FundoDepoimentos.webp');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: var(--algodao);
  min-height: calc(100vw * 4552 / 5760);
  padding-top: 420px;
  padding-bottom: 62px;
}

.testimonials-block {
  margin-left: 0;
  margin-right: 20px;
  background-color: var(--barro);
  padding: 60px;
}

.testimonials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  height: 100%;
}

.testimonials-col-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonials-label {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600;
  font-size: 12pt;
  color: var(--nanquim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials-slider {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonial-slide {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.testimonial-slide.active {
  display: flex;
}

.testimonials-text {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 12pt;
  line-height: 1.6;
  color: var(--nanquim);
  max-width: 50%;
}

.testimonials-name {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 12pt;
  color: var(--algodao);
  max-width: 50%;
}

.testimonials-col-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials-grafismo {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1;
  overflow: hidden;
}

.testimonials-grafismo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top left;
  display: block;
}

.testimonials-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.testimonials-arrow-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--algodao);
  display: flex;
  align-items: center;
}

.testimonials-arrow-svg {
  width: 160px;
  height: 16px;
}

.testimonials-counter {
  font-family: 'Meshed Display', sans-serif;
  font-weight: 300;
  font-size: 28pt;
  line-height: 1;
  color: var(--algodao);
}

@media (max-width: 1024px) {
  .testimonials-block {
    margin-top: 280px;
    padding: 40px;
  }

  .testimonials-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-col-right {
    flex-direction: row;
    align-items: flex-end;
    gap: 30px;
  }

  .testimonials-grafismo {
    display: none;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: unset;
    background-size: cover;
    background-position: center;
  }

  .testimonials-block {
    margin-top: 0;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 0;
    padding: 30px;
  }

  .testimonials-nav {
    width: 100%;
    justify-content: space-between;
  }

  .testimonials-text,
  .testimonials-name {
    max-width: 100%;
  }

  .testimonials-counter {
    font-size: 24pt;
    text-align: right;
  }

  .testimonials-arrow-svg {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .testimonials-block {
    margin-top: 0;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 0;
    padding: 24px;
  }

  .testimonials-counter {
    font-size: 20pt;
    text-align: right;
  }
}

/* ==================== Footer ==================== */
.site-footer {
  background-color: var(--nanquim);
  padding: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  min-height: 420px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.footer-col-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-col-1 .footer-col-top,
.footer-col-2 .footer-col-top {
  flex: 1;
  gap: 0;
}

.footer-social-group,
.footer-newsletter-group {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-newsletter-group {
  margin-top: auto;
  padding-top: 60px; /* Espaço mínimo para não sobrepor a localização */
}

.footer-col-bottom {
  display: flex;
  flex-direction: column;
}

/* Coluna 1 */
.footer-slogan {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 20pt;
  line-height: 1.05;
  color: var(--algodao);
  margin: 0;
}

.footer-slogan-bold {
  font-weight: 600;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-social-btn {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 24pt;
  color: var(--algodao);
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.footer-social-btn:hover {
  color: var(--alecrim);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact span {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 10pt;
  color: var(--salvia);
  line-height: 1.5;
}

.footer-logo {
  width: 216px;
  height: auto;
  display: block;
}

/* Coluna 2 */
.footer-location {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 10pt;
  color: var(--algodao);
  text-transform: uppercase;
  word-spacing: 0.5em;
  margin: 0;
}

/* Spans de localização — visíveis só no mobile/ipad */
.footer-location-city,
.footer-location-state {
  display: none;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 10pt;
  color: var(--algodao);
  text-transform: uppercase;
}

.footer-newsletter-label {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 10pt;
  color: var(--algodao);
  text-transform: uppercase;
}

.footer-email-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 230px;
}

.footer-input-wrapper {
  flex: 1;
  position: relative;
  padding-bottom: 2px;
}

.footer-input-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: -28px;
  height: 1px;
  background: var(--algodao);
}

.footer-email-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 14pt;
  color: var(--algodao);
  text-transform: lowercase;
  display: block;
}

.footer-email-input::placeholder {
  color: var(--algodao);
  text-transform: lowercase;
}

.footer-email-btn {
  background: none;
  border: 1px solid var(--algodao);
  border-radius: 50px;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 10pt;
  color: var(--algodao);
  cursor: pointer;
  padding: 3px 12px;
  text-transform: lowercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-email-btn:hover {
  background-color: var(--algodao);
  color: var(--nanquim);
}

.footer-copyright {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 8pt;
  color: var(--alecrim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Coluna 3 */
.footer-col-3 {
  padding-left: 40px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.footer-nav ul li a {
  font-family: 'Meshed Display', sans-serif;
  font-weight: 200;
  font-size: 30pt;
  color: var(--algodao);
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: var(--alecrim);
}

.footer-credit {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 8pt;
  color: var(--alecrim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Coluna 4 */
.footer-col-4 {
  justify-content: flex-start;
}

.footer-symbol {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 0;
}

/* ── Mobile e iPad vertical (≤1024px) ── */
@media (max-width: 1024px) {
  /*
   * display:contents "dissolve" os containers aninhados,
   * tornando seus filhos participantes diretos do grid.
   * O desktop (>1024px) não é afetado.
   */
  .footer-col-1,
  .footer-col-2,
  .footer-col-3,
  .footer-col-4,
  .footer-col-top,
  .footer-col-bottom {
    display: contents;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 20px;
    min-height: auto;
  }

  /* ── Linha 1: slogan de margem a margem ── */
  .footer-slogan {
    order: 1;
    grid-column: 1 / -1;
    align-self: start;
  }

  /* ── Linha 2: Instagram e Whatsapp ── */
  .footer-social-group {
    order: 2;
    margin: 0;
    align-self: start;
  }

  .footer-social-btn { font-size: 16pt; }

  /* ── Linha 2: marca de margem a margem ── */
  .footer-logo {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    align-self: start;
  }

  /* ── Linha 3: MANAUS (esq) AMAZONAS (dir) ── */
  .footer-location { display: none; }

  .footer-location-city {
    display: block;
    order: 4;
  }

  .footer-location-state {
    display: block;
    order: 5;
    text-align: right;
  }

  /* ── Linha 4: newsletter de margem a margem ── */
  .footer-newsletter-group {
    order: 6;
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
  }

  .footer-email-row {
    max-width: none;
    position: relative;
  }

  .footer-email-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 20px;
    height: 1px;
    background: var(--algodao);
  }

  .footer-input-wrapper::after { display: none; }

  /* ── Linha 5: menu de margem a margem ── */
  .footer-nav {
    order: 7;
    grid-column: 1 / -1;
  }

  .footer-nav ul li a { font-size: 24pt; }

  /* ── Linha 6: símbolo de margem a margem ── */
  .footer-symbol {
    order: 8;
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    object-fit: unset;
    flex: none;
    min-height: 0;
  }

  /* ── Linha 7: copyright (esq) | crédito (dir) ── */
  .footer-copyright {
    order: 9;
    align-self: center;
  }

  .footer-credit {
    order: 10;
    text-align: right;
    align-self: center;
  }
}

/* ── iPad: símbolo menor, alinhado à esquerda (768px–1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer-symbol {
    width: 200px;
  }
}

/* ── Small phone (≤480px) ── */
@media (max-width: 480px) {
  .footer-slogan { font-size: 24pt; }
}

/* ==================== News Section ==================== */
.news-section {
  background-color: var(--algodao);
  background-image: url('../assets/images/elementos/news-home.webp');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 20px;
  align-items: start;
}

.news-section-label {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 12pt;
  color: var(--nanquim);
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  margin-bottom: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card-img {
  width: 100%;
  border-radius: 30pt;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(145, 163, 134, 0);
  transition: background-color 0.4s ease;
  pointer-events: none;
  border-radius: 30pt;
}

.news-card-img:hover::after {
  background-color: rgba(145, 163, 134, 0.45);
}

.news-card-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 12px;
  align-items: start;
}

.news-card-title {
  grid-column: 1;
  grid-row: 1;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 18pt;
  line-height: 1.2;
  color: var(--nanquim);
  text-decoration: none;
  display: block;
}

.news-card-title:hover {
  color: var(--alecrim);
}

.news-card-tag {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  background-color: var(--barro);
  color: var(--algodao);
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600;
  font-size: 10pt;
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.news-card-desc {
  grid-column: 1;
  grid-row: 2;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 12pt;
  line-height: 1.5;
  color: var(--nanquim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-read {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 10pt;
  color: var(--nanquim);
  border: 1px solid var(--nanquim);
  border-radius: 50px;
  padding: 6px 16px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.news-card-read:hover {
  background-color: var(--nanquim);
  color: var(--algodao);
}

.news-card-divider {
  border: none;
  border-top: 1px solid var(--nanquim);
  margin: 4px 0 0;
}

@media (max-width: 768px) {
  .news-section {
    padding: 40px 20px;
  }

  .news-section-label {
    margin-bottom: 0;
  }

  .news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-layout > span:nth-child(2) {
    display: none;
  }

  .news-card {
    gap: 12px;
  }

  .news-card-body {
    row-gap: 8px;
    column-gap: 12px;
  }

  .news-card-title {
    font-size: 18pt;
  }
}

@media (max-width: 480px) {
  .news-card-footer {
    grid-template-columns: 1fr;
  }

  .news-card-read {
    justify-self: start;
  }

  .news-card-body {
    row-gap: 4px;
  }

  .news-card-title {
    font-size: 16pt;
  }
}

/* ==================== Chamada Contato Section ==================== */
.contact-cta-section {
  background-color: var(--algodao);
  padding: 100px 0;
}

.contact-cta-container {
  /* Mesmas margens e padding do .testimonials-block para alinhar colunas */
  margin-left: 0;
  margin-right: 20px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-cta-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 50%;
}

.contact-cta-phrase {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 200;
  font-size: 32pt;
  line-height: 1.1;
  color: var(--nanquim);
}

.contact-cta-phrase strong {
  font-weight: 600;
}

.contact-cta-talk {
  font-family: 'Meshed Display', sans-serif;
  font-weight: 300;
  font-size: 32pt;
  line-height: 1;
  color: var(--nanquim);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-transform: uppercase;
  display: inline-block;
}

.contact-cta-right {
  display: flex;
  align-items: flex-start;
}

.contact-cta-image {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .contact-cta-container {
    padding: 40px;
  }

  .contact-cta-left {
    max-width: 100%;
  }

  .contact-cta-phrase,
  .contact-cta-talk {
    font-size: 32pt;
  }
}

@media (max-width: 768px) {
  .contact-cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
  }

  .contact-cta-left {
    gap: 40px;
  }

  .contact-cta-right {
    order: -1;
  }

  .contact-cta-phrase,
  .contact-cta-talk {
    font-size: 26pt;
  }
}

@media (max-width: 480px) {
  .contact-cta-section {
    padding: 60px 0;
  }

  .contact-cta-container {
    padding: 24px;
  }

  .contact-cta-left {
    gap: 30px;
  }

  .contact-cta-phrase,
  .contact-cta-talk {
    font-size: 22pt;
  }
}

/* ==================== Projects Page ==================== */
.page-projects {
  background-color: var(--algodao);
}

.projects-main {
  padding-top: 142px;
}

.projects-header-section {
  padding: 0 20px 60px;
}

.projects-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-end;
}

.projects-main-title {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 48pt;
  color: var(--nanquim);
  line-height: 1;
  text-transform: none;
}

.projects-filters {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.filter-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300; /* Light */
  font-size: 14pt;
  color: var(--adubo);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.filter-btn.active {
  color: var(--salvia);
}

.filter-btn:hover {
  color: var(--salvia);
}

/* Project Grid */
.projects-grid-section {
  padding: 0 20px 100px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 20px;
}

.project-item {
  display: flex;
  flex-direction: column;
}

.project-item.hidden {
  display: none;
}

@media (max-width: 1024px) {
  .projects-header-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .projects-main-title {
    font-size: 42pt;
  }
  
  .projects-filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .projects-main {
    padding-top: 100px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-btn {
    font-size: 16pt;
  }
}

@media (max-width: 480px) {
  .projects-main-title {
    font-size: 32pt;
  }
}

/* ==================== News Page ==================== */
.page-news {
  background-color: var(--algodao);
}

.news-main {
  padding-top: 142px;
}

.news-header-section {
  padding: 0 20px 60px;
}

.news-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-end;
}

.news-main-title {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500;
  font-size: 48pt;
  color: var(--nanquim);
  line-height: 1;
}

.news-filters {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
}

.news-filter-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600; /* SemiBold */
  font-size: 14pt;
  color: var(--adubo);
  text-transform: lowercase;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.news-filter-btn.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* News Highlights */
.news-highlights-section {
  padding: 0 20px 100px;
}

.highlights-label {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 14pt;
  color: var(--barro);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.news-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 20px;
}

.news-highlights-grid .news-card {
  background-color: transparent;
  padding: 0;
}

.news-section-divider {
  border: none;
  border-top: 1px solid var(--nanquim);
  margin: 0 20px 100px;
}

/* More News Section */
.more-news-section {
  padding: 0 20px 120px;
}

.more-news-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 60px 120px 0; /* Added 60px top padding */
}

/* List Cards (Publication & Press) */
.news-list-card {
  display: flex;
  gap: 60px;
  align-items: start;
  width: 100%;
}

.news-list-col-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 353px;
  justify-content: space-between;
  padding-top: 15px; /* Visual compensation for rounded corners */
}

.news-list-label {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600;
  font-size: 12pt;
  color: var(--adubo);
  text-transform: lowercase;
  margin-bottom: 16px; /* Increased from 8px */
  line-height: 1;
}

.news-list-line {
  border: none;
  border-top: 1px solid var(--nanquim);
  margin: 0 0 40px; /* Increased from 24px */
  width: 100%;
}

.news-list-title {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 24pt;
  line-height: 1.2;
  color: var(--nanquim);
  margin-bottom: 24px;
}

.news-list-btn-wrapper {
  margin-bottom: 30px;
}

.news-list-desc {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 12pt;
  line-height: 1.5;
  color: var(--nanquim);
  margin-bottom: 30px;
  flex-grow: 1; /* Pushes the footer down */
  max-width: 85%;
}

.news-list-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.news-list-btn {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 300;
  font-size: 10pt;
  color: var(--nanquim);
  border: 1px solid var(--nanquim);
  border-radius: 50px;
  padding: 6px 20px;
  text-decoration: none;
  text-transform: lowercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.news-list-btn:hover {
  background-color: var(--nanquim);
  color: var(--algodao);
}

.news-list-date {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 600;
  font-size: 10pt;
  color: var(--algodao);
  background-color: var(--barro);
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.date-salvia {
  background-color: var(--salvia);
}

/* Images Masks */
.news-list-col-img {
  width: auto;
  flex-shrink: 0;
}

.publication-card .news-list-col-text,
.publication-card .news-list-col-img,
.press-card .news-list-col-text,
.press-card .news-list-col-img {
  flex: 0 0 calc(50% - 30px); /* 50% minus half the gap */
}

.news-img-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 30pt;
  overflow: hidden;
}

.news-img-rect {
  width: 100%;
  height: 353px;
  border-radius: 30pt;
  overflow: hidden;
}

.news-img-square img,
.news-img-rect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .more-news-section {
    padding: 0 60px 100px;
  }
}

@media (max-width: 1024px) {
  .news-header-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .news-main-title {
    font-size: 42pt;
  }

  .more-news-section {
    padding: 0 20px 80px;
  }

  .news-list-card {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .news-main {
    padding-top: 100px;
  }
  
  .news-highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .news-filters {
    gap: 20px;
    flex-wrap: wrap;
  }

  .more-news-grid {
    padding: 40px 0 0; /* Full width minus section padding */
    gap: 60px;
  }

  .news-list-card {
    flex-direction: column;
    gap: 30px;
    border-bottom: 1px solid var(--salvia);
    padding-bottom: 40px;
  }

  .news-list-col-text {
    min-height: 0;
    justify-content: flex-start;
    gap: 15px;
    padding-top: 0;
  }

  .news-list-line {
    display: none;
  }

  .press-card .news-list-footer {
    gap: 12px;
  }

  .news-list-footer {
    margin-top: 5px;
  }

  .publication-card .news-list-col-text,
  .publication-card .news-list-col-img,
  .press-card .news-list-col-text,
  .press-card .news-list-col-img {
    flex: 0 0 100%;
  }

  .news-img-square,
  .news-img-rect {
    width: 100%;
  }

  .news-img-square {
    aspect-ratio: 1 / 1;
  }

  .publication-card .news-list-col-img {
    order: -1;
  }

  .news-img-rect {
    height: 250px;
  }

  .news-list-title {
    font-size: 20pt;
  }
}

@media (max-width: 480px) {
  .news-main-title {
    font-size: 32pt;
  }
}

/* News Newsletter Section */
.news-newsletter-section {
  width: 100%;
  padding: 0 0 100px;
}

.news-newsletter-line {
  border: none;
  border-top: 1px solid var(--nanquim);
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  margin-bottom: 60px;
}

.news-newsletter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.news-newsletter-label {
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 14pt;
  color: var(--nanquim);
  text-transform: uppercase;
  margin: 0;
}

.news-newsletter-email-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 300px;
}

.news-newsletter-input-wrapper {
  flex: 1;
  position: relative;
  padding-bottom: 2px;
}

.news-newsletter-input-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: -28px;
  height: 1px;
  background: var(--nanquim);
}

.news-newsletter-email-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 14pt;
  color: var(--nanquim);
  text-transform: lowercase;
  display: block;
}

.news-newsletter-email-input::placeholder {
  color: var(--nanquim);
  opacity: 0.6;
}

.news-newsletter-email-btn {
  background: none;
  border: 1px solid var(--nanquim);
  border-radius: 50px;
  font-family: 'ZT Nature', sans-serif;
  font-weight: 400;
  font-size: 10pt;
  color: var(--nanquim);
  cursor: pointer;
  padding: 3px 12px;
  text-transform: lowercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.news-newsletter-email-btn:hover {
  background-color: var(--nanquim);
  color: var(--algodao);
}

.manifesto-footer-divider {
  border: none;
  border-top: 1px solid var(--algodao);
  margin: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .news-newsletter-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }
  
  .news-newsletter-email-row {
    width: 100%;
    max-width: 350px;
  }
}
