/* AdotaPet - legal pages (Política de Privacidade, Termos de Uso).
   Same system as the landing page: the app's dark ground, the logo's pink, the tilted card. */

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/albert-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/albert-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #111418;
  --surface: #181a20;
  --surface-2: #22252d;
  --ink: #f3f4f6;
  --muted: #a6abb6;
  --rosa: #f8607f;
  --rosa-ink: #111418;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.3rem + 4vw, 5rem);

  --margin: clamp(1rem, 2.4vw, 2.25rem);
  --max: 90rem;
  --gap-x: max(var(--margin), (100% - var(--max)) / 2);
  /* the reading column */
  --col: 46rem;
  --col-x: max(var(--margin), (100% - var(--col)) / 2);

  --radius: 24px;
  --tilt: -5deg;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Albert Sans", system-ui, sans-serif; font-size: var(--step-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* short pages keep the footer at the bottom of the screen */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--rosa); text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
::selection { background: var(--rosa); color: var(--rosa-ink); }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; }

/* ---------- top bar, as on the landing page ---------- */
.topbar { position: relative; z-index: 2; display: flex; align-items: center; gap: 2rem; padding: 1.25rem var(--gap-x); }
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.02em; text-decoration: none; }
.wordmark img { width: 2.25rem; height: 2.25rem; border-radius: 10px; }
.topbar nav { margin-left: auto; display: flex; gap: 1.5rem; }
.topbar nav a { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 180ms ease; }
.topbar nav a:hover { text-decoration-color: currentColor; }
.topbar nav a[aria-current="page"] { color: var(--rosa); }
@media (max-width: 40rem) {
  .topbar { gap: 1rem; }
  .topbar nav { gap: 1.1rem; }
  .topbar nav a:first-child { display: none; } /* the wordmark already leads home */
}

/* ---------- the page title, with the tilted pink card beside it ---------- */
.doc-head { position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 6rem) var(--col-x) clamp(2.5rem, 5vw, 4.5rem); }
.doc-head::before {
  content: ""; position: absolute; z-index: 0; left: calc(50% + 26rem); right: -14vw; top: 12%; bottom: -40%;
  border-radius: 48px; background: var(--rosa); transform: rotate(var(--tilt)); transform-origin: left top;
}
.doc-head > * { position: relative; z-index: 1; }
.doc-head h1 { font-size: var(--step-head); font-weight: 600; line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.doc-date { margin-top: 1rem; color: var(--muted); font-size: var(--step-small); }
.doc-lead { margin-top: 1.75rem; font-size: var(--step-lead); line-height: 1.4; text-wrap: pretty; }
@media (max-width: 60rem) { .doc-head::before { display: none; } }

/* ---------- the text ---------- */
.doc { padding: 0 var(--col-x) 5rem; }
.doc h2 { margin: 3.25rem 0 0.9rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; }
/* the motif as a bullet: a small tilted card */
.doc h2::before { content: ""; display: inline-block; width: 0.5em; height: 0.64em; margin-right: 0.55em; border-radius: 0.13em; background: var(--rosa); transform: rotate(var(--tilt)); }
.doc h3 { margin: 2rem 0 0.5rem; font-size: var(--step-body); font-weight: 600; }
.doc p + p { margin-top: 1rem; }
.doc ul { margin: 0.75rem 0 0; padding-left: 1.25rem; }
.doc li + li { margin-top: 0.45rem; }
.doc li::marker { color: var(--rosa); }
.doc ul + p, .doc table + p { margin-top: 1rem; }

/* a highlighted fact: the pink card */
.card { margin: 1.75rem 0; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--rosa); color: var(--rosa-ink); }
.card a { color: var(--rosa-ink); text-decoration-thickness: 0.09em; }

/* tables: rows as tiles, no lines */
table { width: 100%; margin: 1rem 0 0; border-collapse: separate; border-spacing: 0 6px; font-size: 0.9375em; line-height: 1.5; }
th { padding: 0.25rem 1rem; color: var(--muted); font-weight: 600; text-align: left; font-size: var(--step-small); }
td { padding: 0.9rem 1rem; vertical-align: top; background: var(--surface); }
td:first-child { border-radius: 14px 0 0 14px; font-weight: 600; }
td:last-child { border-radius: 0 14px 14px 0; }
@media (max-width: 40rem) {
  table { font-size: 0.875em; }
  th, td { padding-inline: 0.65rem; }
}

/* ---------- account deletion page ---------- */
/* steps: a real ordered list, the number in a small pink tilted card */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 0; }
.steps li { counter-increment: step; position: relative; padding-left: 2.6rem; min-height: 1.9rem; }
.steps li + li { margin-top: 0.75rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05rem; width: 1.75rem; height: 1.9rem;
  display: grid; place-items: center; border-radius: 0.45rem; background: var(--rosa); color: var(--rosa-ink);
  font-weight: 600; font-size: 0.95em; transform: rotate(var(--tilt));
}
.panel { margin: 1.5rem 0 0; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); }
.google-slot { min-height: 44px; }
.panel-note { margin-top: 0.9rem; color: var(--muted); font-size: var(--step-small); }
.panel-who { margin-bottom: 0.9rem; }
.confirm-label { display: block; margin-top: 1.25rem; font-size: var(--step-small); color: var(--muted); }
.confirm-input {
  display: block; width: 100%; max-width: 18rem; min-height: 50px; margin-top: 0.5rem; padding: 0 1rem;
  border: 0; border-radius: 14px; background: var(--surface-2); color: var(--ink);
  font: inherit; font-weight: 600; letter-spacing: 0.08em;
}
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.25rem; }
.btn-danger {
  min-height: 50px; padding: 0 1.4rem; border: 0; border-radius: var(--radius); cursor: pointer;
  background: #f44336; color: #fff; font: inherit; font-weight: 600;
  transition: transform 140ms ease, opacity 180ms ease;
}
.btn-danger:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-danger:not(:disabled):active { transform: scale(0.97); }
.btn-plain { padding: 0.5rem 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; cursor: pointer; }
.panel-result { font-size: var(--step-lead); font-weight: 600; margin-bottom: 0.5rem; }
.panel-error { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: rgba(244, 67, 54, 0.14); color: #ff8a80; }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 2.5rem var(--gap-x); background: var(--surface); font-size: var(--step-small); color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
