/* Dr. Dante Tortonese — componentes (utilitários via Tailwind CDN) */
:root {
  --base: #F7F5F2;
  --arena: #E8E1D8;
  --navy: #2B4C6F;
  --navy-hover: #233F5D;
  --ink: #2C3A4D;
  --foot: #243041;
  --olive: #6E7C64;
  --olived: #56624E;
  --olivel: #AEB9A5;
  --body: #4F4E4B;
  --ondark: #C9CFD8;
  --line2: #D9D1C6;
}

[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-size: 16px; line-height: 1.6; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
:target { scroll-margin-top: 110px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 60; background: var(--navy); color: #fff; padding: 12px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* Eyebrow: serifada slab, caixa-alta, espaçada */
.eyebrow { font-family: "Roboto Slab", Georgia, serif; font-size: 12px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--olived); }

/* Navegação desktop */
.nav-link { position: relative; font-size: 15px; color: var(--body); padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--olivel); }

/* Botões (altura mínima 48px > área de toque de 44px) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 5px; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: var(--base); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline-light { background: transparent; color: var(--base); border-color: var(--ondark); }
.btn-outline-light:hover { background: rgba(247, 245, 242, .1); }
.btn-ghost { padding: 0 4px; color: var(--navy); font-weight: 500; }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

/* Link de texto com seta */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); font-weight: 500; font-size: 15px; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Footer */
.foot-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 16px; color: var(--ondark); }
@media (min-width: 1024px) { .foot-link { font-size: 15px; } }

/* Breadcrumb: área de toque de 44px sem alterar o espaçamento visual */
nav[aria-label="Breadcrumb"] a { padding: 0 8px; margin: 0 -8px; min-width: 44px; }
.foot-link:hover { color: var(--base); }

/* Chips de filtro do blog */
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line2); background: var(--base); color: var(--body); font-size: 15px; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-card][hidden] { display: none !important; }

/* Conteúdo longo (posts e política) */
.prose-post { font-size: 17px; line-height: 1.75; color: var(--body); overflow-wrap: break-word; }
.prose-post > * + * { margin-top: 1.1em; }
.prose-post h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; line-height: 1.12; color: var(--navy); margin-top: 1.8em; }
.prose-post h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; color: var(--navy); margin-top: 1.4em; }
.prose-post a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: 4px; }
.prose-post strong { color: #2f2e2c; font-weight: 600; }
.prose-post ul { list-style: none; padding: 0; border-top: 1px solid var(--line2); }
.prose-post ul li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line2); }
.prose-post ul li::before { content: "—"; position: absolute; left: 0; color: var(--olive); }
.prose-post table { width: 100%; border-collapse: collapse; font-size: 16px; }
@media (min-width: 1024px) { .prose-post table { font-size: 15px; } }
.prose-post th, .prose-post td { border-bottom: 1px solid var(--line2); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose-post th { font-weight: 600; color: var(--ink); background: var(--arena); }
@media (min-width: 1024px) { .prose-post h2 { font-size: 40px; } }

/* Barra de consentimento LGPD / Ley 25.326 */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--foot); border-top: 1px solid #3A4759; box-shadow: 0 -10px 30px -20px rgba(0,0,0,.5); }
.consent-bar[hidden] { display: none; }
.consent-bar .btn { min-height: 46px; }
