/* style/gdpr.css */

/* Cores da marca */
:root {
  --brand-primary: #E53935;
  --brand-secondary: #FF5A4F;
  --card-bg: #FFFFFF;
  --page-bg: #F5F7FA;
  --text-main: #333333;
  --border-color: #E0E0E0;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--page-bg); /* Default background for the page content */
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column; /* Stacks image then content */
  align-items: center;
  text-align: center;
  padding: 10px 0 0 0; /* Small top padding, no bottom padding here */
  overflow: hidden;
  background-color: var(--page-bg); /* Overall section background */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  width: 100%; /* Take full width */
  max-width: 1200px; /* Constrain content width */
  padding: 40px 20px 60px 20px; /* Adjust padding for content below image */
  box-sizing: border-box;
  color: var(--text-main); /* Default text color for light background */
  background-color: var(--page-bg); /* Explicit background for this content block */
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: var(--brand-primary); /* H1 can use brand color */
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
}

.page-gdpr__hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

.page-gdpr__cta-button--primary {
  background: linear-gradient(180deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
  color: #ffffff;
  border: none;
}

.page-gdpr__cta-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.page-gdpr__cta-button--secondary {
  background: var(--card-bg);
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.page-gdpr__cta-button--secondary:hover {
  background: var(--brand-primary);
  color: var(--card-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 20px;
}

.page-gdpr__light-bg {
  background-color: var(--page-bg);
  color: var(--text-main);
}

.page-gdpr__dark-bg {
  background-color: var(--brand-primary);
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main);
}

.page-gdpr__section-title--white {
  color: #ffffff;
}

.page-gdpr__subsection-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--brand-primary);
}

.page-gdpr__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__text-block--white {
  color: #f0f0f0;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 15px; /* Add horizontal padding for content */
}

/* Grid for Principles */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.page-gdpr__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--brand-primary);
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1rem;
  color: var(--text-main);
}

/* Lists */
.page-gdpr__rights-list,
.page-gdpr__security-features,
.page-gdpr__data-collection-list,
.page-gdpr__data-sharing-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-gdpr__rights-item,
.page-gdpr__feature-item,
.page-gdpr__data-item {
  background-color: var(--card-bg);
  border-left: 5px solid var(--brand-secondary);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-gdpr__rights-title,
.page-gdpr__feature-title,
.page-gdpr__data-item strong {
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__rights-description,
.page-gdpr__feature-description {
  font-size: 1rem;
  color: var(--text-main);
}

/* Images in Content */
.page-gdpr__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Contact Section */
.page-gdpr__contact-section {
  text-align: center;
  padding-bottom: 80px;
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--brand-primary);
  border-bottom: 1px solid var(--border-color);
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-main);
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    max-width: 700px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: 2rem;
  }
  .page-gdpr__subsection-title {
    font-size: 1.6rem;
  }
  .page-gdpr__card-title {
    font-size: 1.3rem;
  }
  .page-gdpr__rights-title,
  .page-gdpr__feature-title,
  .page-gdpr__data-item strong {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-gdpr__hero-content {
    width: 95%;
    padding: 25px 15px 40px 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 10px;
  }
  .page-gdpr__hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-gdpr__content-section {
    padding: 40px 15px;
  }
  .page-gdpr__container {
    padding: 0 10px;
  }
  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-gdpr__subsection-title {
    font-size: 1.4rem;
  }
  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__card-title {
    font-size: 1.2rem;
  }
  .page-gdpr__rights-item,
  .page-gdpr__feature-item,
  .page-gdpr__data-item {
    padding: 15px;
  }
  .page-gdpr__rights-title,
  .page-gdpr__feature-title,
  .page-gdpr__data-item strong {
    font-size: 1.1rem;
  }
  .page-gdpr__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile responsive for images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-section,
  .page-gdpr__container,
  .page-gdpr__grid-container,
  .page-gdpr__card,
  .page-gdpr__rights-list,
  .page-gdpr__security-features,
  .page-gdpr__data-collection-list,
  .page-gdpr__data-sharing-list,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Mobile responsive for buttons */
  .page-gdpr__cta-button,
  .page-gdpr__cta-button--primary,
  .page-gdpr__cta-button--secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-content .page-gdpr__cta-button {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding: 10px 0 30px 0;
  }
  .page-gdpr__hero-content {
    padding: 20px 10px 30px 10px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }
  .page-gdpr__hero-subtitle {
    font-size: 0.9rem;
  }
  .page-gdpr__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .page-gdpr__section-title {
    font-size: 1.5rem;
  }
  .page-gdpr__subsection-title {
    font-size: 1.2rem;
  }
  .page-gdpr__card-title {
    font-size: 1.1rem;
  }
  .page-gdpr__rights-title,
  .page-gdpr__feature-title,
  .page-gdpr__data-item strong {
    font-size: 1rem;
  }
  .page-gdpr__faq-item summary {
    font-size: 1rem;
  }
}