/*
Theme Name: Almiro Souza Engenharia
Theme URI: https://engenheirocivilalmirosouza.com.br/
Author: Almiro Souza
Description: Tema institucional para engenharia, perícias, avaliações e assistência técnica.
Version: 1.0.7
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: almiro-engenharia
*/

:root{--ink:#0b2239;--orange:#ed7926;--paper:#f8f7f3;--line:#e4d8cf;--muted:#50606c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}.shell{width:min(1180px,calc(100% - 48px));margin:auto}.topbar{background:#09253a;color:#dce7ec;font-size:.76rem}.topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:18px}.site-header{position:sticky;top:0;z-index:20;background:rgba(248,247,243,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(9px)}.nav-wrap{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:9px;min-width:245px}.brand-mark{width:40px;height:47px;background:linear-gradient(145deg,var(--ink) 58%,var(--orange) 59%);clip-path:polygon(50% 0,100% 100%,70% 100%,50% 48%,30% 100%,0 100%)}.brand strong{display:block;font-size:1.5rem;letter-spacing:.12em;line-height:.95;white-space:nowrap}.brand small{display:block;margin-top:6px;color:var(--orange);font-size:.5rem;font-weight:700;letter-spacing:.16em;white-space:nowrap}.menu{display:flex;gap:22px;list-style:none;margin:0;padding:0;font-size:.85rem;font-weight:700}.menu a:hover,.menu .current-menu-item>a{color:var(--orange)}.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 16px;border-radius:5px;font-size:.85rem;font-weight:800}.nav-cta{border:1px solid var(--orange);color:var(--orange);white-space:nowrap}.button-primary,.button-gold{background:var(--orange);color:#fff}.arrow{margin-left:7px}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#fcfaf7 0%,#faf5ef 52%,#f7ece3 100%)}.hero-content{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;min-height:620px}.hero-copy{padding:70px 0}.eyebrow{margin:0 0 18px;color:var(--orange);font-size:.7rem;font-weight:800;letter-spacing:.17em}.hero h1,.section h2,.page-hero h1,.entry-title,.cta h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.045em}.hero h1{max-width:650px;margin:0;font-size:clamp(3.2rem,5vw,5.5rem);line-height:.98}.hero-lead{max-width:570px;margin:28px 0 32px;color:#364a5a;font-size:1.15rem;line-height:1.55}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.button-quiet{border:1px solid #d8c0ae;color:var(--ink)}.hero-proof{margin-top:44px;color:#405260;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.blueprint{display:flex;align-items:center;justify-content:center}.blueprint img{width:100%;max-height:480px;object-fit:contain;filter:drop-shadow(0 20px 20px rgba(11,34,57,.09))}.section{padding:100px 0}.everyday{background:#fff8f3;border-block:1px solid #ead7c9}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:44px}.section h2{max-width:720px;margin:0;font-size:clamp(2.4rem,4vw,4rem);line-height:1.04}.section-note{max-width:320px;margin:0;color:var(--muted);line-height:1.55}.everyday-grid,.service-grid,.qualification-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.everyday-card{min-height:190px;padding:25px;background:#fff;border:1px solid #ead7c9;border-top:4px solid var(--orange)}.icon-alert{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#fff0e6;color:var(--orange);font-weight:800}.everyday-card h3,.service-card h3{margin:20px 0 9px;font:1.28rem/1.12 Georgia,serif}.everyday-card p,.service-card p,.entry-summary{margin:0;color:var(--muted);font-size:.9rem;line-height:1.55}.intro{background:#fff}.body-large{max-width:720px;margin:25px 0 35px;color:var(--muted);font-size:1.1rem;line-height:1.65}.expertise-list,.about-areas{display:flex;gap:9px;flex-wrap:wrap}.expertise-list span,.about-areas span{padding:10px 13px;background:#eff4f2;border:1px solid #dae5e0;color:#24565a;font-size:.78rem;font-weight:700}.services{background:#f7eee6;border-block:1px solid #ead7c9}.service-grid{gap:1px;background:#e4c9b6;border:1px solid #e4c9b6}.service-card{min-height:300px;display:flex;flex-direction:column;padding:27px;background:#fffdfa}.service-number{color:var(--orange);font:1rem Georgia,serif}.card-tag{margin:32px 0 14px!important;color:var(--orange)!important;font-size:.67rem!important;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.service-card a{margin-top:auto;padding-top:16px;color:var(--orange);font-size:.81rem;font-weight:800}.content-section{background:#fff}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{display:flex;min-height:370px;flex-direction:column;border:1px solid #dbe3df;padding:25px;background:#fff}.post-card .post-thumb{height:115px;margin:-25px -25px 22px;background:linear-gradient(135deg,#edf3f0,#fff0e6);display:flex;align-items:end;justify-content:end;padding:16px;color:var(--orange);font:2rem Georgia,serif}.post-card h3{margin:0;font:1.45rem/1.15 Georgia,serif}.post-card a{margin-top:auto;padding-top:16px;color:var(--orange);font-weight:800;font-size:.81rem}.cta{padding:80px 0;background:linear-gradient(120deg,#0b2239,#254653);color:#fff}.cta-wrap{display:flex;align-items:end;justify-content:space-between;gap:30px}.cta h2{max-width:600px;margin:0;font-size:clamp(2.3rem,4vw,4rem);line-height:1}.contact{background:#fff}.contact-wrap{display:grid;grid-template-columns:1fr 1fr;gap:80px}.contact h2{margin:0;font:clamp(2.3rem,4vw,4rem)/1 Georgia,serif}.contact-list{display:grid;gap:10px}.contact-link{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.contact-link span:nth-child(2){color:var(--orange);font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.whatsapp-icon{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#25d366;color:#fff;font-size:13px}.instagram-icon{width:22px;height:22px;border:2px solid var(--orange);border-radius:7px}footer{background:#071d2e;color:#a9bdc2;font-size:.72rem}.footer-wrap{display:flex;justify-content:space-between;gap:20px;padding:23px 0}.page-hero{padding:100px 0 80px;background:linear-gradient(120deg,#fcfaf7,#f7ece3);border-bottom:1px solid #ead7c9}.page-hero h1{max-width:780px;margin:0;font-size:clamp(3rem,5.3vw,5.2rem);line-height:.98}.page-hero .lead{max-width:700px;margin:26px 0 0;color:#364a5a;font-size:1.1rem;line-height:1.6}.entries{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}.entry-row{display:grid;grid-template-columns:95px 1fr;gap:30px;padding:32px;background:#fffdfa}.entry-index{display:grid;place-items:center;width:62px;height:62px;background:#fff0e6;color:var(--orange);font:1.45rem Georgia,serif}.entry-row h2,.entry-title{margin:0;font:clamp(1.7rem,2.7vw,2.5rem)/1.08 Georgia,serif}.entry-meta{margin-top:15px;color:var(--muted);font-size:.78rem;font-weight:700}.wp-content{max-width:820px;margin:0 auto;color:#405260;line-height:1.7}.wp-content h2,.wp-content h3{color:var(--ink);font-family:Georgia,serif}.wp-content img{max-width:100%;height:auto}.pagination{margin-top:35px}.pagination .page-numbers{margin-right:8px;padding:8px 11px;border:1px solid var(--line)}
.menu .current-menu-item>a{color:var(--ink)}.menu .current-menu-item>a:hover{color:var(--orange)}
.about-layout{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:80px;align-items:start}.about-layout h2,.section-title{margin:0;font:clamp(2.3rem,4vw,4rem)/1 Georgia,serif}.about-layout .body-large{margin:0;max-width:none}.about-layout .body-large p:first-child{margin-top:0}.about-profile{background:#fff}.about-services{background:#f7eee6}.about-service-grid .service-card{min-height:240px}.court-section{background:#fff8f3}.court-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:-55px}.court-list span{padding:11px 18px;background:#fff;border:1px solid #ead7c9;color:var(--ink);font-size:.8rem;font-weight:800;letter-spacing:.08em}.qualifications-section{background:#fff}.about-editor-content{margin-top:26px}.about-editor-content>*:first-child{margin-top:0}@media(max-width:900px){.about-layout{grid-template-columns:1fr;gap:28px}.court-list{margin-top:-32px}}
.hero{overflow:visible}.blueprint{height:auto!important;min-height:0;overflow:visible}.blueprint img{display:block;width:min(100%,560px);max-width:100%;height:auto!important;max-height:none!important;object-fit:contain}
.profile-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:64px;align-items:center}.profile-photo{width:min(100%,280px);height:350px;justify-self:center;overflow:hidden;background:#edf2f0;border:1px solid #ead7c9;box-shadow:0 18px 35px rgba(11,34,57,.11)}.profile-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}.profile-content h2{margin:0;font:clamp(2.3rem,4vw,4rem)/1 Georgia,serif}.profile-content .body-large{max-width:720px}.profile-content .body-large p:first-child{margin-top:28px}@media(max-width:700px){.profile-layout{grid-template-columns:1fr;gap:32px}.profile-photo{width:min(100%,250px);height:312px;margin:auto}.profile-content{text-align:center}.profile-content .body-large{text-align:left}.profile-content .body-large p:first-child{margin-top:22px}}
.about-hero h1,.court-section .about-layout h2{text-align:justify}.court-list{margin-top:40px}
@media(max-width:900px){.menu{display:none}.hero-content,.contact-wrap{grid-template-columns:1fr}.hero-copy{padding-bottom:35px}.blueprint{height:330px}.blueprint img{max-height:310px}.everyday-grid,.service-grid,.qualification-grid{grid-template-columns:1fr 1fr}.post-grid{grid-template-columns:1fr}.cta-wrap{align-items:start;flex-direction:column}.section{padding:75px 0}}@media(max-width:560px){.shell{width:min(100% - 32px,1180px)}.topbar{display:none}.nav-cta{display:none}.brand-mark{width:34px;height:40px}.brand strong{font-size:1rem}.brand small{font-size:.42rem}.hero h1{font-size:2.9rem}.hero-actions{flex-direction:column;align-items:stretch}.everyday-grid,.service-grid,.qualification-grid{grid-template-columns:1fr}.entry-row{grid-template-columns:1fr;gap:16px}.contact-link{grid-template-columns:30px 1fr}.contact-link b{grid-column:2}.footer-wrap{flex-direction:column;gap:4px}}
