/*
Theme Name: ASCOTRI - Contabilidade para Terreiro
Theme URI: https://contabilidadeparaterreiro.com.br/
Author: ASCOTRI
Author URI: https://contabilidadeparaterreiro.com.br/
Description: Tema WordPress para a ASCOTRI - Contabilidade especializada em terreiros e templos. Todos os textos sao editaveis pelo Personalizador (Customizer) e o tema e totalmente compativel com o Elementor.
Version: 1.3.4
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ascotri
Tags: business, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, blog, elementor
*/

:root{ --brand:#1B4FA0; --accent:#C0392B; color-scheme:only light; }
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden;color-scheme:only light;background:#EDF2F8}
body{margin:0;background:#EDF2F8;color:#16233B;font-family:'Figtree',system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden;max-width:100%}
a{color:inherit}
img{display:block;max-width:100%}
.wrap{max-width:1200px;margin:0 auto}
@keyframes wapulse{0%{box-shadow:0 0 0 0 rgba(37,135,73,.5)}70%{box-shadow:0 0 0 16px rgba(37,135,73,0)}100%{box-shadow:0 0 0 0 rgba(37,135,73,0)}}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
/* Reveal moderno: fade + subida + leve escala, com curva suave e stagger via --d */
[data-reveal]{opacity:0;transform:translateY(28px) scale(.985);will-change:opacity,transform;transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1);transition-delay:calc(var(--d,0) * .07s)}
[data-reveal].is-in{opacity:1;transform:none}
/* Realce sutil ao surgir os cards + lift no hover */
.ascotri-home .card,.acard,.esp-card{transition:box-shadow .3s ease,border-color .3s ease,transform .35s cubic-bezier(.22,.61,.36,1)}
.ascotri-home .card:hover,.acard:hover,.esp-card:hover{transform:translateY(-5px)}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
  .fab{animation:none!important}
}

