/*
Theme Name:   Hello Elementor CSE
Theme URI:    https://csecontabil.com.br/
Description:  Tema filho do Hello Elementor para a CSE Contábil. Adiciona template de blog dinâmico, header/footer customizados e design system proprietário.
Author:       CSE Contábil
Author URI:   https://csecontabil.com.br/
Template:     hello-elementor
Version:      1.1.0
Text Domain:  hello-elementor-cse
*/

/* ============================================================
   DESIGN SYSTEM CSE — Variáveis globais
   ============================================================ */
:root{
  --c-navy:#0A2540;
  --c-blue:#0066CC;
  --c-blue-dark:#0052A3;
  --c-gold:#C9A961;
  --c-wpp:#25D366;
  --c-white:#fff;
  --c-bg:#FAFBFC;
  --c-text:#3A4556;
  --c-text-light:#6B7280;
  --c-border:#E5E7EB;
  --shadow-sm:0 1px 3px rgba(10,37,64,.08);
  --shadow-md:0 4px 16px rgba(10,37,64,.10);
  --shadow-lg:0 12px 32px rgba(10,37,64,.14);
  --radius:12px;
  --radius-lg:20px;
  --max:1200px;
}

/* ============================================================
   RESET E BASE — Aplicado em body do blog
   ============================================================ */
body.cse-blog-body{
  margin:0;padding:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,sans-serif;
  font-size:16px;line-height:1.6;color:var(--c-text);background:var(--c-white);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
body.cse-blog-body *,
body.cse-blog-body *::before,
body.cse-blog-body *::after{ box-sizing:border-box; }
body.cse-blog-body img,
body.cse-blog-body svg{ max-width:100%; height:auto; display:block; }
body.cse-blog-body a{ color:var(--c-blue); text-decoration:none; transition:color .2s; }
body.cse-blog-body a:hover,
body.cse-blog-body a:focus{ color:var(--c-blue-dark); text-decoration:underline; }
body.cse-blog-body :focus-visible{
  outline:3px solid var(--c-gold); outline-offset:3px; border-radius:4px;
  box-shadow:0 0 0 6px rgba(201,169,97,.25);
}

.cse-skip{
  position:absolute; left:-9999px; top:0;
  background:var(--c-navy); color:#fff; padding:12px 20px; z-index:9999;
}
.cse-skip:focus{ left:0; }

/* ============================================================
   HEADER GLOBAL DO BLOG
   ============================================================ */
.cse-header{
  position:sticky; top:0;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--c-border);
  z-index:100;
}
.cse-nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px; max-width:var(--max); margin:0 auto;
}
.cse-logo{ display:flex; align-items:center; text-decoration:none; }
.cse-logo:hover{ text-decoration:none; }
.cse-logo img{ height:52px; width:auto; display:block; }

