:root{--ccl-navy:#102A3A;--ccl-mint:#53D9BD;--ccl-white:#F5F7F8;--ccl-gray:#536572;--ccl-paper:#fff;--ccl-heading:Sora,system-ui,sans-serif;--ccl-body:Inter,system-ui,sans-serif;--ccl-mono:'IBM Plex Mono',monospace}
body{background:var(--ccl-white);color:var(--ccl-navy);font-family:var(--ccl-body);font-size:17px;line-height:1.7}
body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--ccl-heading);color:var(--ccl-navy);line-height:1.2;font-weight:700}
body h1{font-size:clamp(2rem,4.2vw,3.5rem)}body h2{font-size:clamp(1.65rem,3vw,2.5rem)}body h3{font-size:clamp(1.25rem,2vw,1.65rem);font-weight:600}
body a{color:var(--ccl-navy)}body a:hover{color:var(--ccl-gray)}
body .site-header,body .main-navigation,body .main-navigation ul ul,body .site-info,body .footer-widgets{background:var(--ccl-navy);color:var(--ccl-white)}
body .site-header a,body .main-title a,body .main-navigation .main-nav ul li a,body .main-navigation .menu-toggle,body .site-info a,body .footer-widgets a,body .footer-widgets .widget-title{color:var(--ccl-white)}
body .site-description,body .site-header a:hover,body .main-navigation .main-nav ul li:hover>a,body .main-navigation .main-nav ul li[class*="current-menu-"]>a,body .site-info a:hover,body .footer-widgets a:hover{color:var(--ccl-mint);background:var(--ccl-navy)}
body .inside-article,body .sidebar .widget{background:var(--ccl-paper);color:var(--ccl-navy)}body .entry-meta,body .entry-meta a{color:var(--ccl-gray)}
body button:not(.menu-toggle),body input[type=submit],body .button,body .wp-block-button__link{background:var(--ccl-mint);color:var(--ccl-navy);font-family:var(--ccl-heading);font-weight:600;border-radius:4px}
body button:not(.menu-toggle):hover,body input[type=submit]:hover,body .button:hover,body .wp-block-button__link:hover{background:var(--ccl-navy);color:var(--ccl-paper)}
body :focus-visible{outline:3px solid #287b6b;outline-offset:3px}body .site-header :focus-visible,body .main-navigation :focus-visible,body .site-footer :focus-visible{outline-color:var(--ccl-mint)}
body .grid-container{max-width:1200px}body .ccl-label{font-family:var(--ccl-mono);font-weight:500;letter-spacing:.06em;font-size:.8rem;text-transform:uppercase}
@media(max-width:768px){body{font-size:16px}body .inside-article{padding:24px}body .inside-header{padding:20px}}
.ccl-brand{display:inline-block;max-width:100%}.ccl-brand img{width: min(300px,75vw);height:auto;display:block}.site-description{display:none}.ccl-hero,.ccl-section{padding:clamp(24px,5vw,72px);margin:0 0 24px}.ccl-hero{background:var(--ccl-navy);color:var(--ccl-white)}body .ccl-hero h1,body .ccl-hero h2{color:var(--ccl-white)}.ccl-hero .ccl-label{color:var(--ccl-mint)}.ccl-section{background:var(--ccl-white)}.ccl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ccl-card{background:white;border:1px solid #d5dfe3;border-top:4px solid var(--ccl-mint);padding:24px}.ccl-hero .wp-block-button__link:hover{background:white;color:var(--ccl-navy)}.ccl-card p:last-child{margin-bottom:0}@media(max-width:650px){.ccl-grid{grid-template-columns:1fr}.ccl-hero,.ccl-section{padding:24px}.ccl-card{padding:20px}}
/* 1.2: override Gutenberg and theme spacing, scoped to laboratory blocks. */
body h1{font-size:52px}body h2{font-size:36px}body h3{font-size:24px}body .ccl-brand img{width:260px;max-width:100%}body .inside-header{padding:18px 24px}body .site-header .inside-header{display:flex;align-items:center;justify-content:space-between;gap:16px}body .ccl-home .inside-article,body.ccl-home .inside-article{padding:0!important;background:transparent}body.ccl-home .site-content,body.ccl-home .content-area,body.ccl-home .site-main,body.ccl-home .site-main article,body.ccl-home .container.grid-container{width:100%;max-width:none;margin:0;padding:0;min-width:0}body.ccl-home .entry-content{margin:0!important}body .entry-content .ccl-hero,body .entry-content .ccl-section{box-sizing:border-box;width:100%;max-width:none;margin:0!important;padding:80px max(48px,calc((100% - 1104px)/2))!important;overflow-wrap:normal;word-break:normal}body .entry-content .ccl-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0 0!important;padding:0!important;width:100%;max-width:none!important}body .entry-content .ccl-grid>.ccl-card{box-sizing:border-box;width:auto!important;max-width:none!important;min-width:0;margin:0!important;padding:28px!important}body .entry-content .ccl-hero .wp-block-button__link{background:#53D9BD!important;color:#102A3A!important;padding:14px 22px;border-radius:4px}body .entry-content .ccl-hero .wp-block-buttons{margin:24px 0!important}body .ccl-label{font-size:13px}body .ccl-hero p,body .ccl-section p{font-size:18px;max-width:760px}body .ccl-hero .ccl-label,body .ccl-section .ccl-label{font-size:13px}body .ccl-hero h1{max-width:1000px}body .ccl-section:nth-child(even){background:#fff}.ccl-method-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:28px 0}.ccl-method-grid div{border-top:3px solid #53D9BD;padding:12px 0;min-width:0;overflow-wrap:anywhere}.ccl-method-grid strong{display:block;font-size:22px}.ccl-footer-links a{margin:0 8px}.ccl-preview-nav{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.ccl-preview-nav a{font-size:14px}.ccl-recent li{margin-bottom:12px}
@media(max-width:768px){body h1{font-size:32px}body h2{font-size:26px}body h3{font-size:20px}body .entry-content .ccl-hero,body .entry-content .ccl-section{padding:48px 24px!important}body .entry-content .ccl-grid{grid-template-columns:minmax(0,1fr);gap:16px}body .entry-content .ccl-grid>.ccl-card{padding:20px!important}body .ccl-hero p,body .ccl-section p{font-size:16px}body .ccl-hero .ccl-label,body .ccl-section .ccl-label{font-size:12px}body .ccl-brand img{width:200px}body .inside-header{padding:16px 20px}body .ccl-method-grid{grid-template-columns:1fr}body .ccl-preview-nav{gap:8px}body .ccl-preview-nav a{font-size:12px}body .ccl-home .inside-article{padding:0!important}}
/* 1.2.1: isolate homepage layout from theme and block layout constraints. */
body.ccl-home #page,body.ccl-home #content,body.ccl-home #primary,body.ccl-home #main,body.ccl-home .inside-article,body.ccl-home .entry-content{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
body.ccl-home .entry-content .ccl-hero,body.ccl-home .entry-content .ccl-section{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:80px max(48px,calc((100% - 1104px)/2))!important}
body.ccl-home .entry-content .ccl-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;max-width:100%!important;min-width:0!important}
body.ccl-home .entry-content .ccl-grid .ccl-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;margin:0!important}
body.ccl-home .entry-content :is(h1,h2,h3,p){word-break:normal!important;overflow-wrap:break-word!important;max-width:100%;min-width:0;margin-left:0!important;margin-right:0!important}
body.ccl-home .entry-content .ccl-hero h1{font-size:52px!important;line-height:1.15!important;margin:20px 0!important}
body.ccl-home .entry-content h2{font-size:36px!important;line-height:1.2!important}
body .ccl-brand img{height:auto;max-width:100%}
@media(max-width:768px){
body.ccl-home .entry-content .ccl-hero,body.ccl-home .entry-content .ccl-section{padding:48px 24px!important}
body.ccl-home .entry-content .ccl-hero h1{font-size:32px!important}
body.ccl-home .entry-content h2{font-size:26px!important}
body.ccl-home .entry-content h3{font-size:20px!important}
body.ccl-home .entry-content .ccl-grid{grid-template-columns:minmax(0,1fr)!important}
body .site-header .inside-header{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:16px 20px!important;display:flex!important;flex-wrap:wrap;align-items:center;gap:8px}
body .site-header .site-branding,body .site-header .site-logo{min-width:0;margin:0!important;max-width:100%}
body .ccl-brand img{width:200px!important}
body .main-navigation .inside-navigation{min-width:0;max-width:100%;box-sizing:border-box}
body .main-navigation .menu-toggle{padding:8px 20px!important;line-height:1.5!important}
body .ccl-preview-nav{padding:12px 24px;box-sizing:border-box;max-width:100%}
}


