/* ===================== TITLES ===================== */

.sections-title,
.titulo-sessao,
.text-side h2,
.carousel-text h2,
.details-text h2,
#distribution h2,
#parcerias h2 {
  color: #00427a;
  font-weight: 700;
}

/* =====================  SEPARADOR ===================== */

#separador {
  padding: 10px;
  background-color: #003563;
  width: 100%;
  height: 50px;
}

/* =====================  TRADITION ===================== */

.container {
  padding-top: 30px;    /* era 50px */
  padding-bottom: 30px; /* adicionado para controlar o espaço embaixo também */
  display: flex;
  align-items: center;
  min-height: auto;     /* era 500px — causava espaço vazio quando o conteúdo era menor */
}

.container.reverse {
  flex-direction: row-reverse;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: 0 40px;
}

.text-side {
  align-items: flex-start;
  text-align: left;
}

.text-side h2 {
  font-size: 2.2rem;
  margin-bottom: 15px; /* era 25px */
}

.text-side p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 12px; /* era 18px */
  max-width: 560px;
}

/* =====================  PILARS ===================== */

.titulo-sessao {
  font-size: 2.2rem;
  padding: 30px 8% 15px 8%; /* era 40px top e 20px bottom */
  margin-bottom: 15px;       /* era 25px */
}

.container-pilar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px; /* era 60px */
}

.grid-pilar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 8%;
}

.card-pilar {
  background-color: #00427a;
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-pilar:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-topo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-pilar h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0;
}

.card-pilar p {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.5;
}

/* ===================== DISTRIBUITION ===================== */

.text-side strong {
  color: #333;
}

#distribution h2 {
  font-size: 1.8rem;
}

#distribution p {
  font-size: 1rem;
}

/* ===================== STORAGE/LOGISTIC ===================== */

#str-lgt-section {
  padding: 10px;
  gap: 10px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
}

.logistic {
  padding: 10px;
  width: 700px;
}

.sections-title {
  font-size: 2.5rem;
  margin-bottom: 10px; /* era 20px */
}

.logistic p {
  padding: 15px 25px;  /* era 25px em todos os lados */
  color: #6B7280;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===================== SOLUTIONS ===================== */

.solutions {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solutions:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

#solutions-section {
  display: grid;
  justify-content: center;
  padding: 20px 20px 0 20px;
}

#solutions-header {
  padding: 20px 20px 0 20px;
  font-size: 18px;
}

.sections-title {
  color: #00427a;
  font-size: 40px;
  margin-bottom: 0;
}

#solutions-section h2 {
  margin-bottom: 0;
}

#solutions-boxes {
  padding: 20px 40px 30px 40px; /* era 40px bottom */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;           /* era 50px */
  max-width: 1000px;
}

.solutions {
  position: relative;
  background: rgb(247, 247, 247);
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
}

.solutions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #00427a, #b0d5ff);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.solutions h3 {
  color: #00427a;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.solutions p {
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* ===================== MARK DETAILS ===================== */

#mark-details-section {
  padding: 10px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 30px;
}

.details-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.details-text h2 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.details-text p {
  padding-left: 30px;
  color: #6B7280;
  margin: 8px 0;  
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===================== WHY US ===================== */

#why-us-section {
  width: 100%;
  padding: 35px 8%;   /* era 50px */
  display: flex;
  justify-content: center;
}

.why-content {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 60px;
  align-items: start;
}

/* ===================== LEFT SIDE ===================== */

.why-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#why-us-section .sections-title {
  color: #00427a;
  font-size: 2.8rem;
  margin-bottom: 20px; /* era 25px */
  text-align: left;
}

/* ===================== ACCORDION ===================== */

#why-box-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.why-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 66, 122, 0.08);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.why-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.why-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  text-align: center;
  color: #00427a;
  font-size: 1rem;
  font-weight: 700;
}

.why-question::after {
  content: "▶";
  position: absolute;
  left: 24px;
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.why-item.active .why-question::after {
  transform: rotate(90deg);
}

.why-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: #6B7280;
  line-height: 1.7;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}

.why-item.active .why-answer {
  max-height: 220px;
  padding: 0 24px 22px;
}