/*
Theme Name: Solvers
Theme URI: https://solvers.com.br/
Author: Solvers Solution Factory
Author URI: https://solvers.com.br/
Description: Tema do blog da Solvers. Cabeçalho, rodapé, cores e tipografia idênticos ao site institucional (solvers.com.br), para o blog não parecer um sistema à parte visualmente.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: solvers
*/

/* ===== Design tokens — mesmos valores de assets/css/style.css do site institucional ===== */
:root{--blue:#428AC9;--orange:#EF7C15;--green:#219385;--navy:#20254A;--ink:#282827;--cream:#F8EBDB;--gray:#DADCE0;--white:#fff;--max:1180px;--r:26px;
--blue-text:#326897;--orange-text:#9B510E;--orange-text-lg:#D26D12;--green-text:#1A766A;
--surface:#fff;--surface-alt:#F8EBDB;--surface-soft:#f5f6f8;--surface-soft2:#f6f7f9;
--text:var(--navy);--text-soft:#5a5d70;--text-faint:#666873;
--border:#20254a14;--nav-bg:#ffffffdd;--card-shadow:#20254a12;
--icon-blue:#326897;--icon-green:#1A766A;--icon-orange:#9B510E}
/* Modo escuro: só manual via [data-theme="dark"] (botão sol/lua) — mesmo comportamento
   de assets/css/style.css do site institucional (não segue prefers-color-scheme do SO). */
html[data-theme="dark"]{
--surface:#1B2044;--surface-alt:#171c38;--surface-soft:#141833;--surface-soft2:#12162e;
--text:#E8EAF2;--text-soft:#AEB3C6;--text-faint:#8D92A8;
--border:#ffffff14;--nav-bg:#0f1326dd;--card-shadow:#00000040;
--blue-text:#5E9CD1;--green-text:#42A397;--orange-text:#EF7C15;--orange-text-lg:#EF7C15
}

/* ===== Reset / base — mesmo do site institucional ===== */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--surface);line-height:1.55;transition:background .25s,color .25s}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
:focus-visible{outline:3px solid var(--blue-text);outline-offset:2px;border-radius:2px}
.skip-link{position:absolute;left:12px;top:-60px;z-index:1000;background:var(--navy);color:#fff;padding:12px 18px;border-radius:0 0 10px 10px;font-weight:800;transition:top .2s}.skip-link:focus{top:0}
.container{width:min(var(--max),calc(100% - 36px));margin:auto}.container.narrow{max-width:760px}.section{padding:105px 0}
.eyebrow{display:flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.15em;font-size:.72rem;font-weight:900;color:var(--green-text);margin-bottom:17px}.eyebrow:before{content:"";width:28px;height:3px;background:var(--orange);border-radius:5px}
h1,h2,h3{line-height:1.08;letter-spacing:-.03em;margin:0}h1{font-size:clamp(2.4rem,5vw,3.8rem)}h2{font-size:clamp(1.6rem,3vw,2.3rem)}h3{font-size:1.3rem}
.lead{font-size:clamp(1.05rem,1.65vw,1.28rem);color:var(--text-soft);max-width:720px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 22px;border-radius:999px;font-weight:850;transition:.25s;border:1px solid transparent}.primary{background:var(--orange);color:var(--navy)}.primary:hover{transform:translateY(-3px);box-shadow:0 14px 32px #ef7c1540}.secondary{border-color:var(--border)}.secondary:hover{background:var(--surface-alt);transform:translateY(-3px)}

/* ===== Menu (header.php) — idêntico ao site institucional (sem seletor de idioma, ver docs) ===== */
nav{position:fixed;z-index:100;left:0;right:0;top:0;height:76px;background:var(--nav-bg);backdrop-filter:blur(15px);border-bottom:1px solid var(--border)}.nav{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:950;letter-spacing:-.05em;font-size:1.28rem;display:flex;gap:11px;align-items:center}.brand img{height:56px;width:auto}
.links{display:flex;align-items:center;gap:24px;font-size:.88rem;font-weight:750}.links a:hover{color:var(--orange-text)}.menu{display:none;background:none;border:0;font-size:1.7rem;color:var(--text)}
.theme-toggle{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;margin-left:14px;flex-shrink:0}
.theme-toggle:hover{background:var(--surface-alt)}
.theme-toggle svg{width:18px;height:18px}
.theme-toggle .i-sun{display:none}.theme-toggle .i-moon{display:block}
html[data-theme="dark"] .theme-toggle .i-sun{display:block}html[data-theme="dark"] .theme-toggle .i-moon{display:none}
@media(max-width:600px){.theme-toggle{margin-left:8px}}

/* ===== Rodapé (footer.php) — idêntico ao site institucional ===== */
.footer{background:#171a35;color:#aeb3c6;padding:60px 0 25px}.footer .brand{color:#fff}.footer .brand img{height:46px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px;padding-bottom:35px;border-bottom:1px solid #ffffff14}.footer-brand p{margin:16px 0 0;max-width:220px}.footer-col h3{color:#fff;font-size:.92rem;margin:0 0 14px}.footer-col p{margin:0 0 8px;font-size:.88rem;line-height:1.5}.footer-col a:hover{color:#fff}
.social-links{display:flex;gap:10px;margin-top:20px}.social-links a{width:34px;height:34px;border-radius:50%;background:#ffffff12;display:grid;place-items:center;color:#c7cbdb;transition:.2s}.social-links a:hover{background:var(--orange);color:#fff}.social-links svg{width:16px;height:16px}
.footer-bottom{padding-top:22px}.footer-bottom p{margin:0;font-size:.8rem}

/* ===== Blog: listagem de posts ===== */
.blog-hero{padding:148px 0 40px;background:linear-gradient(135deg,var(--surface) 0%,var(--surface) 55%,var(--surface-alt) 100%)}
.blog-list{padding-top:40px}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.post-card{background:var(--surface);border:1px solid var(--border);border-radius:22px;overflow:hidden;box-shadow:0 10px 30px var(--card-shadow);display:flex;flex-direction:column}
.post-card-thumb{aspect-ratio:16/10;overflow:hidden}.post-card-thumb img{width:100%;height:100%;object-fit:cover}
.post-card-body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}
.post-card-date{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--orange-text)}
.post-card-body h2{font-size:1.2rem}.post-card-body h2 a:hover{color:var(--orange-text)}
.post-card-body p{color:var(--text-soft);font-size:.94rem;flex:1;margin:0}
.post-card-body .btn{align-self:start;margin-top:6px}
.pagination{display:flex;justify-content:center;gap:10px;margin-top:50px}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--border);font-weight:750}
.pagination .page-numbers.current{background:var(--navy);color:#fff;border-color:var(--navy)}
.pagination .page-numbers:hover{background:var(--surface-alt)}

/* ===== Blog: post único / página ===== */
.single-post{padding-top:148px}
.single-post h1{margin:14px 0 18px}
.post-meta{color:var(--text-faint);font-size:.9rem;margin:0 0 30px}
.single-post-thumb{border-radius:24px;overflow:hidden;margin-bottom:34px}
.entry-content{font-size:1.08rem;line-height:1.75;color:var(--text)}
.entry-content p{margin:0 0 22px}
.entry-content h2{font-size:1.6rem;margin:44px 0 16px;letter-spacing:-.02em}
.entry-content h3{font-size:1.25rem;margin:34px 0 14px}
.entry-content a{color:var(--orange-text);text-decoration:underline;text-underline-offset:2px}
.entry-content ul,.entry-content ol{margin:0 0 22px;padding-left:24px}
.entry-content li{margin-bottom:8px}
.entry-content blockquote{margin:30px 0;padding:20px 26px;background:var(--surface-alt);border-left:4px solid var(--orange);border-radius:0 16px 16px 0;font-weight:600}
.entry-content img{border-radius:16px;margin:24px 0}
.entry-content figcaption{color:var(--text-faint);font-size:.86rem;text-align:center;margin-top:8px}

/* ===== Comentários (padrão do WordPress, estilo mínimo) ===== */
.comments-area{margin-top:60px;padding-top:40px;border-top:1px solid var(--border)}
.comment-form input,.comment-form textarea{width:100%;padding:12px 16px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-family:inherit;font-size:.95rem;margin-bottom:14px}
.comment-form textarea{min-height:120px}
.comment-form .submit{background:var(--orange);color:var(--navy);border:0;border-radius:999px;padding:0 22px;min-height:48px;font-weight:850;cursor:pointer}

/* ===== Widget SendPulse (WhatsApp flutuante) — mesmo ajuste de posição do site institucional ===== */
.sendpulse-msg-widget-wrap,#\31 85ae055-c0b5-4921-b228-433e67f05e67{position:fixed!important;right:20px!important;bottom:20px!important;left:auto!important;top:auto!important;z-index:400!important}
@media(max-width:600px){.sendpulse-msg-widget-wrap,#\31 85ae055-c0b5-4921-b228-433e67f05e67{right:14px!important;bottom:14px!important}}

@media(max-width:950px){
  .links{display:none}.menu{display:block}.links.open{display:flex;position:absolute;top:76px;left:0;right:0;padding:20px;background:var(--surface);flex-direction:column;align-items:stretch;box-shadow:0 20px 40px var(--card-shadow)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}.footer-brand{grid-column:1/-1}
  .post-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .container{width:min(var(--max),calc(100% - 28px))}.section{padding:78px 0}
  .blog-hero{padding-top:115px}.single-post{padding-top:115px}
  .post-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}.footer-brand{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
