/*
Theme Name: Grupo Coreco
Description: Website institucional Grupo Coreco. Home e fundação modular.
Version: 0.1.0
Author: WSI
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: grupo-coreco
*/
:root{--yellow:#fcc202;--ink:#171717;--muted:#484848;--subtle:#f6f6f4;--line:#d1d1cf;--radius:8px;--max:1200px;--space:96px;color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.625}*{box-sizing:border-box}body{margin:0;background:#fff}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #9b7200;outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.2;letter-spacing:-.02em}h2{font-size:clamp(30px,4vw,44px);line-height:1.182;font-weight:700}h3{font-size:28px;line-height:36px;font-weight:600}p{color:var(--muted);line-height:26px}p+p{margin-top:16px}.wrap{width:min(var(--max),calc(100% - 64px));margin-inline:auto}.section{padding-block:var(--space)}.section-head{display:grid;gap:16px;margin-bottom:40px}.section-head p{font-size:20px;line-height:32px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:12px 24px;font-size:15px;line-height:20px;font-weight:600;background:var(--yellow);color:var(--ink);border:1px solid transparent;border-radius:8px;transition:background .18s,color .18s,border-color .18s;text-align:center}.btn:hover{background:#e8b200}.btn.outline{background:#fff;border-color:var(--line)}.btn.outline:hover{border-color:var(--ink)}.btn.dark{background:#484848;color:#fff}.btn.dark:hover{background:#171717}.btn.small{min-height:40px;padding:8px 16px;background:#f1f1f0;font-size:13px;font-weight:500}.btn.small:hover{background:#e5e5e4}.arrow{font-size:25px;line-height:1;font-weight:400}.skip-link{position:absolute;left:10px;top:-100px;padding:10px;background:var(--yellow);z-index:100}.skip-link:focus{top:10px}.site-header{background:white;position:relative;z-index:5}.header-inner{max-width:1440px;min-height:104px;padding:24px 64px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:auto}.brand{flex:0 0 176px}.brand img{width:176px;height:auto}.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1}.main-nav ul,.footer-nav ul{margin:0;padding:0;list-style:none}.main-nav ul{display:flex;gap:0;align-items:center}.main-nav a{display:block;white-space:nowrap;padding:12px 8px;font-size:15px;line-height:20px;font-weight:600;position:relative}.main-nav a::after{content:'';height:2px;background:var(--yellow);position:absolute;bottom:5px;left:8px;right:8px;opacity:0}.main-nav a:hover::after,.main-nav .current-menu-item>a::after,.main-nav .current_page_item>a::after,.main-nav a[aria-current=page]::after{opacity:1}.header-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.header-actions .btn:not(.small){padding-inline:16px}.nav-toggle{display:none;background:none;border:0;padding:10px;min-width:44px;min-height:44px;font-size:25px}.hero{position:relative;isolation:isolate;overflow:hidden;min-height:532px;background:var(--ink);padding:96px 0;color:white}.hero-bg,.hero-video,.hero-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}.hero-video{z-index:-2}.hero-overlay{z-index:-1;background:linear-gradient(90deg,rgba(23,23,23,.66),rgba(23,23,23,.55) 55%,rgba(23,23,23,.27))}.hero-mark{position:absolute;pointer-events:none;width:1000px;max-width:none;left:-240px;top:-170px;opacity:.16;filter:grayscale(1) brightness(0) invert(1);z-index:-1}.hero-copy{max-width:739px;display:grid;gap:24px;justify-items:start}.hero h1{font-size:clamp(48px,6.12vw,88px);line-height:1.09;font-weight:800;letter-spacing:-.02em}.hero h1 span{color:var(--yellow)}.hero p{font-size:20px;line-height:32px;max-width:650px;color:white}.about{display:grid;grid-template-columns:minmax(0,648fr) minmax(0,488fr);gap:64px;align-items:center}.about-copy{display:grid;gap:24px;justify-items:start}.about img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px}.video-section{padding-bottom:96px;text-align:center}.video-box{position:relative;isolation:isolate;max-width:934px;aspect-ratio:16/9;overflow:hidden;border-radius:24px;background:#171717;margin:0 auto 32px;color:white;text-align:left;display:block}.video-box>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:-2}.video-box::before{content:'';position:absolute;inset:0;background:#0005;z-index:-1}.video-title{position:absolute;top:32px;left:32px;display:flex;gap:16px;align-items:center}.video-title img{width:40px;height:40px;object-fit:contain;background:#171717;border-radius:50%;padding:6px}.video-title strong{font-size:20px;display:block}.video-title small{display:block}.video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:84px;height:61px;background:#ff0033;color:#fff;border:0;border-radius:16px;font-size:30px;display:grid;place-items:center}.video-bottom{position:absolute;right:32px;bottom:32px;padding:12px 16px;background:#171717;border-radius:8px;color:#fff;font-size:16px}.video-box iframe{width:100%;height:100%;border:0;position:absolute;inset:0}.segments{background:var(--ink);color:white}.segments p{color:white}.chips{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px}.chip{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid white;border-radius:8px;font-weight:600;font-size:15px;line-height:24px}.chip svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6}.gallery{display:flex;width:100%;overflow:auto;scrollbar-width:none;scroll-snap-type:x proximity;margin-block:40px;overscroll-behavior-x:contain}.gallery::-webkit-scrollbar,.clients-list::-webkit-scrollbar{display:none}.gallery img{flex:none;width:300px;height:420px;object-fit:cover;scroll-snap-align:start}.gallery img.wide{width:560px}.differences{display:grid;gap:40px;margin-top:40px}.difference{display:grid;grid-template-columns:70px minmax(0,1fr) 272px;gap:64px;align-items:center;min-height:200px}.difference b{font-size:44px;line-height:52px;color:#a3a3a3}.difference h3{margin-bottom:16px}.difference img{width:272px;height:200px;object-fit:cover;border-radius:16px}.subtle,.site-footer{background:var(--subtle)}.clients{padding-block:64px}.clients h2{margin-bottom:40px}.clients-list{display:flex;gap:30px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.client{background:white;border-radius:8px;display:grid;place-items:center;padding:24px;flex:0 0 calc((100% - 120px)/5);aspect-ratio:1;scroll-snap-align:start}.client img{width:100%;height:100%;object-fit:contain}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;row-gap:40px}.service{border:1px solid var(--line);border-radius:16px;padding:24px;display:grid;align-content:start;gap:16px;transition:border .18s}.service:hover{border-color:var(--ink)}.service img{width:100%;aspect-ratio:336/208;object-fit:cover;border-radius:16px}.service h3{margin-top:8px}.blog-card{display:grid;align-content:start;gap:16px}.blog-card img{width:100%;aspect-ratio:384/232;object-fit:cover;border-radius:16px}.blog-card h3{font-size:22px;line-height:30px;letter-spacing:-.02em}.blog-card .arrow{font-size:24px}.blog-card a:hover h3{text-decoration:underline}.blog-card a{display:grid;gap:16px}.site-footer{padding-block:64px 32px}.footer-grid{display:grid;grid-template-columns:1.05fr 1fr .75fr 1.25fr;gap:48px}.footer-logo{width:200px}.footer-label{font-weight:600;margin:20px 0 12px;color:var(--ink)}.socials{display:flex;gap:8px}.socials a,.socials span{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;font-weight:700;font-size:20px}.socials a:hover{background:var(--yellow)}.footer-nav ul{display:grid;gap:12px;font-size:13px;line-height:20px}.footer-links{display:grid;gap:12px;align-content:start}.footer-links a{font-weight:600}.footer-bottom{border-top:1px solid #e5e5e4;margin-top:32px;padding-top:32px;display:flex;gap:20px;flex-wrap:wrap;justify-content:space-between;font-size:13px}.footer-bottom button{border:0;background:transparent;text-decoration:underline;padding:0;color:inherit}.footer-nav a:hover,.footer-links a:hover,.footer-bottom a:hover{text-decoration:underline}.article{max-width:820px}.article h1{font-size:clamp(32px,5vw,58px);margin-bottom:24px}.article p,.article .wp-block-image{margin-block:20px}.article h2,.article h3{margin-top:32px}.article a{text-decoration:underline}.dialog{width:min(544px,calc(100% - 32px));border:0;border-radius:24px;padding:40px;color:var(--ink);box-shadow:0 12px 60px #0004}.dialog::backdrop{background:#0008}.dialog h2{font-size:28px;line-height:36px}.dialog p{margin-block:20px}.dialog form{display:grid;gap:14px}.dialog label{display:grid;gap:4px;font-weight:600;font-size:14px}.dialog input:not([type=checkbox]),.dialog textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white}.dialog textarea{min-height:100px;resize:vertical}.dialog .check{display:flex;align-items:start;gap:8px;font-weight:400}.dialog .check input{margin-top:6px}.dialog .actions{display:flex;gap:12px;flex-wrap:wrap}.dialog [role=status]{font-size:14px}.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.cookie-banner{position:fixed;bottom:20px;left:20px;right:20px;max-width:520px;padding:24px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 6px 32px #0002;z-index:20;display:grid;gap:12px}.cookie-banner p{font-size:14px;line-height:22px}.cookie-banner .actions{display:flex;gap:8px;flex-wrap:wrap}.cookie-banner .btn{min-height:40px;font-size:13px;padding:8px 12px}[hidden]{display:none!important}.privacy-options{display:grid;gap:12px}.privacy-options label{display:flex;gap:10px;align-items:center}.banner-spacer{height:12px}.nav-toggle[aria-expanded=true]{background:#f1f1f0}.empty{padding:32px;border:1px solid var(--line);border-radius:12px}.pagination{margin-top:40px}.pagination a{padding:8px 12px}.search-form{display:flex;gap:12px;margin-block:24px}.search-form input{min-width:0;padding:10px;flex:1;border:1px solid var(--line);border-radius:8px}
@media(max-width:1350px){.header-inner{padding-inline:32px;gap:12px}.main-nav a{font-size:13px;padding-inline:6px}.header-actions .btn.small{padding-inline:10px}.nav-wrap{gap:12px}}@media(max-width:1180px){.header-inner{min-height:84px;padding:16px 32px}.nav-toggle{display:block}.nav-wrap{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:16px 32px 24px;box-shadow:0 12px 20px #0001}.nav-wrap.is-open{display:grid;gap:16px}.main-nav ul{display:grid;gap:3px}.main-nav a{font-size:16px;padding:10px 8px}.main-nav a::after{right:auto;width:36px}.header-actions{flex-wrap:wrap}.difference{gap:32px}.about{gap:40px}}@media(max-width:800px){:root{--space:56px}.wrap{width:calc(100% - 40px)}.header-inner{padding:14px 20px;min-height:72px}.brand,.brand img{width:150px;flex-basis:150px}.nav-wrap{padding-inline:20px}.hero{min-height:480px;padding-block:68px}.hero p{font-size:18px;line-height:28px}.hero h1{font-size:clamp(40px,10vw,58px)}.hero-mark{width:600px;left:-180px;top:-60px}.hero-overlay{background:linear-gradient(90deg,#171717cb,#17171770)}.about{grid-template-columns:1fr;gap:32px}.video-section{padding-bottom:56px}.video-title{top:16px;left:16px;gap:8px}.video-title strong{font-size:14px}.video-title small{font-size:12px}.video-title img{width:30px;height:30px}.video-play{width:64px;height:46px;font-size:23px}.video-bottom{right:12px;bottom:12px;font-size:12px;padding:8px}.gallery img{width:220px;height:308px}.gallery img.wide{width:410px}.chips{gap:8px}.chip{padding:8px 12px;font-size:13px}.section-head{margin-bottom:28px;gap:12px}.section-head p{font-size:17px;line-height:28px}.difference{grid-template-columns:44px 1fr;gap:16px;align-items:start}.difference img{grid-column:2;width:100%;height:auto;aspect-ratio:4/3;max-width:360px}.difference b{font-size:30px;line-height:36px}.difference h3{font-size:24px;line-height:30px}.client{flex-basis:calc((100% - 30px)/2.4);padding:16px}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.service{padding:16px;gap:12px}.service h3{font-size:23px;line-height:30px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px}.dialog{padding:24px}.site-footer{padding-block:44px 24px}}@media(max-width:520px){.grid-3{grid-template-columns:1fr;gap:24px}.footer-grid{grid-template-columns:1fr;gap:24px}.footer-bottom{display:grid;justify-content:start}.hero{min-height:460px}.hero-copy{gap:20px}.cookie-banner{left:12px;right:12px;bottom:12px;padding:17px}.dialog .btn{min-height:44px}.video-box{border-radius:16px}.video-title img{display:none}.section-head p{font-size:16px}.client{flex-basis:calc((100% - 16px)/2);padding:12px}.clients-list{gap:16px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.hero-video{display:none}}
.text-button{border:0;padding:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.text-button:hover{text-decoration:underline}.footer-links .text-button{font-weight:600}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.close{background:transparent;border:0;font-size:28px;line-height:1;min-width:36px;min-height:36px}.dialog a{text-decoration:underline}.dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.client img{aspect-ratio:1}.wp-block-image img{height:auto}.gallery:focus-visible,.clients-list:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}.site-header .btn:focus-visible{outline-offset:2px}
/* Layout: the hero aligns to the same 1200px grid as the rest of the site. */
.hero-copy{max-width:1200px}.hero h1,.hero p{max-width:min(100%,739px)}.hero p{max-width:650px}.page-numbers{display:inline-block;margin:4px}.service p,.difference p{overflow-wrap:break-word}.hero-bg{object-position:center center}.footer-grid>*{min-width:0}.section-head h2{overflow-wrap:break-word}.dialog p{overflow-wrap:break-word}
