/*
Theme Name: Consulguia Tech
Theme URI: https://consulguiatech.com/
Author: Consulguia Tech
Description: Tema institucional em blocos para a Consulguia Tech. Conteúdo, navegação, cabeçalho, rodapé e seções da home são editáveis pelo Editor do Site.
Version: 3.6.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: consulguia-tech
*/

:root{
  --cg-cyan:#00bdff;
  --cg-cyan-dark:#0c99bf;
  --cg-cyan-light:#66e2ff;
  --cg-blue:#2121d6;
  --cg-blue-dark:#090989;
  --cg-blue-950:#0b0a44;
  --cg-gray:#bcbcbc;
  --cg-gray-light:#dbdbdb;
  --cg-soft:#f6f8fc;
  --cg-text:#17172f;
  --cg-white:#fff;
  --cg-max:1180px;
}

html{scroll-behavior:smooth}
body{margin:0;color:var(--cg-text);background:#fff;font-family:"Arboria",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:1.2rem;line-height:1.65}
body *{box-sizing:border-box}
a{text-decoration:none}
.wp-site-blocks{padding:0}
.cg-container{width:min(calc(100% - 40px),var(--cg-max));margin-inline:auto}
.cg-eyebrow{font-size:.86rem!important;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--cg-blue);margin:0 0 14px}
.cg-accent{color:var(--cg-cyan)}
.cg-section{padding:92px 0;margin:0}
.cg-section-soft{background:var(--cg-soft)}
.cg-section-dark{background:var(--cg-blue-950);color:#fff}
.cg-section h2{font-size:clamp(2.15rem,4vw,3.45rem);line-height:1.06;letter-spacing:-.035em;margin:0 0 20px;font-weight:800}
.cg-section-intro{font-size:1.2rem;max-width:820px;color:#57586c;margin:0 0 42px}
.cg-section-dark .cg-section-intro{color:rgba(255,255,255,.76)}

/* HEADER / NAV */
.cg-header{position:sticky;top:0;z-index:100;background:var(--cg-blue-950);border-bottom:1px solid rgba(255,255,255,.09);padding:0}
.cg-header-inner{width:min(calc(100% - 40px),var(--cg-max));margin-inline:auto;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.cg-header .wp-block-site-logo img{width:205px;height:auto;max-height:none}
.cg-header .wp-block-navigation{font-size:1rem;font-weight:700;color:#fff}
.cg-header .wp-block-navigation-item__content{color:#fff;opacity:.9;padding:9px 0}
.cg-header .wp-block-navigation-item__content:hover{color:var(--cg-cyan);opacity:1}
.cg-header .cg-nav-cta .wp-block-navigation-item__content{background:var(--cg-cyan);color:var(--cg-blue-950)!important;padding:11px 18px;border-radius:999px;font-weight:800;opacity:1}
.cg-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--cg-blue-950);color:#fff;padding:28px}
.cg-header .wp-block-navigation__responsive-container-open,.cg-header .wp-block-navigation__responsive-container-close{color:#fff}

/* HERO */
.cg-hero{background:var(--cg-blue-950);color:#fff;padding:70px 0 78px;overflow:hidden}
.cg-hero-grid{width:min(calc(100% - 40px),var(--cg-max));margin-inline:auto;display:grid!important;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:74px;align-items:center;min-height:540px}
.cg-hero-copy{padding:30px 0}
.cg-hero h1{font-size:clamp(3rem,5.15vw,4.65rem);line-height:1.01;letter-spacing:-.043em;margin:0 0 24px;font-weight:800;max-width:780px}
.cg-hero-copy>p:not(.cg-eyebrow){font-size:1.2rem;line-height:1.7;color:rgba(255,255,255,.8);max-width:690px;margin:0 0 32px}
.cg-actions{display:flex;gap:14px;flex-wrap:wrap}
.cg-actions .wp-block-button__link,.cg-button .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border-radius:999px;font-size:1rem;font-weight:800;transition:.2s ease;border:2px solid transparent}
.cg-button-primary .wp-block-button__link{background:var(--cg-cyan);color:var(--cg-blue-950)}
.cg-button-primary .wp-block-button__link:hover{background:var(--cg-cyan-light);transform:translateY(-2px)}
.cg-button-outline .wp-block-button__link{background:transparent;border-color:rgba(255,255,255,.65);color:#fff}
.cg-button-outline .wp-block-button__link:hover{background:#fff;color:var(--cg-blue-950)}
.cg-hero-panel{background:var(--cg-blue);padding:44px 38px 38px;position:relative;box-shadow:22px 22px 0 rgba(9,9,137,.38)}
.cg-hero-panel:before{content:"";position:absolute;left:0;top:0;width:100%;height:7px;background:var(--cg-cyan)}
.cg-hero-panel .wp-block-site-logo img{width:285px;height:auto;max-height:none}
.cg-hero-panel-kicker{font-size:.86rem!important;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--cg-cyan-light);margin:0 0 20px}
.cg-hero-panel-copy{font-size:1.2rem;color:rgba(255,255,255,.84);margin:0 0 28px}
.cg-stat-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.18)}
.cg-stat{background:var(--cg-blue);padding:18px 10px 12px}
.cg-stat strong{display:block;font-size:1.55rem;line-height:1;color:#fff;margin-bottom:8px}
.cg-stat span{display:block;font-size:.86rem;line-height:1.35;color:rgba(255,255,255,.75)}

/* SOLUTION BAND */
.cg-solution-band{background:#fff;border-bottom:1px solid #e8e9f1}
.cg-solution-band-grid{width:min(calc(100% - 40px),var(--cg-max));margin-inline:auto;display:grid!important;grid-template-columns:repeat(4,1fr)}
.cg-solution-band-item{padding:28px 26px;border-right:1px solid #e8e9f1}
.cg-solution-band-item:last-child{border-right:0}
.cg-solution-band-item strong{display:block;font-size:1.3rem;color:var(--cg-blue-950);margin-bottom:5px}
.cg-solution-band-item span{font-size:1.2rem;color:#66687a}

/* PRESENTATION */
.cg-profile-grid{display:grid!important;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:64px;align-items:stretch}
.cg-profile-side{background:var(--cg-blue-950);color:#fff;border-radius:28px;padding:46px 42px;box-shadow:0 22px 60px rgba(11,10,68,.18);border:1px solid rgba(33,33,214,.12);position:relative;overflow:hidden}
.cg-profile-side:after{content:"";position:absolute;width:110px;height:110px;border:1px solid rgba(102,226,255,.22);border-radius:50%;right:-42px;bottom:-42px}
.cg-profile-metric{padding:22px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.cg-profile-metric:last-child{border-bottom:0}
.cg-profile-metric strong{display:block;font-size:2.25rem;line-height:1;color:var(--cg-cyan);margin-bottom:12px}
.cg-profile-metric span{font-size:1.2rem;line-height:1.6;color:rgba(255,255,255,.78)}
.cg-profile-content>p:not(.cg-eyebrow){font-size:1.2rem;color:#55576a;margin:0 0 18px}
.cg-highlight{margin-top:32px;padding:30px 34px 30px 38px;border-radius:22px;background:#f4fbff;border:1px solid rgba(0,189,255,.25);border-left:7px solid var(--cg-blue);box-shadow:0 14px 34px rgba(11,10,68,.08)}
.cg-highlight strong{display:block;font-size:1.3rem;color:var(--cg-blue-950);margin-bottom:8px}
.cg-highlight p{font-size:1.2rem;margin:0;color:#505267}

/* CARD GRIDS */
.cg-formation-grid,.cg-service-grid,.cg-strategic-grid,.cg-audience-grid,.cg-diff-grid{display:grid!important;gap:18px}
.cg-formation-grid{grid-template-columns:repeat(4,1fr)}
.cg-service-grid,.cg-strategic-grid,.cg-diff-grid{grid-template-columns:repeat(3,1fr)}
.cg-audience-grid{grid-template-columns:repeat(4,1fr)}
.cg-card{background:#fff;border:1px solid #e4e5ed;padding:28px 26px;min-height:100%;transition:.2s ease}
.cg-card:hover{transform:translateY(-3px);border-color:rgba(33,33,214,.35);box-shadow:0 14px 34px rgba(11,10,68,.07)}
.cg-card .cg-icon{font-size:1.45rem;color:var(--cg-blue);margin-bottom:20px;line-height:1}
.cg-card h3{font-size:1.3rem;line-height:1.25;color:var(--cg-blue-950);margin:0 0 10px}
.cg-card p{font-size:1.2rem;color:#5c5e70;margin:0}

/* PLATFORM */
.cg-platform-grid{display:grid!important;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);gap:32px;align-items:stretch}
.cg-platform-visual{background:var(--cg-blue-950);color:#fff;padding:44px 38px;min-height:520px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}
.cg-platform-visual:before{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(102,226,255,.22);border-radius:50%;top:-70px;right:-70px}
.cg-platform-visual .cg-eyebrow{color:var(--cg-cyan-light)}
.cg-platform-visual h3{font-size:2rem;margin:0 0 18px;color:#fff}
.cg-platform-visual p{font-size:1.2rem;color:rgba(255,255,255,.8);margin:0 0 24px}
.cg-platform-mark{font-size:1.2rem;color:var(--cg-cyan-light);font-weight:800}
.cg-platform-list{display:grid!important;grid-template-columns:1fr 1fr;gap:16px}

/* DESIGN INSTRUCTIONAL */
.cg-di{background:var(--cg-blue);color:#fff}
.cg-di-header{display:grid!important;grid-template-columns:1fr 1fr;gap:50px;align-items:end;margin-bottom:44px}
.cg-di .cg-eyebrow{color:var(--cg-cyan-light)}
.cg-di h2{color:#fff}
.cg-di-header p:last-child{color:rgba(255,255,255,.78);font-size:1.2rem;margin:0}
.cg-di-flow{display:grid!important;grid-template-columns:repeat(5,1fr);border:1px solid rgba(255,255,255,.18)}
.cg-di-step{padding:28px 22px;border-right:1px solid rgba(255,255,255,.18);min-height:255px}
.cg-di-step:last-child{border-right:0}
.cg-di-num{font-size:.86rem!important;letter-spacing:.08em;font-weight:800;color:var(--cg-cyan-light);margin-bottom:50px}
.cg-di-step h3{font-size:1.3rem;color:#fff;margin:0 0 10px}
.cg-di-step p{font-size:1.2rem;color:rgba(255,255,255,.76);margin:0}
.cg-di-footer{margin-top:28px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.cg-di-footer strong{font-size:1.2rem;max-width:760px}

/* METHOD */
.cg-method-grid{display:grid!important;grid-template-columns:repeat(5,1fr);gap:1px;background:rgba(255,255,255,.15)}
.cg-method-card{background:var(--cg-blue-950);padding:28px 24px;min-height:230px}
.cg-method-card .cg-method-num{font-size:1rem;color:var(--cg-cyan);font-weight:800;margin-bottom:45px}
.cg-method-card h3{font-size:1.3rem;color:#fff;margin:0 0 10px}
.cg-method-card p{font-size:1.2rem;color:rgba(255,255,255,.72);margin:0}

/* POSITIONING */
.cg-positioning{background:var(--cg-cyan);padding:44px 0}
.cg-positioning-grid{width:min(calc(100% - 40px),var(--cg-max));margin-inline:auto;display:grid!important;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}
.cg-positioning h2{font-size:clamp(1.9rem,3vw,2.75rem);line-height:1.08;color:var(--cg-blue-950);margin:0}
.cg-positioning p{font-size:1.2rem;color:#0d2858;margin:0}

/* CONTACT */
.cg-contact-grid{display:grid!important;grid-template-columns:.82fr 1.18fr;gap:0;align-items:stretch}
.cg-contact-copy{background:var(--cg-blue);color:#fff;padding:56px}
.cg-contact-copy .cg-eyebrow{color:var(--cg-cyan-light)}
.cg-contact-copy h2{font-size:clamp(2.1rem,4vw,3.4rem);line-height:1.05;margin:0 0 20px;color:#fff}
.cg-contact-copy p{font-size:1.2rem;color:rgba(255,255,255,.82);margin:0 0 28px}
.cg-contact-form-wrap{background:#fff;padding:46px;border:1px solid #e1e3ec}
.cg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cg-form-group.full{grid-column:1/-1}
.cg-contact-form label{display:block;font-size:1rem;font-weight:800;color:var(--cg-blue-950);margin-bottom:7px}
.cg-contact-form input,.cg-contact-form select,.cg-contact-form textarea{width:100%;border:1px solid #cfd1dc;padding:13px 14px;font:inherit;font-size:1.05rem;background:#fff;color:var(--cg-text);outline:none;border-radius:0}
.cg-contact-form input:focus,.cg-contact-form select:focus,.cg-contact-form textarea:focus{border-color:var(--cg-cyan);box-shadow:0 0 0 3px rgba(0,189,255,.12)}
.cg-contact-form textarea{resize:vertical;min-height:120px}
.cg-submit{width:100%;border:0;cursor:pointer;background:var(--cg-blue-950);color:#fff;padding:15px 20px;font-size:1.05rem;font-weight:800;font-family:inherit}
.cg-submit:hover{background:var(--cg-blue-dark)}
.cg-form-notice{padding:14px 16px;margin:0 0 18px;font-size:1rem;border-left:4px solid}
.cg-form-notice.success{background:#edf9f1;border-color:#2f9d58;color:#1c6538}
.cg-form-notice.error{background:#fff0f0;border-color:#d44747;color:#8d2929}
.cg-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* FOOTER */
.cg-footer{background:#070633;color:rgba(255,255,255,.74);padding:42px 0}
.cg-footer-inner{width:min(calc(100% - 40px),var(--cg-max));margin-inline:auto;display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}
.cg-footer .wp-block-site-logo img{width:210px;height:auto;max-height:none}
.cg-footer-meta{text-align:right;font-size:1rem!important;margin:0;color:rgba(255,255,255,.74)}
.cg-footer-meta a{color:var(--cg-cyan-light)}
.cg-footer .wp-block-social-links{justify-content:flex-end;margin-top:14px}
.cg-footer .wp-social-link a{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:12px}
.cg-floating-whatsapp{position:fixed!important;right:24px;bottom:24px;z-index:90;margin:0!important}
.cg-floating-whatsapp .wp-social-link{background:var(--cg-cyan)!important;color:var(--cg-blue-950)!important;width:58px;height:58px;border-radius:50%!important;box-shadow:0 10px 26px rgba(11,10,68,.24)}
.cg-floating-whatsapp .wp-social-link a{padding:14px}

/* Generic content templates */
.cg-content-shell{width:min(calc(100% - 40px),850px);margin:70px auto}
.cg-content-shell h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;color:var(--cg-blue-950)}
.cg-content-shell a{color:var(--cg-blue)}

/* Editor helpers */
.editor-styles-wrapper .cg-hero,.editor-styles-wrapper .cg-section,.editor-styles-wrapper .cg-positioning{margin-inline:-16px}

@media(max-width:980px){
  .cg-hero-grid,.cg-profile-grid,.cg-platform-grid,.cg-di-header,.cg-contact-grid,.cg-positioning-grid{grid-template-columns:1fr}
  .cg-hero-grid{gap:34px;min-height:auto}
  .cg-hero-panel{box-shadow:14px 14px 0 rgba(9,9,137,.38)}
  .cg-solution-band-grid{grid-template-columns:repeat(2,1fr)}
  .cg-formation-grid,.cg-audience-grid{grid-template-columns:repeat(2,1fr)}
  .cg-service-grid,.cg-strategic-grid,.cg-diff-grid{grid-template-columns:repeat(2,1fr)}
  .cg-di-flow,.cg-method-grid{grid-template-columns:repeat(2,1fr)}
  .cg-di-step{border-bottom:1px solid rgba(255,255,255,.18)}
}
@media(max-width:680px){
  body{font-size:1.1rem}
  .cg-container,.cg-header-inner,.cg-hero-grid,.cg-solution-band-grid,.cg-positioning-grid,.cg-footer-inner{width:min(calc(100% - 28px),var(--cg-max))}
  .cg-section{padding:68px 0}
  .cg-header-inner{min-height:70px}.cg-header .wp-block-site-logo img{width:170px}
  .cg-hero{padding:42px 0 60px}.cg-hero h1{font-size:2.65rem}
  .cg-stat-grid{grid-template-columns:1fr 1fr 1fr}
  .cg-solution-band-grid,.cg-formation-grid,.cg-service-grid,.cg-strategic-grid,.cg-audience-grid,.cg-diff-grid,.cg-platform-list,.cg-di-flow,.cg-method-grid,.cg-form-grid{grid-template-columns:1fr}
  .cg-solution-band-item{border-right:0;border-bottom:1px solid #e8e9f1}
  .cg-platform-visual,.cg-profile-side,.cg-contact-copy,.cg-contact-form-wrap{padding:32px 24px}
  .cg-profile-side{border-radius:22px}.cg-highlight{border-radius:18px;padding:26px}
  .cg-di-step{border-right:0;min-height:auto}.cg-di-num{margin-bottom:24px}.cg-di-footer{align-items:flex-start;flex-direction:column}
  .cg-form-group.full{grid-column:auto}
  .cg-footer-meta{text-align:left!important}.cg-footer .wp-block-social-links{justify-content:flex-start}
  .cg-floating-whatsapp{right:16px;bottom:16px}.cg-floating-whatsapp .wp-social-link{width:54px;height:54px}
}
\n\n/* =========================================================\n   V2 — FLUXO EDITÁVEL E CORREÇÃO DE ESPAÇAMENTO WORDPRESS\n   ========================================================= */\n.wp-site-blocks{padding:0!important;margin:0!important}\n.wp-site-blocks > *{margin-block-start:0!important;margin-block-end:0!important}\n.wp-block-post-content{margin:0!important;padding:0!important}\n.wp-block-post-content > .wp-block-group{margin-block-start:0!important;margin-block-end:0!important}\n.wp-block-template-part{margin-block-start:0!important;margin-block-end:0!important}\n\n/* O editor de páginas deve se aproximar do front-end sem margens artificiais. */\n.editor-styles-wrapper .wp-block-post-content{margin:0!important}\n.editor-styles-wrapper .cg-hero,\n.editor-styles-wrapper .cg-solution-band,\n.editor-styles-wrapper .cg-section,\n.editor-styles-wrapper .cg-positioning{margin-block-start:0!important;margin-block-end:0!important}\n\n/* Evita que o bloco Site Logo seja limitado por estilos do núcleo. */\n.cg-header .wp-block-site-logo,\n.cg-footer .wp-block-site-logo,\n.cg-hero-panel .wp-block-site-logo{flex-shrink:0}\n.cg-header .wp-block-site-logo img{display:block;object-fit:contain}\n

/* =========================================================
   V3 — FULL WIDTH E RESPONSIVIDADE
   ========================================================= */
.cg-page-main{width:100%;max-width:none;margin:0;padding:0;overflow-x:clip}
.cg-page-title-wrap{width:100%;max-width:none!important;padding:56px max(24px,calc((100vw - 1320px)/2));margin:0!important;background:var(--cg-soft)}
.cg-page-title{width:100%;max-width:1320px!important;margin:0 auto!important;font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;color:var(--cg-blue-950)}
.cg-page-main > .wp-block-post-content{width:100%;max-width:none!important;margin:0!important;padding:0!important}
.cg-page-main > .wp-block-post-content > *:not(.alignfull){width:min(calc(100% - 40px),1320px);max-width:1320px!important;margin-left:auto!important;margin-right:auto!important}
.cg-page-main > .wp-block-post-content > .alignfull{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}

.cg-header-inner,.cg-navigation,.cg-navigation .wp-block-navigation__container{min-width:0}
.cg-header .wp-block-navigation-item__label{white-space:nowrap}

@media(max-width:980px){
  .cg-header-inner{min-height:72px;gap:18px}
  .cg-header .wp-block-site-logo{flex:0 0 auto}
  .cg-header .wp-block-site-logo img{width:176px}
  .cg-navigation{margin-left:auto}
  .cg-navigation .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .cg-navigation .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.2);border-radius:12px}
  .cg-navigation .wp-block-navigation__responsive-container.is-menu-open{display:flex!important;width:100vw;height:100dvh;padding:24px}
  .cg-navigation .wp-block-navigation__responsive-container-content{padding-top:72px!important}
  .cg-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{width:100%;align-items:stretch!important;gap:0!important}
  .cg-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{width:100%;border-bottom:1px solid rgba(255,255,255,.1)}
  .cg-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{width:100%;padding:15px 0;font-size:1.15rem}
  .cg-navigation .wp-block-navigation__responsive-container.is-menu-open .cg-nav-cta{border-bottom:0;margin-top:18px}
  .cg-navigation .wp-block-navigation__responsive-container.is-menu-open .cg-nav-cta .wp-block-navigation-item__content{display:flex;justify-content:center;padding:14px 18px}
  .cg-hero-grid{grid-template-columns:1fr!important}
  .cg-hero-copy{padding-top:10px}
  .cg-profile-grid,.cg-platform-grid,.cg-di-header,.cg-contact-grid,.cg-positioning-grid{gap:28px}
}
@media(min-width:981px){
  .cg-navigation .wp-block-navigation__responsive-container-open{display:none!important}
}
@media(max-width:680px){
  .cg-page-title-wrap{padding:38px 14px}
  .cg-page-main > .wp-block-post-content > *:not(.alignfull){width:calc(100% - 28px)}
  .cg-header-inner{width:calc(100% - 28px);min-height:68px}
  .cg-header .wp-block-site-logo img{width:154px}
  .cg-hero{padding:38px 0 52px}
  .cg-hero-grid{width:calc(100% - 28px);gap:28px}
  .cg-hero h1{font-size:clamp(2.35rem,11vw,3rem);overflow-wrap:anywhere}
  .cg-hero-panel{padding:32px 24px 26px;box-shadow:10px 10px 0 rgba(9,9,137,.3)}
  .cg-hero-panel .wp-block-site-logo img{width:min(250px,100%)}
  .cg-actions,.cg-actions .wp-block-button{width:100%}
  .cg-actions .wp-block-button__link{width:100%}
  .cg-section h2{font-size:clamp(2rem,9vw,2.65rem)}
  .cg-card,.cg-method-card,.cg-di-step{min-width:0}
  .cg-contact-copy,.cg-contact-form-wrap{padding:30px 22px}
  .cg-contact-form input,.cg-contact-form select,.cg-contact-form textarea{min-width:0;font-size:1rem}
}
@media(max-width:520px){
  .cg-stat-grid{grid-template-columns:1fr!important}
  .cg-stat{padding:16px}
  .cg-profile-metric strong{font-size:1.95rem}
  .cg-footer-inner{flex-direction:column;align-items:flex-start}
}
.editor-styles-wrapper .cg-page-main,.editor-styles-wrapper .cg-page-main .wp-block-post-content{max-width:none!important}


/* =========================================================
   V3.2 — ÍCONES DA FAIXA DE SOLUÇÕES
   Mantém os ícones mesmo com títulos editados no Gutenberg.
   ========================================================= */

.cg-solution-band-item{
  position:relative;
  padding-top:72px!important;
}

.cg-solution-band-item::before{
  content:"";
  position:absolute;
  top:24px;
  left:24px;
  width:38px;
  height:38px;
  display:block;
  background-color:var(--cg-cyan-500,#00bdff);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
}

/* Plataforma / monitor */
.cg-solution-band-item:nth-child(1)::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
}

/* Design Instrucional / curso */
.cg-solution-band-item:nth-child(2)::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5 12 2l9 3.5L12 9 3 5.5Z'/%3E%3Cpath d='M7 7.2V13c0 1.5 2.2 3 5 3s5-1.5 5-3V7.2M21 6v6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5 12 2l9 3.5L12 9 3 5.5Z'/%3E%3Cpath d='M7 7.2V13c0 1.5 2.2 3 5 3s5-1.5 5-3V7.2M21 6v6'/%3E%3C/svg%3E");
}

/* Dados / dashboard */
.cg-solution-band-item:nth-child(3)::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E");
}

/* Suporte / evolução */
.cg-solution-band-item:nth-child(4)::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5 5L3 18v3h3l6.7-6.7a4 4 0 0 0 5-5l-2.2 2.2-3-3 2.2-2.2Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5 5L3 18v3h3l6.7-6.7a4 4 0 0 0 5-5l-2.2 2.2-3-3 2.2-2.2Z'/%3E%3C/svg%3E");
}

@media(max-width:680px){
  .cg-solution-band-item{
    padding-top:68px!important;
  }
  .cg-solution-band-item::before{
    top:22px;
    left:22px;
    width:34px;
    height:34px;
  }
}


/* =========================================================
   V3.3 — FORMULÁRIO COMERCIAL PREMIUM
   ========================================================= */

.cg-contact-grid{
  border:1px solid #e6e8f0;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 28px 70px rgba(11,10,68,.10);
  background:#fff;
}

.cg-contact-copy{
  padding:64px 56px;
  position:relative;
  overflow:hidden;
}

.cg-contact-copy::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-110px;
  bottom:-110px;
  border:1px solid rgba(102,226,255,.28);
  border-radius:50%;
}

.cg-contact-form-wrap{
  padding:52px;
  border:0;
  background:#fff;
}

.cg-contact-form{
  max-width:760px;
  margin:0 auto;
}

.cg-form-heading{
  margin-bottom:30px;
  padding-bottom:24px;
  border-bottom:1px solid #eceef4;
}

.cg-form-kicker{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  margin-bottom:12px;
  border-radius:999px;
  background:#eefaff;
  color:var(--cg-blue-dark);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.cg-form-heading h3{
  margin:0 0 8px;
  color:var(--cg-blue-950);
  font-size:clamp(1.7rem,2.5vw,2.15rem);
  line-height:1.15;
}

.cg-form-heading p{
  margin:0;
  color:#63677a;
  font-size:1.02rem;
  line-height:1.65;
}

.cg-form-grid{
  gap:20px 18px;
}

.cg-form-group label{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:8px;
  color:var(--cg-blue-950);
  font-size:.94rem;
  font-weight:800;
  line-height:1.25;
}

.cg-contact-form input,
.cg-contact-form select,
.cg-contact-form textarea{
  width:100%;
  min-height:56px;
  border:1px solid #d9dce7;
  border-radius:13px;
  padding:0 16px;
  background:#fafbfe;
  color:var(--cg-text);
  font-family:inherit;
  font-size:1rem;
  line-height:1.4;
  outline:none;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.cg-contact-form input::placeholder,
.cg-contact-form textarea::placeholder{
  color:#969bad;
  opacity:1;
}

.cg-contact-form textarea{
  min-height:150px;
  padding:16px;
  resize:vertical;
}

.cg-contact-form input:hover,
.cg-contact-form select:hover,
.cg-contact-form textarea:hover{
  border-color:#bfc4d5;
  background:#fff;
}

.cg-contact-form input:focus,
.cg-contact-form select:focus,
.cg-contact-form textarea:focus{
  border-color:var(--cg-cyan);
  background:#fff;
  box-shadow:0 0 0 4px rgba(0,189,255,.11);
}

.cg-contact-preference{
  grid-column:1/-1;
  border:1px solid #dcecf3;
  border-radius:16px;
  background:#f7fcff;
  padding:20px;
}

.cg-preference-heading{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.cg-preference-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--cg-cyan);
  color:var(--cg-blue-950);
  font-weight:900;
}

.cg-preference-heading strong,
.cg-preference-heading span{
  display:block;
}

.cg-preference-heading strong{
  margin-bottom:2px;
  color:var(--cg-blue-950);
  font-size:1rem;
}

.cg-preference-heading div > span{
  color:#6e7384;
  font-size:.9rem;
  line-height:1.4;
}

.cg-preference-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.cg-form-actions{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:4px;
  padding-top:22px;
  border-top:1px solid #eceef4;
}

.cg-form-security{
  margin:0;
  max-width:390px;
  color:#74798a;
  font-size:.88rem;
  line-height:1.5;
}

.cg-form-security span{
  color:#139250;
  font-weight:900;
}

.cg-submit{
  width:auto;
  min-width:235px;
  min-height:56px;
  border:0;
  border-radius:14px;
  padding:0 12px 0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  cursor:pointer;
  background:var(--cg-blue-950);
  color:#fff;
  font-family:inherit;
  font-size:1rem;
  font-weight:800;
  box-shadow:0 12px 26px rgba(11,10,68,.16);
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.cg-submit-arrow{
  width:38px;
  height:38px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--cg-cyan);
  color:var(--cg-blue-950);
  font-size:1.15rem;
}

.cg-submit:hover{
  background:var(--cg-blue-dark);
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(11,10,68,.21);
}

.cg-submit:focus-visible{
  outline:3px solid rgba(0,189,255,.35);
  outline-offset:3px;
}

.cg-form-notice{
  border:0;
  border-radius:12px;
  padding:15px 17px;
  margin-bottom:22px;
  font-size:.95rem;
  font-weight:700;
}

.cg-form-notice.success{
  background:#edf9f1;
  color:#1c6538;
}

.cg-form-notice.error{
  background:#fff0f0;
  color:#8d2929;
}

/* CSS solicitado para o menu desktop */
@media (min-width: 981px) {
  .cg-navigation .wp-block-navigation__container {
    display: flex;
    align-items: center;
    gap: 26px !important;
  }

  .cg-navigation .wp-block-navigation-item {
    margin: 0 !important;
  }

  .cg-navigation .wp-block-navigation-item__content {
    padding: 10px 0;
    white-space: nowrap;
  }
}

@media(max-width:980px){
  .cg-contact-grid{
    border-radius:22px;
  }

  .cg-contact-copy{
    padding:46px 34px;
  }

  .cg-contact-form-wrap{
    padding:40px 34px;
  }
}

@media(max-width:680px){
  .cg-contact-grid{
    border-radius:18px;
    box-shadow:0 18px 45px rgba(11,10,68,.08);
  }

  .cg-contact-copy,
  .cg-contact-form-wrap{
    padding:30px 22px;
  }

  .cg-form-heading{
    margin-bottom:24px;
    padding-bottom:20px;
  }

  .cg-form-grid,
  .cg-preference-grid{
    grid-template-columns:1fr;
  }

  .cg-contact-preference{
    padding:18px;
  }

  .cg-form-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .cg-form-security{
    max-width:none;
  }

  .cg-submit{
    width:100%;
    min-width:0;
  }
}


/* =========================================================
   V3.4 — AJUSTE ELEGANTE DA PREFERÊNCIA DE CONTATO
   ========================================================= */
.cg-preference-grid{
  align-items:start;
}

.cg-field-label{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:10px;
  color:var(--cg-blue-950);
  font-size:.94rem;
  font-weight:800;
  line-height:1.25;
}

.cg-radio-group{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.cg-radio-card{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 18px;
  border:1px solid #d9dce7;
  border-radius:13px;
  background:#fafbfe;
  cursor:pointer;
  transition:border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
  overflow:hidden;
}

.cg-radio-card:hover{
  border-color:#bfc4d5;
  background:#fff;
}

.cg-radio-card input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
  min-height:auto;
  width:100%;
  margin:0;
}

.cg-radio-card span{
  position:relative;
  z-index:1;
  color:var(--cg-blue-950);
  font-size:1rem;
  font-weight:700;
}

.cg-radio-card input:checked + span{
  color:var(--cg-blue-950);
}

.cg-radio-card:has(input:checked){
  border-color:var(--cg-cyan);
  background:#eefaff;
  box-shadow:0 0 0 4px rgba(0,189,255,.10);
}

.cg-radio-card:has(input:focus-visible){
  outline:3px solid rgba(0,189,255,.26);
  outline-offset:2px;
}

.cg-preference-grid .cg-form-group{
  margin:0;
}

.cg-preference-grid .cg-form-group > label,
.cg-preference-grid .cg-form-group > .cg-field-label{
  min-height:48px;
  align-items:flex-end;
}

@media(max-width:680px){
  .cg-radio-group{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:460px){
  .cg-radio-group{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V3.5 — AJUSTE FINO DO ÍCONE DE PREFERÊNCIA DE CONTATO
   ========================================================= */
.cg-preference-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  padding-top:1px;
}


/*===============================================================
ÍCONES SOCIAIS

*=================================================================/
/* Ícones sociais do rodapé */
.cg-footer .wp-block-social-links {
  gap: 12px;
}

.cg-footer .wp-block-social-link {
  width: 48px;
  height: 48px;
}

.cg-footer .wp-block-social-link a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cg-footer .wp-block-social-link svg {
  width: 24px;
  height: 24px;
}

/* Tamanho médio */
@media (max-width: 980px) {
  .cg-footer .wp-block-social-link,
  .cg-footer .wp-block-social-link a {
    width: 44px;
    height: 44px;
  }

  .cg-footer .wp-block-social-link svg {
    width: 22px;
    height: 22px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .cg-footer .wp-block-social-links {
    gap: 10px;
  }

  .cg-footer .wp-block-social-link,
  .cg-footer .wp-block-social-link a {
    width: 40px;
    height: 40px;
  }

  .cg-footer .wp-block-social-link svg {
    width: 20px;
    height: 20px;
  }
}