/* ==================================================
   POLÍTICA DE COOKIES — FY NDO
   Padrão SaaS / Jurídico
================================================== */

:root {
  --primary-dark: #0d1728;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --border-soft: #e5e7eb;
}

/* ==================================================
   HEADER — FY NDO
   (IGUAL AO DA POLÍTICA DE PRIVACIDADE)
================================================== */

body>header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 60;
  background-color: var(--primary-dark);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.header-hidden {
  transform: translateY(-100%);
}

.header-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.bg-primary {
  background-color: var(--primary-dark);
}

.nav-link {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.85;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
}

.header-btn-primary {
  background-color: var(--white);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.header-btn-primary:hover {
  background-color: var(--gray-100);
  transform: translateY(-1px);
}

.header-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.header-btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-dark);
}

@media (max-width: 768px) {

  .header-btn-primary,
  .header-btn-secondary {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}

#menu-btn {
  cursor: pointer;
}

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 23, 40, 0.65);
  backdrop-filter: blur(2px);
  z-index: 40;
  transition: opacity 0.3s ease;
}

#overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 16rem;
  background-color: var(--primary-dark);
  z-index: 50;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.translate-x-full {
  transform: translateX(100%);
}

#mobile-menu:not(.translate-x-full) {
  transform: translateX(0);
}

#mobile-menu a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

#mobile-menu a:hover {
  opacity: 1;
}

#mobile-menu .mobile-menu-primary {
  background-color: var(--white);
  color: #0d1728;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  text-align: center;
}

/* ================= BASE ================= */

.page-cookies {
  padding-top: 80px;
  background: var(--white);
  color: var(--gray-900);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* ================= CONTAINER ================= */

.cookies-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= HERO ================= */

.cookies-hero {
  margin: 4.5rem 0 3.5rem;
}

.cookies-hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.cookies-hero p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.cookies-hero .intro {
  margin-top: 2.2rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-900);
  max-width: 760px;
}

/* ================= CONTEÚDO ================= */

.cookies-container section {
  margin-bottom: 3.5rem;
}

.cookies-container section:not(:first-of-type) {
  border-top: 1px solid var(--border-soft);
  padding-top: 2.5rem;
}

.cookies-container h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.cookies-container p {
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.cookies-container ul {
  padding-left: 1.4rem;
}

.cookies-container li {
  margin-bottom: 0.7rem;
  line-height: 1.7;
}

/* ================= CONTATO ================= */

.cookies-contato {
  padding-top: 3rem;
}

/* ================= FOOTER ================= */

.cookies-footer {
  border-top: 1px solid var(--border-soft);
  margin-top: 5rem;
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ================= RESPONSIVO ================= */

@media (max-width: 640px) {
  body {
    padding-top: 72px;
  }

  .cookies-hero h1 {
    font-size: 2.3rem;
  }

  .cookies-hero .intro {
    font-size: 1rem;
  }
}