html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Red Hat Display";
}

body, html {
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #5c2c0c;
    width: 100%;
    font-family: "Red Hat Display";
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6.25%;
}

.title {
  color: #8B4B2B;
  text-align: center;
  font-family: "Red Hat Display";
  font-size: 116px;
  font-style: normal;
  font-weight: 300;
  line-height: 108%; /* 125.28px */
  text-transform: uppercase;
}

.timeline-description {
  text-align: center;
  font-size: 20px;
}

.description {
  color: #555;
  font-family: "Red Hat Display";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #5c2c0c;
  width: fit-content;
}

.logo-title {
  color: #2F4E36;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}

.menu-burguer {
  display: none;
}

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

ul li a {
    text-decoration: none;
    color: #2F4E36;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

ul li a:hover {
    color: #5c2c0c;
}

input:focus,
textarea:focus,
select:focus {
  border-radius: 32px;
  border: 1px solid #3B5A41 !important;
  outline: none !important; 
  transition: border 0.3s ease !important;
  background-color: white !important;;
  background: rgba(255, 255, 255, 0.70);
}

.form-last input:focus,
.form-last textarea:focus,
.form-last select:focus {
  border-radius: 32px;
  border: 1px solid #B7872D !important;
  outline: none; 
  background: rgba(255, 255, 255, 0.7);
  transition: border 0.3s ease, background 0.3s ease;
}

.history-section {
  position: relative;
  width: 100%;
  height: 765px;
  margin-bottom: 30px;
  border-radius: 40px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  z-index: 1;
}

/* div do fundo */
.history-bg {
  position: absolute;
  top: 0;
  left: 28px; 
  right: 28px; 
  bottom: 0;

  background: url("Rectangle 1.png") no-repeat center center/cover;
  border-radius: 40px;
  z-index: 1;
}

.history-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 72px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}

.history-text {
  width: 567px;
  color: #E8D8C0;
  font-size: 64px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 69.12px;
  text-shadow: 10px 10px 30px rgba(0, 0, 0, 1);
}

.history-button {
  padding: 10px 24px;
  background: #2F4E36;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: 100px;
  color: #E8D8C0;
  font-size: 20px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 21.6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.history-button:hover {
  background: #3b5f43;
}

.action-section {
  background: url("Rectangle 2.png") no-repeat center center/cover;
  height: 680px;
  display: flex;
  align-items: center;
  padding: 100px 6.25%;
}

.action-content {
  max-width: 346px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #E8D8C0;
  font-family: "Red Hat Display", sans-serif;
}

.action-title .light {
  font-size: 89.54px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 96.7px;
  display: block;
}

.action-title .bold {
  font-size: 89.54px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 96.7px;
  display: block;
}

.action-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.action-description {
  font-size: 20px;
  line-height: 1.4;
}

.action-description .highlight {
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.action-button {
  padding: 10px 24px;
  background: #2F4E36;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: 100px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.action-button:hover {
  background: #555;
}

/* ========== Como Chegar Section ========== */

.como-chegar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 640px;
  background-color: #E8D8C0;
  padding: 110px 6.25%;
  gap: 40px;
}

.como-chegar .info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 400px;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.como-chegar .info h2 {
  color: #3B5A41;
  font-size: 89.538px;
  font-style: normal;
  font-weight: 300;
  line-height: 108%; 
  text-transform: uppercase;
}

.como-chegar .info p {
  color: #555;
  font-family: "Red Hat Display";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.como-chegar .info .radio {
  color: #555;
  font-family: "Red Hat Display";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.como-chegar .map {
  width: 60%;
  max-width: 900px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #B7872D;
}

.como-chegar iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* ========== Quem Somos Section ========== */

.como-chegar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 640px;
  background-color: #E8D8C0;
  padding: 110px 6.25%;
  gap: 40px;
}

.quem-somos {
  padding: 110px 6.25%;
  display: flex;
  flex-direction: column;
  grid-template-rows: auto;
  grid-template-columns: auto;
  grid-gap: 120px;
  width: 100%;
}

.text-block-flex{
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* First row */
.text-block {
  grid-column: 2 / span 5;
  font-size: 20px;
  font-style: normal;
  line-height: normal;
  padding-left: 105px;
}

.text-block h2 {
  font-size: 32px;
  margin-bottom: 40px;
  line-height: 1.2;
  font-size: 96px;
  font-style: normal;
  font-weight: 300;
  line-height: 108%; /* 103.68px */
  text-transform: uppercase;
}

.text-block p {
  max-width: 420px;
  color: #555;
}

.image-grid {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
}

.img {
  width: 100%;
  height: auto;         
  object-fit: cover;
  border-radius: 32px;
}

.img1 {
  grid-column: 1 / span 2;
  
}

.img2,
.img3 {
  aspect-ratio: 1 / 1;   
}

/* Second row */
.quote-section {
  grid-column: 1 / span 12;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 30px;
  align-items: center;
}

.portrait {
  grid-column: 1 / span 5;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.quote-blockquote {
  grid-column: 6 / span 7;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-blockquote blockquote {
  grid-column: 6 / span 7;
  align-items: center;
  color: #555;
  font-family: "Red Hat Display", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  text-align: center;
  font-family: "Red Hat Display";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  max-width: 540px;
}

.quote-blockquote blockquote strong {
  font-weight: bold;
}

.quote-blockquote blockquote cite {
  display: block;
  font-style: normal;
  font-weight: bold;
  color: #8B4B2B;
  font-size: 20px;
  font-style: italic;
  font-weight: 900;
  line-height: normal;
}

/* ========== Carousel Section ========== */
/* Carousel wrapper has a fixed height */

.carousel {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 73.5%;
  height: 580px;
  height: 100%;
  opacity: 0;
  transform: translateX(-50%) scale(0.8);
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  border-radius: 12px;
  overflow: hidden;
}

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

/* center */
.carousel-slide.current {
  opacity: 1;
  z-index: 3;
  transform: translateX(-50%) scale(1);
  filter: none;
}

/* left */
.carousel-slide.prev {
  opacity: 1;
  z-index: 2;
  transform: translateX(-144%) scale(1);
  filter: blur(15px) brightness(0.6);
}

/* right */
.carousel-slide.next {
  opacity: 1;
  z-index: 2;
  transform: translateX(48%) scale(1);
  filter: blur(15px) brightness(0.6);
}

.carousel-slide.prev::after,
.carousel-slide.next::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3); /* dark overlay */
  border-radius: 12px;
  pointer-events: none;
}

/* Overlay button inside blurred sides */
.overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  z-index: 3;
}

.carousel-btn svg path,
.carousel-btn svg circle {
  transition: fill 0.3s ease;
}

/* Active fill class */
.fill-active path,
.fill-active circle {
  fill: #E8D8C0;
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background-color: transparent;
  padding: 14px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 5;
}
.carousel-btn.left { left: 6.25%; display: flex; justify-content: center; align-items: center; }
.carousel-btn.right { right: 6.25%; display: flex; justify-content: center; align-items: center; }

/* ========== Timeline Section ========== */
.timeline-section {
  margin-top: 145px;
}

.timeline {
  text-align: center;
  margin: 80px auto;
  position: relative;
}

.timeline h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #333;
}

.timeline span {
  color: #a26b2a;
  font-weight: bold;
}

.timeline-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden; /* hides scrollbar on desktop */
}

.timeline-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  scroll-behavior: smooth;
  overflow-y: hidden; 
  overflow-x: auto; 
  scrollbar-width: none; 
  scroll-snap-type: x mandatory;
}

