:root {
  /* Vinho institucional (cor principal da marca) */
  --wine: #6E0F12;
  --bordo: #5A1224;
  --marrom: #8A514E;
  --rosa: #C99A92;

  /* Família bege rosada — um único matiz variando a luminosidade */
  --bege-1: #F0E1D3;
  --bege-2: #E7D3C2;
  --bege-3: #D9BDA6;
  --bege-4: #CAAA93;
  --bege:   #E6D5C5;

  --ink: #2B1318;
  --ink-soft: #54393E;
  --line: rgba(43, 19, 24, .16);
  --line-soft: rgba(43, 19, 24, .11);
  --focus-ring: var(--bordo);

  --grad-wine: linear-gradient(135deg, #7A1418 0%, #5A1224 55%, #3E0C1A 100%);
  --grad-rose: linear-gradient(135deg, #C99A92 0%, #8A514E 100%);

  --shadow-sm: 0 1px 2px rgba(58, 12, 26, .05), 0 4px 12px -6px rgba(58, 12, 26, .10);
  --shadow-md: 0 4px 10px -4px rgba(58, 12, 26, .10), 0 20px 42px -20px rgba(58, 12, 26, .26);
  --shadow-lg: 0 8px 22px -10px rgba(58, 12, 26, .16), 0 46px 84px -34px rgba(58, 12, 26, .42);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: 1200px;

  --gutter: clamp(1.25rem, 5vw, 2.25rem);
  --header-offset: 130px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bege-2);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--bordo); }
h1, h2, h3 { margin: 0; color: var(--bordo); font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1rem; }
strong { font-weight: 600; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--bordo); color: #fff; padding: .7rem 1.1rem;
  border-radius: 999px; font-weight: 500; text-decoration: none;
}
.skip-link:focus-visible { top: 1rem; outline-color: var(--bege-1); }

.eyebrow {
  display: block;
  margin: 0 0 .9rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bordo);
  line-height: 1.4;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 500; font-size: .98rem; letter-spacing: .01em;
  line-height: 1.2; text-decoration: none; border: 0; cursor: pointer;
  padding: .85rem 1.6rem; border-radius: 999px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--primary { background: var(--grad-wine); color: #fff; box-shadow: 0 12px 30px -12px rgba(90,18,36,.6); }
.btn--outline { background: transparent; color: var(--bordo); box-shadow: inset 0 0 0 1.5px rgba(90,18,36,.28); }
.btn--outline:hover { background: rgba(90,18,36,.05); box-shadow: inset 0 0 0 1.5px rgba(90,18,36,.5); }
.btn--soft { background: rgba(138,81,78,.12); color: var(--bordo); }
.btn--static, .btn--static:hover { cursor: default; transform: none; box-shadow: none; }
.btn--light { background: var(--bege-1); color: var(--bordo); }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(230,213,197,.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(230,213,197,.9); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--bordo) 0%, #7A1418 100%);
  color: var(--bege);
  font-size: .82rem;
  line-height: 1.45;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding-top: .6rem; padding-bottom: .6rem; text-align: center;
}
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bege); flex: none; }
.topbar strong { color: #fff; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bege-1);
  transition: background .3s var(--ease-soft), box-shadow .3s var(--ease-soft);
}
.site-header.is-scrolled {
  background: rgba(240, 225, 211, .93);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), var(--shadow-sm);
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 5vw, 2.25rem);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 170px; width: 240px; max-width: none; margin: -50px 0 -52px -52px; }

.nav { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--bordo);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Link de texto com sublinhado rosa que cresce da esquerda */
.text-link {
  font-weight: 500; font-size: .95rem; color: var(--bordo); text-decoration: none;
  background-image: linear-gradient(var(--rosa), var(--rosa));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
  transition: background-size .4s var(--ease);
}
.text-link:hover { background-size: 100% 2px; }

@media (max-width: 760px) {
  .brand img { height: 128px; width: 181px; margin: -38px 0 -40px -39px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: rgba(240, 225, 211, .98);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--line-soft);
    display: none;
  }
  .js .nav.is-open { display: flex; }
  .js .nav .btn {
    justify-content: flex-start; padding: 1rem .25rem; border-radius: 0;
    background: none; color: var(--bordo); box-shadow: none;
    border-bottom: 1px solid var(--line-soft); font-size: 1rem;
  }
  .js .nav .btn:last-child { border-bottom: 0; }
  .js .nav .btn:hover { transform: none; box-shadow: none; background: none; }
  .js .nav .btn span {
    background-image: linear-gradient(var(--rosa), var(--rosa));
    background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
    transition: background-size .4s var(--ease);
  }
  .js .nav .btn:hover span { background-size: 100% 2px; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .nav { flex-wrap: wrap; }
  .no-js .nav .btn { padding: .65rem 1.1rem; font-size: .9rem; }
  .topbar { font-size: .72rem; }
}

