/* ============================================================
   Solo — "Shell" (header + footer) para as páginas que ainda
   rodam no Elementor: blog (índice/posts/arquivos) e as 11
   categorias do catálogo. Aplica o MESMO header/footer do
   resto do site e esconde o header/footer Elementor antigo.
   Só carrega quando body tem a classe .solo-shell.
   ============================================================ */

:root {
  --solo-calcario: #E7DED2;
  --solo-basalto: #2F2E2C;
  --solo-argila: #C1B6A7;
  --solo-terracota: #8F3B14;
  --solo-ocre: #EBA253;
  --solo-verde: #718A71;
  --solo-calcario-rgb: 231, 222, 210;
  --solo-basalto-rgb: 47, 46, 44;
  --font: "Work Sans", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* esconde o header/footer/botão flutuante do Elementor antigo */
body.solo-shell .elementor-location-header,
body.solo-shell .elementor-location-footer,
body.solo-shell .e-floating-buttons { display: none !important; }

/* espaço para o header fixo */
body.solo-shell { padding-top: 80px; }

/* ---------- Header (estado sólido, fundo calcário) ---------- */
body.solo-shell .header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(var(--solo-calcario-rgb), 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(var(--solo-basalto-rgb), 0.06);
  font-family: var(--font);
}
body.solo-shell .header a { text-decoration: none; }
body.solo-shell .header-logo-light { display: none; }
body.solo-shell .header-logo-dark  { display: block; height: 36px; }

body.solo-shell .nav { display: flex; align-items: center; gap: 20px; }
body.solo-shell .nav > a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--solo-basalto);
  transition: color 200ms;
  position: relative;
}
body.solo-shell .nav > a:hover { color: var(--solo-terracota); }
body.solo-shell .nav > a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 300ms var(--ease);
}
body.solo-shell .nav > a:hover::after { width: 100%; }

body.solo-shell .header-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--solo-terracota);
  border: 1px solid var(--solo-terracota);
  color: var(--solo-calcario) !important;
  transition: all 280ms var(--ease);
}
body.solo-shell .header-cta::after { display: none; }
body.solo-shell .header-cta:hover {
  background: var(--solo-basalto);
  border-color: var(--solo-basalto);
}

/* ---------- Menu toggle (hambúrguer) ---------- */
body.solo-shell .menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: none; cursor: pointer;
  padding: 10px;
  flex-direction: column; justify-content: space-between; align-items: center;
  z-index: 110;
}
body.solo-shell .menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--solo-basalto);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
body.solo-shell .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
body.solo-shell .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
body.solo-shell .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
body.solo-shell .mobile-menu {
  position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
  background: var(--solo-basalto);
  z-index: 99;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  overflow-y: auto;
  padding: 32px clamp(20px, 5vw, 48px);
}
body.solo-shell .mobile-menu:not([inert]) { transform: translateX(0); }
body.solo-shell .mobile-menu-nav { display: flex; flex-direction: column; gap: 0; }
body.solo-shell .mobile-menu-nav > a {
  display: block; padding: 20px 0;
  font-size: 18px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--solo-calcario);
  border-bottom: 1px solid rgba(var(--solo-calcario-rgb), .08);
  transition: color .2s; text-decoration: none;
}
body.solo-shell .mobile-menu-nav > a:hover { color: var(--solo-ocre); }
body.solo-shell .mobile-menu-nav .mobile-menu-cta {
  margin-top: 24px; padding: 18px 24px;
  background: var(--solo-terracota); color: var(--solo-calcario);
  border: none; border-bottom: none; text-align: center; font-weight: 600;
}
body.solo-shell .mobile-menu-nav .mobile-menu-cta:hover { background: var(--solo-ocre); color: var(--solo-basalto); }

@media (max-width: 1080px) {
  body.solo-shell .nav { display: none; }
  body.solo-shell .menu-toggle { display: flex; }
}
@media (max-width: 768px) {
  body.solo-shell { padding-top: 64px; }
  body.solo-shell .header { height: 64px; }
  body.solo-shell .mobile-menu { top: 64px; }
}

/* ---------- Footer ---------- */
body.solo-shell .site-footer {
  padding: 64px 0 32px;
  background: var(--solo-basalto);
  color: rgba(var(--solo-calcario-rgb), .7);
  position: relative; overflow: hidden;
  font-family: var(--font);
}
body.solo-shell .site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/patterns/SOLO_Pattern-S-4_Base.webp") center/480px repeat;
  opacity: .03; pointer-events: none;
}
body.solo-shell .site-footer-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px);
}
body.solo-shell .site-footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
body.solo-shell .site-footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 16px; max-width: 280px; }
body.solo-shell .site-footer h3 {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--solo-calcario); margin-bottom: 12px;
}
body.solo-shell .site-footer p { font-size: 13px; line-height: 1.7; }
body.solo-shell .site-footer a { transition: color .2s; color: inherit; text-decoration: none; }
body.solo-shell .site-footer a:hover { color: var(--solo-calcario); }
body.solo-shell .site-footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(var(--solo-calcario-rgb), .06); font-size: 12px;
}
body.solo-shell .footer-contact { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
body.solo-shell .footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; }
body.solo-shell .footer-contact svg {
  width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px;
  stroke: rgba(var(--solo-calcario-rgb), .5); fill: none; stroke-width: 1.5;
}
@media (max-width: 768px) {
  body.solo-shell .site-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  body.solo-shell .site-footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 14px; }
}

