/* style/privacy-policy.css */

/* Variáveis de Cores */
:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --card-bg-color: #FFFFFF;
  --bg-color: #F5F7FA;
  --text-main-color: #333333;
  --border-color: #E0E0E0;
  --white-color: #ffffff;
  --dark-text-color: #000000;
}

/* Base styles for the page content, assuming a light body background from shared.css */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for light background */
  background-color: var(--bg-color);
  line-height: 1.6;
  font-size: 1rem;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 40px 0; /* Small top padding, body handles --header-offset */
  background-color: var(--primary-color);
  color: var(--white-color);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlay text slightly on the image */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--white-color);
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 20px;
  color: var(--white-color);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--card-bg-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.page-privacy-policy__section-wrapper {
  margin-bottom: 30px;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__section-wrapper:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--text-main-color);
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--text-main-color);
  text-align: justify;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  line-height: 1.5;
}

.page-privacy-policy__list-item strong {
  color: var(--primary-color);
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__cta-section {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  border-radius: 8px;
  margin-top: 30px;
  color: var(--white-color);
}

.page-privacy-policy__cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 15px;
  color: var(--white-color);
}

.page-privacy-policy__cta-description {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--white-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-privacy-policy__footer-disclaimer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #666;
  background-color: var(--bg-color);
}

.page-privacy-policy__copyright {
  margin: 0;
  color: var(--text-main-color);
}

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

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

  .page-privacy-policy__hero-section {
    padding: 10px 0 20px 0;
  }

  .page-privacy-policy__hero-content {
    margin-top: -50px; /* Adjust overlay for smaller screens */
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2rem;
  }

  .page-privacy-policy__intro-text {
    font-size: 1rem;
  }

  .page-privacy-policy__content-area {
    padding: 20px 15px;
    margin-top: 10px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.5rem;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2rem;
  }

  .page-privacy-policy__cta-section {
    padding: 30px 15px;
  }

  .page-privacy-policy__cta-title {
    font-size: 1.5rem;
  }

  .page-privacy-policy__cta-description {
    font-size: 0.95rem;
  }

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

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

  .page-privacy-policy__section, 
  .page-privacy-policy__card, 
  .page-privacy-policy__container, 
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__section-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-privacy-policy__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-privacy-policy__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-privacy-policy__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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

/* Ensure images are never smaller than 200px in content area */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-privacy-policy__content-area img {
    min-width: unset;
    min-height: unset;
  }
}