.timeline-container::-webkit-scrollbar {
  display: none; 
}

.timeline-box {
  flex: 0 0 100vw; /* full viewport width */
  scroll-snap-align: start; /* snap to each box */
  display: flex;
  align-items: start;
  justify-content: start;
}

.timeline-line {
  position: absolute;
  top: 32.5%; 
  left: 0;
  right: 0;
  height: 2px;
  background: #ccc;
  z-index: 1;
}

/* Timeline item */
.timeline-item {
  position: relative;
  width: 420px;
  height: 339px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.timeline-flex {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 443px;
  gap: 31px;
  justify-content: start;
  align-items: center;
}

.timeline-year {
  color: #884c2c;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: #2d482d;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.timeline-text {
  line-height: 1.5;
  max-width: 420px;
}

/* Controls */
.timeline-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.timeline-nav-btn {
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  background-color: #fff;
}

.timeline-title {
  padding: 0 6.25%;
}

.timeline-title h2 {
  color: #555;
  font-family: "Red Hat Display";
  font-size: 96px;
  font-style: normal;
  font-weight: 300;
  line-height: 108%;
  text-transform: uppercase;
}

.timeline-title h2 span {
  color: #B7872D;
  font-weight: 800;
  font-size: 48px;
  margin-left: 1rem;  
  white-space: nowrap;  
}

.timeline-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
}