/* ---------- WhatsApp float ---------- */
body.solo-shell .whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
  transition: transform .3s var(--ease), box-shadow .3s;
}
body.solo-shell .whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(0,0,0,.24); }
body.solo-shell .whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ============================================================
   CONTEÚDO DO BLOG / CATEGORIAS — alinhar ao design system Solo
   "Mineral Contemporâneo": Work Sans + paleta + ritmo editorial.
   O corpo dessas páginas é Elementor (vinha em Poppins/CAPS).
   ============================================================ */

/* Work Sans sobre o Poppins global do Elementor (só no texto do conteúdo;
   não toca ícones/svg) */
body.solo-shell .elementor-heading-title,
body.solo-shell .elementor-widget-text-editor,
body.solo-shell .elementor-widget-text-editor p,
body.solo-shell .elementor-widget-text-editor li,
body.solo-shell .elementor-post__title,
body.solo-shell .elementor-post__title a,
body.solo-shell .elementor-post__excerpt,
body.solo-shell .elementor-post__excerpt p,
body.solo-shell .elementor-post__meta-data,
body.solo-shell .elementor-post__read-more,
body.solo-shell .elementor-button,
body.solo-shell .elementor-button .elementor-button-text,
body.solo-shell .elementor-widget-theme-post-content,
body.solo-shell .elementor-widget-theme-post-content p,
body.solo-shell .elementor-widget-theme-post-content li,
body.solo-shell .elementor-widget-theme-post-content h2,
body.solo-shell .elementor-widget-theme-post-content h3,
body.solo-shell .elementor-widget-theme-post-content h4,
body.solo-shell .elementor-widget-theme-post-content blockquote,
body.solo-shell .elementor-pagination,
body.solo-shell .entry-content,
body.solo-shell .entry-content p,
body.solo-shell .entry-title {
  font-family: var(--font) !important;
}

/* ---- Hero do blog: substitui o bloco terracota chapado por um hero
       fotográfico no padrão do site (foto full-bleed + degradê + texto
       leve à esquerda embaixo, igual home/categorias) ---- */
body.solo-blog-index .elementor-element-3f8a5f1f { display: none !important; }

body.solo-shell .solo-shell-blog-hero {
  position: relative;
  min-height: clamp(360px, 52vh, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--solo-basalto);
}
body.solo-shell .solo-shell-blog-hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
body.solo-shell .solo-shell-blog-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 48%, rgba(0,0,0,.10) 100%);
}
body.solo-shell .solo-shell-blog-hero .inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) clamp(20px, 5vw, 72px);
}
body.solo-shell .solo-shell-blog-hero .eyebrow {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(var(--solo-calcario-rgb), 0.72);
  margin-bottom: 16px;
}
body.solo-shell .solo-shell-blog-hero h1 {
  font-family: var(--font);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 300; line-height: 1.06; letter-spacing: -0.01em;
  color: var(--solo-calcario);
  margin: 0; max-width: 760px;
}
body.solo-shell .solo-shell-blog-hero p.sub {
  font-family: var(--font);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 400; line-height: 1.55;
  color: rgba(var(--solo-calcario-rgb), 0.9);
  margin: 18px 0 0; max-width: 600px;
}

/* ---- Cards de post (imagem + título) ---- */
body.solo-shell .elementor-post__card {
  border: 1px solid rgba(var(--solo-basalto-rgb), 0.08) !important;
  border-radius: 3px !important;
  box-shadow: 0 6px 20px rgba(var(--solo-basalto-rgb), 0.06) !important;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
body.solo-shell .elementor-post__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(var(--solo-basalto-rgb), 0.13) !important;
}
body.solo-shell .elementor-post__text { padding: 22px 28px 26px !important; }
body.solo-shell .elementor-post__title { margin: 0 !important; }
body.solo-shell .elementor-post__title a {
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 1.34 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--solo-basalto) !important;
  transition: color .2s;
}
body.solo-shell .elementor-post__title a:hover { color: var(--solo-terracota) !important; }

/* ---- Post no desktop: coluna de leitura mais larga (não "filete de celular") ----
   O mu-plugin solo-blog-style trava em 68ch (~677px); no desktop alargamos. */
@media (min-width: 1100px) {
  body.solo-shell .elementor-widget-theme-post-content { max-width: 920px !important; }
  body.solo-shell .elementor-widget-theme-post-content p,
  body.solo-shell .elementor-widget-theme-post-content li { font-size: 19px; line-height: 1.7; }
  body.solo-shell .solo-post-meta { max-width: 920px; margin-left: auto; margin-right: auto; }
}

/* ---- Paginação ---- */
body.solo-shell .elementor-pagination .page-numbers { color: rgba(var(--solo-basalto-rgb), 0.6) !important; }
body.solo-shell .elementor-pagination .page-numbers.current,
body.solo-shell .elementor-pagination .page-numbers:hover { color: var(--solo-terracota) !important; }

/* ---- Meta dos posts: Categoria · Data · tempo de leitura ---- */
body.solo-shell .solo-card-meta {
  font-family: var(--font);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(var(--solo-basalto-rgb), 0.5);
  margin: 0 0 10px;
  display: flex; flex-wrap: wrap; align-items: center;
}
body.solo-shell .solo-post-meta {
  font-family: var(--font);
  font-size: 12px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(var(--solo-basalto-rgb), 0.5);
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(var(--solo-basalto-rgb), 0.1);
  display: flex; flex-wrap: wrap; align-items: center;
}
body.solo-shell .solo-meta-cat { color: var(--solo-terracota); }
body.solo-shell .solo-meta-sep { margin: 0 7px; opacity: .45; }