/* CRM Copy Lab: layout dos blocos e adaptação em telas estreitas. */
body .site-header .inside-header { max-width: 1200px; }
body .site-header .site-branding { flex: 0 1 auto; min-width: 0; }
body .site-header .ccl-brand { display: block; }
body .entry-content .ccl-grid > .ccl-card { justify-self: stretch; }
body.ccl-home .entry-content .ccl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.ccl-home .entry-content .ccl-grid > .ccl-card { justify-self: stretch; width: 100% !important; }
body.ccl-home .entry-content .ccl-grid > .ccl-card > * { margin-inline: 0 !important; }
body.ccl-home .entry-content .ccl-hero > :is(p, h1),
body.ccl-home .entry-content .ccl-section > :is(p, h2) { width: auto; }
body.ccl-home .entry-content .ccl-hero > p,
body.ccl-home .entry-content .ccl-section > p { max-width: 760px; }
body.ccl-home .entry-content .ccl-hero > h1 { max-width: 1000px; }
body .entry-content .ccl-hero > :last-child,
body .entry-content .ccl-section > :last-child { margin-bottom: 0; }
body .entry-content .ccl-method-grid > div { overflow-wrap: normal; }
@media (max-width: 768px) {
  body.ccl-home .entry-content .ccl-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body .site-header .inside-header { padding-inline: 24px !important; }
  body .site-header .mobile-menu-control-wrapper { min-width: 0; margin-left: auto; }
  body .site-header .menu-toggle { padding-inline: 8px !important; }
  body .entry-content .ccl-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  body .site-header .ccl-brand img { width: 175px !important; }
  body .entry-content .ccl-method-grid { grid-template-columns: minmax(0, 1fr); }
}