.dot.active {
  background: #B7872D;
}

/* Mobile */
@media (max-width: 768px) {
  .timeline-box {
    width: 100%;
    height: auto;
    padding: 16px;
  }
  .timeline-controls {
    display: none; /* hide dots + arrows */
  }
  
  /* Timeline scroll indicator for mobile */
  .timeline-container::after {
    content: "← Deslize para ver mais →";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
    animation: pulse 2s infinite;
    opacity: var(--hide-indicator, 1);
    transition: opacity 0.5s ease-out;
  }
  
  @keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
  }
  
  /* Add scroll hint arrow */
  .timeline-wrapper::before {
    content: "→";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #B7872D;
    font-size: 24px;
    font-weight: bold;
    z-index: 5;
    pointer-events: none;
    animation: slideRight 1.5s infinite;
    opacity: var(--hide-arrow, 1);
    transition: opacity 0.5s ease-out;
  }
  
  @keyframes slideRight {
    0% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(10px); }
    100% { transform: translateY(-50%) translateX(0); }
  }
}

/* ========== Pain Section ========== */

.pain-section {
  background: #2F4E36;
  height: 880px;
  padding: 110px 6.25% 153px 12.50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative; /* needed for absolute squares */
  overflow: hidden; 
}

.pain-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  z-index: 2;
}

.pain-text {
  max-width: 500px;
  color: #fff;
}

.pain-title {
  color: #B7872D;
  font-size: 48px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 218px;
}

.pain-description {
  font-size: 20px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  max-width: 345px;
  z-index: 2;
}

.pain-image img {
  width: 610px;
  height: 343px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(85, 85, 85, 0.65);
  backdrop-filter: blur(15px);
}

.pain-download {
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

/* Decorative rotated squares */
.decor-square {
  width: 406px;
  height: 406px;
  border-radius: 45px;
  border: 1px solid #B7872D;
  transform: rotate(-45deg);
  position: absolute;
  z-index: 1;
}

.decor-square.left {
  top: 82.5%;  
  left: -300px;
  transform: translateY(-100%) rotate(-45deg);
  z-index: 1;
}

.decor-square.right {
  bottom: 0;
  right: -300px;
  transform: translateY(50%) rotate(-45deg);
}

/* ========== Vídeo Section ========== */

.video-section {
  padding: 57px 6.25%;
  background-color: #555555;
  /* height: 811px; */
}

.video2 {
  background-color: #B7872D;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: #656565;

  padding: 57px;

  display: flex;             
  align-items: center;         
  justify-content: center;    
  text-align: center;

  color: #D9D9D9;
  font-family: "Red Hat Display";
  font-size: 48px;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
}

.video2-placeholder {
  background-color: #E8D8C033;
}

/* Section 1: Justiça e Reparação */
.justice-section {
  padding: 6.25% 6.25% 0 6.25%;
}

.justice-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  background: #F6F6F6;
  padding: 50px;
  border-radius: 20px;
}

.justice-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-row: 1 / span 2; 
}

.justice-text h2 {
  color: #B7872D;
  font-family: "Red Hat Display";
  grid-column-start: 1;
  font-size: 48px;
  font-style: normal;
  font-weight: 300;
  line-height: 108%;
}

