/* Blog Lar Doce Jasmim - Design system (referência lardeidososdocejasmim) */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --background: 0 0% 100%;
  --foreground: 215 25% 27%;
  --card: 0 0% 100%;
  --card-foreground: 215 25% 27%;
  --primary: 220 91% 56%;
  --primary-foreground: 0 0% 100%;
  --primary-dark: 220 91% 46%;
  --secondary: 210 20% 96%;
  --muted: 210 20% 96%;
  --muted-foreground: 215 16% 47%;
  --border: 214 32% 91%;
  --radius: 0.5rem;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; color: hsl(var(--foreground)); background: hsl(var(--background)); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: hsl(var(--primary)); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Container responsivo */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 480px) { .container { padding-left: 1.25rem; padding-right: 1.25rem; } }
@media (min-width: 768px) { .container { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .container { max-width: 1100px; } }
@media (min-width: 1280px) { .container { max-width: 1200px; padding-left: 2.5rem; padding-right: 2.5rem; } }
@media (min-width: 1400px) { .container { max-width: 1280px; } }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; } }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 480px) { .text-4xl { font-size: 2.125rem; line-height: 2.5rem; } }
@media (min-width: 768px) { .text-4xl { font-size: 2.25rem; } .md\:text-5xl { font-size: 3rem; line-height: 1.15; } }
@media (min-width: 1024px) { .md\:text-5xl { font-size: 3.25rem; } }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.625; }

.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-muted { background-color: hsl(var(--muted)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }

.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: 0.75rem; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.border { border-width: 1px; border-color: hsl(var(--border)); }
.border-b { border-bottom-width: 1px; border-color: hsl(var(--border)); }

.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }

/* Botões – área de toque mínima 44px */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.625rem 1.25rem; font-weight: 500; font-size: 0.9375rem; border-radius: var(--radius); cursor: pointer; transition: all 0.2s; border: none; text-decoration: none; white-space: nowrap; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background: hsl(var(--primary-dark)); }
@media (max-width: 479px) { .btn { padding: 0.75rem 1rem; font-size: 0.875rem; } }
.btn-outline { background: transparent; color: hsl(var(--primary)); border: 2px solid hsl(var(--primary)); }
.btn-outline:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

/* Cards de artigo */
.article-card { background: hsl(var(--card)); border-radius: 0.75rem; overflow: hidden; box-shadow: 0 2px 8px rgb(0 0 0 / 0.06); transition: box-shadow 0.3s ease, transform 0.3s ease; border: 1px solid hsl(var(--border)); }
.article-card:hover { box-shadow: 0 12px 24px -4px rgb(0 0 0 / 0.12); transform: translateY(-4px); }
.article-card a { color: inherit; text-decoration: none; display: block; }
.article-card a:hover { text-decoration: none; }
.article-card .thumb { aspect-ratio: 16/10; background: hsl(var(--muted)); overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.article-card:hover .thumb img { transform: scale(1.03); }
.article-card .p-6 { padding: 1.25rem 1rem; }
@media (min-width: 480px) { .article-card .p-6 { padding: 1.5rem 1.25rem; } }
@media (min-width: 768px) { .article-card .p-6 { padding: 1.5rem 1.5rem; } }
.article-card .thumb { min-height: 160px; }
@media (min-width: 480px) { .article-card .thumb { min-height: 180px; } }
.article-card h2 { font-size: 1.0625rem; line-height: 1.35; margin-top: 0; margin-bottom: 0.5rem; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 480px) { .article-card h2 { font-size: 1.125rem; } }
@media (min-width: 768px) { .article-card h2 { font-size: 1.25rem; margin-bottom: 0.625rem; } }
.article-card time { margin-bottom: 0.375rem; }
.article-card p.text-muted-foreground { margin-bottom: 0; font-size: 0.8125rem; line-height: 1.45; }
@media (min-width: 480px) { .article-card p.text-muted-foreground { font-size: 0.875rem; } }

/* Conteúdo do artigo */
.article-body { max-width: 720px; margin-left: auto; margin-right: auto; font-size: 1rem; line-height: 1.7; }
.article-body h2 { font-size: 1.375rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; color: hsl(var(--foreground)); line-height: 1.3; }
.article-body h2:first-of-type { margin-top: 0; }
.article-body h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; color: hsl(var(--foreground)); }
.article-body p { margin-bottom: 1.125rem; }
.article-body ul { margin: 1rem 0; padding-left: 1.375rem; list-style: disc; }
.article-body li { margin-bottom: 0.5rem; }
.article-body figure { margin: 1.5rem 0; }
.article-body figure img { border-radius: 0.5rem; width: 100%; max-height: 320px; object-fit: cover; }
.article-body .video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 0.5rem; margin: 1.5rem 0; }
.article-body .video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
@media (min-width: 480px) { .article-body { font-size: 1.0625rem; } .article-body h2 { font-size: 1.5rem; margin-top: 2.25rem; } .article-body h3 { font-size: 1.25rem; margin-top: 1.75rem; } .article-body figure img { max-height: 380px; } }
@media (min-width: 768px) { .article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; } .article-body figure { margin: 2rem 0; } .article-body figure img { max-height: 400px; border-radius: 0.75rem; } .article-body .video-wrap { margin: 2rem 0; border-radius: 0.75rem; } }

