/*
 * Documento legal (13-10-2026) — Política de Privacidade e afins.
 * A mesma linguagem da página «Sobre o GVIM ADS»: topo em marinho, índice que
 * acompanha a leitura, secções em cartões. Marinho #002f6d, laranja #ff9202
 * (nunca com branco por cima), Poppins, contrastes AA.
 */
.dl { --marinho: #002f6d; --marinho-escuro: #001f4a; --laranja: #ff9202; --tinta: #1b2733; --texto: #334155; --suave: #5b6b7f; --linha: #e2e8f0; --fundo: #f5f7fb; --verde: #17703f; background: var(--fundo); color: var(--tinta); }
.dl *, .dl *::before, .dl *::after { box-sizing: border-box; }
.dl ::selection { background: rgba(255, 146, 2, .28); }

/* Topo */
.dl-topo { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 85% 10%, #0b4a9c 0%, var(--marinho) 45%, var(--marinho-escuro) 100%); color: #fff; }
.dl-topo::after { content: ""; position: absolute; right: -8rem; bottom: -10rem; width: 26rem; height: 26rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 146, 2, .22), transparent 65%); pointer-events: none; }
.dl-topo .container { position: relative; z-index: 1; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.dl .dl-marca { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; padding: .3rem .8rem .3rem .35rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: .78rem; font-weight: 600; }
.dl-marca__logo { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--laranja); color: #1b1b1b; font-size: .6rem; font-weight: 800; letter-spacing: -.02em; }
.dl-topo h1 { max-width: 40rem; margin: 0; color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.dl .dl-topo__texto { max-width: 40rem; margin: 1rem 0 0; color: #dbe2eb; font-size: 1.04rem; line-height: 1.65; }
.dl-topo__fundo { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.6rem; }
.dl-data { display: inline-flex; align-items: center; gap: .4rem; margin-right: .5rem; color: #dbe2eb; font-size: .88rem; }
.dl-data svg { width: 1rem; height: 1rem; }
.dl-botao { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.15rem; border: 1px solid transparent; border-radius: 999px; background: var(--laranja); color: #1b1b1b; font-size: .92rem; font-weight: 600; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.dl-botao:hover { background: #ffa733; color: #1b1b1b; text-decoration: none; transform: translateY(-1px); }
.dl-botao--claro { border-color: rgba(255, 255, 255, .45); background: transparent; color: #fff; }
.dl-botao--claro:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.dl a:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }

/* Corpo: índice + conteúdo */
.dl-corpo { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: 2.25rem; align-items: start; padding-top: 2.5rem; padding-bottom: 4rem; }
.dl-indice { position: sticky; top: 1.25rem; padding: 1rem; border: 1px solid var(--linha); border-radius: 16px; background: #fff; }
.dl .dl-indice__titulo { margin: 0 0 .5rem; color: var(--suave); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; list-style: none; cursor: default; }
.dl .dl-indice__titulo::-webkit-details-marker { display: none; }
.dl-topo__selo { position: absolute; right: 4%; top: 50%; display: grid; place-items: center; width: 13rem; height: 13rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); color: #ffbf66; transform: translateY(-50%); }
.dl-topo__selo svg { width: 5.5rem; height: 5.5rem; stroke-width: 1.2; }
.dl-indice ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .1rem; }
.dl-indice a { display: block; padding: .38rem .6rem; border-radius: 8px; color: var(--texto); font-size: .88rem; line-height: 1.35; text-decoration: none; }
.dl-indice a:hover { background: #eef3fa; color: var(--marinho); text-decoration: none; }
.dl-indice a[aria-current] { background: #eaf1fb; color: var(--marinho); font-weight: 600; box-shadow: inset 3px 0 0 var(--laranja); }
.dl-conteudo { display: grid; gap: 1.25rem; min-width: 0; }
.dl-conteudo > .documento-legal { display: grid; gap: 1.25rem; }

/* Aviso de propriedade */
.dl .dl-aviso { padding: 1.15rem 1.35rem; border: 1px solid #f6c27a; border-radius: 16px; background: #fff8eb; }
.dl .dl-aviso p { margin: 0 0 .6rem; color: #5c3d00; font-size: .93rem; line-height: 1.6; }
.dl .dl-aviso p:last-child { margin-bottom: 0; }
.dl .dl-aviso a { color: #7a4a00; font-weight: 600; }

/* Secções */
.dl-seccao { scroll-margin-top: 1.25rem; padding: 2rem; border: 1px solid var(--linha); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.dl-cabeca { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.dl-icone { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: #eaf1fb; color: var(--marinho); }
.dl-icone svg { width: 1.35rem; height: 1.35rem; }
.dl .dl-seccao h2 { margin: 0; color: var(--marinho); font-size: 1.4rem; font-weight: 700; line-height: 1.25; }
.dl .dl-seccao h3 { margin: 1.35rem 0 .5rem; color: var(--tinta); font-size: 1.02rem; font-weight: 700; }
.dl .dl-seccao p, .dl .dl-seccao li { color: var(--texto); font-size: .97rem; line-height: 1.68; }
.dl .dl-seccao p { margin: 0 0 1rem; }
.dl .dl-seccao p:last-child { margin-bottom: 0; }
.dl .dl-seccao ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.dl .dl-seccao li { margin-bottom: .35rem; }
.dl .dl-seccao li::marker { color: var(--laranja); }
.dl .dl-seccao a { color: var(--marinho); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.dl .dl-seccao a:hover { color: var(--marinho-escuro); }
.dl-colunas { columns: 2 16rem; column-gap: 2rem; }

/* Resumo em blocos */
.dl-grelha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1.1rem; }
.dl .dl-bloco { padding: 1rem 1.1rem; border-radius: 14px; background: #f3f6fb; }
.dl .dl-seccao .dl-bloco h3 { margin: 0 0 .3rem; color: var(--marinho); font-size: .98rem; }
.dl .dl-seccao .dl-bloco p { margin: 0; font-size: .92rem; }

/* Garantia */
.dl .dl-garantia { margin: 0 0 1rem; padding: 1rem 1.15rem; border-radius: 14px; background: #e9f6ee; }
.dl .dl-seccao .dl-garantia p { margin: 0; color: #14532d; }

/* Tabela dos cookies */
.dl-tabela { overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--linha); border-radius: 12px; }
.dl-tabela table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dl-tabela th { padding: .65rem .85rem; background: #f3f6fb; color: var(--suave); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.dl-tabela td { padding: .7rem .85rem; border-top: 1px solid var(--linha); color: var(--texto); vertical-align: top; line-height: 1.5; }
.dl-tabela td:last-child { white-space: nowrap; }
.dl-codigo { display: inline-block; padding: .05rem .4rem; border-radius: 6px; background: #eef2f7; color: var(--tinta); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; word-break: break-all; }

@media (max-width: 1199px) { .dl-topo__selo { display: none; } }
@media (max-width: 991px) {
    .dl .dl-indice__titulo { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin: 0; cursor: pointer; }
    .dl .dl-indice__titulo::after { content: ""; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
    .dl-indice__caixa[open] .dl-indice__titulo::after { transform: rotate(-135deg); }
    .dl-indice { padding: .35rem 1rem; }
    .dl-indice__caixa[open] { padding-bottom: .6rem; }
    .dl-corpo { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 2rem; }
    .dl-indice { position: static; }
    .dl-indice ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .dl-topo .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .dl-seccao { padding: 1.35rem; border-radius: 16px; }
    .dl .dl-seccao h2 { font-size: 1.2rem; }
    .dl-grelha { grid-template-columns: minmax(0, 1fr); }
    .dl-indice ol { grid-template-columns: minmax(0, 1fr); }
    .dl-tabela td:last-child { white-space: normal; }
}
@media (max-width: 575px) {
    .dl-tabela { border: 0; overflow: visible; }
    .dl-tabela thead { display: none; }
    .dl-tabela table, .dl-tabela tbody, .dl-tabela tr, .dl-tabela td { display: block; width: 100%; }
    .dl-tabela tr { margin-bottom: .65rem; padding: .75rem .9rem; border: 1px solid var(--linha); border-radius: 12px; }
    .dl-tabela td { padding: .15rem 0; border: 0; }
    .dl-tabela td[data-rotulo]:not(:first-child)::before { content: attr(data-rotulo); display: block; margin-top: .35rem; color: var(--suave); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .dl-tabela td:first-child { color: var(--tinta); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) { .dl-botao { transition: none; } .dl-botao:hover { transform: none; } }