body.ccl-home .entry-content .ccl-grid { display: block !important; }
body.ccl-home .entry-content .ccl-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.ccl-home .entry-content .ccl-grid > .wp-block-group__inner-container > .ccl-card { width: 100% !important; min-width: 0; margin: 0 !important; padding: 24px; }
body.ccl-home .entry-content :is(.ccl-hero,.ccl-section) > .wp-block-group__inner-container { width: 100%; min-width: 0; }
body.ccl-home .entry-content :is(.ccl-hero,.ccl-section) > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
body .ccl-preview-nav { padding: 10px 24px; justify-content: center; background: var(--ccl-navy); }
body .ccl-preview-nav a, body .ccl-mobile-nav a { color: var(--ccl-white); text-decoration: underline; text-underline-offset: 3px; }
body .ccl-mobile-nav { display: none; background: var(--ccl-navy); color: var(--ccl-white); padding: 8px 24px 16px; }
body .ccl-mobile-nav summary { cursor: pointer; font-weight: 600; }
body .ccl-mobile-nav nav { display: grid; gap: 10px; padding-top: 12px; }
body .ccl-footer-links { display: block; margin-top: 8px; }
@media (max-width: 768px) {
  body.ccl-home .entry-content .ccl-grid > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.ccl-home .entry-content .ccl-grid > .wp-block-group__inner-container > .ccl-card { padding: 20px; }
  body .ccl-preview-nav { display: none; }
  body .ccl-mobile-nav { display: block; }
}

/* GeneratePress adds padding to every nested group. The outer section owns the inset. */
body .entry-content :is(.ccl-hero,.ccl-section,.ccl-grid,.ccl-card) > .wp-block-group__inner-container { padding: 0 !important; }
body .entry-content .ccl-section-link { margin-top: 24px; }
body .entry-content .ccl-hero .ccl-section-link a { display: inline-block; }
