/* =========================================================
   PÁGINA | POLÍTICA DE PRIVACIDADE
   ========================================================= */

.privacy-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 196, 20, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(20, 123, 78, 0.09), transparent 30rem),
    var(--paper);
}

/* =========================================================
   POLÍTICA | Hero
   ========================================================= */

.privacy-main {
  overflow: visible;
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  padding: 190px clamp(20px, 6vw, 72px) 80px;
  background:
    radial-gradient(circle at 88% 24%, rgba(255, 196, 20, 0.16), transparent 26rem),
    linear-gradient(135deg, rgba(246, 248, 241, 0.98), rgba(255, 255, 255, 0.96));
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -170px;
  width: 430px;
  height: 430px;
  border: 52px solid rgba(20, 123, 78, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border: 44px solid rgba(255, 196, 20, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-hero-container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.privacy-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
  color: var(--green-950);
  font-size: clamp(3rem, 6.5vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.privacy-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.privacy-update {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  padding: 10px 14px;
  color: var(--green-900);
  background: rgba(6, 63, 45, 0.055);
  border: 1px solid rgba(6, 63, 45, 0.09);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
}

/* =========================================================
   POLÍTICA | Conteúdo principal
   ========================================================= */

.privacy-content-section {
  position: relative;
  padding: 72px clamp(20px, 6vw, 72px) 108px;
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.privacy-content-container {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

/* =========================================================
   POLÍTICA | Resumo lateral e sidebar sticky
   ========================================================= */

/* POLÍTICA | Sticky sensível ao header fixo */
.privacy-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}

.privacy-summary {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 196, 20, 0.24), transparent 12rem),
    linear-gradient(135deg, #0b3d5c, var(--green-950));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.privacy-summary::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(255, 196, 20, 0.12);
  border-radius: 50%;
}

.privacy-summary span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--yellow-500);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-summary span::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--yellow-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 196, 20, 0.13);
}

.privacy-summary p {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.64;
}

.privacy-summary .button {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* =========================================================
   POLÍTICA | Card do texto
   ========================================================= */

.privacy-card {
  padding: clamp(30px, 5vw, 56px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 248, 241, 0.94));
  border: 1px solid rgba(6, 63, 45, 0.1);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
}

.privacy-card section + section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.privacy-card h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--green-950);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.privacy-card p {
  max-width: 860px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.privacy-card p:last-child {
  margin-bottom: 0;
}

.privacy-card a {
  color: var(--green-800);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.privacy-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.privacy-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--yellow-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 196, 20, 0.13);
}

/* =========================================================
   POLÍTICA | Contatos e feedback de cópia
   ========================================================= */

.privacy-contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.privacy-contact-list a,
.privacy-contact-list button {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 18px;
  color: var(--green-950);
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(6, 63, 45, 0.1);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(6, 63, 45, 0.055);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.privacy-contact-list button {
  font: inherit;
}

.privacy-contact-list a:hover,
.privacy-contact-list button:hover {
  transform: translateY(-3px);
  background: var(--white);
  border-color: rgba(20, 123, 78, 0.18);
  box-shadow: 0 18px 42px rgba(6, 63, 45, 0.09);
}

.privacy-contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-800);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-contact-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--yellow-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 196, 20, 0.14);
}

.privacy-contact-list strong {
  color: var(--green-950);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
  word-break: break-word;
}

.privacy-contact-list small {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  color: var(--white);
  background: #1fa463;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-5px) scale(0.96);
  pointer-events: none;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

/* POLÍTICA | Estado .copied aplicado pelo script.js */
.privacy-contact-list button.copied small {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.privacy-contact-list button.copied span::before {
  background: #1fa463;
  box-shadow:
    0 0 0 4px rgba(31, 164, 99, 0.16),
    0 0 16px rgba(31, 164, 99, 0.34);
}

/* =========================================================
   POLÍTICA | Rodapé simples
   ========================================================= */

.privacy-footer {
  padding: 38px clamp(20px, 6vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.privacy-footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.privacy-footer img {
  width: 170px;
  height: auto;
}

.privacy-footer div {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-footer a {
  color: var(--green-900);
  font-weight: 900;
  text-decoration: none;
}

.privacy-footer a:hover {
  color: var(--green-700);
}

/* =========================================================
   POLÍTICA | Responsivo
   ========================================================= */

@media (max-width: 980px) {
  .privacy-hero {
    padding-top: 160px;
    padding-bottom: 68px;
  }

  .privacy-content-container {
    grid-template-columns: 1fr;
  }

  .privacy-summary {
  position: relative;
  top: auto;
  }

  .privacy-summary {
  max-height: none;
  }

  .privacy-contact-list {
    grid-template-columns: 1fr;
  }

  .privacy-footer-container {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-footer div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .privacy-hero {
    padding: 132px 18px 58px;
  }

  .privacy-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
    line-height: 0.98;
  }

  .privacy-hero p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .privacy-content-section {
    padding: 52px 18px 76px;
  }

  .privacy-summary {
    padding: 24px;
    border-radius: 22px;
  }

  .privacy-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .privacy-card section + section {
    padding-top: 28px;
    margin-top: 28px;
  }

  .privacy-card h2 {
    font-size: clamp(1.42rem, 7vw, 2rem);
  }

  .privacy-card p,
  .privacy-card li {
    font-size: 0.96rem;
  }

  .privacy-footer {
    padding: 34px 18px;
  }

  .privacy-footer img {
    width: 156px;
  }
}

@media (max-width: 380px) {
  .privacy-hero,
  .privacy-content-section,
  .privacy-footer {
    padding-inline: 16px;
  }

  .privacy-card {
    padding: 24px 20px;
  }
}