/* ---------- Abertura ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bege-2);
  padding: clamp(3rem, 8vw, 5.75rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.hero::before {
  content: ""; position: absolute; pointer-events: none;
  width: min(760px, 120vw); aspect-ratio: 1; right: -18%; top: -55%;
  background: radial-gradient(circle, rgba(201,154,146,.55) 0%, rgba(201,154,146,.18) 38%, transparent 68%);
}
.hero .container { position: relative; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin-bottom: 1.1rem;
}
.hero__lead {
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.hero__badge { font-size: .9rem; padding: .6rem 1.2rem; }
.hero__badge svg { width: 16px; height: 16px; }

/* ---------- Resumo rápido ---------- */
.summary { padding: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.summary__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; margin-bottom: 1.1rem; }
.summary__head .eyebrow { margin: 0; }
.summary__note { margin: 0; font-size: .85rem; font-weight: 300; color: var(--ink-soft); }
.summary__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.summary-card {
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  height: 100%;
  background: var(--bege-1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.5rem 1.35rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.summary-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.summary-card__icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(138,81,78,.12); color: var(--bordo);
}
.summary-card__icon svg { width: 24px; height: 24px; }
.summary-card h3 { font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.35; }
.summary-card a {
  margin-top: auto;
  font-size: .85rem; font-weight: 500; color: var(--marrom); text-decoration: none;
}
.summary-card a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.summary-card a:hover { color: var(--bordo); }
.summary-card:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.summary-card a:focus-visible { outline: none; }

/* ---------- Corpo da política ---------- */
.policy-wrap {
  background: var(--bege-2);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.policy {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* Sumário */
.toc-title {
  margin: 0 0 .9rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--bordo);
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: flex; gap: .55rem;
  padding: .42rem .75rem .42rem .9rem;
  border-left: 2px solid var(--line);
  color: var(--ink-soft); text-decoration: none;
  font-size: .88rem; line-height: 1.4;
  transition: color .25s, border-color .25s, background .25s;
}
.toc a .n { flex: none; min-width: 1.4rem; font-variant-numeric: tabular-nums; color: var(--marrom); font-weight: 500; }
.toc a:hover { color: var(--bordo); border-left-color: var(--rosa); }
.toc a.is-active {
  color: var(--bordo); font-weight: 600;
  border-left-color: var(--bordo);
  background: linear-gradient(90deg, rgba(138,81,78,.10), transparent);
}
.toc a.is-active .n { color: var(--bordo); }

.toc--aside {
  position: sticky; top: var(--header-offset);
  max-height: calc(100vh - var(--header-offset) - 1.5rem);
  overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.toc--mobile { display: none; }

@media (max-width: 959.98px) {
  .policy { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .toc--aside { display: none; }
  .toc--mobile {
    display: block;
    background: var(--bege-1);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
  }
  .toc--mobile summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.25rem;
    font-weight: 600; font-size: .95rem; color: var(--bordo);
    border-radius: var(--radius-sm);
  }
  .toc--mobile summary::-webkit-details-marker { display: none; }
  .toc--mobile summary svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
  .toc--mobile[open] summary svg { transform: rotate(180deg); }
  .toc--mobile ol { padding: 0 1rem 1rem; }
  .toc--mobile { margin-bottom: 2.25rem; }
}

/* Texto */
.policy__body { min-width: 0; max-width: 46rem; }
.policy__body section {
  scroll-margin-top: var(--header-offset);
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.policy__body section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.policy__body h2 {
  display: flex; align-items: baseline; gap: .6rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: -.018em;
  margin-bottom: 1.25rem;
}
.policy__body h2 .num {
  flex: none;
  color: var(--marrom);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.policy__body h3 {
  display: flex; gap: .5rem;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  margin: 2rem 0 .75rem;
}
.policy__body h3 .num { color: var(--marrom); font-variant-numeric: tabular-nums; }
.policy__body p, .policy__body li { max-width: 72ch; overflow-wrap: break-word; }
.policy__body p:last-child { margin-bottom: 0; }

.list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.list:last-child { margin-bottom: 0; }
.list li { position: relative; padding-left: 1.4rem; margin-bottom: .4rem; }
.list li::before {
  content: ""; position: absolute; left: .2rem; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--rosa);
}

.callout {
  background: var(--bege-1);
  border-left: 3px solid var(--bordo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.35rem;
  margin: 1.5rem 0 1rem;
}
.policy__body section.callout {
  padding: clamp(1.5rem, 4vw, 2.1rem);
  border-bottom: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.policy__body section.card-outline {
  background: var(--bege-1);
  border: 1.5px solid var(--bordo);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.delete-cta { margin-top: 1.5rem; }

.policy__body section.card-wine {
  background: var(--grad-wine);
  color: var(--bege);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 5vw, 2.75rem);
}
.card-wine h2 { color: #fff; }
.policy__body .card-wine h2 .num { color: var(--rosa); }
.card-wine a { color: #fff; }
.card-wine .btn--light { color: var(--bordo); }
.card-wine :focus-visible { outline-color: var(--bege-1); }
.card-wine .org { color: #fff; font-weight: 600; font-size: 1.1rem; margin: 1.5rem 0 .75rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: .35rem; overflow-wrap: anywhere; }
.contact-list .lbl { color: #fff; font-weight: 500; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Voltar ao topo ---------- */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 40;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-wine); color: #fff;
  box-shadow: 0 12px 30px -12px rgba(90,18,36,.6);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, box-shadow .35s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.to-top svg { width: 22px; height: 22px; }
.no-js .to-top { display: none; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: linear-gradient(180deg, rgba(240,225,211,.95), transparent), var(--bege-2);
  padding: clamp(3.75rem, 6vw, 5.25rem) 0 clamp(2rem, 4vw, 2.75rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.footer-brand__name { font-size: 1.25rem; font-weight: 600; color: var(--bordo); letter-spacing: -.012em; margin-bottom: .75rem; }
.footer-brand p:not(.footer-brand__name) { font-weight: 300; color: var(--ink-soft); max-width: 34ch; line-height: 1.65; }
.footer-col h2 {
  font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--bordo); margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .7rem; }
.footer-link {
  color: var(--ink); text-decoration: none; font-size: .92rem;
  background-image: linear-gradient(var(--bordo), var(--bordo));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  transition: background-size .4s var(--ease), color .25s;
  overflow-wrap: anywhere;
}
.footer-link:hover { color: var(--bordo); background-size: 100% 1px; }
.footer-contact li { margin-bottom: 1rem; }
.footer-contact .lbl {
  display: block;
  font-size: .65rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--bordo); margin-bottom: .15rem;
}
.footer-contact .val { font-size: .9rem; color: var(--ink); }
.footer-sep {
  height: 1px; border: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(90,18,36,.22) 12%, rgba(90,18,36,.22) 88%, transparent);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2.5rem;
  font-size: .78rem; font-weight: 300; color: var(--ink-soft); line-height: 1.6;
}
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { max-width: 62ch; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:hover, .summary-card:hover, .to-top:hover { transform: none; }
}

/* ---------- Impressão ---------- */
@media print {
  @page { margin: 18mm 16mm; }
  html, body { background: #fff !important; color: #000 !important; font-size: 11pt; line-height: 1.5; }
  .topbar, .site-header, .toc, .to-top, .skip-link, .contact-actions, .summary-card a { display: none !important; }
  .hero, .policy-wrap, .site-footer, .summary { background: #fff !important; padding: 0 !important; }
  .hero::before { display: none; }
  .container { max-width: none; padding: 0; }
  h1, h2, h3, .eyebrow, .num, .policy__body h2 .num, .policy__body h3 .num,
  .footer-col h2, .footer-brand__name, .footer-contact .lbl, .footer-contact .val,
  p, li, a, strong, .hero__lead, .summary__note, .footer-bottom, .footer-brand p { color: #000 !important; }
  a { text-decoration: underline; background: none !important; }
  .hero { margin-bottom: 1rem; }
  .hero h1 { font-size: 22pt; }
  .btn--soft { background: none !important; padding: 0 !important; }
  .summary { margin-bottom: 1.25rem; }
  .summary__grid { display: block; }
  .summary-card { display: block; box-shadow: none !important; background: none !important; padding: 0; margin-bottom: .2rem; }
  .summary-card__icon { display: none; }
  .summary-card h3 { font-size: 11pt; font-weight: 500; }
  .summary-card h3::before { content: "• "; }
  .policy { display: block; border-top: 1px solid #000; padding-top: 1rem; }
  .policy__body { max-width: none; }
  .policy__body section { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 0; }
  .policy__body section.callout,
  .policy__body section.card-outline,
  .policy__body section.card-wine,
  .callout {
    background: #fff !important; color: #000 !important; box-shadow: none !important;
    border: 1px solid #000 !important; border-left-width: 3px !important; border-radius: 0 !important;
    padding: .75rem 1rem !important;
  }
  .card-wine * { color: #000 !important; }
  h2, h3 { break-after: avoid; page-break-after: avoid; }
  li, p { orphans: 3; widows: 3; }
  .list li::before { background: #000; }
  .site-footer { margin-top: 1.5rem; border-top: 1px solid #000; padding-top: 1rem !important; }
  .footer-sep { background: #000; margin: 1rem 0; }
}

/* ---------- Ex-estilos inline (style="margin:0") ---------- */
.topbar__text { margin: 0; }
.hero__meta { margin: 0; }
