/*
Theme Name: B&S Engenharia Elétrica
Theme URI: https://bssolucoesemeletrica.com.br/
Author: B&S Engenharia Elétrica
Description: Tema institucional responsivo em preto, branco e amarelo. Serviços, portfólio, avaliações moderadas e SEO local básico.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bsengenharia
Tags: custom-logo, custom-menu, featured-images, responsive-layout, business
*/
:root{--ink:#14171b;--ink2:#22272d;--muted:#657078;--yellow:#f8c529;--yellow2:#eab811;--cream:#f7f7f3;--line:#e8eaec;--white:#fff;--max:1192px;--radius:14px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{text-decoration:none}img{max-width:100%;height:auto}p{margin:0 0 1.15em}h1,h2,h3,h4{line-height:1.12;letter-spacing:-.035em;margin:0 0 .65em}h1{font-size:clamp(2.5rem,4.55vw,4.7rem)}h2{font-size:clamp(2rem,3vw,3.05rem)}h3{font-size:1.3rem}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{max-width:var(--max);padding:0 26px;margin:0 auto}.skip-link{position:absolute;left:-9999px;top:auto;z-index:100;background:var(--yellow);color:#000;padding:12px}.skip-link:focus{left:16px;top:16px}a:focus-visible,button:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid var(--yellow2);outline-offset:3px}.site-header{height:86px;background:#111519;color:#fff;position:relative;z-index:15;border-bottom:1px solid rgba(255,255,255,.09)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;height:100%}.brand{flex:0 0 auto}.brand img{max-width:215px;max-height:66px;width:auto;height:auto}.brand-text{display:flex;align-items:center;gap:12px}.brand-text .bolt{font-size:3rem;color:var(--yellow);font-weight:900;line-height:1}.brand-text strong{font-size:2rem;letter-spacing:-.07em;display:block;line-height:.98}.brand-text small{display:block;font-size:.62rem;letter-spacing:.16em;font-weight:750;color:#dbdbd9;margin-top:5px}.primary-nav{margin-left:auto}.nav-menu{display:flex;list-style:none;gap:23px;align-items:center;margin:0;padding:0}.nav-menu a{font-size:.87rem;font-weight:600;color:#d7d9dd;transition:color .2s}.nav-menu a:hover{color:var(--yellow)}.nav-toggle{display:none;background:none;border:0;padding:8px}.nav-toggle span{display:block;background:#fff;height:2px;width:24px;margin:5px}.btn{min-height:52px;padding:14px 25px;border-radius:7px;display:inline-flex;justify-content:center;align-items:center;gap:24px;font-weight:800;line-height:1.25;transition:transform .2s,background .2s;box-shadow:0 1px 0 rgba(0,0,0,.1)}.btn:hover{transform:translateY(-2px)}.btn-accent,.btn-small{background:var(--yellow);color:#151515}.btn-accent:hover,.btn-small:hover{background:#ffd84c}.btn-dark{background:#15191e;color:#fff}.btn-dark:hover{background:#293037}.btn-small{min-height:42px;padding:11px 16px;font-size:.79rem;gap:10px}.hero{background:#111519;color:#fff;position:relative;isolation:isolate;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 65% 35%,rgba(240,199,37,.08),transparent 40%);z-index:-1}.hero-art{position:absolute;inset:0;opacity:.7;z-index:-1;pointer-events:none}.hero-art .gridlines{display:block;width:100%;height:100%;background-image:linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);background-size:46px 46px}.hero-art .halo{position:absolute;width:630px;height:630px;border:1px solid rgba(248,197,41,.12);border-radius:50%;top:-90px;right:-230px}.hero-art .halo-two{width:410px;height:410px;top:19px;right:-120px}.hero-figure{font-size:25vw;font-weight:900;position:absolute;right:-5%;top:4%;color:rgba(255,255,255,.014);letter-spacing:-.12em}.hero-figure span{color:rgba(248,197,41,.023)}.hero-layout{min-height:645px;display:grid;grid-template-columns:1.23fr .77fr;align-items:center;gap:6%;padding-top:72px;padding-bottom:80px}.eyebrow,.overline{font-size:.76rem;font-weight:850;letter-spacing:.17em;color:#a57c00}.eyebrow{display:flex;align-items:center;gap:12px;color:var(--yellow);margin-bottom:29px}.live-dot{width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 5px rgba(248,197,41,.15)}.hero h1{font-weight:820;line-height:1.06;max-width:770px;margin:0 0 30px}.hero h1 em{font-style:normal;color:var(--yellow)}.hero-copy>p{max-width:560px;font-size:1.15rem;line-height:1.65;color:#b8bec4}.hero-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap;margin:31px 0 72px}.link-arrow{font-weight:700;color:#e8e9e9;display:inline-flex;gap:10px}.link-arrow:hover{color:var(--yellow)}.hero-note{display:flex;align-items:center;gap:14px;font-size:.7rem;font-weight:700;letter-spacing:.16em;color:#9b9fa4}.note-line{width:35px;height:1px;background:var(--yellow)}.hero-visual{height:465px;position:relative;border-radius:10px;background:linear-gradient(145deg,#2e353b,#171c22 65%);box-shadow:0 35px 60px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.1)}.hero-visual:before{content:"";position:absolute;inset:-13px 13px 13px -13px;border:1px solid rgba(248,197,41,.31);border-radius:10px;z-index:-1}.hero-visual img{width:100%;height:100%;object-fit:cover;border-radius:10px;display:block}.visual-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:30px;text-align:center;background:repeating-linear-gradient(120deg,transparent,transparent 35px,rgba(255,255,255,.025) 36px,transparent 37px)}.visual-placeholder .circuit-badge{border:1px solid rgba(248,197,41,.3);border-radius:100%;width:110px;height:110px;display:grid;place-items:center;color:var(--yellow);font-size:5rem;line-height:1}.visual-placeholder span{font-size:1.8rem;line-height:1.13;font-weight:900;letter-spacing:.12em}.visual-placeholder small{color:#b6bac0;font-size:.78rem;max-width:220px}.visual-tag{position:absolute;bottom:20px;left:-36px;background:#f7f7f4;color:#202428;border-radius:6px;padding:15px 22px;font-weight:750;box-shadow:0 12px 30px #05070836;font-size:.84rem}.tag-symbol{color:#e6ab04;margin-right:10px}.trust-strip{background:var(--yellow);color:#181a1c}.trust-inner{min-height:83px;display:flex;justify-content:space-between;align-items:center;gap:16px}.trust-inner span{font-size:.77rem;font-weight:900;letter-spacing:.1em}.trust-inner i{font-size:.5rem;color:rgba(0,0,0,.35);font-style:normal}.section{padding:105px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:46px}.section-heading h2{margin:12px 0 0}.section-heading h2 span{color:#758087}.section-heading>p{max-width:320px;font-size:1rem;line-height:1.8;color:var(--muted);margin:0}.services{background:#f7f8f7}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.service-card{min-height:275px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:27px;display:flex;flex-direction:column;transition:transform .2s,border-color .2s,box-shadow .2s}.service-card:hover{transform:translateY(-4px);border-color:var(--yellow2);box-shadow:0 15px 35px rgba(24,28,33,.06)}.service-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.service-number{font-size:.95rem;color:#9a9e9f;font-weight:800}.service-arrow{display:grid;place-items:center;background:#f5f6f6;height:38px;width:38px;border-radius:50%;font-size:1.2rem}.service-card h3{font-size:1.43rem;margin:0 0 10px}.service-card p{font-size:.92rem;color:#667079;line-height:1.75;flex:1}.card-cta{color:#23272b;font-size:.79rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.card-cta span{color:#b08b08;margin-left:7px}.about{background:#fff}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:11%;align-items:center}.about-art{min-height:455px;position:relative;overflow:hidden;border-radius:10px;background:radial-gradient(circle at 30% 30%,#343d44,#1b2126 60%);display:flex;justify-content:center;align-items:center;border-bottom:8px solid var(--yellow)}.about-watermark{font-weight:900;font-size:10rem;letter-spacing:-.16em;color:rgba(255,255,255,.05);transform:rotate(-9deg) translateX(-17px)}.about-badge{position:absolute;width:250px;height:250px;border:1px solid rgba(248,197,41,.3);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;gap:20px;text-align:center}.about-badge span{color:var(--yellow);font-size:4.3rem;line-height:.8}.about-badge strong{font-size:.9rem;letter-spacing:.18em}.about h2{margin:16px 0 26px}.about p{color:#68737d;line-height:1.9}.text-button{font-size:.9rem;color:#1b2024;font-weight:850;display:inline-flex;align-items:center;gap:15px;padding-bottom:9px;border-bottom:2px solid var(--yellow2)}.text-button:hover{color:#987300}.steps{background:#181d22;color:#fff}.steps .overline{color:var(--yellow)}.steps h2{margin:12px 0 42px}.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.steps-grid>div{border-top:2px solid rgba(248,197,41,.6);padding-top:21px}.steps-grid span{font-size:1.7rem;font-weight:900;color:var(--yellow)}.steps-grid h3{font-size:1.19rem;margin:18px 0 10px}.steps-grid p{font-size:.92rem;color:#aeb5bb;line-height:1.75}.portfolio-section{background:#f7f8f7}.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.portfolio-card{background:#fff;border-radius:9px;overflow:hidden;border:1px solid var(--line)}.portfolio-card img{width:100%;height:225px;object-fit:cover;display:block}.portfolio-card>div:not(.portfolio-fallback){padding:22px}.portfolio-card span{font-size:.68rem;font-weight:800;color:#8b8b89;letter-spacing:.14em}.portfolio-card h3{margin:12px 0 0;font-size:1.17rem}.portfolio-fallback{height:225px;background:#252c31;color:#8d9598;display:grid;place-items:center;font-size:.75rem;letter-spacing:.13em}.portfolio-empty{grid-column:1/-1;background:#fff;border:1px dashed #bfc6cb;border-radius:12px;padding:58px;text-align:center}.portfolio-empty h3{margin:7px 0 13px}.portfolio-empty p{max-width:510px;margin:0 auto 20px;color:#64717b}.portfolio-empty-icon{font-size:3.3rem;color:#e4b21b}.reviews-section{background:#fff}.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.review-card{display:flex;flex-direction:column;background:#fafaf8;border:1px solid var(--line);border-radius:10px;padding:27px;min-width:0;overflow-wrap:anywhere}.stars{font-size:1.5rem;line-height:1.25;color:#c89d18;letter-spacing:.05em;margin-bottom:15px}.review-text{color:#47535d;line-height:1.76;flex:1}.review-meta{border-top:1px solid #e5e6e2;padding-top:16px;margin-top:8px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.83rem}.review-meta time,.review-meta span{color:#869098}.reviews-empty{grid-column:1/-1;background:#fafaf8;border:1px solid var(--line);border-radius:10px;padding:44px}.reviews-empty p{color:#657078;max-width:580px}.cta-band{padding:78px 0;background:var(--yellow);color:#191d21}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:32px}.cta-band .overline{color:#534211}.cta-band h2{margin:15px 0 17px}.cta-band p{margin:0;color:#554b2e}.site-footer{background:#111519;color:#fff;padding:70px 0 25px}.footer-grid{display:grid;grid-template-columns:1.55fr .8fr 1fr;gap:11%;padding-bottom:64px}.footer-grid h3{font-size:1rem;margin:0 0 20px}.footer-grid p{font-size:.93rem;line-height:1.8;color:#aeb5bc;max-width:330px}.footer-grid a:not(.footer-brand){display:block;color:#b9c0c5;font-size:.9rem;margin-bottom:11px;overflow-wrap:anywhere}.footer-grid a:hover{color:var(--yellow)}.footer-brand{font-size:2.1rem!important;color:#fff!important;font-weight:900;letter-spacing:-.05em;line-height:1.1!important}.footer-brand .bolt{color:var(--yellow)}.footer-brand span:last-child{font-size:.58rem;letter-spacing:.09em;display:block;margin-top:8px}.footer-action{margin-top:18px;font-weight:800!important;color:var(--yellow)!important}.footer-bottom{display:flex;justify-content:space-between;gap:16px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);color:#859097;font-size:.78rem}.inner-main{background:#fafaf9;padding:87px 0 110px;min-height:52vh}.inner-heading{margin-bottom:48px}.inner-heading h1{font-size:clamp(2.3rem,4vw,3.8rem);margin:13px 0 14px}.subtitle{color:#77828b}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:62px;align-items:start}.inner-article{min-width:0}.entry-content{font-size:1.05rem;line-height:1.86;color:#48545e}.entry-content h2,.entry-content h3{color:#1b2227;margin-top:2em;margin-bottom:.7em}.entry-content h2{font-size:1.75rem}.entry-content h3{font-size:1.25rem}.entry-content li{margin-bottom:9px}.entry-content a{color:#967000;text-decoration:underline}.entry-content img{border-radius:8px}.side-cta{background:#1b2228;color:#fff;padding:33px;border-radius:10px;position:sticky;top:30px}.side-cta .overline{color:var(--yellow)}.side-cta h2{font-size:1.7rem;margin:15px 0}.side-cta p{color:#bac2c8;font-size:.94rem;line-height:1.72}.side-cta .btn{margin:12px 0 24px;width:100%;font-size:.85rem}.side-location{font-size:.78rem;color:#949ea6}.feature-image{width:100%;max-height:540px;object-fit:cover;border-radius:9px;margin-bottom:26px}.contact-options{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:35px}.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.post-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;padding:22px}.post-card img{width:calc(100% + 44px);height:225px;object-fit:cover;max-width:none;margin:-22px -22px 23px}.post-card h2{font-size:1.4rem}.post-card p{color:#657079}.review-page{max-width:880px}.review-list{display:grid;grid-template-columns:repeat(2,1fr);list-style:none;gap:18px;padding:0;margin:30px 0 65px}.review-page h2{margin:28px 0}.review-form{padding:40px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:35px}.review-form p{color:#667079}.review-form label{display:block;font-weight:700;margin-bottom:7px;color:#222}.review-form input:not([type=checkbox]),.review-form textarea,.review-form select{width:100%;border:1px solid #c9d1d5;background:#fff;border-radius:7px;padding:11px 14px}.review-form input[type=checkbox]{margin:0 6px 0 0}.review-form .comment-form-cookies-consent label{display:inline;font-weight:400}.review-form .submit{background:var(--yellow);border:0;border-radius:6px;padding:14px 26px;font-weight:800;color:#1c2024}.review-form .submit:hover{background:#ffdb4d}.review-form form p{margin-bottom:20px}.review-form .logged-in-as{font-size:.86rem}.entry-content .wp-block-gallery{margin-top:22px}::selection{background:var(--yellow);color:#000}
@media(max-width:1120px){.nav-menu{gap:13px}.nav-menu a{font-size:.78rem}.header-cta{padding:10px;font-size:.73rem}.hero-layout{gap:4%}.hero-visual{height:395px}.hero-visual .visual-tag{left:-18px}.brand-text strong{font-size:1.7rem}}
@media(max-width:900px){.site-header{height:76px}.container{padding:0 22px}.nav-toggle{display:block;margin-left:auto}.primary-nav{display:none;position:absolute;left:0;right:0;top:76px;background:#151b20;box-shadow:0 12px 20px rgba(0,0,0,.15)}.primary-nav.is-open{display:block}.nav-menu{padding:18px 24px;display:flex;flex-direction:column;align-items:stretch;gap:0}.nav-menu a{display:block;padding:11px 0;font-size:1rem}.header-cta{display:none}.hero-layout{grid-template-columns:1fr;min-height:auto;padding-top:75px;gap:45px;padding-bottom:65px}.hero-copy>p{max-width:680px}.hero-actions{margin-bottom:40px}.hero-visual{height:330px;max-width:650px;width:100%;margin:auto}.visual-tag{left:14px!important;bottom:14px}.trust-inner{flex-wrap:wrap;justify-content:center;gap:18px 28px;padding-top:23px;padding-bottom:23px}.service-grid{grid-template-columns:repeat(2,1fr)}.about-grid{gap:6%}.about-art{min-height:375px}.steps-grid{grid-template-columns:repeat(2,1fr)}.portfolio-grid,.reviews-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.side-cta{position:static}.posts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.container{padding:0 18px}.section{padding:68px 0}.hero-layout{padding:65px 0 55px}.hero h1{font-size:clamp(2.4rem,10vw,3.7rem)}.hero-copy>p{font-size:1rem}.eyebrow{font-size:.65rem;letter-spacing:.11em}.hero-actions{gap:18px;margin-top:28px}.btn{width:100%;font-size:.87rem;min-height:50px;padding:13px 18px}.hero-visual{height:290px}.visual-tag{font-size:.71rem;padding:11px 13px}.visual-placeholder span{font-size:1.4rem}.visual-placeholder .circuit-badge{width:90px;height:90px;font-size:3.5rem}.trust-inner{gap:10px 15px}.trust-inner span{font-size:.66rem}.trust-inner i{display:none}.section-heading{display:block;margin-bottom:28px}.section-heading>p{margin-top:25px}.section-heading .text-button{margin-top:21px}.service-grid,.portfolio-grid,.reviews-grid,.about-grid,.steps-grid,.posts-grid,.review-list{grid-template-columns:1fr}.service-card{min-height:244px}.about-art{min-height:315px;order:2}.steps-grid{gap:10px}.cta-inner{display:block}.cta-inner .btn{margin-top:29px}.cta-band{padding:58px 0}.footer-grid{grid-template-columns:1fr;gap:22px;padding-bottom:32px}.site-footer{padding-top:58px}.footer-bottom{display:block}.footer-bottom span{display:block;margin:10px 0}.inner-main{padding:55px 0}.review-form{padding:22px}.portfolio-empty,.reviews-empty{padding:28px}.brand-text strong{font-size:1.8rem}.brand-text .bolt{font-size:2.5rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.service-card,.btn{transition:none}}

/* B&S v2 — cards editáveis no painel Serviços. */
.service-card-image{display:block;width:calc(100% + 50px);max-width:none;margin:-25px -25px 20px;object-fit:cover;aspect-ratio:16/9;border-bottom:1px solid #e2e4e1}.all-services-link{text-align:center;margin:34px 0 0}.all-services-link a{display:inline-flex}.service-archive-head{max-width:800px;margin-bottom:38px}.service-detail-photo{display:block;width:100%;height:auto;max-height:540px;object-fit:cover;border-radius:10px;margin-bottom:30px}.services-intro{max-width:720px;line-height:1.8;color:#66717b}.service-detail-meta{font-size:.88rem;color:#606b75;line-height:1.7}.service-detail-meta strong{color:#272d31}
.service-card h2{font-size:1.27rem;margin:15px 0 12px;line-height:1.35}.service-archive-head h1{font-size:clamp(2.3rem,4.2vw,4rem);margin:15px 0 20px}.service-card-image+ .service-card-top{margin-top:0}

/* B&S v2.1 - fotografias reais */
.about-art-photo{display:block;min-height:455px;background:#1b2126}
.about-art-photo img{width:100%;height:455px;object-fit:cover;object-position:center 30%;display:block}
.about-photo-legend{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.79));padding:70px 25px 19px;color:#fff;font-weight:800;letter-spacing:.03em}
.bs-photo-section{padding:30px 0 66px;border-top:1px solid var(--line)}
.bs-photo-section .section-heading{margin:18px 0 25px}
.bs-photo-section .section-heading h2{font-size:clamp(1.7rem,2.6vw,2.4rem)}
.bs-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.bs-photo-card{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin:0;display:flex;flex-direction:column;box-shadow:0 9px 28px rgba(20,23,27,.045)}
.bs-photo-card a{display:block;overflow:hidden;background:#d6d6d3}
.bs-photo-card img{display:block;width:100%;height:268px;object-fit:cover;object-position:center;transition:transform .25s}
.bs-photo-card a:hover img{transform:scale(1.025)}
.bs-photo-card figcaption{padding:19px 19px 22px;display:grid;gap:8px}
.bs-photo-card figcaption strong{font-size:1.08rem;line-height:1.3}
.bs-photo-card figcaption span{font-size:.88rem;color:#68737d;line-height:1.5}
.bs-portfolio-end{background:#171d22;color:#fff;border-radius:12px;padding:38px;margin:15px 0 30px}
.bs-portfolio-end h2{font-size:clamp(1.7rem,2.9vw,2.5rem)}
.bs-portfolio-end p{color:#d2d7db}
.portfolio-page-intro{margin-bottom:25px;max-width:900px}
@media(max-width:900px){.bs-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.bs-photo-grid{grid-template-columns:1fr}.bs-photo-card img{height:280px}.about-art-photo{min-height:325px}.about-art-photo img{height:325px}.bs-photo-section{padding:24px 0 48px}.bs-portfolio-end{padding:25px}}