.cse-menu{
  display:flex; align-items:center; gap:28px;
  list-style:none; margin:0; padding:0;
}
.cse-menu li{ list-style:none; }
.cse-menu a{
  color:var(--c-navy); font-weight:500; font-size:15px; text-decoration:none;
}
.cse-menu a:hover{ color:var(--c-blue); text-decoration:none; }
.cse-menu .cse-menu-active{
  color:var(--c-blue); font-weight:700;
  border-bottom:2px solid var(--c-gold); padding-bottom:2px;
}
.cse-lang{
  display:flex; gap:6px; border-left:1px solid var(--c-border);
  padding-left:20px; margin-left:8px; align-items:center;
}
.cse-lang a{
  font-size:13px; font-weight:600; padding:4px 8px;
  border-radius:6px; color:#4a5568;
}
.cse-lang .cse-lang-active{ background:var(--c-navy); color:#fff; }
.cse-menu-toggle{
  display:none; background:none; border:0; cursor:pointer;
  padding:8px; color:var(--c-navy);
}

/* ============================================================
   CONTAINER E UTILITÁRIOS
   ============================================================ */
.cse-blog .container{ max-width:var(--max); margin:0 auto; padding:0 24px; }
.cse-blog .visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.cse-blog .btn,
body.cse-blog-body .btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:14px 28px; border-radius:var(--radius);
  font-weight:600; font-size:16px; border:2px solid transparent;
  cursor:pointer; transition:all .25s; text-decoration:none;
  line-height:1.2; min-height:48px;
}
.cse-blog .btn-primary,
body.cse-blog-body .btn-primary{ background:var(--c-wpp); color:#fff; }
.cse-blog .btn-primary:hover,
body.cse-blog-body .btn-primary:hover{
  background:#1eb955; color:#fff; text-decoration:none;
  transform:translateY(-2px); box-shadow:var(--shadow-md);
}
.cse-blog .btn-light,
body.cse-blog-body .btn-light{ background:#fff; color:var(--c-navy); }
.cse-blog .btn-light:hover,
body.cse-blog-body .btn-light:hover{
  background:var(--c-gold); color:var(--c-navy); text-decoration:none;
}

/* ============================================================
   HERO BLOG (página /blog/)
   ============================================================ */
.cse-hero{
  background:linear-gradient(135deg,#0A2540 0%,#0F3A66 50%,#0066CC 100%);
  color:#fff; padding:90px 24px 110px;
  position:relative; overflow:hidden;
}
.cse-hero::before{
  content:""; position:absolute; top:-50%; right:-10%;
  width:600px; height:600px;
  background:radial-gradient(circle,rgba(201,169,97,.15) 0%,transparent 70%);
  pointer-events:none;
}
.cse-hero-grid{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:60px;
  align-items:center; position:relative; z-index:1;
}
.cse-hero-tag{
  display:inline-block; background:rgba(201,169,97,.18);
  color:var(--c-gold); padding:6px 14px; border-radius:99px;
  font-size:13px; font-weight:600; letter-spacing:.5px;
  margin-bottom:20px; border:1px solid rgba(201,169,97,.4);
}
.cse-hero h1{
  font-size:clamp(32px,4.5vw,52px); font-weight:800;
  line-height:1.15; margin-bottom:18px; letter-spacing:-.5px; color:#fff;
}
.cse-hero h1 strong{ color:var(--c-gold); font-weight:800; }
.cse-hero .subtitle{
  font-size:clamp(16px,2vw,19px); line-height:1.55;
  color:#d8e2ee; margin-bottom:32px; max-width:580px;
}
.cse-hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }
.cse-hero-card{
  background:#fff; border-radius:var(--radius-lg); padding:32px;
  box-shadow:var(--shadow-lg); max-width:380px; width:100%;
  color:var(--c-text);
}
.cse-hero-card h3{
  color:var(--c-navy); font-size:18px; margin-bottom:18px;
  display:flex; align-items:center; gap:10px;
}
.cse-hero-card h3 svg{
  width:24px; height:24px; color:var(--c-gold); flex-shrink:0;
}
.cse-hero-card ul{ list-style:none; padding:0; margin:0; }
.cse-hero-card li{
  display:flex; align-items:flex-start; gap:10px;
  padding:9px 0; font-size:15px; border-bottom:1px solid #F0F2F5;
}
.cse-hero-card li:last-child{ border:0; }
.cse-hero-card li::before{
  content:""; width:18px; height:18px; flex-shrink:0; margin-top:2px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300A86B'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
  background-size:contain; background-repeat:no-repeat;
}

/* ============================================================
   STATS
   ============================================================ */
.cse-stats{ background:var(--c-navy); color:#fff; padding:50px 24px; }
.cse-stats-grid{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:30px; text-align:center;
}
.cse-stat-num{
  font-size:clamp(32px,4vw,48px); font-weight:800;
  color:var(--c-gold); line-height:1; margin-bottom:8px; letter-spacing:-1px;
}
.cse-stat-label{
  font-size:14px; color:#b8c5d6; font-weight:500; letter-spacing:.3px;
}

/* ============================================================
   FILTROS DE CATEGORIA
   ============================================================ */
.cse-filters{
  max-width:var(--max); margin:0 auto 40px; padding:0 24px;
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
}
.cse-filter{
  padding:8px 18px; border-radius:99px;
  background:#fff; border:1.5px solid var(--c-border);
  color:var(--c-text); font-size:14px; font-weight:600;
  text-decoration:none; transition:all .2s;
}
.cse-filter:hover{
  border-color:var(--c-blue); color:var(--c-blue); text-decoration:none;
}
.cse-filter.active{
  background:var(--c-navy); color:#fff; border-color:var(--c-navy);
}

/* ============================================================
   GRID DE POSTS
   ============================================================ */
.cse-posts-section{ background:var(--c-bg); padding:80px 24px; }
.cse-section-head{ text-align:center; max-width:760px; margin:0 auto 56px; }
.cse-section-tag{
  display:inline-block; color:var(--c-blue); font-size:13px;
  font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  margin-bottom:14px;
}
.cse-section-title{
  font-size:clamp(28px,3.5vw,40px); color:var(--c-navy);
  font-weight:800; line-height:1.2; margin-bottom:18px; letter-spacing:-.5px;
}
.cse-section-sub{
  font-size:18px; color:var(--c-text-light);
  max-width:680px; line-height:1.6; margin:0 auto;
}
.cse-posts-grid{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.cse-post-card{
  background:#fff; border:1px solid var(--c-border);
  border-radius:var(--radius-lg); overflow:hidden;
  transition:all .3s; display:flex; flex-direction:column;
  text-decoration:none; color:inherit;
}
.cse-post-card:hover{
  transform:translateY(-6px); box-shadow:var(--shadow-lg);
  border-color:transparent; text-decoration:none; color:inherit;
}
.cse-post-thumb{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,var(--c-navy) 0%,var(--c-blue) 100%);
  position:relative; display:flex; align-items:center;
  justify-content:center; overflow:hidden;
}
.cse-post-thumb img{ width:100%; height:100%; object-fit:cover; }
.cse-post-thumb::before{
  content:""; position:absolute; width:200px; height:200px;
  background:radial-gradient(circle,rgba(201,169,97,.25) 0%,transparent 70%);
  top:-60px; right:-60px; z-index:1;
}
.cse-post-thumb-fallback{
  width:80px; height:80px; color:rgba(255,255,255,.85);
  position:relative; z-index:1;
}
.cse-post-badge{
  position:absolute; top:14px; left:14px;
  background:var(--c-gold); color:var(--c-navy);
  padding:5px 12px; border-radius:99px;
  font-size:11px; font-weight:700; letter-spacing:.6px;
  text-transform:uppercase; z-index:2;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
}
.cse-post-body{
  padding:24px 24px 26px; display:flex;
  flex-direction:column; flex:1;
}
.cse-post-card h3{
  color:var(--c-navy); font-size:19px; font-weight:700;
  line-height:1.3; margin:0 0 12px; letter-spacing:-.2px;
}
.cse-post-card p{
  font-size:15px; color:var(--c-text-light); line-height:1.55;
  margin:0 0 18px; flex:1;
}
.cse-post-meta{
  display:flex; align-items:center; gap:14px;
  font-size:13px; color:var(--c-text-light);
  margin-bottom:14px; padding-top:14px;
  border-top:1px solid #F0F2F5; flex-wrap:wrap;
}
.cse-post-meta span{ display:flex; align-items:center; gap:5px; }
.cse-post-meta svg{
  width:14px; height:14px; color:var(--c-blue); flex-shrink:0;
}
.cse-post-link{
  color:var(--c-blue); font-weight:600; font-size:14px;
  display:inline-flex; align-items:center; gap:6px; transition:gap .2s;
}
.cse-post-card:hover .cse-post-link{ gap:10px; color:var(--c-blue-dark); }

/* ============================================================
   PAGINAÇÃO
   ============================================================ */
.cse-pagination{
  max-width:var(--max); margin:60px auto 0; padding:0 24px;
  display:flex; justify-content:center; gap:8px; flex-wrap:wrap;
}
.cse-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 14px;
  border-radius:8px; background:#fff;
  border:1.5px solid var(--c-border);
  color:var(--c-text); font-weight:600; font-size:14px;
  text-decoration:none; transition:all .2s;
}
.cse-pagination .page-numbers:hover{
  border-color:var(--c-blue); color:var(--c-blue); text-decoration:none;
}
.cse-pagination .page-numbers.current{
  background:var(--c-navy); color:#fff; border-color:var(--c-navy);
}
.cse-pagination .dots{ border:0; background:transparent; }

/* ============================================================
   ESTADO VAZIO
   ============================================================ */
.cse-no-posts{
  max-width:600px; margin:0 auto; text-align:center;
  padding:60px 24px; color:var(--c-text-light);
}
.cse-no-posts h3{
  color:var(--c-navy); font-size:24px; margin-bottom:12px;
}

/* ============================================================
   CTA FINAL DA /blog/
   ============================================================ */
.cse-cta{
  background:linear-gradient(135deg,#0A2540 0%,#0066CC 100%);
  color:#fff; text-align:center; padding:90px 24px;
}
.cse-cta h2{
  font-size:clamp(28px,3.5vw,42px); font-weight:800;
  margin-bottom:8px; line-height:1.2; color:#fff;
}
.cse-cta-lead{
  font-size:20px; color:var(--c-gold); font-weight:600; margin-bottom:16px;
}
.cse-cta p{
  font-size:18px; color:#d8e2ee; max-width:640px;
  margin:0 auto 36px; line-height:1.6;
}
.cse-cta-buttons{
  display:flex; gap:14px; justify-content:center;
  flex-wrap:wrap; margin-bottom:32px;
}

/* ============================================================
   SINGLE POST — HERO
   ============================================================ */
.cse-post-hero{
  background:linear-gradient(135deg,#0A2540 0%,#0F3A66 50%,#0066CC 100%);
  color:#fff; padding:60px 24px 0;
  position:relative; overflow:hidden;
}
.cse-post-hero::before{
  content:""; position:absolute; top:-30%; right:-10%;
  width:500px; height:500px;
  background:radial-gradient(circle,rgba(201,169,97,.12) 0%,transparent 70%);
  pointer-events:none;
}
.cse-post-hero-inner{
  max-width:880px; margin:0 auto;
  position:relative; z-index:1; padding-bottom:50px;
}
.cse-breadcrumbs{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  font-size:13px; color:#b8c5d6; margin-bottom:24px;
}
.cse-breadcrumbs a{ color:#d8e2ee; text-decoration:none; }
.cse-breadcrumbs a:hover{ color:var(--c-gold); text-decoration:none; }
.cse-breadcrumbs span[aria-hidden]{ color:#6b7d96; }
.cse-breadcrumb-current{ color:#fff; font-weight:500; }
.cse-post-hero-badge{
  display:inline-block; background:var(--c-gold); color:var(--c-navy);
  padding:6px 14px; border-radius:99px;
  font-size:12px; font-weight:700; letter-spacing:.6px;
  text-transform:uppercase; margin-bottom:20px;
  text-decoration:none; transition:transform .2s;
}
.cse-post-hero-badge:hover{
  transform:translateY(-2px); color:var(--c-navy); text-decoration:none;
}
.cse-post-hero-title{
  font-size:clamp(28px,4vw,46px); font-weight:800;
  line-height:1.2; margin-bottom:20px; letter-spacing:-.5px; color:#fff;
}
.cse-post-hero-meta{
  display:flex; gap:24px; flex-wrap:wrap;
  font-size:14px; color:#b8c5d6;
}
.cse-post-hero-meta span{
  display:flex; align-items:center; gap:6px;
}
.cse-post-hero-meta svg{
  width:16px; height:16px; color:var(--c-gold); flex-shrink:0;
}
.cse-post-hero-image{
  max-width:1100px; margin:0 auto;
  border-radius:var(--radius-lg) var(--radius-lg) 0 0;
  overflow:hidden; box-shadow:0 -10px 40px rgba(0,0,0,.2);
  position:relative; z-index:1;
}
.cse-post-hero-image img{
  width:100%; height:auto; display:block;
  aspect-ratio:21/9; object-fit:cover;
}

/* ============================================================
   SINGLE POST — CONTEÚDO
   ============================================================ */
.cse-post-content{
  max-width:760px; margin:60px auto 0; padding:0 24px;
  position:relative;
}
.cse-post-body{
  font-size:18px; line-height:1.75; color:var(--c-text);
}
.cse-post-body > *:first-child{ margin-top:0; }
.cse-post-body p{
  margin:0 0 22px; color:var(--c-text);
}
.cse-post-body h2{
  font-size:clamp(24px,3vw,32px); color:var(--c-navy);
  font-weight:800; line-height:1.25;
  margin:48px 0 18px; letter-spacing:-.3px;
  padding-top:12px; border-top:3px solid var(--c-gold);
  display:inline-block;
}
.cse-post-body h3{
  font-size:clamp(20px,2.5vw,24px); color:var(--c-navy);
  font-weight:700; line-height:1.3; margin:36px 0 14px;
}
.cse-post-body h4{
  font-size:18px; color:var(--c-navy);
  font-weight:700; margin:28px 0 12px;
}
.cse-post-body ul,
.cse-post-body ol{
  margin:0 0 22px; padding-left:24px;
}
.cse-post-body li{
  margin-bottom:10px; line-height:1.7;
}
.cse-post-body ul li::marker{ color:var(--c-gold); }
.cse-post-body ol li::marker{ color:var(--c-blue); font-weight:700; }
.cse-post-body blockquote{
  margin:32px 0; padding:20px 28px;
  background:var(--c-bg); border-left:4px solid var(--c-gold);
  border-radius:0 var(--radius) var(--radius) 0;
  font-style:italic; color:var(--c-text);
}
.cse-post-body blockquote p:last-child{ margin-bottom:0; }
.cse-post-body strong{ color:var(--c-navy); font-weight:700; }
.cse-post-body a{
  color:var(--c-blue); text-decoration:underline;
  text-decoration-color:rgba(0,102,204,.3);
  text-underline-offset:3px; transition:all .2s;
}
.cse-post-body a:hover{
  color:var(--c-blue-dark);
  text-decoration-color:var(--c-blue-dark);
}
.cse-post-body img{
  border-radius:var(--radius); margin:28px auto;
  box-shadow:var(--shadow-md);
}
.cse-post-body code{
  background:#F0F2F5; padding:2px 8px; border-radius:4px;
  font-size:.9em; color:var(--c-navy);
  font-family:"SF Mono",Monaco,Menlo,monospace;
}
.cse-post-body table{
  width:100%; border-collapse:collapse; margin:28px 0;
  border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sm); font-size:15px;
}
.cse-post-body table th{
  background:var(--c-navy); color:#fff;
  padding:14px 16px; text-align:left; font-weight:700;
}
.cse-post-body table td{
  padding:12px 16px; border-bottom:1px solid var(--c-border);
}
.cse-post-body table tr:last-child td{ border-bottom:0; }
.cse-post-body table tr:nth-child(even){ background:var(--c-bg); }
.cse-post-body hr{
  border:0; height:1px; background:var(--c-border); margin:36px 0;
}

/* ============================================================
   SINGLE POST — BARRA DE COMPARTILHAMENTO LATERAL
   ============================================================ */
.cse-share-bar{
  position:fixed; left:24px; top:50%;
  transform:translateY(-50%); z-index:50;
  display:flex; flex-direction:column; gap:10px;
  background:#fff; padding:14px 10px;
  border-radius:var(--radius); box-shadow:var(--shadow-md);
  border:1px solid var(--c-border);
}
.cse-share-label{
  font-size:10px; font-weight:700; color:var(--c-text-light);
  letter-spacing:1px; text-transform:uppercase;
  text-align:center; margin-bottom:4px;
  writing-mode:horizontal-tb;
}
.cse-share-bar a,
.cse-share-bar button{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:0; cursor:pointer; transition:all .2s;
  text-decoration:none;
}
.cse-share-bar svg{ width:18px; height:18px; }
.cse-share-wpp{ background:#25D366; color:#fff; }
.cse-share-wpp:hover{ background:#1eb955; transform:scale(1.1); text-decoration:none; }
.cse-share-li{ background:#0A66C2; color:#fff; }
.cse-share-li:hover{ background:#084d92; transform:scale(1.1); text-decoration:none; }
.cse-share-fb{ background:#1877F2; color:#fff; }
.cse-share-fb:hover{ background:#0d5cbd; transform:scale(1.1); text-decoration:none; }
.cse-share-copy{
  background:#F0F2F5; color:var(--c-navy); position:relative;
}
.cse-share-copy:hover{ background:var(--c-gold); transform:scale(1.1); }
.cse-share-copy.copied::after{
  content:"Copiado!"; position:absolute; left:50px;
  background:var(--c-navy); color:#fff;
  padding:6px 12px; border-radius:6px;
  font-size:12px; white-space:nowrap;
  animation:fadeOut 2s forwards;
}
@keyframes fadeOut{ 0%,70%{opacity:1} 100%{opacity:0} }

/* ============================================================
   SINGLE POST — TAGS
   ============================================================ */
.cse-post-tags{
  max-width:760px; margin:40px auto 0;
  padding:24px 24px 0; border-top:1px solid var(--c-border);
  display:flex; flex-wrap:wrap; gap:10px; align-items:center;
}
.cse-tags-label{ font-size:14px; color:var(--c-text-light); font-weight:600; }
.cse-tag{
  display:inline-block; padding:5px 12px;
  background:var(--c-bg); border:1px solid var(--c-border);
  border-radius:99px; font-size:13px;
  color:var(--c-text); text-decoration:none; transition:all .2s;
}
.cse-tag:hover{
  background:var(--c-navy); color:#fff; border-color:var(--c-navy);
  text-decoration:none;
}

/* ============================================================
   SINGLE POST — CTA WHATSAPP DESTACADO
   ============================================================ */
.cse-post-cta{
  max-width:880px; margin:60px auto; padding:0 24px;
}
.cse-post-cta-inner{
  background:linear-gradient(135deg,#0A2540 0%,#0066CC 100%);
  color:#fff; padding:40px 36px; border-radius:var(--radius-lg);
  display:grid; grid-template-columns:auto 1fr auto;
  gap:28px; align-items:center;
  box-shadow:var(--shadow-lg); position:relative; overflow:hidden;
}
.cse-post-cta-inner::before{
  content:""; position:absolute; top:-50%; right:-10%;
  width:300px; height:300px;
  background:radial-gradient(circle,rgba(201,169,97,.2) 0%,transparent 70%);
  pointer-events:none;
}
.cse-post-cta-icon{
  width:64px; height:64px; border-radius:50%;
  background:var(--c-wpp); display:flex; align-items:center;
  justify-content:center; flex-shrink:0; position:relative; z-index:1;
}
.cse-post-cta-icon svg{ width:32px; height:32px; color:#fff; }
.cse-post-cta-text{ position:relative; z-index:1; }
.cse-post-cta-text h3{
  color:#fff; font-size:22px; font-weight:700;
  margin:0 0 6px; line-height:1.3;
}
.cse-post-cta-text p{
  color:#d8e2ee; font-size:15px; line-height:1.5; margin:0;
}
.cse-post-cta .btn{ position:relative; z-index:1; flex-shrink:0; }

/* ============================================================
   SINGLE POST — RELACIONADOS
   ============================================================ */
.cse-related{ padding-top:40px; }

/* ============================================================
   FOOTER
   ============================================================ */
.cse-footer{
  background:#061829; color:#cbd5e0;
  padding:60px 24px 24px; font-size:14px;
}
.cse-foot-grid{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px; margin-bottom:40px;
}
.cse-foot-grid h5{
  color:#fff; font-size:15px; margin:0 0 16px;
  font-weight:700; letter-spacing:.3px;
}
.cse-foot-grid ul{ list-style:none; margin:0; padding:0; }
.cse-foot-grid li{ padding:5px 0; list-style:none; }
.cse-foot-grid a{ color:#cbd5e0; text-decoration:none; }
.cse-foot-grid a:hover{ color:var(--c-gold); text-decoration:none; }
.cse-foot-logo{
  height:60px; width:auto; margin-bottom:16px; display:block;
}
.cse-foot-about p{
  line-height:1.6; margin:0 0 16px; color:#a3b1c4;
}
.cse-foot-social{ display:flex; gap:10px; margin-top:14px; }
.cse-foot-social a{
  width:36px; height:36px; background:rgba(255,255,255,.08);
  border-radius:50%; display:flex; align-items:center;
  justify-content:center; color:#fff; transition:all .2s;
}
.cse-foot-social a:hover{
  background:var(--c-gold); color:var(--c-navy); transform:translateY(-2px);
}
.cse-foot-bottom{
  max-width:var(--max); margin:0 auto;
  padding-top:24px; border-top:1px solid rgba(255,255,255,.08);
  display:flex; justify-content:space-between; flex-wrap:wrap;
  gap:14px; font-size:13px; color:#9ca8bd;
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.cse-wpp-float{
  position:fixed; bottom:24px; right:24px;
  width:60px; height:60px; background:var(--c-wpp);
  border-radius:50%; display:flex; align-items:center;
  justify-content:center; box-shadow:0 6px 20px rgba(37,211,102,.45);
  z-index:99; transition:transform .25s; animation:cseWppPulse 2.5s infinite;
  text-decoration:none;
}
.cse-wpp-float:hover{ transform:scale(1.08); text-decoration:none; }
.cse-wpp-float svg{ width:32px; height:32px; color:#fff; }
@keyframes cseWppPulse{
  0%,100%{ box-shadow:0 6px 20px rgba(37,211,102,.45); }
  50%{ box-shadow:0 6px 30px rgba(37,211,102,.7),0 0 0 12px rgba(37,211,102,.12); }
}

/* ============================================================
   BOTÃO VOLTAR AO TOPO
   ============================================================ */
.cse-back-top{
  position:fixed; bottom:96px; right:24px;
  width:44px; height:44px; border-radius:50%;
  background:#fff; border:1.5px solid var(--c-border);
  color:var(--c-navy); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); z-index:98;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:all .25s;
}
.cse-back-top.visible{
  opacity:1; visibility:visible; transform:translateY(0);
}
.cse-back-top:hover{
  background:var(--c-navy); color:#fff; border-color:var(--c-navy);
  transform:translateY(-2px);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width:1100px){
  .cse-share-bar{ display:none; }
}
@media (max-width:960px){
  .cse-hero-grid{ grid-template-columns:1fr; gap:40px; }
  .cse-stats-grid{ grid-template-columns:repeat(2,1fr); gap:30px; }
  .cse-posts-grid{ grid-template-columns:repeat(2,1fr); gap:24px; }
  .cse-foot-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .cse-menu{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:#fff; flex-direction:column; padding:20px;
    border-bottom:1px solid var(--c-border); box-shadow:var(--shadow-md);
    align-items:flex-start; gap:14px;
  }
  .cse-menu.open{ display:flex; }
  .cse-menu-toggle{ display:block; }
  .cse-lang{
    border-left:0; padding-left:0; margin-left:0;
    border-top:1px solid var(--c-border); padding-top:14px; width:100%;
  }
  .cse-post-cta-inner{
    grid-template-columns:1fr; text-align:center; gap:20px;
  }
  .cse-post-cta-icon{ margin:0 auto; }
  .cse-post-cta .btn{ width:100%; }
}
@media (max-width:600px){
  .cse-hero{ padding:60px 20px 80px; }
  .cse-posts-section{ padding:56px 20px; }
  .cse-cta{ padding:60px 20px; }
  .cse-posts-grid{ grid-template-columns:1fr; }
  .cse-stats-grid{ grid-template-columns:1fr 1fr; }
  .cse-hero-cta{ flex-direction:column; width:100%; }
  .cse-hero-cta .btn{ width:100%; }
  .cse-cta-buttons{ flex-direction:column; }
  .cse-cta-buttons .btn{ width:100%; }
  .cse-foot-grid{ grid-template-columns:1fr; }
  .cse-foot-bottom{ flex-direction:column; text-align:center; }
  .cse-logo img{ height:42px; }
  .cse-foot-logo{ height:50px; }
  .cse-wpp-float{ width:54px; height:54px; bottom:18px; right:18px; }
  .cse-wpp-float svg{ width:28px; height:28px; }
  .cse-back-top{ bottom:84px; right:18px; width:40px; height:40px; }
  .cse-post-hero{ padding:40px 20px 0; }
  .cse-post-hero-meta{ gap:14px; }
  .cse-post-content{ margin-top:40px; padding:0 20px; }
  .cse-post-body{ font-size:17px; }
  .cse-post-cta{ margin:40px auto; padding:0 20px; }
  .cse-post-cta-inner{ padding:30px 24px; }
}

@media (prefers-reduced-motion:reduce){
  body.cse-blog-body *{ transition:none!important; animation:none!important; }
  .cse-wpp-float{ animation:none; }
}