/* top bar */
.topbar{background:var(--brand);color:#E7EEF9;font-size:13.5px}
.topbar .row{padding:9px 24px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.topbar a.wa{color:#fff;text-decoration:none;display:flex;align-items:center;gap:8px;font-weight:600;letter-spacing:.2px}
.topbar .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px rgba(192,57,43,.3)}
.topbar .tagline{opacity:.9;font-style:italic;font-family:'Spectral',serif}
.topbar .socials{display:flex;gap:8px;align-items:center}
.topbar .socials a{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;transition:background .2s ease,transform .2s ease}
.topbar .socials a:hover{background:rgba(255,255,255,.28);transform:translateY(-1px)}
.topbar .socials a svg,.topbar .socials a img{width:16px;height:16px;display:block}

/* header */
header#site-header{position:sticky;top:0;z-index:50;background:#fff;backdrop-filter:saturate(180%) blur(12px);-webkit-backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid rgba(20,40,80,.08);box-shadow:0 8px 26px rgba(20,40,80,.08);transition:background .3s ease, box-shadow .3s ease, border-color .3s ease}
header#site-header.is-scrolled{background:rgba(255,255,255,.93);box-shadow:0 8px 26px rgba(20,40,80,.1);border-bottom-color:rgba(20,40,80,.08)}
body.admin-bar header#site-header{top:32px}
@media screen and (max-width:782px){body.admin-bar header#site-header{top:46px}}
header .hrow{padding:13px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
#site-header .brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit}
#site-header .brand .glyph{position:relative;width:46px;height:46px;flex:none;border-radius:13px;background:linear-gradient(135deg,var(--brand),#15407F);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(27,79,160,.28)}
#site-header .brand .glyph b{font-family:'Spectral',serif;color:#fff;font-size:23px;font-weight:700;line-height:1}
#site-header .brand .glyph i{position:absolute;right:-3px;bottom:-3px;width:15px;height:15px;border-radius:50%;background:var(--accent);border:2.5px solid #fff}
#site-header .brand .custom-logo,#site-header .brand img.custom-logo{max-height:70px;width:auto;height:auto}
footer.site-footer .fbrand .custom-logo{max-height:44px;width:auto;height:auto}
#site-header .brand .name{display:flex;flex-direction:column;line-height:1.04}
#site-header .brand .name .n1{font-size:21px;font-weight:800;letter-spacing:-.3px;color:var(--accent)}
#site-header .brand .name .n2{font-size:10.5px;letter-spacing:2px;color:var(--brand);font-weight:700;text-transform:uppercase}
nav.main{display:flex;align-items:center;gap:3px;flex-wrap:wrap;justify-content:flex-end}
nav.main ul{list-style:none;display:flex;align-items:center;gap:3px;flex-wrap:wrap;justify-content:flex-end;margin:0;padding:0}
nav.main a{text-decoration:none;color:#3A4762;font-size:13px;font-weight:600;letter-spacing:.2px;padding:8px 10px;border-radius:8px;transition:color .2s ease, background .2s ease}
nav.main a:hover{color:var(--brand);background:rgba(27,79,160,.08)}
.btn-pill{margin-left:8px;text-decoration:none;background:var(--brand);color:#fff;font-size:13px;font-weight:700;padding:10px 18px;border-radius:999px;box-shadow:0 6px 16px rgba(27,79,160,.26);transition:transform .2s ease, box-shadow .2s ease}
nav.main a.btn-pill,nav.main a.btn-pill:hover{color:#fff;background:var(--brand)}
.btn-pill:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(27,79,160,.34)}
.menu-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px;border-radius:8px}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--brand);margin:5px 0;border-radius:2px;transition:.3s}

/* hero */
#inicio{position:relative;padding:clamp(30px,4vw,52px) 24px clamp(36px,5vw,60px);display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(30px,5vw,60px);align-items:center}
.ascotri-home .eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--brand);background:rgba(27,79,160,.1);padding:7px 15px;border-radius:999px}
.ascotri-home .eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--accent)}
h1.hero{font-family:'Spectral',serif;font-weight:600;font-size:clamp(35px,5.1vw,60px);line-height:1.07;letter-spacing:-.5px;margin:22px 0 0;color:#152238}
h1.hero em{color:var(--brand);font-style:italic;position:relative}
h1.hero em i{position:absolute;left:0;right:0;bottom:4px;height:9px;background:rgba(192,57,43,.28);z-index:-1;border-radius:4px}
.ascotri-home .lead{font-size:clamp(16px,1.4vw,18.5px);line-height:1.65;color:#4B586E;max-width:560px;margin:22px 0 0}
.ascotri-home .lead strong{color:#27344A}
.cta-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.cta-primary{text-decoration:none;background:var(--brand);color:#fff;font-weight:700;font-size:15.5px;padding:15px 27px;border-radius:999px;box-shadow:0 10px 24px rgba(27,79,160,.28);transition:transform .2s ease, box-shadow .2s ease;display:inline-flex;align-items:center;gap:10px}
.cta-primary:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(27,79,160,.36)}
.cta-ghost{text-decoration:none;background:#fff;color:var(--brand);font-weight:700;font-size:15.5px;padding:15px 27px;border-radius:999px;border:1.5px solid rgba(27,79,160,.22);transition:border-color .2s ease, transform .2s ease}
.cta-ghost:hover{border-color:var(--brand);transform:translateY(-2px)}
.quote-card{position:relative;background:linear-gradient(160deg,#1B4FA0 0%,#143A78 100%);border-radius:24px;padding:36px 32px;color:#E9F0FB;box-shadow:0 26px 56px rgba(20,45,90,.3);overflow:hidden}
.quote-card .blob{position:absolute;top:-46px;right:-46px;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle, rgba(192,57,43,.45), transparent 68%)}
.quote-card q{font-family:'Spectral',serif;font-style:italic;font-size:22px;color:#fff;line-height:1.35;display:block}
.quote-card q:before,.quote-card q:after{content:''}
.quote-card hr{height:1px;background:rgba(255,255,255,.22);border:0;margin:26px 0}
.vlist{display:grid;gap:14px}
.vlist .v{display:flex;align-items:center;gap:13px}
.vlist .v .num{width:34px;height:34px;flex:none;border-radius:9px;background:rgba(255,255,255,.13);display:flex;align-items:center;justify-content:center;font-family:'Spectral',serif;font-weight:600;color:#fff;border:1px solid rgba(255,255,255,.18)}
.vlist .v .t{font-weight:700;font-size:15px;color:#fff}
.vlist .v .d{font-size:12.5px;opacity:.82}
/* card promo do e-book */
.promo-card{padding:20px 22px 22px;height:560px;display:flex;flex-direction:column;overflow:hidden}
.promo-card > div:not(.blob){position:relative;flex:1;min-height:0;display:flex;flex-direction:column}
.promo-card .promo-badge{display:table;margin:0 auto 12px;background:var(--accent);color:#fff;font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;padding:5px 13px;border-radius:999px;box-shadow:0 8px 18px rgba(192,57,43,.35)}
.promo-card .promo-text{font-family:'Spectral',serif;font-style:italic;font-size:15px;line-height:1.45;color:#eaf0fb;margin:0 0 12px;text-align:center}
.promo-card .promo-img{flex:1;min-height:0;display:block;width:100%;margin:2px auto 0;background:#fff;padding:8px;border-radius:16px;box-shadow:0 16px 34px rgba(0,0,0,.3);transition:transform .3s ease;overflow:hidden}
.promo-card .promo-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:9px}
.promo-card .promo-img:hover{transform:translateY(-3px)}
.promo-card .promo-btn{display:block;text-align:center;margin:12px 0 0;background:#fff;color:var(--brand);font-weight:800;font-size:17.5px;padding:13px 22px;border-radius:999px;text-decoration:none;box-shadow:0 10px 24px rgba(0,0,0,.22);transition:transform .2s ease,box-shadow .2s ease}
.promo-card .promo-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.3)}
.promo-btn-out{display:none;text-align:center;margin:14px 0 0;background:var(--brand);color:#fff;font-weight:800;font-size:17.5px;padding:15px 24px;border-radius:999px;text-decoration:none;box-shadow:0 10px 24px rgba(27,79,160,.26)}

/* quick strip */
.quick-strip{padding:6px 24px 8px}
.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;background:linear-gradient(160deg,#1B4FA0 0%,#143A78 100%);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:26px;box-shadow:0 20px 46px rgba(20,45,90,.22)}
.quick-grid .q{display:flex;gap:14px;align-items:flex-start}
.quick-grid .q .n{font-family:'Spectral',serif;font-size:26px;font-weight:600;color:#F0A79C;line-height:1}
.quick-grid .q .t{font-weight:700;font-size:15.5px;color:#fff}
.quick-grid .q .d{font-size:13px;color:rgba(233,240,251,.82);margin-top:3px;line-height:1.45}

.pad{padding:clamp(24px,3.2vw,42px) 24px}
/* empresa */
#empresa .grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(34px,5vw,64px);align-items:center}
#empresa .photo{position:relative;border-radius:22px;overflow:hidden;box-shadow:0 24px 56px rgba(20,40,80,.16)}
#empresa .photo img{width:100%;height:100%;object-fit:cover}
.ascotri-home .label{font-size:14.5px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;color:var(--accent)}
h2.sec{font-family:'Spectral',serif;font-weight:600;font-size:clamp(28px,3.4vw,42px);line-height:1.12;letter-spacing:-.4px;margin:12px 0 0;color:#152238}
.body-p{font-size:16.5px;line-height:1.68;color:#4B586E;margin:20px 0 0}
.body-p strong{color:#27344A}
.link-arrow{display:inline-flex;align-items:center;gap:9px;margin-top:24px;text-decoration:none;color:var(--brand);font-weight:700;font-size:15px;transition:gap .2s ease}
.link-arrow:hover{gap:14px}

/* especialidades */
#especialidades{background:linear-gradient(180deg,#0E2E5E 0%,#143A78 100%);color:#fff}
#especialidades .head{text-align:center;max-width:680px;margin:0 auto 44px}
#especialidades .head .label{color:#9DBBE8}
#especialidades .head h2{color:#fff}
.esp-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.esp-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:34px}
.esp-tag{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#fff;padding:5px 12px;border-radius:999px}
.esp-card h3{font-family:'Spectral',serif;font-weight:600;font-size:25px;margin:18px 0 0}
.esp-card p{font-size:15.5px;line-height:1.65;color:#D5E2F4;margin:12px 0 22px}
.esp-card a{text-decoration:none;color:#fff;font-weight:700;font-size:14.5px;border-bottom:2px solid var(--accent);padding-bottom:3px}

/* servicos */
#servicos .head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
#servicos .head .copy{max-width:620px}
#servicos .head p{font-size:16px;line-height:1.6;color:#4B586E;margin:14px 0 0}
.btn-wa{text-decoration:none;background:var(--brand);color:#fff;font-weight:700;font-size:14.5px;padding:13px 22px;border-radius:999px;box-shadow:0 8px 20px rgba(27,79,160,.24);transition:transform .2s ease}
.btn-wa:hover{transform:translateY(-2px)}
.ascotri-home .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:26px}
.ascotri-home .card{transition:box-shadow .3s ease, border-color .3s ease;text-decoration:none;color:inherit;background:#fff;border:1px solid #E7ECF3;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 30px rgba(20,40,80,.05)}
.ascotri-home .card:hover{box-shadow:0 22px 48px rgba(20,40,80,.14);border-color:#D4DDEC}
.ascotri-home .card .thumb{overflow:hidden;aspect-ratio:16/9;background:#0E2244}
.ascotri-home .card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.ascotri-home .card:hover .thumb img{transform:scale(1.07)}
.ascotri-home .card .body{padding:22px 22px 24px;flex:1;display:flex;flex-direction:column;align-items:flex-start}
.ascotri-home .card .pill{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--brand);background:rgba(27,79,160,.09);padding:4px 10px;border-radius:999px}
.ascotri-home .card h3{font-family:'Spectral',serif;font-weight:600;font-size:20px;line-height:1.25;margin:14px 0 0;color:#172539}
.ascotri-home .card p{font-size:14px;line-height:1.55;color:#647187;margin:9px 0 16px}
.ascotri-home .card .more{font-weight:700;font-size:14px;color:var(--accent);margin-top:auto}

/* artigos */
#artigos{background:transparent}
#artigos .pad,#contato.pad{padding-top:clamp(6px,1vw,14px)}
#artigos .head{text-align:center;max-width:620px;margin:0 auto 44px}
.acards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:26px}
.acard{transition:box-shadow .3s ease;text-decoration:none;color:inherit;background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 30px rgba(20,40,80,.06)}
.acard:hover{box-shadow:0 22px 50px rgba(20,40,80,.16)}
.acard .thumb{overflow:hidden;aspect-ratio:1/1;background:#0E2244}
.acard .thumb img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .6s ease}
.acard:hover .thumb img{transform:scale(1.06)}
.acard .body{padding:24px;flex:1;display:flex;flex-direction:column;align-items:flex-start}
.acard .pill{font-size:11px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase;color:var(--brand)}
.acard h3{font-family:'Spectral',serif;font-weight:600;font-size:19.5px;line-height:1.3;margin:12px 0 0;color:#172539}
.acard .more{display:inline-block;margin-top:auto;padding-top:16px;font-weight:700;font-size:14px;color:var(--accent)}
.blog-cta{text-align:center;margin-top:32px}
.blog-cta a{text-decoration:none;display:inline-block;background:var(--brand);color:#fff;font-weight:700;font-size:15.5px;padding:15px 30px;border-radius:999px;box-shadow:0 12px 28px rgba(27,79,160,.26);transition:transform .2s ease}
.blog-cta a:hover{transform:translateY(-2px)}

/* contato */
#contato .head{max-width:640px;margin-bottom:28px}
#contato .head p{font-size:16px;line-height:1.6;color:#4B586E;margin:14px 0 0}
.contato-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:start}
.contato-grid>*{min-width:0}
.info-col{display:flex;flex-direction:column;gap:18px;min-width:0}
.info-box{background:#fff;border:1px solid #E7ECF3;border-radius:16px;padding:22px}
.info-box .k{font-size:11.5px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase;color:var(--brand)}
.info-box .v{font-size:15.5px;color:#27344A;margin-top:7px;line-height:1.5}
.info-box a.v{display:block;text-decoration:none}
.info-box a.v:hover{color:var(--accent)}
.ascotri-home .map{border-radius:16px;overflow:hidden;border:1px solid #E7ECF3;height:200px}
.ascotri-home .map iframe{border:0;width:100%;height:100%;display:block}
form.contact{background:#fff;border:1px solid #E7ECF3;border-radius:20px;padding:clamp(24px,3vw,36px);box-shadow:0 18px 46px rgba(20,40,80,.07)}
form.contact .ftitle{font-family:'Spectral',serif;font-weight:600;font-size:22px;color:#172539;margin-bottom:4px}
form.contact .fsub{font-size:13.5px;color:#647187;margin:0 0 22px}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-width:0}
.fgrid>label{min-width:0}
form.contact input,form.contact textarea{max-width:100%}
form.contact label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:#5A6678}
form.contact input,form.contact textarea{font:inherit;font-size:14.5px;padding:12px 13px;border:1.5px solid #E1E7F0;border-radius:10px;outline:none;background:#FAFBFD;color:#16233B;transition:border-color .2s ease}
form.contact input:focus,form.contact textarea:focus{border-color:var(--brand);background:#fff}
form.contact textarea{resize:vertical}
form.contact .full{margin-top:14px}
form.contact button{margin-top:20px;width:100%;font:inherit;font-weight:700;font-size:15.5px;color:#fff;background:var(--brand);border:none;padding:15px;border-radius:12px;cursor:pointer;box-shadow:0 10px 24px rgba(27,79,160,.26);transition:transform .2s ease, box-shadow .2s ease}
form.contact button:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(27,79,160,.34)}
.sent-msg{margin-top:14px;text-align:center;font-size:14px;font-weight:600;color:#1E7E45;background:#E7F6EC;border:1px solid #BCE6C9;padding:11px;border-radius:10px}

/* footer */
footer.site-footer{background:linear-gradient(160deg,#1B4FA0 0%,#143A78 100%);color:rgba(233,240,251,.85);border-top:1px solid rgba(255,255,255,.1);box-shadow:0 -8px 26px rgba(20,40,80,.18)}
footer.site-footer .top{padding:clamp(32px,4vw,52px) 24px 26px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
footer.site-footer .fbrand{display:flex;align-items:center;gap:12px}
footer.site-footer .fbrand .glyph{position:relative;width:42px;height:42px;flex:none;border-radius:12px;background:linear-gradient(135deg,var(--brand),#15407F);display:flex;align-items:center;justify-content:center}
footer.site-footer .fbrand .glyph b{font-family:'Spectral',serif;color:#fff;font-size:21px;font-weight:700}
footer.site-footer .fbrand .glyph i{position:absolute;right:-3px;bottom:-3px;width:14px;height:14px;border-radius:50%;background:var(--accent);border:2.5px solid #143A78}
footer.site-footer .fbrand .n1{font-weight:800;font-size:19px;color:var(--accent)}
footer.site-footer .fbrand .n2{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:#9DBBE8}
footer.site-footer .fdesc{font-size:14px;line-height:1.6;color:rgba(233,240,251,.8);margin:18px 0 0;max-width:330px}
footer.site-footer .fsoc{display:flex;gap:12px;margin-top:20px}
footer.site-footer .fsoc a{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease,transform .2s ease}
footer.site-footer .fsoc a:hover{background:var(--accent);color:#fff;transform:translateY(-2px)}
footer.site-footer .fsoc a svg,footer.site-footer .fsoc a img{width:20px;height:20px;display:block}
footer.site-footer .ftitle{font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#fff;margin-bottom:16px}
footer.site-footer .fcol{display:flex;flex-direction:column;gap:11px}
footer.site-footer .fcol ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
footer.site-footer .fcol a{text-decoration:none;color:rgba(233,240,251,.82);font-size:14.5px}
footer.site-footer .fcol a:hover{color:#fff}
footer.site-footer .fcontact{display:flex;flex-direction:column;gap:11px;font-size:14.5px;color:rgba(233,240,251,.82)}
footer.site-footer .fcontact a{text-decoration:none;color:rgba(233,240,251,.82)}
footer.site-footer .fcontact a:hover{color:#fff}
footer.site-footer .copy{border-top:1px solid rgba(255,255,255,.14)}
footer.site-footer .copy .row{padding:20px 24px;font-size:12.5px;color:rgba(233,240,251,.7);text-align:center}

/* floating wa */
.fab{position:fixed;right:22px;bottom:22px;z-index:80;width:58px;height:58px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(37,211,102,.4);animation:wapulse 2.4s infinite, floaty 3.5s ease-in-out infinite;transition:transform .2s ease}
.fab:hover{transform:scale(1.08)}

/* generic WP content (pages / posts / Elementor fallback) */
.ascotri-content{padding:clamp(40px,6vw,80px) 24px}
.ascotri-content .entry-title{font-family:'Spectral',serif;font-weight:600;font-size:clamp(28px,3.4vw,42px);color:#152238;margin:0 0 24px}
.ascotri-content .entry-content{font-size:16.5px;line-height:1.7;color:#39465e}
.ascotri-content .entry-content a{color:var(--brand)}
.ascotri-content img{height:auto}
.ascotri-archive{padding:clamp(40px,6vw,80px) 24px}
.ascotri-archive .archive-title{font-family:'Spectral',serif;font-weight:600;font-size:clamp(26px,3vw,38px);color:#152238;margin:0 0 30px}
.post-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:26px}
.post-card{background:#fff;border:1px solid #E7ECF3;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(20,40,80,.06)}
.post-card .thumb img{width:100%;height:200px;object-fit:cover}
.post-card .body{padding:22px}
.post-card h2{font-family:'Spectral',serif;font-size:20px;margin:0 0 10px}
.post-card h2 a{text-decoration:none;color:#172539}
.post-card .excerpt{font-size:14px;color:#647187;line-height:1.55}
.ascotri-pagination{margin-top:40px;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.ascotri-pagination ul{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.ascotri-pagination .page-numbers{padding:8px 14px;border-radius:8px;background:#fff;border:1px solid #E7ECF3;text-decoration:none;color:var(--brand);font-weight:600}
.ascotri-pagination .page-numbers.current{background:var(--brand);color:#fff}

/* comentarios */
.comments-area{margin-top:48px;background:#fff;border:1px solid #E7ECF3;border-radius:20px;padding:clamp(22px,3vw,34px);box-shadow:0 14px 40px rgba(20,40,80,.05)}
.comments-area .comments-title,.comments-area .comment-reply-title{font-family:'Spectral',serif;font-weight:600;font-size:24px;color:#172539;margin:0 0 18px}
.comments-area .comment-reply-title small{font-size:13px;font-weight:500;margin-left:8px}
.comments-area .comment-reply-title small a{color:var(--accent);text-decoration:none}
.comment-list{list-style:none;margin:0 0 24px;padding:0}
.comment-list li{list-style:none}
.comment-list .comment-body{background:#fff;border:1px solid #EAF0F7;border-radius:14px;padding:18px 20px;margin:0 0 16px}
.comment-list .comment-author{display:flex;align-items:center;gap:10px;font-weight:700;color:#172539;font-size:15px}
.comment-list .comment-author img{border-radius:50%}
.comment-list .comment-author .says{display:none}
.comment-list .comment-meta{font-size:12px;margin:2px 0 10px}
.comment-list .comment-meta a{color:#8794A8;text-decoration:none}
.comment-list .comment-content{color:#4B586E;line-height:1.6;font-size:14.5px}
.comment-list .reply{margin-top:8px}
.comment-list .reply a{font-size:13px;font-weight:700;color:var(--brand);text-decoration:none}
.comment-list .children{list-style:none;margin:0 0 0 22px;padding:0}
.comment-form{margin-top:8px}
.comment-form .logged-in-as,.comment-form .comment-notes{font-size:13px;color:#647187;margin:0 0 16px}
.comment-form .logged-in-as a,.comment-form .comment-notes a{color:var(--brand)}
.comment-form label{display:block;font-size:12.5px;font-weight:600;color:#5A6678;margin-bottom:6px}
.comment-form .required{color:var(--accent)}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;max-width:100%;font:inherit;font-size:14.5px;padding:12px 13px;border:1.5px solid #E1E7F0;border-radius:10px;outline:none;background:#FAFBFD;color:#16233B;transition:border-color .2s ease}
.comment-form input:focus,.comment-form textarea:focus{border-color:var(--brand);background:#fff}
.comment-form textarea{resize:vertical;min-height:120px}
.comment-form .comment-form-comment,.comment-form p{margin:0 0 16px}
.comment-form .form-submit{margin:4px 0 0}
.comment-form .submit{cursor:pointer;font:inherit;font-weight:700;font-size:15px;color:#fff;background:var(--brand);border:none;padding:13px 28px;border-radius:12px;box-shadow:0 10px 24px rgba(27,79,160,.26);transition:transform .2s ease,box-shadow .2s ease}
.comment-form .submit:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(27,79,160,.34)}

/* Botao de fechar do drawer (so aparece no mobile) */
.drawer-close{display:none}

@media(max-width:880px){
  #inicio,#empresa .grid,.esp-grid,.contato-grid{grid-template-columns:1fr}
  #inicio{align-items:stretch}
  .topbar .tagline{display:none}
  .menu-toggle{display:block;position:relative;z-index:130;align-self:center}

  /* Header e logo maiores no mobile, tudo centralizado verticalmente */
  #site-header .hrow{padding-top:18px;padding-bottom:18px;align-items:center}
  #site-header .brand .custom-logo,#site-header .brand img.custom-logo{max-height:70px}

  /* Botao Conhecer os servicos so no desktop */
  .cta-row .cta-ghost{display:none}

  /* Barra superior organizada no mobile: itens empilhados e centralizados */
  .topbar .row{flex-direction:column;justify-content:center;gap:8px;text-align:center}
  .topbar a.wa{justify-content:center}
  .topbar .row > div{justify-content:center}
  .topbar .socials{justify-content:center}

  /* Drawer lateral estilo app */
  nav.main{
    position:fixed;top:0;right:0;bottom:0;
    height:100vh;height:100dvh;
    width:min(84vw,330px);
    background:#fff;
    box-shadow:-24px 0 60px rgba(15,30,60,.22);
    padding:84px 20px 28px;
    display:flex;flex-direction:column;align-items:stretch;gap:2px;
    transform:translateX(105%);
    transition:transform .34s cubic-bezier(.4,0,.2,1);
    z-index:120;overflow-y:auto;-webkit-overflow-scrolling:touch;
    justify-content:flex-start;flex-wrap:nowrap
  }
  nav.main.open{transform:translateX(0)}
  nav.main ul{flex-direction:column;align-items:stretch;gap:0;width:100%;justify-content:flex-start;flex-wrap:nowrap}
  nav.main li{border-bottom:1px solid #EEF1F6}
  nav.main a{display:block;padding:15px 8px;font-size:15px;border-radius:10px}
  nav.main a.btn-pill{margin:18px 0 0;text-align:center;padding:15px;font-size:15px}

  /* Botao fechar dentro do drawer */
  .drawer-close{display:block;position:absolute;top:16px;right:16px;width:42px;height:42px;border:0;background:rgba(27,79,160,.08);border-radius:12px;cursor:pointer}
  .drawer-close::before,.drawer-close::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:2px;background:var(--brand);border-radius:2px}
  .drawer-close::before{transform:translate(-50%,-50%) rotate(45deg)}
  .drawer-close::after{transform:translate(-50%,-50%) rotate(-45deg)}

  /* Trava o scroll do fundo com o menu aberto */
  body.menu-open{overflow:hidden}

  /* Hamburger vira X */
  .menu-toggle span{transition:transform .3s ease,opacity .2s ease}
  .menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-toggle.is-open span:nth-child(2){opacity:0}
  .menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  /* Centraliza conteudo das secoes no mobile (mais organizado) */
  #inicio > div:first-child{text-align:center}
  #inicio > div:first-child .lead{margin-left:auto;margin-right:auto}
  #inicio > div:first-child .cta-row{justify-content:center}
  #especialidades .esp-card{text-align:center}
  #empresa .grid > div{text-align:center}
  #empresa .link-arrow{justify-content:center}
  #servicos .head{text-align:center;flex-direction:column;align-items:center}
  #servicos .head .copy{margin:0 auto}
  #contato .head{text-align:center}
  .ascotri-home .card .body,.acard .body{text-align:center}

  /* Rodape centralizado no mobile */
  footer.site-footer .top{grid-template-columns:1fr 1fr;gap:30px 22px;text-align:left}
  footer.site-footer .top > div:first-child{grid-column:1 / -1;text-align:center}
  footer.site-footer .fbrand{justify-content:center}
  footer.site-footer .fdesc{margin-left:auto;margin-right:auto}
  footer.site-footer .fsoc{justify-content:center}
  footer.site-footer .fcol,footer.site-footer .fcol ul,footer.site-footer .fcontact{align-items:flex-start}

  /* Card do e-book: imagem maior e com mais destaque no mobile (altura livre) */
  .promo-card{padding:26px 18px;height:auto;display:block}
  .promo-card > div:not(.blob){display:block}
  .promo-card .promo-img{width:auto;max-width:100%;margin:2px auto 0;box-shadow:0 20px 44px rgba(0,0,0,.4)}
  .promo-card .promo-img img{max-height:none;height:auto;width:100%}

  /* Botao "Conhecer os servicos" sai do card azul no mobile */
  .promo-card .promo-btn{display:none}
  .promo-btn-out{display:block}
}

@media(max-width:460px){
  footer.site-footer .top{grid-template-columns:1fr;text-align:center}
  footer.site-footer .fcol,footer.site-footer .fcol ul,footer.site-footer .fcontact{align-items:center}
}
