/* WebFusion Digital — shell compartilhado
   Header, footer e páginas auxiliares. Mantido propositalmente sem dependência de framework. */
:root{
  --wf-shell-bg:rgba(3,5,12,.84);
  --wf-shell-bg-solid:#05070e;
  --wf-shell-surface:#0c101b;
  --wf-shell-surface-2:#111827;
  --wf-shell-text:#f8fafc;
  --wf-shell-muted:#9aa5b5;
  --wf-shell-border:rgba(255,255,255,.10);
  --wf-shell-primary:#0055ff;
  --wf-shell-accent:#00e5ff;
  --wf-shell-violet:#7c3aff;
  --wf-shell-max:1280px;
  --wf-shell-radius:18px;
  --wf-section-y:7rem;
  --wf-section-y-mobile:5rem;
}
html.light{
  --wf-shell-bg:rgba(255,255,255,.90);
  --wf-shell-bg-solid:#f8faff;
  --wf-shell-surface:#ffffff;
  --wf-shell-surface-2:#eef3ff;
  --wf-shell-text:#0b1220;
  --wf-shell-muted:#5b6576;
  --wf-shell-border:rgba(15,35,75,.12);
}
html,body{font-family:'Inter',sans-serif;}
body{scroll-padding-top:92px;}
button,input,textarea,select{font-family:'Inter',sans-serif;}
.wf-section{padding-top:var(--wf-section-y)!important;padding-bottom:var(--wf-section-y)!important;}
.wf-section-heading{margin-bottom:3.5rem!important;}
.wf-site-header,.wf-site-header *,.wf-site-footer,.wf-site-footer *,.wf-mobile-drawer,.wf-mobile-drawer *{box-sizing:border-box}
.wf-site-header{
  position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:9000!important;
  background:var(--wf-shell-bg)!important;border-bottom:1px solid var(--wf-shell-border)!important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  box-shadow:0 8px 32px rgba(0,0,0,.10);transition:background .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.wf-site-header__inner{width:min(var(--wf-shell-max),calc(100% - 32px));min-height:76px;margin:0 auto;display:flex;align-items:center;gap:24px}
.wf-brand{display:inline-flex;align-items:center;gap:10px;min-width:max-content;text-decoration:none;color:var(--wf-shell-text)}
.wf-brand__icon{width:34px;height:34px;flex:0 0 auto}
.wf-brand__name{font-family:'Syne',sans-serif;font-weight:800;font-size:1.16rem;letter-spacing:-.035em;white-space:nowrap}
.wf-brand__web{background:linear-gradient(135deg,#00e5ff,#0055ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.wf-brand__fusion{background:linear-gradient(135deg,#0055ff,#7c3aff);-webkit-background-clip:text;background-clip:text;color:transparent}
.wf-brand__digital{color:var(--wf-shell-text);font-weight:700}
.wf-site-nav{margin-left:auto;display:flex;align-items:center;gap:30px}
.wf-site-nav a{position:relative;color:color-mix(in srgb,var(--wf-shell-text) 76%,transparent);font-size:.9rem;font-weight:600;text-decoration:none;white-space:nowrap;transition:color .18s ease}
.wf-site-nav a::after{content:'';position:absolute;left:0;right:100%;bottom:-8px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--wf-shell-primary),var(--wf-shell-accent));transition:right .2s ease}
.wf-site-nav a:hover,.wf-site-nav a:focus-visible{color:var(--wf-shell-text)}
.wf-site-nav a:hover::after,.wf-site-nav a:focus-visible::after{right:0}
.wf-header-actions{display:flex;align-items:center;gap:10px;margin-left:6px}
.wf-lang{display:flex;align-items:center;padding:3px;border:1px solid var(--wf-shell-border);border-radius:999px;background:color-mix(in srgb,var(--wf-shell-surface) 82%,transparent)}
.wf-lang button{min-width:48px;height:30px;padding:0 8px;border:0;border-radius:999px;background:transparent;color:var(--wf-shell-muted);font:inherit;font-size:.72rem;font-weight:800;cursor:pointer;transition:.18s ease;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.wf-lang__flag{width:18px;height:13px;border-radius:2px;display:block;flex:0 0 auto;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.wf-lang--compact button{min-width:32px;width:32px;padding:0}.wf-lang--compact .wf-lang__label{display:none}
.wf-lang button.active{background:var(--wf-shell-surface-2);color:var(--wf-shell-text);box-shadow:0 2px 10px rgba(0,0,0,.12)}
.wf-icon-btn{width:38px;height:38px;border:1px solid var(--wf-shell-border);border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--wf-shell-surface) 82%,transparent);color:var(--wf-shell-text);cursor:pointer;transition:.18s ease}
.wf-icon-btn:hover{border-color:color-mix(in srgb,var(--wf-shell-accent) 60%,var(--wf-shell-border));transform:translateY(-1px)}
.wf-icon-btn svg{width:18px;height:18px}
.wf-header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 19px;border-radius:999px;text-decoration:none;font-size:.84rem;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--wf-shell-primary),#2147e8);box-shadow:0 8px 25px rgba(0,85,255,.22);transition:.18s ease}
.wf-header-cta:hover{transform:translateY(-1px);background:linear-gradient(135deg,#064bdc,var(--wf-shell-primary));box-shadow:0 10px 28px rgba(0,85,255,.30)}
.wf-mobile-actions{display:none;margin-left:auto;align-items:center;gap:7px}
.wf-mobile-drawer{position:fixed;inset:0;z-index:9100;pointer-events:none}
.wf-mobile-drawer.hidden{display:none!important}
.wf-mobile-drawer__overlay{position:absolute;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.wf-mobile-drawer__panel{position:absolute;right:0;top:0;height:100%;width:min(88vw,380px);padding:22px;background:var(--wf-shell-bg-solid);border-left:1px solid var(--wf-shell-border);box-shadow:-24px 0 60px rgba(0,0,0,.28);pointer-events:auto;transform:translateX(0);transition:transform .25s ease}
.wf-mobile-drawer.translate-x-full .wf-mobile-drawer__panel{transform:translateX(100%)}
.wf-mobile-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--wf-shell-border)}
.wf-mobile-drawer__nav{display:grid;gap:6px;padding:24px 0}
.wf-mobile-drawer__nav a{padding:13px 14px;border-radius:12px;color:var(--wf-shell-text);text-decoration:none;font-weight:700;transition:.18s ease}
.wf-mobile-drawer__nav a:hover{background:var(--wf-shell-surface);color:var(--wf-shell-accent)}
.wf-mobile-drawer__footer{display:grid;gap:12px;padding-top:16px;border-top:1px solid var(--wf-shell-border)}
.wf-mobile-drawer__lang{display:flex;gap:8px}.wf-mobile-drawer__lang button{flex:1;min-height:40px;border:1px solid var(--wf-shell-border);border-radius:999px;background:var(--wf-shell-surface);color:var(--wf-shell-muted);font:inherit;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.wf-mobile-drawer__lang button.active{color:var(--wf-shell-text);border-color:rgba(0,229,255,.38)}

/* Footer */
.wf-site-footer{position:relative;background:linear-gradient(180deg,#04060c 0%,#020308 100%)!important;border-top:1px solid rgba(255,255,255,.08)!important;color:#fff!important;padding:0!important;overflow:hidden}
html.light .wf-site-footer{background:linear-gradient(180deg,#eef3ff 0%,#e7edfb 100%)!important;color:#0b1220!important;border-color:rgba(10,30,70,.10)!important}
.wf-site-footer::before{content:'';position:absolute;left:50%;top:-180px;width:620px;height:300px;transform:translateX(-50%);background:radial-gradient(circle,rgba(0,85,255,.13),transparent 68%);pointer-events:none}
.wf-footer-main{position:relative;width:min(var(--wf-shell-max),calc(100% - 32px));margin:0 auto;padding:58px 0 38px;display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(150px,.7fr) minmax(210px,.85fr) minmax(250px,1fr);gap:42px}
.wf-footer-brand p{max-width:390px;margin:18px 0 22px;color:#8e99aa;font-size:.92rem;line-height:1.7}
html.light .wf-footer-brand p{color:#586174}
.wf-footer-social{display:flex;gap:10px}.wf-footer-social a,.wf-footer-social__pending{width:38px;height:38px;border:1px solid rgba(255,255,255,.10);border-radius:50%;display:grid;place-items:center;color:#a7b0bf;text-decoration:none;transition:.18s ease}.wf-footer-social a:hover{color:#00e5ff;border-color:rgba(0,229,255,.35);transform:translateY(-2px)}
html.light .wf-footer-social a,html.light .wf-footer-social__pending{border-color:rgba(10,30,70,.12);color:#536072}
.wf-footer-social svg{width:18px;height:18px}.wf-footer-social__pending{cursor:default;opacity:.78}.wf-footer-social__pending:hover{transform:none!important;color:#a7b0bf!important;border-color:rgba(255,255,255,.14)!important}html.light .wf-footer-social__pending:hover{color:#536072!important;border-color:rgba(10,30,70,.12)!important}
.wf-footer-col h2,.wf-footer-col h3,.wf-footer-col h4{margin:0 0 17px;color:#fff!important;font-size:.76rem!important;text-transform:uppercase;letter-spacing:.13em;font-weight:800!important}
html.light .wf-footer-col h2,html.light .wf-footer-col h3,html.light .wf-footer-col h4{color:#111827!important}
.wf-footer-links{list-style:none;margin:0;padding:0;display:grid;gap:11px}.wf-footer-links a,.wf-footer-links li{color:#8e99aa!important;font-size:.86rem;line-height:1.45;text-decoration:none;font-weight:500!important}.wf-footer-links a:hover{color:#00e5ff!important}
html.light .wf-footer-links a,html.light .wf-footer-links li{color:#596579!important}.wf-footer-contact a{word-break:break-word}
.wf-footer-legal-slot .wf-legal-links{margin:0!important;padding:0!important;border:0!important}.wf-footer-legal-slot .wf-legal-links__title{color:#fff!important;margin:0 0 17px!important;font-size:.76rem!important;letter-spacing:.13em!important}.wf-footer-legal-slot .wf-legal-links__items{display:grid!important;gap:11px!important}.wf-footer-legal-slot .wf-legal-links button{color:#8e99aa!important;font-size:.86rem!important;font-weight:500!important}.wf-footer-legal-slot .wf-legal-links button:hover{color:#00e5ff!important}
html.light .wf-footer-legal-slot .wf-legal-links__title{color:#111827!important}html.light .wf-footer-legal-slot .wf-legal-links button{color:#596579!important}
.wf-footer-bottom{position:relative;width:min(var(--wf-shell-max),calc(100% - 32px));margin:0 auto;border-top:1px solid rgba(255,255,255,.08);padding:22px 0 26px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;color:#697486;font-size:.74rem}
html.light .wf-footer-bottom{border-color:rgba(10,30,70,.10);color:#697486}
.wf-footer-bottom__copy{justify-self:start}.wf-footer-bottom__credit{justify-self:end}
.wf-footer-bottom__credit .wf-webfusion-credit{margin:0!important;padding:0!important;border:0!important;width:auto!important;color:#697486!important;font-size:.74rem!important}.wf-footer-bottom__credit .wf-webfusion-credit a{color:#aeb6c4!important}.wf-footer-bottom__credit .wf-webfusion-credit a:hover{color:#00e5ff!important}
html.light .wf-footer-bottom__credit .wf-webfusion-credit a{color:#334155!important}

/* Página auxiliar padrão */
.wf-aux-body{min-height:100vh;background:#05070e;color:#f8fafc;font-family:'Inter',sans-serif}.light .wf-aux-body{background:#f6f8fd;color:#0b1220}
.wf-aux-main{min-height:72vh;padding:calc(76px + var(--wf-section-y)) 20px var(--wf-section-y);display:grid;place-items:center;position:relative;overflow:hidden}
.wf-aux-main::before,.wf-aux-main::after{content:'';position:absolute;border-radius:999px;filter:blur(100px);pointer-events:none}.wf-aux-main::before{width:420px;height:420px;background:rgba(0,85,255,.12);top:20px;left:-160px}.wf-aux-main::after{width:360px;height:360px;background:rgba(124,58,255,.10);right:-140px;bottom:0}
.wf-aux-card{position:relative;z-index:1;width:min(900px,100%);padding:44px;border:1px solid var(--wf-shell-border);border-radius:26px;background:color-mix(in srgb,var(--wf-shell-surface) 92%,transparent);box-shadow:0 30px 90px rgba(0,0,0,.28);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.wf-aux-badge{display:inline-flex;align-items:center;gap:8px;margin-bottom:18px;padding:7px 11px;border:1px solid rgba(0,229,255,.25);border-radius:999px;color:#67e8f9;background:rgba(0,229,255,.07);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.light .wf-aux-badge{color:#0055ff;border-color:rgba(0,85,255,.18);background:rgba(0,85,255,.06)}
.wf-aux-card h1{margin:0 0 15px;font-family:'Syne',sans-serif;font-weight:800;font-size:clamp(2.1rem,6vw,4.7rem);line-height:1.02;letter-spacing:-.045em}.wf-aux-card>p{max-width:680px;margin:0;color:var(--wf-shell-muted);font-size:1rem;line-height:1.75}
.wf-aux-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.wf-aux-primary,.wf-aux-secondary{min-height:46px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:.86rem;font-weight:800;transition:.18s ease}.wf-aux-primary{color:#fff;background:linear-gradient(135deg,var(--wf-shell-primary),#2147e8)}.wf-aux-primary:hover{transform:translateY(-1px)}.wf-aux-secondary{color:var(--wf-shell-text);border:1px solid var(--wf-shell-border);background:var(--wf-shell-surface-2)}
.wf-aux-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:34px}.wf-aux-mini{padding:18px;border:1px solid var(--wf-shell-border);border-radius:16px;background:color-mix(in srgb,var(--wf-shell-surface-2) 78%,transparent)}.wf-aux-mini strong{display:block;margin-bottom:6px;color:var(--wf-shell-text);font-size:.88rem}.wf-aux-mini span{display:block;color:var(--wf-shell-muted);font-size:.8rem;line-height:1.55}.wf-aux-icon{width:48px;height:48px;margin-bottom:18px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#0055ff,#7c3aff);box-shadow:0 12px 30px rgba(0,85,255,.22)}.wf-aux-icon svg{width:25px;height:25px}

@media(max-width:1060px){.wf-site-nav,.wf-header-actions{display:none}.wf-mobile-actions{display:flex}.wf-footer-main{grid-template-columns:1.35fr 1fr 1fr}.wf-footer-main>.wf-footer-col:last-child{grid-column:2/4}}
@media(max-width:760px){:root{--wf-section-y:var(--wf-section-y-mobile)}.wf-site-header__inner{width:min(100% - 22px,1280px);min-height:68px;gap:10px}.wf-brand__icon{width:30px;height:30px}.wf-brand__name{font-size:1rem}.wf-brand__digital{display:none}.wf-mobile-actions .wf-lang{display:flex}.wf-footer-main{grid-template-columns:1fr;padding:44px 0 30px;gap:30px}.wf-footer-main>.wf-footer-col:last-child{grid-column:auto}.wf-footer-bottom{grid-template-columns:1fr;text-align:center;padding:20px 0}.wf-footer-bottom__copy,.wf-footer-bottom__credit{justify-self:center}.wf-aux-main{padding:calc(68px + var(--wf-section-y)) 14px var(--wf-section-y)}.wf-aux-card{padding:28px 22px;border-radius:22px}.wf-aux-grid{grid-template-columns:1fr}.wf-aux-actions{display:grid}.wf-aux-primary,.wf-aux-secondary{width:100%}}
@media(prefers-reduced-motion:reduce){.wf-site-header *,.wf-site-footer *,.wf-mobile-drawer *{transition:none!important;animation:none!important}}
/* Acessibilidade e utilitários necessários também fora do Tailwind */
.skip-link{position:fixed;left:14px;top:-80px;z-index:12000;padding:10px 14px;border-radius:10px;background:#fff;color:#061019;font-weight:800;text-decoration:none;transition:top .18s ease}.skip-link:focus{top:12px}.wf-mobile-drawer__overlay.hidden{display:none!important}


/* Acabamento visual compartilhado */
.wf-brand{gap:12px}
.wf-brand__icon{width:42px;height:42px;filter:drop-shadow(0 8px 18px rgba(0,85,255,.18))}
.wf-logo-inner{fill:#05070e}.light .wf-logo-inner{fill:#fff}
.wf-e1,.wf-e2{transform-origin:32px 32px;transition:transform .4s ease}
.wf-e1{transform:rotate(-30deg)}.wf-e2{transform:rotate(30deg)}
.wf-brand:hover .wf-e1{transform:rotate(-22deg)}.wf-brand:hover .wf-e2{transform:rotate(22deg)}
.wf-brand__wordmark{display:flex;flex-direction:column;justify-content:center;line-height:1;min-width:0}
.wf-brand__wordmark strong{display:block;font-family:'Syne',sans-serif;font-size:1.23rem;font-weight:800;letter-spacing:-.045em;white-space:nowrap}
.wf-brand__digital{display:block;margin-top:5px;color:var(--wf-shell-muted);font-family:'Inter',sans-serif;font-size:.58rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase}
.wf-site-header__inner{min-height:82px}
.wf-site-nav a{font-weight:700}

.wf-footer-main{padding-top:64px;padding-bottom:44px}
.wf-footer-brand .wf-brand__icon{width:52px;height:52px}
.wf-footer-brand .wf-brand__wordmark strong{font-size:1.42rem}
.wf-footer-brand .wf-brand__digital{font-size:.63rem;color:#8e99aa}
.wf-footer-social{gap:10px;flex-wrap:wrap}
.wf-footer-social a{width:40px;height:40px;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.14)}
.wf-footer-social a:hover,.wf-footer-social a:focus-visible{color:#061019;background:#fff;border-color:#fff;transform:translateY(-3px);outline:none}
html.light .wf-footer-social a:hover,html.light .wf-footer-social a:focus-visible{background:#0055ff;color:#fff;border-color:#0055ff}
.wf-footer-links a,.wf-footer-legal-slot .wf-legal-links button{transition:color .2s ease,transform .2s ease}
.wf-footer-links a:hover,.wf-footer-links a:focus-visible,.wf-footer-legal-slot .wf-legal-links button:hover,.wf-footer-legal-slot .wf-legal-links button:focus-visible{transform:translateX(3px);outline:none}

/* Formulário */
#contact-form .form-field{min-height:48px}
#contact-form textarea.form-field{min-height:148px}
#contact-form .form-field:focus{outline:none;box-shadow:0 0 0 3px rgba(0,85,255,.14);border-color:rgba(0,229,255,.5)!important}

/* CTA mobile semelhante ao padrão aprovado no Projeto 001 */
.wf-mobile-cta-bar{display:none}
@media(max-width:820px){
  body.wf-has-mobile-cta{padding-bottom:82px}
  .wf-mobile-cta-bar{position:fixed;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));z-index:9050;display:grid;grid-template-columns:.88fr 1.25fr;gap:8px;padding:8px;border:1px solid var(--wf-shell-border);border-radius:20px;background:color-mix(in srgb,var(--wf-shell-surface) 96%,transparent);box-shadow:0 14px 38px rgba(0,0,0,.28);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transition:opacity .2s ease,transform .2s ease}
  .wf-mobile-cta-bar.is-cookie-open{opacity:0;transform:translateY(120%);pointer-events:none}
  .wf-mobile-cta-bar a{min-height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-size:.82rem;font-weight:900}
  .wf-mobile-cta-wa{background:#1d8d61;color:#fff}.wf-mobile-cta-wa svg{width:20px;height:20px}
  .wf-mobile-cta-main{background:linear-gradient(135deg,#0055ff,#2147e8);color:#fff}
  .wf-floating-action--wa{display:none!important}
  .wf-floating-actions{bottom:94px!important}
  .wf-contact-quick{grid-template-columns:1fr}
}
@media(max-width:760px){
  .wf-site-header__inner{min-height:72px}
  .wf-brand__icon{width:36px;height:36px}
  .wf-brand__wordmark strong{font-size:1.03rem}
  .wf-brand__digital{display:block;font-size:.52rem;margin-top:4px}
}
@media(prefers-reduced-motion:reduce){.wf-brand:hover .wf-e1,.wf-brand:hover .wf-e2{transform:inherit}.wf-mobile-cta-bar,.wf-contact-quick>a{transition:none!important}}


/* Refinamentos de interface */
:root{
  --wf-card-gap:1.5rem;
  --wf-card-gap-mobile:1rem;
}
.wf-site-header{
  border-bottom-color:transparent!important;
  box-shadow:none!important;
}
.wf-site-header.is-scrolled{
  border-bottom-color:var(--wf-shell-border)!important;
  box-shadow:0 8px 26px rgba(0,0,0,.10)!important;
  background:color-mix(in srgb,var(--wf-shell-bg-solid) 88%,transparent)!important;
}
html.light .wf-site-header.is-scrolled{
  box-shadow:0 8px 24px rgba(15,35,75,.07)!important;
}

/* Ritmo vertical e espaçamento entre cards */
.wf-section{padding-block:var(--wf-section-y)!important;}
.wf-section-heading{margin-bottom:3.5rem!important;}
#problemas .grid,
#solucoes .grid,
#diferenciais .grid,
#metodologia .metodologia-steps{gap:var(--wf-card-gap)!important;}
#portfolio [data-aos="fade-left"].grid{gap:var(--wf-card-gap)!important;}

/* Hover apenas em cards de conteúdo onde o reforço visual ajuda a leitura */
#problemas .glass,
#solucoes article.glass,
#diferenciais .glass,
#portfolio [data-aos="fade-left"] > .glass{
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background-color .22s ease!important;
}
@media (hover:hover){
  #problemas .glass:hover,
  #solucoes article.glass:hover,
  #diferenciais .glass:hover,
  #portfolio [data-aos="fade-left"] > .glass:hover{
    transform:translateY(-4px);
    border-color:rgba(0,229,255,.30)!important;
    box-shadow:0 16px 40px rgba(0,0,0,.16);
  }
  html.light #problemas .glass:hover,
  html.light #solucoes article.glass:hover,
  html.light #diferenciais .glass:hover,
  html.light #portfolio [data-aos="fade-left"] > .glass:hover{
    border-color:rgba(0,85,255,.26)!important;
    box-shadow:0 16px 36px rgba(15,35,75,.10);
  }
}

/* FAQ: estado de leitura claro, sem faixa pesada */
#faq details{
  position:relative;
  overflow:hidden;
  transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
#faq details::before{
  content:'';
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(180deg,var(--wf-shell-accent),var(--wf-shell-primary));
  opacity:0;
  transition:opacity .2s ease;
}
#faq summary{outline:none;}
#faq summary > span[aria-hidden="true"]{display:none!important;}
#faq summary::after{
  content:'+';
  width:30px;height:30px;
  border-radius:50%;
  display:grid;place-items:center;
  flex:0 0 auto;
  color:var(--wf-shell-accent);
  border:1px solid var(--wf-shell-border);
  background:color-mix(in srgb,var(--wf-shell-surface) 78%,transparent);
  font-size:1.15rem;font-weight:500;line-height:1;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
#faq details[open]{
  border-color:rgba(0,229,255,.30)!important;
  background:rgba(0,85,255,.075)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.12);
}
#faq details[open]::before{opacity:1;}
#faq details[open] summary{color:var(--wf-shell-text);}
#faq details[open] summary::after{
  content:'−';
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg,var(--wf-shell-primary),var(--wf-shell-violet));
}
@media(hover:hover){
  #faq details:not([open]):hover{
    border-color:rgba(0,229,255,.22)!important;
    background:rgba(255,255,255,.065)!important;
  }
}
html.light #faq details[open]{
  border-color:rgba(0,85,255,.28)!important;
  background:rgba(0,85,255,.055)!important;
  box-shadow:0 12px 30px rgba(15,35,75,.08);
}
html.light #faq details:not([open]):hover{background:rgba(0,85,255,.045)!important;}

/* Formulário mais enxuto */
.wf-contact-simple{width:min(820px,100%);margin-inline:auto;}
.wf-contact-simple .glass-strong{padding:clamp(1.5rem,3vw,2.5rem)!important;}

@media(max-width:760px){
  .wf-section-heading{margin-bottom:2.5rem!important;}
  #problemas .grid,
  #solucoes .grid,
  #diferenciais .grid,
  #metodologia .metodologia-steps,
  #portfolio [data-aos="fade-left"].grid{gap:var(--wf-card-gap-mobile)!important;}
}
@media(prefers-reduced-motion:reduce){
  #problemas .glass,#solucoes article.glass,#diferenciais .glass,#portfolio [data-aos="fade-left"] > .glass,#faq details{transition:none!important;transform:none!important;}
}

/* R4.5 — novo logotipo WebFusion e refinamento mobile */
.wf-brand{
  gap:0!important;
  min-width:0;
}
.wf-brand__logo-frame{
  position:relative;
  display:block;
  width:190px;
  height:auto;
  aspect-ratio:1070/217;
  flex:0 0 auto;
}
.wf-brand__logo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:left center;
  display:block;
  transition:filter .2s ease,transform .2s ease;
}
.wf-brand__logo--light{display:none;}
html.light .wf-brand__logo--dark{display:none;}
html.light .wf-brand__logo--light{display:block;}
.wf-footer-brand .wf-brand__logo-frame{width:235px;}
.wf-mobile-drawer__head .wf-brand__logo-frame{width:178px;}

/* O CTA inferior de duas colunas era invasivo no celular. Mantemos as ações flutuantes compactas. */
.wf-mobile-cta-bar{display:none!important;}
body.wf-has-mobile-cta{padding-bottom:0!important;}
@media(max-width:820px){
  .wf-floating-action--wa{display:grid!important;}
  .wf-floating-actions{bottom:18px!important;right:14px!important;gap:8px!important;}
  .wf-hero-performance-panel{padding:1.25rem!important;border-radius:18px!important;}
  .wf-hero-performance-grid{grid-template-columns:1fr!important;gap:.75rem!important;}
  .wf-hero-performance-grid>div{padding:1rem!important;}
  .wf-hero-performance-grid h3{font-size:1rem!important;line-height:1.35!important;}
  .wf-hero-performance-grid p{font-size:.82rem!important;line-height:1.55!important;}
}
@media(max-width:760px){
  .wf-site-header__inner{min-height:66px!important;}
  .wf-brand__logo-frame{width:154px;}
  .wf-mobile-drawer__head .wf-brand__logo-frame{width:164px;}
  .wf-footer-brand .wf-brand__logo-frame{width:210px;}
}
@media(max-width:390px){
  .wf-brand__logo-frame{width:142px;}
  .wf-site-header__inner{width:min(100% - 16px,1280px)!important;gap:6px!important;}
  .wf-mobile-actions{gap:5px!important;}
  .wf-mobile-actions .wf-icon-btn{width:36px;height:36px;}
  .wf-lang--compact button{width:30px;min-width:30px;}
}

/* ===== R4.6 — Progresso de leitura no cabeçalho + seção ativa ===== */
.wf-site-header::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  background:linear-gradient(90deg,var(--wf-shell-primary) 0%,var(--wf-shell-accent) 55%,var(--wf-shell-violet) 100%);
  transform:scaleX(var(--wf-scroll-progress,0));
  transform-origin:left center;
  opacity:0;
  pointer-events:none;
  z-index:5;
  box-shadow:0 0 10px rgba(0,229,255,.22);
  transition:opacity .18s ease;
}
.wf-site-header.is-scrolled::after{opacity:1;}
html.light .wf-site-header::after{box-shadow:0 0 8px rgba(0,85,255,.14);}

.wf-site-nav a.is-active-section{
  color:var(--wf-shell-text);
}
.wf-site-nav a.is-active-section::after{
  right:0;
}
.wf-mobile-drawer__nav a.is-active-section{
  color:var(--wf-shell-accent);
  background:color-mix(in srgb,var(--wf-shell-primary) 10%,transparent);
}

@media(prefers-reduced-motion:reduce){
  .wf-site-header::after{transition:none;}
}
