/* style/privacy-policy.css */

/* Cores personalizadas */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background-color: #08160F;
    --card-background: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

/* Base styles for the page content, considering dark body background */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text for dark background */
    background-color: var(--background-color);
    line-height: 1.6;
    padding-bottom: 50px;
}

/* Sections */
.page-privacy-policy__hero-section,
.page-privacy-policy__content-area {
    padding: 40px 20px;
    position: relative;
}

/* Adjust padding for the hero section, considering shared body padding */
.page-privacy-policy__hero-section {
    padding-top: 10px; /* Small top padding, main offset handled by body */
    padding-bottom: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-privacy-policy__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__introduction-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__section-title {
    color: var(--gold-color);
    font-size: 2em;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
}

.page-privacy-policy p {
    margin-bottom: 1.2em;
    color: var(--text-main);
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 1.5em;
    color: var(--text-main);
}

.page-privacy-policy__list li {
    margin-bottom: 0.8em;
    color: var(--text-secondary);
}

.page-privacy-policy__list li strong {
    color: var(--text-main);
}

.page-privacy-policy__image-wrapper {
  margin: 30px 0;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-privacy-policy__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-privacy-policy__contact-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-background);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1em;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: var(--deep-green-color);
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1em;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 25px 25px;
  background: var(--card-background);
  border-top: 1px solid var(--divider-color);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
}

.page-privacy-policy__faq-answer p {
  margin-top: 15px;
  color: var(--text-secondary);
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }

    .page-privacy-policy__introduction-text {
        font-size: 1em;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }

    .page-privacy-policy__container {
        padding: 0 0;
    }

    .page-privacy-policy__section-title {
        font-size: 1.5em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
    }

    .page-privacy-policy__list li {
        font-size: 0.95em;
    }

    .page-privacy-policy__image-wrapper img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      border-radius: 8px;
    }

    .page-privacy-policy__contact-buttons {
      flex-direction: column;
      gap: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding: 12px 15px;
      font-size: 0.95em;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
      padding: 15px;
      font-size: 1em;
    }

    .page-privacy-policy__faq-qtext {
      font-size: 0.95em;
    }

    .page-privacy-policy__faq-toggle {
      font-size: 20px;
      width: 24px;
    }

    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
      padding: 0 15px 15px;
    }
}

/* Global image responsiveness */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__hero-section,
.page-privacy-policy__content-area,
.page-privacy-policy__container,
.page-privacy-policy__image-wrapper,
.page-privacy-policy__contact-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__contact-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__contact-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}