/* ===== Formula Tabs & Accordion Section ===== */

.formula-tabs {
  padding: 60px 0;
  background: #fff;
  color: #111;
}

.formula-wrap {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.formula-left {
  background: transparent;
}

.section-title {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.section-sub {
  color: #333;
  margin-bottom: 22px;
  font-size: 18px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.tab-btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.tab-btn.secondary {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}

.tab-btn.highlight {
  background: #FFB400;
  color: #111;
  border: 1px solid rgba(0,0,0,0.12);
}

/* Accordion */
.ingredients-area {
  background: transparent;
}

.accordion {
  border-top: 1px solid #e6e6e6;
  margin-top: 8px;
}

.accordion-item {
  border-bottom: 1px solid #e6e6e6;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.accordion-title {
  font-weight: 700;
  color: #111;
  font-size: 18px;
}

.accordion-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  color: #111;
  background: transparent;
  font-weight: 700;
  font-size: 18px;
}

.accordion-content {
  color: #333;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s ease, opacity 0.25s;
  opacity: 0;
  padding-right: 6px;
}

.accordion-item.open .accordion-content {
  max-height: 400px;
  opacity: 1;
}

.accordion-item.open .accordion-toggle {
  transform: rotate(45deg);
}

/* Right image */
.formula-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.formula-right img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 1100px) {
  .formula-wrap {
    grid-template-columns: 1fr 420px;
  }
}

@media (max-width: 900px) {
  .formula-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .formula-right {
    order: -1;
  }
  .section-title {
    font-size: 38px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 30px;
  }
  .tab-btn {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* Resetting some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5; /* Cor de fundo mais suave */
}

.pg-container {
  background-color: #111;
  color: white;
  padding: 40px;
  text-align: center;
  margin-top: 20px;
}

.pg-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffcc00; /* Amarelo */
}

.pg-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ccc;
}

.pg-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsivo */
  gap: 20px;
  margin-bottom: 40px;
}

.pg-card {
  background-color: white; /* Fundo branco */
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  color: black;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Leve sombra para destacar */
  transition: all 0.3s ease;
}

.pg-card:hover {
  background-color: #f7f7f7; /* Fundo um pouco mais claro no hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.pg-card-icon img {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.pg-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffcc00; /* Amarelo */
}

.pg-card p {
  font-size: 16px;
  color: #555; /* Cor um pouco mais escura para o texto */
}

.pg-cta-btn {
  background-color: #ffcc00;
  color: black;
  border: none;
  padding: 15px 30px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pg-cta-btn:hover {
  background-color: #e6b800;
}