.justice-text p {
  font-family: "Red Hat Display";
  font-size: 18px;
  color: #555;
  width: 295px;
}

.justice-downloads {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column-start: 2;
  grid-row: 1 / span 2; 
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #555;
  padding: 20px 0px;
}

.download-item:first-child {
  padding-top: 0;
}

.download-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.download-item span {
  font-size: 20px;
}

.download-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 4px;
  background: #E8D8C0;
}

/* Section 2: Notícias */
.news-section {
  padding: 7% 6.25%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-title {
  font-family: "Red Hat Display";
  font-size: 24px;
  font-weight: 700;
  display: inline-block;
  border: 1px solid #B7872D;
  padding: 10px 16px;
  border-radius: 100px;
  width: fit-content;
  color: #B7872D;
  font-weight: 300;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.news-card {
  background: #F6F6F6;
  padding: 16.4px;
  flex: 1;
  border-radius: 13px;
  text-align: center;
}

.news-card img {
  display: inline-block;
  border-radius: 6.565px;
  min-height: 180px;
  width: 270px;
  background-color: #2c2c2c; 
  object-fit: cover;
}

.news-category-div{
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  margin-bottom: 10px;
}

.news-category-dot{
  width: 4.924px;
  height: 4.924px;
  background-color: #2F4E36;
  border-radius: 100%;
}

.news-category {
  text-align: start;
  color: #555;
  font-size: 14px;
  font-weight: 400;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.news-card h4 {
  text-align: start;
  color: #8B4B2B;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 94%; 
  text-transform: uppercase;
}

.news-card p {
  font-size: 14px;
  color: #555;
  text-align: start;
}

.news-card a {
  text-decoration: underline;
  font-weight: 700;
  color: #B7872D;
  font-size: 14px;
  text-align: start;
}

.news-wrapper {
  position: relative;
  overflow: hidden;
}

.news-cards {
  display: flex;
  transition: transform 0.5s ease;
  gap: 0;
}

.news-row {
  display: flex;
  min-width: 100%;
  gap: 20px;
}

.news-card img {
  width: 100%;
  height: auto;
}

.news-nav {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 12px;
}

.nav-left, .nav-right {
  cursor: pointer;
  background-color: white;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
}

.nav-dots {
  display: flex;
  gap: 8px;
  
}

.nav-dots button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: none;
  border: 1px solid #3B5A41;
  color: #3B5A41;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  line-height: 94%;
  text-transform: uppercase;
  transition: background 0.3s;
}

.nav-dots button.active {
  background: #3B5A41;
  color: #fff;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2f4f2f; /* dark greenish */
}

.section-description {
  margin-bottom: 30px;
  color: #444;
}

.donation-card {
  display: flex;
  border-radius: 8px;
  position: relative;
}

.donation-divider {
  width: 1px;
  background: #555;
  margin: 0 120px 0 120px
}

.donation-left,
.donation-right {
  flex: 1;
}

/* Left side (DOE) */
.donation-left {
  max-width: 180px;
  height: 433px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.donation-left h3 {
  font-size: 1.5rem;
  font-size: 48px;
  font-weight: 300;
  line-height: 108%;
  color: #B7872D; 
}

.donation-left img {
  margin-top: 15px;
  max-width: 180px;
}

/* Right side (AJUDE form) */
.donation-right {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.donation-right div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.donation-right form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
}

.donation-title p {
  font-size: 20px;
}

.donation-right form input {
  border-radius: 100px;
  border: 1px solid #FFF;
  background: rgba(255, 255, 255, 0.30);
  height: 49px;
  padding: 14px 20px;
}

.donation-right form input::placeholder {
  color: #D9D9D9;       /* light gray example */
}

.donation-right form textarea {
  border-radius: 32px;
  border: 1px solid #FFF;
  background: rgba(255, 255, 255, 0.30);
  height: 170px;
  padding: 14px 20px;
}

.donation-right form textarea::placeholder {
  color: #D9D9D9;  
  max-width: 284px;
}

.donation-right {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.donation-right h3 {
  font-size: 1.5rem;
  font-size: 48px;
  font-weight: 300;
  line-height: 108%;
  color: #B7872D; 
}

.donation-right p {
  color: #444;
  width: 267px;
}

.donation-right form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.donation-right input,
.donation-right textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  resize: none;
}

.donation-right textarea {
  min-height: 100px;
}

.contas {
  color: #fff;
  text-decoration: none;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  border-radius: 32px;
  background: #3B5A41;
  box-shadow: 10px 10px 30px 0 rgba(0, 0, 0, 0.23);
}

.contas-text h2 {
  color: #E8D8C0;
  font-size: 48px;
  font-weight: 300;
  line-height: 108%; /* 51.84px */
  text-align: start;
}

.contas-text p {
  text-align: start;
  font-size: 20px;
}

.contas-download {
  background: #B7872D;
  padding: 13.1px;
  border-radius: 13.614px;
  width: 80px;
  height: 80px;
}

/* Contact Section */
.contact-box {
  margin: 88px 0 88px 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 490px;
}

.contact-box form input {
  background: rgba(255, 255, 255, 0.30);
  height: 49px;
  padding: 14px 20px;
  border-radius: 32px;
  border: 1px solid #D9D9D9;
}

.contact-box form input::placeholder {
  color: #D9D9D9;     
}

.contact-box form textarea {
  background: rgba(255, 255, 255, 0.30);
  height: 170px;
  padding: 14px 20px;
  border-radius: 32px;
  border: 1px solid #D9D9D9;
  resize: none;
}

.contact-box form textarea::placeholder {
  color: #D9D9D9;  
}

.contact-box h2 {
  font-size: 1.5rem;
  font-size: 48px;
  font-weight: 300;
  line-height: 108%;
  color: #B7872D; 
}

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  height: 662px;
}

.contact-box input,
.contact-box textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  width: 100%;
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.donation-section {
  background-color: #E8D8C080;
  padding-top: 6.25%;
  padding-bottom: 6.25%;
  display: flex;
  justify-content: center;
}

.donation-box {
  max-width: 1030px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 102px;
}

.donation-box-title {
  max-width: 700px;
}

.donation-box-title p {
  max-width: 357px;
}

.section-padding {
  padding-left: 6.25%;
  padding-right: 6.25%;
}

.ajuda-title {
  color: #3B5A41;
  font-family: "Red Hat Display";
  font-size: 96px;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between; 
  align-items: center;            
  height: 258px;
  flex-shrink: 0;
  background-color: #8B4B2B;     
}

/* Logo */
.footer-logo svg {
  display: block;
}

/* Address */
.footer-address {
  font-size: 1rem;
  line-height: 1.4;
  color: #E8D8C0;
  font-family: "Red Hat Display";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  background: #fff;
  padding: 20px 6.25%;
}

.burger {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* side menu hidden offscreen */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px; /* hide off canvas */
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  z-index: 1000;
}

.side-menu.active {
  right: 0;
}

.side-menu .close-btn {
  align-self: flex-start;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 2rem;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.side-menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.25rem;
}


/* Small devices (landscape phones / small tablets) */
@media (max-width: 767px) {
    .burger {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* below nav */
    right: 1rem;
    background: #fff;
    border: 1px solid #ccc;
    padding: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  
  .history-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 20px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .donation-box {
    gap: 32px;
  }

  .carousel {
    position: relative;
    width: 100%;
    height: 228px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 83.5%;
    height: 228px !important;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
    border-radius: 12px;
    overflow: hidden;
  }

  .carousel-btn.left { left: 6.25%; display: flex; justify-content: center; align-items: center; }
  .carousel-btn.right { right: 6.25%; display: flex; justify-content: center; align-items: center; }

  .carousel-btn.left { left: 0%; display: flex; justify-content: center; align-items: center; }
  .carousel-btn.right { right: 0%; display: flex; justify-content: center; align-items: center; }

  .timeline-title h2 {
    font-size: 40px;
    max-width: 315px;
  }

  .timeline-title h2 span {
    font-size: 24px;
    margin-left: 0px;
  }  

  .timeline {
    text-align: center;
    margin: 37px auto;
    position: relative;
  }

  .timeline-flex {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: fit-content;
    gap: 15px;
    justify-content: start;
    align-items: center;
  }

  .history-section {
    margin-top: 30px !important;
  }

  .timeline-line {
    position: absolute;
    top: 40.75%; 
    left: 0;
    right: 0;
    height: 2px;
    background: #ccc;
    z-index: 1;
  }

  .title {
    font-size: 56px;
  }

  .timeline-description {
    font-size: 10px;
    max-width: 250px;
  }

  .quem-somos .text-block h2 {
    width: 50%;
  }

  .quem-somos .text-block.w-50 {
    width: 100% !important;
  }

  .video-section .video-placeholder,
  .video-section.video2 .video2-placeholder {
    max-width: 100% !important;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: transparent;
    padding: 0px !important;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 5;
  }

  .video-placeholder {
    font-size: 16px;
  }

  .text-block h2 {
    font-size: 40px;
    margin-bottom: 32px;
  }

  .text-block p {
    font-size: 16px;
  }

  .justice-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #F6F6F6;
    padding: 25px;
    border-radius: 20px;
  }

  .justice-text h2 {
    font-size: 40px;
    margin-bottom: 5px;
  }

  .justice-text p {
    font-size: 16px;
  }

  .download-item span {
    font-size: 10px;
  }

  .news-row {
    display: flex;
    min-width: 100%;
    gap: 6px;
  }

  .nav-dots {
    display: none;
  }

  .news-section {
    padding: 7% 6.25%;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .contas-text h2 {
    font-size: 24px !important;
  }

  .contas-text p {
    font-size: 16px;
  }

  .contas-download {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px;
  }

  .news-category {
    text-align: start;
    color: #555;
    font-size: 8px;
    font-weight: 400;
  }

  .news-card h4 {
    text-align: start;
    color: #8B4B2B;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 94%; 
    text-transform: uppercase;
  }

  .news-card p {
    font-size: 10px;
    color: #555;
    text-align: start;
  }

  .news-card a {
    text-decoration: underline;
    font-weight: 700;
    color: #B7872D;
    font-size: 10px;
    text-align: start;
  }

  .medium {
    display: none
  }

  .small {
    display: none;
  }

  .news-title {
    font-size: 16px;
  }

  .donation-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    gap: 32px;
  }

  .ajuda-title {
    font-size: 40px;
  }

  .description {
    font-size: 16px;
  }

  .donation-left {
    width: auto !important;
    height: fit-content;
    display: flex;
    flex-direction: row;
    gap: 32px;
  }
  

  .donation-left div{
    max-width: 100%
  }

  .donation-left span {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .donation-left svg {
    width: 118px; 
    height: 118px;
  }

  .donation-right {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 55px;
  }

  .donation-left h3 {
    font-size: 40px;
  }
  .donation-title h3 {
    font-size: 40px;
  }
  .donation-title p {
    font-size: 16px !important;
  }

  .donation-title p {
    min-width: 100% !important;
  }

  .contas {
    padding: 8px 11px;
  }

  .contas-text h2 {
    color: #E8D8C0;
    font-size: 48px;
    font-weight: 300;
    line-height: 108%; 
    text-align: start;
    text-wrap: nowrap;
  }

  .contact-box {
    margin: 88px 0 88px 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    max-width: 100%;
  }

  .contact-box h2 {
    font-size: 40px;
    font-weight: 300;
    line-height: 108%;
    color: #B7872D; 
  }

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

  .video-section {
    padding: 24px 6.25%;
    background-color: #555555;
    /* height: 233px; */
  }

  .timelineBr {
    display: none;
  }

    .quote-blockquote blockquote {
    font-size: 18px;
  }

  .quote-blockquote blockquote cite {
    font-size: 16px;
  }

  .video2-placeholder {
    font-size: 16px;
  }

  .pain-title{
    font-size: 40px;
  }

  .pain-description{
    font-size: 16px;
  }

  .side-menu ul li a {
  text-decoration: none;
  color: #2F4E36;
  font-size: 24px !important;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.2s;
}

}

/* Medium devices (tablets / small desktops) */
@media (max-width: 1038px) { 


  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    width: 100.2%;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: rgba(20, 20, 20, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
  }

  nav .logo {
    font-weight: bold;
    font-size: 1.2rem;
  }

  nav .burger {
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
  }

/* === SLIDE MENU === */
.side-menu {
  position: fixed;
  top: 0;
  right: -100.15%;
  width: 100%;
  height: 100vh;
  background-color: #A0522C;
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  justify-content: space-between;
  padding: 30px;
  transition: right 0.4s ease;
  z-index: 9999;
}

.side-menu.open {
  right: 0;
  z-index: 2;
}

.side-menu .close-btn {
  align-self: flex-start;
  font-size: 36px;
  cursor: pointer;
  margin-bottom: 40px;
  background: none;
  border: none;
  color: white;
}

.side-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  text-align: right;
}

.side-menu ul li a {
  text-decoration: none;
  color: #2F4E36;
  font-size: 48px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.2s;
}

.side-menu ul li a:hover {
  color: white;
}

  .video2-placeholder {
    width: 100% !important;
  }

  .video2-placeholder p {
    width: 100% !important;
  }

  .donation-right {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 55px;
  }

  .donation-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    width: 100%; 
    gap: 64px;
  }

  .donation-title p {
    font-size: 20px;
    min-width: 400px;
    margin-top: 12px;
  }

  .donation-box-title {
    max-width: none;
  }

  .donation-left {
    width: 100%;
    min-width: 100%;
    height: 433px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .donation-left h3 {
    margin-bottom: 11px;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;            
    height: 258px;
    flex-shrink: 0;
    gap: 32px;
    background-color: #8B4B2B;     
  }

  .donation-left div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .donation-left {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    gap: 32px;
  }
  

  .donation-left div{
    max-width: 100%
  }

  .donation-left span {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .donation-title {
    display: flex;
    flex-direction: column;
  }

  .donation-card {
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 55px;
  }

  .donation-right {
    min-width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 55px;
  }

  .donation-right div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .description {
    margin-top: 20px;
  }

  .donation-divider {
    display: none;
  }

  .medium {
    display: none
  }

  .history-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 20px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .history-bg {
    position: absolute;
    top: 0;
    left: 28px; 
    right: 28px; 
    bottom: 0;

    background: url("Rectangle 1.png") no-repeat center center/cover;
    border-radius: 40px;
    background-size: auto;
    z-index: 1;
  }

  .history-text {
    width: 100%;
    color: #E8D8C0;
    font-size: 34.878px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 108%;
    text-shadow: 10px 10px 30px rgba(0, 0, 0, 1);
  }

  .history-button, .action-button {
    padding: 5px 13px;
    background: #2F4E36;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.25);
    border-radius: 100px;
    color: #E8D8C0;
    font-size: 10px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 21.6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .action-section {
    background: url("Rectangle 2.png") no-repeat center center/cover;
    height: fit-content;
    display: flex;
    align-items: center;
    padding: 20px 6.25%;
  }

  .action-description {
    font-size: 16px;
    line-height: 1.4;
    max-width: 176px;
  }

  .action-title .light {
    font-weight: 300;
    text-transform: uppercase;
    display: block;
    font-size: 40px;
    font-style: normal;
    line-height: 108%
  }

  .action-title .bold {
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    font-size: 40px;
    font-style: normal;
    line-height: 108%
  }

  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5c2c0c;
    max-width: 165px;
  }

  .logo svg {
    max-width: 165px; 
  }

  .logo-title {
    display: none
  }

  .menu-burguer {
    display: inline-block;
  }

  .pain-title {
    max-width: 100%;
  }

  .history-section {
    position: relative;
    width: 100%;
    height: 765px;
    margin-bottom: 30px;
    margin-top: 85px;
    border-radius: 40px;
    overflow: hidden;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .como-chegar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    height: fit-content;
    background-color: #E8D8C0;
    padding: 41px 6.25% 31px 6.25%;
    gap: 31px;
    flex-wrap: wrap;
  }

  .como-chegar .map {
    width: 100%;
    height: 637px;
    border-radius: 12px;
    overflow: hidden;
  }

  .info h2 {
    max-width: 360px;
    margin-bottom: 34px;
    font-size: 40px !important;
  }

  .info-text p {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word; 
    font-size: 16px !important;
  }

  .radio {
    max-width: 180px !important;
    white-space: normal; 
  }

  .como-chegar .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 100%;
  }

  .text-block-flex{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 30px;
  }

  .text-block p {
    max-width: 100%;
  }

  .image-grid {
    width: 100%;
  }

  .quote-section {
    grid-column: 1 / span 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 30px;
    align-items: center;
  }

  .quote-blockquote {
    grid-column: 1 / span 12;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .portrait {
    grid-column: 1 / span 12;
    grid-row: 2;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
  }

  .pain-section {
    background: #2F4E36;
    height: 100% !important;
    padding: 31px 6.25% 37px 6.25% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative; 
    overflow: hidden; 
  }

  .pain-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    z-index: 3;
  }

  .pain-image {
    width: 100%;

  }

  .pain-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(85, 85, 85, 0.65);
    backdrop-filter: blur(15px);
    margin-bottom: 73px;
  }

  .pain-text {
    min-width: 100%;
    color: #fff;
  }

  .pain-description {
    min-width: 100%;
    color: #fff;
    z-index: 2;
  }

  .decor-square.left {
    display: none;
  }

  .decor-square.right {
    display: none;
  }

  .quem-somos {
    padding: 70px 6.25%;
    display: flex;
    flex-direction: column;
    grid-template-rows: auto;
    grid-template-columns: auto;
    grid-gap: 60px;
    width: 100%;
  }

  .contas {
    border-radius: 10.718px;
  }

  .contas-text  {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 83.5%;
    height: 580px;
    height: 100%;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
    border-radius: 12px;
    overflow: hidden;
  }

  .carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 83.5%;
    height: 580px;
    height: 100%;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
    border-radius: 12px;
    overflow: hidden;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: transparent;
    padding: 7px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 5;
  }

  .carousel-btn.left { width: 7.5%; left: 0%; display: flex; justify-content: center; align-items: center; }
  .carousel-btn.right { width: 7.5%; right: 0%; display: flex; justify-content: center; align-items: center; }

  .timeline-section {
    margin-top: 37px;
  }

  .video-section {
    padding: 24px 6.25%;
    background-color: #555555;
    /* height: 500px; */
  }

  .video2 {
    background-color: #B7872D;
  }


}

