/*
Theme Name: CBimob
Theme URI: https://example.com/
Author: OpenAI
Description: Tema WordPress CBimob com Home Page configurável, destaques manuais e páginas de projetos.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cbimob
*/
:root{--bg:#09151a;--surface:#111d22;--surface2:#152126;--surface3:#202c31;--text:#d8e4ec;--muted:#9ab0bd;--coral:#ff7665;--coral2:#ffb4a9;--blue:#aaccdd;--max:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.7 "Plus Jakarta Sans",Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}.site-header{height:80px;position:sticky;top:0;z-index:50;background:rgba(9,21,26,.94);backdrop-filter:blur(16px);border-bottom:1px solid #1c2c34}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:700}.brand img{max-height:48px;width:auto}.main-nav{display:flex;gap:30px}.main-nav a{color:var(--muted);font-size:13px}.main-nav a:hover,.main-nav .current-menu-item a{color:var(--coral)}.menu-toggle{display:none;background:none;border:1px solid #29404b;color:var(--text);padding:8px 12px}.hero{padding:64px 0 52px;background:radial-gradient(circle at 25% 20%,rgba(255,118,101,.09),transparent 30%),radial-gradient(circle at 85% 90%,rgba(132,165,181,.10),transparent 30%),#041015}.eyebrow{color:var(--coral);font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.12;letter-spacing:-.04em;max-width:1000px;margin:18px 0}.hero p{font-size:18px;color:var(--muted);max-width:850px}.meta-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:40px}.meta-card,.panel{background:var(--surface);padding:20px;border-radius:9px}.meta-card small{display:block;color:var(--blue);text-transform:uppercase;font-size:10px;letter-spacing:.1em}.meta-card strong{display:block;font-size:17px;margin:7px 0 0}.meta-card span{color:var(--muted);font-size:12px}.section{padding:72px 0}.section-dark{background:#041015}.section-title{margin:0 0 10px;font-size:clamp(26px,3vw,38px);line-height:1.2;letter-spacing:-.03em}.section-intro{color:var(--muted);margin:0 0 30px}.slider{position:relative;height:clamp(280px,48vw,520px);overflow:hidden;border-radius:12px;background:var(--surface)}.slide{position:absolute;inset:0;opacity:0;transition:opacity .5s}.slide.active{opacity:1}.slide img{width:100%;height:100%;object-fit:cover}.slide-caption{position:absolute;left:28px;bottom:24px;padding:12px 16px;background:rgba(9,21,26,.82);border-radius:5px}.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;border:0;border-radius:50%;width:44px;height:44px;background:rgba(9,21,26,.8);color:white;font-size:24px;cursor:pointer}.slider-prev{left:16px}.slider-next{right:16px}.slider-dots{position:absolute;z-index:4;bottom:18px;right:24px;display:flex;gap:8px}.slider-dots button{width:8px;height:8px;border:0;border-radius:20px;background:#ffffff80;padding:0;cursor:pointer}.slider-dots button.active{width:24px;background:var(--coral)}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}.gallery-tile{height:260px;position:relative;overflow:hidden;border-radius:10px}.gallery-tile img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.gallery-tile:hover img{transform:scale(1.05)}.gallery-tile span{position:absolute;bottom:16px;left:16px;font-weight:600;text-shadow:0 2px 12px #000}.content-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:48px;align-items:start}.entry-content h2,.entry-content h3{line-height:1.25;letter-spacing:-.02em}.entry-content h2{font-size:32px}.entry-content h3{font-size:25px}.entry-content p{color:var(--muted);font-size:16px}.entry-content blockquote{margin:32px 0;padding:24px;border-left:4px solid var(--coral);background:var(--surface);font-size:20px;font-style:italic}.entry-content img{border-radius:9px}.sidebar{position:sticky;top:105px}.sidebar .panel{margin-bottom:18px}.panel h3{margin:0 0 18px;font-size:20px}.spec-list{list-style:none;padding:0;margin:0}.spec-list li{padding:12px;background:var(--surface2);border-radius:5px;margin:9px 0}.spec-list strong{display:block}.spec-list span{color:var(--muted);font-size:13px}.project-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.project-card{background:var(--surface2);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.project-card img{width:100%;height:190px;object-fit:cover;filter:grayscale(1);transition:.4s}.project-card:hover img{filter:none;transform:scale(1.03)}.project-card-body{padding:16px}.project-card h3{font-size:17px;margin:0 0 6px}.project-card p{font-size:12px;color:var(--muted);margin:0}.cta{padding:42px;background:var(--surface);border-radius:16px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta h2{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:8px 0}.cta p{color:var(--muted);max-width:700px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:6px;background:var(--coral);color:#35110d;font-weight:700}.btn.secondary{background:var(--surface3);color:var(--text)}.site-footer{background:#060e12;border-top:1px solid #13222a;padding:54px 0 20px;color:#869fad}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-grid h4{color:var(--text);text-transform:uppercase;font-size:12px}.footer-bottom{border-top:1px solid #182830;margin-top:35px;padding-top:20px;font-size:12px;display:flex;justify-content:space-between}.hidden-block{display:none!important}.admin-help{color:#667085}
@media(max-width:900px){.meta-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.sidebar{position:static}.main-nav{display:none;position:absolute;top:80px;left:0;right:0;background:#09151a;padding:22px;flex-direction:column;gap:16px}.main-nav.open{display:flex}.menu-toggle{display:block}.cta{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.section{padding:48px 0}.gallery-grid{grid-template-columns:1fr}.gallery-tile{height:230px}.meta-grid{grid-template-columns:1fr 1fr}.meta-card{padding:14px}.project-grid{grid-template-columns:1fr 1fr}.project-card img{height:140px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:10px}.hero{padding:44px 0}.hero p{font-size:16px}}

/* Home page baseada no HTML enviado */
.site-header{height:112px}.header-inner{min-height:112px}.brand img{max-height:66px}.main-nav{margin-left:auto}.home-hero-section{padding:24px 0 12px}.home-hero-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:22px;height:600px}.home-slider,.home-side-image{position:relative;min-width:0;overflow:hidden;border:1px solid #1a2c35;border-radius:16px;background:#0c181e;box-shadow:0 18px 48px #0005}.home-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;visibility:hidden;transition:opacity .7s ease;display:flex;align-items:flex-end}.home-slide.active{opacity:1;visibility:visible}.home-slide-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(9,21,26,.98),rgba(9,21,26,.52) 55%,rgba(9,21,26,.04))}.home-slide-content{position:relative;z-index:2;padding:clamp(26px,4vw,54px);max-width:720px}.home-eyebrow{display:inline-flex;color:var(--coral2);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:7px 12px;border:1px solid #ff76654d;background:#14232acc;border-radius:30px;margin-bottom:14px}.home-slide h1{font-size:clamp(26px,3.3vw,42px);line-height:1.15;letter-spacing:-.03em;margin:0 0 14px;color:#fff}.home-slide p{font-size:15px;line-height:1.65;color:#b6ccd8;max-width:600px;margin:0 0 22px}.home-slide .btn{gap:12px}.home-slide-empty{background:radial-gradient(circle at 75% 20%,#28434f,#09151a 65%)}.home-slider-controls{position:absolute;right:22px;top:22px;z-index:5;display:flex;gap:9px}.home-slider-controls button{width:42px;height:42px;border-radius:50%;border:1px solid #ffffff38;background:#09151a9c;color:#fff;font-size:27px;line-height:1;cursor:pointer}.home-slider-controls button:hover{background:var(--coral)}.home-slider-dots{position:absolute;right:26px;bottom:25px;z-index:5;display:flex;gap:8px}.home-slider-dots button{width:12px;height:6px;border:0;border-radius:8px;background:#ffffff55;cursor:pointer;padding:0}.home-slider-dots button.active{width:30px;background:var(--coral)}.home-side-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s}.home-side-image:hover img{transform:scale(1.035)}.home-side-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);background:linear-gradient(145deg,#182d38,#09151a)}.home-side-placeholder span{font-size:18px;color:var(--text)}.home-side-placeholder small{font-size:11px;text-align:center;padding:0 20px}.home-highlights{padding-top:66px}.home-section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.home-section-heading .eyebrow{border:0;background:none;padding:0;margin:0 0 8px}.home-section-heading .section-title{font-size:28px;letter-spacing:.14em;margin:0}.highlight-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.highlight-card{display:flex;flex-direction:column;min-width:0}.highlight-image{aspect-ratio:4/3;overflow:hidden;border-radius:12px;border:1px solid #1b2a32;background:#111e24}.highlight-image img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:filter .45s,transform .45s}.highlight-card:hover .highlight-image img{filter:none;transform:scale(1.04)}.highlight-copy{padding-top:12px}.highlight-copy h3{font-size:14px;line-height:1.4;color:#e2edf2;margin:0 0 4px}.highlight-copy p{font-size:12px;color:#8299a6;line-height:1.5;margin:0}.highlight-copy>span{display:block;color:var(--coral2);font-size:11px;font-weight:600;margin-top:7px}.highlight-copy>span b{font-size:15px;margin-left:4px}.highlight-no-image{height:100%;display:grid;place-items:center;color:#8299a6;font-size:11px}.home-empty-note{color:var(--muted);font-size:13px}.home-lower-section{padding-top:42px}.home-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.home-lower-grid .panel{background:#112028;border:1px solid #1a303c;border-radius:16px;padding:26px}.home-panel-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid #1b3442;margin-bottom:18px}.home-panel-heading h2{font-size:20px;margin:0;color:#f0f6fa}.home-panel-heading span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--coral2);font-weight:700}.home-article{display:flex;gap:14px;margin:17px 0;align-items:flex-start}.home-article-thumb{width:76px;height:76px;flex:none;overflow:hidden;border-radius:8px}.home-article-thumb img{width:100%;height:100%;object-fit:cover}.home-article small{font-size:10px;color:#7e99a8}.home-article h3{font-size:13px;line-height:1.4;margin:3px 0;color:var(--text)}.home-article h3 a:hover{color:var(--coral2)}.home-article p{font-size:11px;line-height:1.45;color:#93aab6;margin:0}.home-blog-link{display:block;text-align:center;border-top:1px solid #1b3442;padding-top:15px;margin-top:18px;font-size:12px;font-weight:600}.home-blog-link span{color:var(--coral2);margin-left:5px}.home-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:13px}.home-contact-form label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#8da6b5;font-weight:700}.home-contact-form input,.home-contact-form textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;background:#0c181e;border:1px solid #1f3745;border-radius:7px;color:#f0f6fa;font-family:inherit;font-size:13px;outline:none}.home-contact-form input:focus,.home-contact-form textarea:focus{border-color:var(--coral)}.home-contact-form textarea{resize:vertical}.home-contact-form .full{grid-column:1/-1}.home-contact-form button{border:0;cursor:pointer;font:inherit;margin-top:2px}.home-form-success,.home-form-error{font-size:13px;padding:10px 12px;border-radius:6px;background:#17382e;color:#b9f1d5}.home-form-error{background:#3a1d1b;color:#ffb4a9}.nexus-settings .nexus-home-card{background:#fff;border:1px solid #c3c4c7;padding:18px;margin:16px 0;max-width:900px}.nexus-settings .nexus-admin-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.nexus-settings .nexus-home-field{margin:12px 0}.nexus-settings .nexus-home-field label{display:block;margin-bottom:5px}.nexus-settings .nexus-media-url{max-width:520px;width:70%}.nexus-settings .nexus-media-select{margin-left:8px}
@media(max-width:1000px){.home-hero-grid{height:500px;grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr)}.highlight-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-lower-grid{grid-template-columns:1fr}}
@media(max-width:700px){.site-header,.header-inner{height:84px;min-height:84px}.brand img{max-height:54px}.main-nav{top:84px}.home-hero-section{padding-top:16px}.home-hero-grid{height:auto;grid-template-columns:1fr;gap:12px}.home-slider{height:470px}.home-side-image{height:260px}.home-slide-content{padding:25px}.home-slide h1{font-size:28px}.home-slider-controls{top:14px;right:14px}.home-slider-dots{bottom:17px;right:18px}.home-highlights{padding-top:46px}.highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.home-section-heading .section-title{font-size:25px}.home-lower-grid .panel{padding:19px}.home-contact-form{grid-template-columns:1fr}.home-contact-form .full{grid-column:auto}}

/* CBimob: navegação horizontal conforme referência */
.main-nav{display:flex;align-items:center;margin-left:auto}
.main-nav .cbimob-menu{display:flex;align-items:center;gap:32px;list-style:none;margin:0;padding:0}
.main-nav .cbimob-menu li{list-style:none;margin:0;padding:0}
.main-nav .cbimob-menu a{position:relative;display:inline-flex;align-items:center;padding:8px 0;color:#9ab0bd;font-size:14px;font-weight:400;line-height:1.4;text-decoration:none;transition:color .2s ease}
.main-nav .cbimob-menu a:hover,.main-nav .cbimob-menu .current-menu-item>a,.main-nav .cbimob-menu .current_page_item>a{color:#d8e4ec}
.main-nav .cbimob-menu .current-menu-item>a:after,.main-nav .cbimob-menu .current_page_item>a:after{content:"";position:absolute;left:0;right:0;bottom:1px;height:2px;background:#ff7665}
@media(max-width:900px){.main-nav{display:none;position:absolute;top:112px;left:0;right:0;margin:0;background:#09151a;padding:22px 24px;flex-direction:column;align-items:flex-start;gap:0}.main-nav.open{display:flex}.main-nav .cbimob-menu{width:100%;flex-direction:column;align-items:flex-start;gap:16px}.main-nav .cbimob-menu a{padding:5px 0}.main-nav .cbimob-menu .current-menu-item>a:after,.main-nav .cbimob-menu .current_page_item>a:after{bottom:0}.menu-toggle{display:block}}
@media(max-width:700px){.main-nav{top:84px}}