/* Artigos relacionados */
.artigos-relacionados { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid hsl(var(--border)); }
.artigos-relacionados h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: hsl(var(--foreground)); }
.artigos-relacionados ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .artigos-relacionados ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .artigos-relacionados ul { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.artigos-relacionados .related-card { display: flex; flex-direction: column; padding: 0; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); color: hsl(var(--foreground)); font-weight: 500; font-size: 0.9375rem; line-height: 1.35; text-decoration: none; overflow: hidden; transition: box-shadow 0.2s, border-color 0.2s; }
.artigos-relacionados .related-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: hsl(var(--primary)); text-decoration: none; color: hsl(var(--foreground)); }
.artigos-relacionados .related-card-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: hsl(var(--muted)); }
.artigos-relacionados .related-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artigos-relacionados .related-card-title { padding: 0.75rem 1rem; flex: 1; }

/* Botões de compartilhamento – touch 44px */
.share-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; row-gap: 0.5rem; }
.share-buttons .label { font-size: 0.8125rem; font-weight: 600; color: hsl(var(--muted-foreground)); margin-right: 0.25rem; width: 100%; margin-bottom: 0.25rem; }
@media (min-width: 400px) { .share-buttons .label { width: auto; margin-bottom: 0; } }
.share-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; transition: transform 0.2s, opacity 0.2s; text-decoration: none; color: #fff; -webkit-tap-highlight-color: transparent; }
.share-btn:hover { transform: scale(1.08); opacity: 0.95; }
.share-btn:active { transform: scale(0.98); }
.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.copy { background: hsl(var(--muted-foreground)); }
.share-btn svg { width: 22px; height: 22px; }

