/* R5 — premium credibility refinement */
.home-hero h1{max-width:11.2ch}
.home-hero p{max-width:760px}
.trust-row{grid-template-columns:repeat(4,1fr);gap:14px}
.trust-row span{padding:16px 16px 15px;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 10px 24px rgba(10,28,44,.05)}
.trust-row b{font-size:.84rem}
.service-card{border-color:#d8e2e7}
.service-card-copy{padding:26px 26px 28px}
.service-card h3{font-size:1.6rem}
.service-card p{font-size:.96rem}
.service-card>a{margin-top:8px}
.clients-section{padding-top:76px}
.client-wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.client-logo{width:auto;height:108px;padding:16px 18px;border-radius:18px;box-shadow:0 10px 24px rgba(10,28,44,.04);transition:.18s ease}
.client-logo:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(10,28,44,.08)}
.client-logo img{max-height:72px}
.footer p,.footer a{font-size:.84rem}
.form-note{font-size:.78rem;line-height:1.55}
@media(max-width:1040px){.trust-row{grid-template-columns:repeat(2,1fr)}.client-wall{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.trust-row{grid-template-columns:1fr 1fr}.client-wall{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.trust-row{grid-template-columns:1fr}.client-wall{grid-template-columns:1fr}.client-logo{height:96px;padding:14px 16px}.client-logo img{max-height:60px}}

/* R5.1 targeted fixes */
.hero-photo{align-self:center;overflow:hidden}
.hero-photo>img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;min-height:520px}
.hero-grid{align-items:center}
.trust-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.trust-row span{display:flex;flex-direction:column;gap:5px;min-height:auto;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.95);box-shadow:0 10px 24px rgba(10,28,44,.05);font-size:.9rem;line-height:1.45}
.trust-row span small{display:block;color:#5f7280;font-size:.84rem;line-height:1.45}
.service-card .service-photo{width:100%!important;height:240px!important;display:block!important;object-fit:cover;margin:0!important;background:#e7eef1}
.service-card .service-icon{margin:25px 25px 0}
.service-card .service-card-copy{padding:24px 26px 28px}
.service-card h3{font-size:1.58rem}
.article-thumb,.news-thumb{display:block;overflow:hidden;background:#e7eef1}
.article-thumb img,.news-thumb img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.news-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.news-card-copy{padding:22px 24px 24px}
.news-card h3{font-size:1.12rem;margin:12px 0}
.news-card p{font-size:.84rem}
.clients-section{padding-top:76px}
.client-marquee{margin-top:20px}
.brand-logo-footer{width:172px;max-height:64px;opacity:.92}
.footer p,.footer a{font-size:.84rem}
@media(max-width:1040px){.trust-row{grid-template-columns:1fr 1fr 1fr}.hero-photo>img{min-height:440px}}
@media(max-width:850px){.trust-row{grid-template-columns:1fr}.hero-photo>img{min-height:340px}}

/* R5.2 targeted refinements */
.home-hero h1{max-width:10.8ch}
.hero-photo{border-radius:32px;min-height:520px;background:#dfe8ec;box-shadow:0 18px 42px rgba(10,28,44,.12)}
.hero-photo>img{min-height:520px;object-position:center center}
.trust-row{grid-template-columns:repeat(3,minmax(0,1fr))}
.news-card{padding:0;background:#fff}
.news-card-copy{padding:24px}
.footer-brand{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 8px 22px rgba(0,0,0,.16)}
.brand-logo-footer{width:188px;max-height:none;filter:none;opacity:1}
@media(max-width:1040px){.hero-photo{min-height:450px}.hero-photo>img{min-height:450px}}
@media(max-width:850px){.hero-photo{min-height:340px}.hero-photo>img{min-height:340px}}

/* R5.3 premium polish */
.hero-photo{min-height:540px;border-radius:34px;box-shadow:0 22px 48px rgba(10,28,44,.14);background:linear-gradient(180deg,#e7eef1,#d9e3e8)}
.hero-photo>img{min-height:540px;object-position:center 34%;filter:saturate(1.02) contrast(1.02)}
.hero-photo:after{content:"";position:absolute;inset:auto 0 0 0;height:28%;background:linear-gradient(180deg,transparent,rgba(5,16,27,.12));pointer-events:none}
.hero-photo-label{backdrop-filter:blur(10px);background:rgba(10,28,44,.58);padding:14px 16px;border-radius:16px}
.service-photo{image-rendering:auto}
.service-card:hover .service-photo,.article-card:hover .article-thumb img{transform:scale(1.018)}
.client-logo{background:#fff;border:1px solid #dbe4e8}
.client-logo img[src$="ozzu.svg"]{max-height:54px}
.footer-grid>div:first-child{max-width:420px}
.footer-brand{padding:12px 16px;border-radius:16px;background:#fff;box-shadow:0 14px 32px rgba(0,0,0,.16)}
.brand-logo-footer{width:210px;height:auto;display:block}
.footer p{max-width:380px}
@media(max-width:1040px){.hero-photo{min-height:470px}.hero-photo>img{min-height:470px}}
@media(max-width:850px){.hero-photo{min-height:360px}.hero-photo>img{min-height:360px;object-position:center 30%}}

/* R5.4 requested fixes */
.hero-grid{align-items:flex-start}
.hero-photo{margin-top:-32px;min-height:560px}
.hero-photo>img{min-height:560px;object-position:center 18%}
.service-card .tag{letter-spacing:.11em}
.footer-brand{padding:0;background:transparent;box-shadow:none;border-radius:0}
.brand-logo-footer{width:250px;max-width:100%;height:auto}
.client-logo img[src$="ozzu.svg"]{max-height:50px}
.client-logo img[src$="posto-simon.png"]{max-height:78px}
@media(max-width:1040px){.hero-photo{margin-top:-20px;min-height:490px}.hero-photo>img{min-height:490px;object-position:center 16%}}
@media(max-width:850px){.hero-grid{align-items:center}.hero-photo{margin-top:0;min-height:360px}.hero-photo>img{min-height:360px;object-position:center 20%}.brand-logo-footer{width:210px}}

/* R5.5 cleanup */
.home-hero .hero-grid{align-items:flex-start;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)}
.home-hero .hero-photo{margin-top:-72px;min-height:590px}
.home-hero .hero-photo>img{min-height:590px;object-position:center 8%}
.home-hero .hero-actions{margin-bottom:0}
.home-hero .trust-row{display:none!important}
.footer-brand{display:inline-flex;align-items:center;padding:8px 12px;border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.footer-brand-logo.brand-logo-official{width:176px;max-height:62px;height:auto;display:block;background:none!important;padding:0!important}
.client-logo img[src$="ozzu.svg"]{max-height:40px}
.client-logo img[src$="posto-simon.svg"]{max-height:52px}
.client-track .client-logo{padding:12px 22px}
@media(max-width:1040px){.home-hero .hero-photo{margin-top:-56px;min-height:510px}.home-hero .hero-photo>img{min-height:510px;object-position:center 6%}}
@media(max-width:850px){.home-hero .hero-grid{align-items:center;grid-template-columns:1fr}.home-hero .hero-photo{margin-top:0;min-height:370px}.home-hero .hero-photo>img{min-height:370px;object-position:center 12%}.footer-brand-logo.brand-logo-official{width:160px}}

/* R5.6 footer + technical content */
.footer-brand{background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.footer-brand-logo.brand-logo-official{width:176px;max-height:62px;height:auto;display:block;filter:brightness(0) invert(1) saturate(0) brightness(1.15);opacity:.98}
.footer .brand-logo-official{background:none!important;padding:0!important}
.article-thumb img[src*="content-home/"]{aspect-ratio:16/9;object-fit:cover;object-position:center center}

/* R5.7 visibility and layout */
.client-marquee{mask-image:none;-webkit-mask-image:none;padding:18px 0 20px}
.client-track{animation-duration:78s;gap:14px;padding-left:0}
.client-track .client-logo{width:204px;min-width:204px}
.client-logo img[src$="ozzu.svg"]{max-height:32px}
.client-logo img[src$="posto-simon.svg"]{max-height:46px}
.clients-section .section-head p::after{content:" Entre elas, OZZU e Posto Simon.";font-weight:700;color:#10212d}
.publications-home{align-items:start}
.news-feature{margin:18px 0 18px;padding:22px 24px;border:1px solid #dbe4e8;border-radius:18px;background:#f8fbfc;box-shadow:0 10px 22px rgba(10,28,44,.04)}
.news-feature h3{margin:12px 0 10px;font-size:1.18rem;line-height:1.3}
.news-feature p{margin:0 0 14px;color:#4f6573}
.news-feature .card-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.footer-grid>div:first-child{padding-left:0;margin-left:0}
.footer-brand{justify-content:flex-start;align-items:flex-start;margin-left:0;display:flex}
.footer-brand-logo.brand-logo-official{width:172px;display:block}
@media(max-width:850px){.client-track .client-logo{width:184px;min-width:184px}.news-feature{padding:18px 18px 20px}}

/* R5.8 requested cleanup */
@media(min-width:851px){.footer-brand{transform:translateX(-34px)}}
@media(max-width:850px){.footer-brand{transform:none}}

/* R5.9 preserve original client brands */
.client-logo img[src$="ozzu-original.png"]{max-width:176px;max-height:58px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="posto-simon-original.png"]{max-width:82px;max-height:82px;width:auto;height:auto;object-fit:contain}
.client-logo:has(img[src$="posto-simon-original.png"]){padding:10px 18px}
.client-logo:has(img[src$="ozzu-original.png"]){padding:14px 20px}

/* R5.10 client-logo refinements */
.client-logo img[src$="toyota-mercosul.png"]{max-width:184px;max-height:82px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="comercial-gerdau.png"]{max-width:88px;max-height:88px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="ana-schmitt-hospital.png"]{max-width:88px;max-height:88px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="ozzu-original.png"]{max-width:184px;max-height:60px;width:auto;height:auto;object-fit:contain;background:#fff}
.client-logo:has(img[src$="comercial-gerdau.png"]),.client-logo:has(img[src$="ana-schmitt-hospital.png"]){padding:8px 14px}

/* R6 — global premium standardization for subpages */
.page-hero{padding:58px 0 70px;background:linear-gradient(180deg,#f8fafb 0%,#eef3f5 100%);border-bottom:1px solid var(--line);overflow:hidden}
.page-hero-grid{grid-template-columns:minmax(0,1.03fr) minmax(380px,.97fr);gap:58px;align-items:center}
.page-hero-copy{max-width:760px}
.page-hero h1{font-size:clamp(2.8rem,5vw,4.65rem);line-height:1.01;letter-spacing:-.05em;margin:16px 0 20px;max-width:13ch}
.page-hero p{font-size:1.08rem;line-height:1.7;max-width:720px}
.page-visual{width:100%;border-radius:30px;overflow:hidden;min-height:360px;box-shadow:0 24px 56px rgba(10,28,44,.12);border:1px solid rgba(210,222,228,.9)}
.page-visual.photo{background:#dfe8ec}
.page-visual.photo img{display:block;width:100%;height:100%;min-height:360px;max-height:430px;object-fit:cover;filter:saturate(.96) contrast(1.02)}
.page-visual.graphic{background:#fff;display:flex;align-items:center;justify-content:center;padding:28px}
.page-visual.graphic img{display:block;width:100%;height:100%;max-height:330px;min-height:260px;object-fit:contain;filter:none}
.page-hero.no-visual .page-hero-grid{grid-template-columns:minmax(0,860px)}
.page-hero.no-visual .page-hero-copy{max-width:860px}
.breadcrumbs{padding-top:22px;padding-bottom:2px}
.breadcrumbs a{font-weight:720}
.nav-links a.current:not(.nav-cta){color:var(--blue)}
.nav-links a.current:not(.nav-cta):after{right:0}
.service-intro,.service-columns,.about-grid,.contact-grid{align-items:start}
.service-intro>div,.service-columns>div,.contact-direct,.form-card,.profile-aside,.case-aside{border-radius:24px}
.service-columns .check-list,.service-columns .number-list{margin-top:18px}
.specialization-callout{box-shadow:0 14px 34px rgba(10,28,44,.045)}
.article-card,.project-card,.news-card,.deliverable-card,.contact-direct,.form-card{border-color:#d9e3e8}
.news-grid.all-news{gap:18px}
.news-grid.all-news .news-card{min-height:100%;box-shadow:0 10px 26px rgba(10,28,44,.045)}
.category-card{box-shadow:0 12px 28px rgba(10,28,44,.09)}
.search-tools input{background:#fff}
.author-card{box-shadow:0 22px 48px rgba(7,22,34,.15)}
.location-section{border-top:1px solid var(--line)}
.footer{margin-top:0}
@media(max-width:1040px){.page-hero-grid{grid-template-columns:1fr .78fr;gap:36px}.page-hero h1{font-size:clamp(2.7rem,5vw,4.1rem)}.page-visual{min-height:320px}.page-visual.photo img{min-height:320px}}
@media(max-width:850px){.page-hero{padding:48px 0 58px}.page-hero-grid{grid-template-columns:1fr}.page-hero h1{max-width:15ch}.page-visual{min-height:310px}.page-visual.photo img{min-height:310px}.page-visual.graphic{padding:20px}.page-visual.graphic img{min-height:220px}}
@media(max-width:620px){.page-hero h1{font-size:2.5rem}.page-visual{border-radius:22px;min-height:245px}.page-visual.photo img{min-height:245px;max-height:280px}.page-visual.graphic{display:flex}.page-visual.graphic img{min-height:190px;max-height:220px}}

/* R6 embedded production assets */
.client-logo img[src$="ozzu-original-embedded.svg"]{max-width:184px;max-height:60px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="posto-simon-original-embedded.svg"]{max-width:82px;max-height:82px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="toyota-mercosul-embedded.svg"]{max-width:184px;max-height:82px;width:auto;height:auto;object-fit:contain}
.client-logo:has(img[src$="posto-simon-original-embedded.svg"]){padding:10px 18px}
.client-logo:has(img[src$="ozzu-original-embedded.svg"]){padding:14px 20px}

/* R6 production client logos */
.client-logo img[src$="ozzu-r6.webp"]{max-width:184px;max-height:60px;width:auto;height:auto;object-fit:contain;background:#fff}
.client-logo img[src$="posto-simon-r6.webp"]{max-width:82px;max-height:82px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="toyota-mercosul-r6.webp"]{max-width:184px;max-height:82px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="comercial-gerdau.png"]{max-width:88px;max-height:88px;width:auto;height:auto;object-fit:contain}
.client-logo img[src$="ana-schmitt-hospital.png"]{max-width:88px;max-height:88px;width:auto;height:auto;object-fit:contain}
.client-logo:has(img[src$="posto-simon-r6.webp"]){padding:10px 18px}
.client-logo:has(img[src$="ozzu-r6.webp"]){padding:14px 20px}
.client-logo:has(img[src$="comercial-gerdau.png"]),.client-logo:has(img[src$="ana-schmitt-hospital.png"]){padding:8px 14px}