@media (max-width: 1200px) {
     .news-card h4 {
    text-align: start;
    color: #8B4B2B;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 94%; 
    text-transform: uppercase;
  }

  .news-category {
    text-align: start;
    color: #555;
    font-size: 10px;
    font-weight: 400;
  }

  .news-card p {
    font-size: 16px;
    color: #555;
    text-align: start;
  }

  .news-card a {
    text-decoration: underline;
    font-weight: 700;
    color: #B7872D;
    font-size: 16px;
    text-align: start;
  }

}

/* Large devices (desktops) */
@media (min-width: 1039px) and (max-width: 1320px){ 

  .carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 83.5%;
    height: 580px;
    height: 100%;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
    border-radius: 12px;
    overflow: hidden;
  }

  .carousel-btn.left { left: 1%; display: flex; justify-content: center; align-items: center; }
  .carousel-btn.right { right: 1%; display: flex; justify-content: center; align-items: center; }

  .pain-section {
    background: #2F4E36;
    height: 880px;
    padding: 110px 6.25% 153px 6.25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative; 
    overflow: hidden; 
  }
}

@media (max-width: 1450px) {
  .text-block {
    grid-column: 2 / span 5;
    font-size: 20px;
    font-style: normal;
    line-height: normal;
    padding-left: 0px;
  }
}


.news-card h4 {
    font-size: 15px;
    line-height: 115%;
}