/* Logo no header */
/* Header: padding reduzido para acomodar logo maior sem aumentar altura da seção */
header .container { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.blog-logo { height: 56px; width: auto; max-height: 60px; display: block; object-fit: contain; }
@media (min-width: 480px) { .blog-logo { height: 64px; max-height: 72px; } }
@media (min-width: 768px) { .blog-logo { height: 76px; max-height: 88px; } }

/* Header responsivo */
header.bg-card .container { padding-top: 0.875rem; padding-bottom: 0.875rem; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 480px) { header.bg-card .container { padding-top: 1rem; padding-bottom: 1rem; gap: 1rem; } }
@media (min-width: 768px) { header.bg-card .container { padding-top: 1.25rem; padding-bottom: 1.25rem; flex-wrap: nowrap; gap: 1.5rem; } }
header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
@media (min-width: 480px) { header nav { gap: 0.75rem; } }
@media (min-width: 768px) { header nav { gap: 1.5rem; } }
header nav a { padding: 0.5rem 0; min-height: 44px; display: inline-flex; align-items: center; -webkit-tap-highlight-color: transparent; }
@media (max-width: 379px) { header nav .btn { width: 100%; justify-content: center; } }

/* Main index – espaçamento vertical */
main.py-12 { padding-top: 2rem; padding-bottom: 2.5rem; }
main .text-center.mb-12 { margin-bottom: 2rem; }
main .text-center .text-xl { font-size: 1rem; line-height: 1.5; }
@media (min-width: 480px) { main.py-12 { padding-top: 2.5rem; padding-bottom: 3rem; } main .text-center.mb-12 { margin-bottom: 2.5rem; } main .text-center .text-xl { font-size: 1.125rem; } }
@media (min-width: 768px) { main.py-12 { padding-top: 3rem; padding-bottom: 4rem; } main .text-center.mb-12 { margin-bottom: 3rem; } main .text-center .text-xl { font-size: 1.25rem; } }
@media (min-width: 1024px) { main.py-20 { padding-top: 4rem; padding-bottom: 5rem; } }

/* Grid de cards – gaps responsivos */
.grid.gap-8 { gap: 1.5rem; }
@media (min-width: 480px) { .grid.gap-8 { gap: 1.75rem; } }
@media (min-width: 768px) { .grid.gap-8 { gap: 2rem; } }
@media (min-width: 1024px) { .grid.gap-8 { gap: 2.25rem; } }

/* Página do artigo – título e cabeçalho */
article header h1 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.5rem; word-wrap: break-word; overflow-wrap: break-word; }
article header .text-lg { font-size: 0.9375rem; }
@media (min-width: 480px) { article header h1 { font-size: 1.75rem; } article header .text-lg { font-size: 1rem; } }
@media (min-width: 768px) { article header h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 0.75rem; } article header .text-lg { font-size: 1.125rem; } }
@media (min-width: 1024px) { article header h1 { font-size: 2.5rem; } }
article .mb-8 { margin-bottom: 1.75rem; }
@media (min-width: 768px) { article .mb-8 { margin-bottom: 2.5rem; } }
article figure.mb-8 img { max-height: 220px; }
@media (min-width: 480px) { article figure.mb-8 img { max-height: 280px; } }
@media (min-width: 768px) { article figure.mb-8 img { max-height: 360px; } }
article .container.px-4 { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 768px) { article .container.px-4 { padding-left: 2rem; padding-right: 2rem; } }

/* Footer responsivo */
footer.bg-primary .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
footer.bg-primary .grid { gap: 1.5rem; text-align: center; }
footer.bg-primary .grid > * { min-width: 0; }
@media (min-width: 480px) { footer.bg-primary .grid { gap: 2rem; text-align: left; } }
@media (min-width: 768px) { footer.bg-primary .container { padding-top: 3rem; padding-bottom: 3rem; } footer.bg-primary .grid { gap: 2.5rem; } }
.footer-primary { color: hsl(var(--primary-foreground)); }
.footer-primary a { color: hsl(var(--primary-foreground)); opacity: 0.9; }
.footer-primary a:hover { opacity: 1; }
.footer-legal a.footer-link { color: hsl(var(--primary-foreground)); opacity: 0.9; text-decoration: none; }
.footer-legal a.footer-link:hover { text-decoration: underline; opacity: 1; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }

/* Ícones redes sociais */
.social-icons { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: inherit; text-decoration: none; transition: transform 0.2s, opacity 0.2s; }
.social-icon:hover { transform: scale(1.1); opacity: 1; }
.social-icon svg { width: 1.25rem; height: 1.25rem; }
footer .social-icon { color: hsl(var(--primary-foreground)); opacity: 0.9; }
footer .social-icon:hover { opacity: 1; color: hsl(var(--primary-foreground)); }

/* Botões flutuantes (Atendimento + WhatsApp) */
.float-buttons { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 40; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.float-btn { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,0.2); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; }
.float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,0.25); text-decoration: none; }
.float-btn svg { width: 1.5rem; height: 1.5rem; }
.float-btn-atendimento { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.float-btn-whatsapp { background: #25D366; color: #fff; }
@media (min-width: 768px) { .float-buttons { bottom: 1.5rem; right: 1.5rem; gap: 0.75rem; } .float-btn { width: 3.5rem; height: 3.5rem; } .float-btn svg { width: 1.75rem; height: 1.75rem; } }

/* Utilitários */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
@media (min-width: 768px) { .md\:flex { display: flex; } }

/* Evitar overflow em telas muito pequenas */
@media (max-width: 359px) { .container { padding-left: 0.75rem; padding-right: 0.75rem; } .article-card .p-6 { padding: 1rem 0.75rem; } }
