
/* ==========================================
   PSIFÁCIL — DIREITOS AUTORAIS
   IDENTIDADE VISUAL OFICIAL
========================================== */

:root {
  --brown-dark: #332a27;
  --brown: #7a5c58;
  --brown-light: #a8867e;
  --cream: #f7f3ee;
  --cream-dark: #eee6de;
  --white: #ffffff;
  --text: #302b29;
  --muted: #6f6864;
  --border: #e5ddd6;
  --container: 1180px;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--brown-light);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--brown);
  color: #ffffff;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================
   HEADER
========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 238, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.brand-main {
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--brown-dark);
}

.brand-sub {
  margin-top: 6px;
  color: var(--brown);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.header-nav a {
  color: #5f5854;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s;
}

.header-nav a:hover {
  color: var(--brown);
}

.header-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: .2s;
}

.header-back:hover {
  background: var(--brown);
  color: #fff;
}

/* ==========================================
   BANNER
========================================== */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 74px;
  background:
    radial-gradient(
      circle at 83% 27%,
      rgba(221, 198, 185, .45),
      transparent 35%
    ),
    linear-gradient(145deg, #faf6f2, #f3ebe5);
  border-bottom: 1px solid var(--border);
}

.legal-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 49px;
  color: #927f78;
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--brown);
}

.breadcrumb > span:last-child {
  color: var(--brown-dark);
  font-weight: 700;
}

.eyebrow,
.toc-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brown);
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 810px;
  margin: 22px 0 16px;
  color: var(--brown-dark);
  font-family: "Manrope", sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -2.5px;
}

.legal-hero h1 em {
  color: var(--brown);
  font-style: normal;
}

.legal-hero p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  padding: 8px 12px;
  border: 1px solid #e2d4cc;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  color: var(--brown);
  font-size: 11px;
  font-weight: 700;
}

.hero-decoration {
  position: absolute;
  top: 65px;
  right: 3%;
  color: rgba(122, 92, 88, .07);
  font-family: "Manrope", sans-serif;
  font-size: 280px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

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

.legal-main {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  align-items: start;
  gap: 75px;
  padding-top: 72px;
  padding-bottom: 110px;
}

/* MENU LATERAL */

.legal-aside {
  position: sticky;
  top: 115px;
}

.toc-card {
  padding: 24px 21px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fcfaf8;
}

.toc-label {
  margin-bottom: 18px;
}

.toc-card nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.toc-card nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 36px;
  padding: 7px 5px;
  border-radius: 8px;
  color: #6c625e;
  font-size: 12px;
  line-height: 1.4;
  transition: .2s;
}

.toc-card nav a span {
  color: #a78a80;
  font-size: 10px;
  font-weight: 800;
}

.toc-card nav a:hover {
  color: var(--brown);
  background: #f3ebe6;
}

.aside-note {
  display: flex;
  gap: 11px;
  margin-top: 19px;
  padding: 18px 15px;
  border-radius: 15px;
  background: #f2e9e3;
  color: var(--brown);
}

.aside-note > span {
  font-size: 24px;
}

.aside-note p {
  margin: 0;
  font-family: "Lora", serif;
  font-size: 12px;
  line-height: 1.7;
}

/* ==========================================
   TEXTO DA POLÍTICA
========================================== */

.legal-content {
  min-width: 0;
}

.legal-intro {
  margin-bottom: 35px;
  padding: 28px 32px;
  border-left: 3px solid var(--brown);
  border-radius: 17px;
  background: var(--cream);
}

.legal-intro > span {
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.legal-intro p {
  margin: 11px 0 0;
  color: #675b55;
  font-size: 14px;
  line-height: 1.9;
}

/* SEÇÕES */

.legal-section {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 31px 0;
  border-bottom: 1px solid #eee6e0;
  scroll-margin-top: 112px;
}

.legal-number {
  color: #c2a89b;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.legal-section h2 {
  margin: 0 0 16px;
  color: var(--brown-dark);
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.7px;
}

.legal-section p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 17px 0 0;
  padding-left: 22px;
}

.legal-section li {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.legal-section li::marker {
  color: var(--brown);
}

/* ==========================================
   AVISO FINAL
========================================== */

.legal-conclusion {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-top: 35px;
  padding: 25px;
  border: 1px solid #e8dcd3;
  border-radius: 16px;
  background: #f4ebe6;
}

.legal-conclusion > span {
  color: var(--brown);
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.legal-conclusion strong {
  color: var(--brown-dark);
  font-size: 14px;
}

.legal-conclusion p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ==========================================
   BLOCO DE CONTATO
========================================== */

.legal-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 35px;
  padding: 35px 33px;
  border-radius: 21px;
  background: linear-gradient(130deg, #6c4e49, #3f302c);
  color: white;
}

.legal-help .eyebrow {
  color: #e8cfc1;
}

.legal-help h2 {
  margin: 8px 0;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.3;
}

.legal-help p {
  max-width: 390px;
  margin: 0;
  color: #e2d1c8;
  font-size: 12px;
  line-height: 1.8;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 12px 17px;
  border-radius: 999px;
  background: white;
  color: #5f443e;
  font-size: 11px;
  font-weight: 800;
  transition: .2s;
}

.contact-button:hover {
  transform: translateY(-2px);
}

/* ==========================================
   FOOTER — ESTILO DA HOME
========================================== */

.footer {
  padding: 70px 24px 25px;
  background: #302724;
  color: white;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr .95fr;
  gap: 44px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.footer-brand {
  max-width: 370px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.footer-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0 0 20px;
  color: #b9aeaa;
  font-size: 13px;
  line-height: 1.8;
}

.footer-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid #806961;
  color: #eeded6;
  font-size: 12px;
  font-weight: 700;
}

.footer-about-btn:hover {
  color: white;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.footer-column > a {
  color: #b9aeaa;
  font-size: 13px;
  transition: .2s;
}

.footer-column > a:hover {
  color: white;
}

/* REDES SOCIAIS */

.social-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icons a,
.social-disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: .2s;
}

.social-icons a:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 23px;
  height: 23px;
}

.social-disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* FOOTER INFERIOR */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  width: min(var(--container), 100%);
  margin: 52px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.13);
}

.footer-bottom-content p {
  margin: 0 0 5px;
  color: #e0d2cb;
  font-size: 12px;
}

.footer-bottom-content > span {
  color: #ad9d96;
  font-size: 11px;
}

.footer-love {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #b9aeaa;
  font-size: 11px;
}

.footer-love strong {
  color: #f2e5dd;
  font-weight: 700;
}

.footer-heart {
  color: #ed8986;
  font-size: 16px;
}

/* ==========================================
   RESPONSIVIDADE
========================================== */

@media (max-width: 1020px) {
  .legal-main {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 38px;
  }

  .footer-container {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 72px;
  }

  .header-nav {
    display: none;
  }

  .legal-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 45px;
    padding-bottom: 75px;
  }

  .legal-aside {
    position: static;
  }

  .toc-card nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
  }

  .aside-note {
    display: none;
  }

  .legal-hero {
    padding: 38px 0 50px;
  }

  .breadcrumb {
    margin-bottom: 30px;
  }

  .hero-decoration {
    top: 130px;
    right: 0;
    font-size: 200px;
  }

  .legal-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 480px) {
  .container {
    width: calc(100% - 30px);
  }

  .brand-main {
    font-size: 23px;
  }

  .brand-sub {
    font-size: 8px;
  }

  .header-back {
    padding: 9px 12px;
    font-size: 11px;
  }

  .legal-hero h1 {
    font-size: 37px;
    letter-spacing: -1.7px;
  }

  .legal-hero p {
    font-size: 13px;
  }

  .hero-decoration {
    top: 170px;
    font-size: 160px;
  }

  .toc-card {
    padding: 18px 15px;
  }

  .toc-card nav a {
    font-size: 11px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 25px 0;
  }

  .legal-intro {
    padding: 23px;
  }

  .legal-conclusion {
    padding: 19px;
  }

  .legal-help {
    padding: 26px 21px;
  }

  .footer {
    padding: 50px 20px 24px;
  }

  .footer-container {
    gap: 32px 18px;
  }

  .footer-column h3 {
    font-size: 11px;
  }

  .footer-column > a {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
