/*
Theme Name: Clear Base Hub
Theme URI: https://www.clearbasehub.com.br
Author: Clear Base Hub — Soluções Digitais
Author URI: https://www.clearbasehub.com.br
Description: Tema WordPress oficial da Clear Base Hub (versão 1.2.3). Preparado para publicação comercial com integração interativa sob demanda do Tour Virtual 360° (Sítio Verde Morada), quatro pilares de soluções, portfólio Tecnologia na Prática editável, cabeçalho otimizado para mobile e painel WordPress, formulário de contato validado e acessível.
Version: 1.2.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clearbasehub
Tags: business, clean, corporate, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, responsive-layout, theme-options, accessibility-ready
*/

:root {
  --cbh-petrol: #142D3B;
  --cbh-petrol-mid: #1A3A4B;
  --cbh-petrol-light: #224B61;
  --cbh-petrol-dark: #0D1E28;
  --cbh-turquoise: #00B8A9;
  --cbh-turquoise-dark: #009D91;
  --cbh-turquoise-accessible: #00857A;
  --cbh-turquoise-soft: rgba(0, 184, 169, 0.11);
  --cbh-slate: #64748B;
  --cbh-text-secondary: #475569;
  --cbh-bg-soft: #F8FAFC;
  --cbh-border: #E2E8F0;
  --cbh-white: #FFFFFF;
  --cbh-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cbh-radius-sm: 8px;
  --cbh-radius-md: 14px;
  --cbh-radius-lg: 20px;
  --cbh-shadow-sm: 0 4px 16px rgba(20, 45, 59, 0.05);
  --cbh-shadow-md: 0 12px 32px rgba(20, 45, 59, 0.09);
  --cbh-shadow-lg: 0 24px 52px rgba(13, 30, 40, 0.28);
  --cbh-transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--cbh-font);
  font-weight: 400;
  line-height: 1.65;
  color: var(--cbh-petrol);
  background-color: var(--cbh-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cbh-turquoise-accessible);
  text-decoration: none;
  transition: var(--cbh-transition);
}

a:hover {
  color: var(--cbh-turquoise-dark);
}

/* Keyboard Navigation Focus Indicators (WCAG 2.1 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cbh-turquoise);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99999;
  background: var(--cbh-petrol);
  color: var(--cbh-white);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--cbh-radius-sm);
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--cbh-petrol);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  font-weight: 700;
  font-size: clamp(1.18rem, 1.9vw, 1.38rem);
}

h4 {
  font-weight: 600;
  font-size: 1.08rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  color: var(--cbh-text-secondary);
}

.cbh-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.cbh-section {
  padding: 80px 0;
}

.cbh-section--soft {
  background-color: var(--cbh-bg-soft);
}

.cbh-section--petrol {
  background-color: var(--cbh-petrol);
  color: var(--cbh-white);
}

.cbh-section--petrol h2,
.cbh-section--petrol h3 {
  color: var(--cbh-white);
}

.cbh-section--petrol p {
  color: #E2E8F0;
}

/* Badges & Eyebrows */
.cbh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cbh-turquoise-accessible);
  background: var(--cbh-turquoise-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.cbh-section--petrol .cbh-eyebrow,
.cbh-hero .cbh-eyebrow {
  background: rgba(0, 184, 169, 0.16);
  border: 1px solid rgba(0, 184, 169, 0.35);
  color: #2EE6D6;
}

/* Buttons */
.cbh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--cbh-font);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 14px 26px;
  border-radius: var(--cbh-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--cbh-transition);
  text-align: center;
}

.cbh-btn--sm {
  font-size: 0.84rem;
  padding: 10px 18px;
}

.cbh-btn--primary {
  background-color: var(--cbh-turquoise);
  color: #09202B;
  box-shadow: 0 8px 22px rgba(0, 184, 169, 0.28);
}

.cbh-btn--primary:hover {
  background-color: var(--cbh-turquoise-dark);
  color: var(--cbh-white);
  transform: translateY(-2px);
}

.cbh-btn--petrol {
  background-color: var(--cbh-petrol);
  color: var(--cbh-white);
}

.cbh-btn--petrol:hover {
  background-color: var(--cbh-petrol-light);
  color: var(--cbh-white);
  transform: translateY(-2px);
}

.cbh-btn--outline {
  background-color: transparent;
  border-color: var(--cbh-petrol);
  color: var(--cbh-petrol);
}

.cbh-btn--outline:hover {
  background-color: var(--cbh-petrol);
  color: var(--cbh-white);
}

.cbh-btn--outline-light {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--cbh-white);
}

.cbh-btn--outline-light:hover {
  border-color: var(--cbh-turquoise);
  background-color: rgba(0, 184, 169, 0.18);
  color: var(--cbh-white);
}

/* 3. CABEÇALHO — Proteção contra corte do logotipo mobile e compatibilidade com Admin Bar / Customizer WP */
.cbh-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cbh-border);
  transition: var(--cbh-transition);
}

body.admin-bar .cbh-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .cbh-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar .cbh-header {
    top: 0;
  }
}

.cbh-header.is-scrolled {
  box-shadow: var(--cbh-shadow-sm);
}

.cbh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
  position: relative;
}

.cbh-brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 62px);
}

.cbh-brand a,
.cbh-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.cbh-brand img,
.cbh-brand svg,
.cbh-brand .custom-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.cbh-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cbh-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.cbh-nav__list a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cbh-petrol);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.cbh-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--cbh-turquoise);
  transition: width 0.25s ease;
}

.cbh-nav__list a:hover::after,
.cbh-nav__list .current-menu-item > a::after {
  width: 100%;
}

.cbh-nav__list a:hover,
.cbh-nav__list .current-menu-item > a {
  color: var(--cbh-turquoise-accessible);
}

.cbh-nav-toggle {
  display: none;
  background: var(--cbh-white);
  border: 1.5px solid var(--cbh-petrol);
  border-radius: var(--cbh-radius-sm);
  padding: 8px 10px;
  color: var(--cbh-petrol);
  cursor: pointer;
  flex: 0 0 auto;
}

/* 1. ABERTURA DO SITE — Fundo Azul-Petróleo (#142D3B) */
.cbh-hero {
  position: relative;
  padding: 76px 0 88px;
  background-color: var(--cbh-petrol);
  background-image:
    radial-gradient(circle at 82% 24%, rgba(0, 184, 169, 0.18) 0%, transparent 48%),
    radial-gradient(circle at 12% 88%, rgba(0, 157, 145, 0.14) 0%, transparent 44%),
    linear-gradient(180deg, #142D3B 0%, #0F232F 100%);
  color: var(--cbh-white);
  overflow: hidden;
}

.cbh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cbh-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.cbh-hero h1 {
  color: var(--cbh-white);
  margin-bottom: 20px;
}

.cbh-hero__title-accent {
  display: block;
  color: var(--cbh-turquoise);
  margin-top: 4px;
}

.cbh-hero__lead {
  font-size: 1.08rem;
  color: #E2E8F0;
  max-width: 560px;
  margin-bottom: 30px;
}

.cbh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.cbh-hero__signature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #2EE6D6;
}

.cbh-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbh-hub-diagram {
  width: 100%;
  max-width: 490px;
  background: rgba(13, 30, 40, 0.55);
  border: 1px solid rgba(0, 184, 169, 0.28);
  border-radius: var(--cbh-radius-lg);
  padding: 20px;
  box-shadow: var(--cbh-shadow-lg);
  backdrop-filter: blur(8px);
}

/* Section Header */
.cbh-section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.cbh-section-header p {
  font-size: 1.03rem;
}

/* 2. SOBRE NÓS */
.cbh-about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.cbh-mission-quote {
  background: var(--cbh-petrol);
  color: var(--cbh-white);
  border-radius: var(--cbh-radius-lg);
  padding: 36px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--cbh-shadow-md);
}

.cbh-mission-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--cbh-turquoise);
}

.cbh-mission-quote blockquote {
  margin: 0 0 18px;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--cbh-white);
}

.cbh-mission-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
  color: #E2E8F0;
}

.cbh-mission-meta strong {
  color: #2EE6D6;
}

/* 3. SOLUÇÕES — Quatro Pilares */
.cbh-pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cbh-pillar-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  background: var(--cbh-white);
  border: 1px solid var(--cbh-border);
  border-radius: var(--cbh-radius-lg);
  overflow: hidden;
  box-shadow: var(--cbh-shadow-sm);
  transition: var(--cbh-transition);
}

.cbh-pillar-row:hover {
  border-color: var(--cbh-turquoise);
  box-shadow: var(--cbh-shadow-md);
}

.cbh-pillar-row--reverse .cbh-pillar-row__visual {
  order: 2;
}

.cbh-pillar-row__visual {
  background: linear-gradient(145deg, #142D3B 0%, #1B3E50 100%);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 220px;
}

.cbh-pillar-row__visual svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.cbh-pillar-row__body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cbh-pillar-row__num {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cbh-turquoise-accessible);
  margin-bottom: 6px;
}

.cbh-pillar-row__body h3 {
  margin-bottom: 14px;
}

.cbh-service-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.cbh-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--cbh-petrol);
  font-weight: 500;
}

.cbh-service-list li svg {
  color: var(--cbh-turquoise-accessible);
  flex-shrink: 0;
  margin-top: 3px;
}

.cbh-pillar-link {
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cbh-turquoise-accessible);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cbh-pillar-link:hover {
  color: var(--cbh-petrol);
}

/* 4. PORTFÓLIO — TECNOLOGIA NA PRÁTICA & TOUR VIRTUAL 360° INTERATIVO */
.cbh-tour-showcase {
  background: var(--cbh-white);
  border: 1.5px solid var(--cbh-border);
  border-radius: var(--cbh-radius-lg);
  overflow: hidden;
  box-shadow: var(--cbh-shadow-md);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.cbh-tour-stage {
  position: relative;
  background: var(--cbh-petrol-dark);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.cbh-tour-cover {
  position: relative;
  flex: 1;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 184, 169, 0.24) 0%, rgba(13, 30, 40, 0.92) 72%),
    linear-gradient(135deg, #142D3B 0%, #0D1E28 100%);
  background-size: cover;
  background-position: center;
  color: var(--cbh-white);
}

.cbh-tour-cover.has-cover-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 30, 40, 0.55) 0%, rgba(13, 30, 40, 0.85) 100%);
}

.cbh-tour-cover__inner {
  position: relative;
  z-index: 1;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cbh-tour-360-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 184, 169, 0.18);
  border: 1px solid rgba(0, 184, 169, 0.45);
  color: #2EE6D6;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cbh-tour-cover__hint {
  color: #E2E8F0;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.cbh-tour-frame-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 380px;
  background: #09151C;
  display: none;
  flex-direction: column;
}

.cbh-tour-frame-wrap.is-active {
  display: flex;
}

.cbh-tour-frame-wrap iframe {
  width: 100%;
  flex: 1;
  min-height: 360px;
  border: 0;
  display: block;
}

.cbh-tour-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: var(--cbh-petrol-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cbh-tour-toolbar__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #E2E8F0;
}

.cbh-tour-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cbh-tour-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cbh-font);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cbh-white);
  cursor: pointer;
  transition: var(--cbh-transition);
}

.cbh-tour-tool-btn:hover {
  border-color: var(--cbh-turquoise);
  background: rgba(0, 184, 169, 0.2);
  color: var(--cbh-white);
}

.cbh-tour-info {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cbh-white);
}

.cbh-tour-info__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.cbh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cbh-project-card {
  background: var(--cbh-white);
  border: 1px solid var(--cbh-border);
  border-radius: var(--cbh-radius-md);
  overflow: hidden;
  box-shadow: var(--cbh-shadow-sm);
  transition: var(--cbh-transition);
  display: flex;
  flex-direction: column;
}

.cbh-project-card:hover {
  border-color: var(--cbh-turquoise);
  transform: translateY(-4px);
  box-shadow: var(--cbh-shadow-md);
}

.cbh-project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #142D3B 0%, #1D4256 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbh-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Clean textual presentation header when no real screenshot is uploaded yet */
.cbh-project-header-band {
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cbh-project-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cbh-turquoise-soft);
  color: var(--cbh-turquoise-accessible);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cbh-project-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cbh-portfolio-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--cbh-turquoise-soft);
  color: var(--cbh-turquoise-accessible);
  margin-bottom: 10px;
}

.cbh-project-body p {
  font-size: 0.92rem;
  color: var(--cbh-text-secondary);
  margin-bottom: 0;
}

.cbh-portfolio-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--cbh-white);
  border: 1px solid var(--cbh-border);
  border-left: 5px solid var(--cbh-turquoise);
  border-radius: var(--cbh-radius-md);
  padding: 24px 28px;
}

.cbh-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #FEF3C7;
  color: #78350F;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* 5. MÉTODO DE TRABALHO */
.cbh-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.cbh-method-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--cbh-radius-md);
  padding: 26px 22px;
  transition: var(--cbh-transition);
}

.cbh-method-item:hover {
  background: rgba(0, 184, 169, 0.12);
  border-color: var(--cbh-turquoise);
}

.cbh-method-item__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--cbh-turquoise);
  color: #09202B;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.cbh-method-item h3 {
  color: var(--cbh-white);
  margin-bottom: 8px;
}

.cbh-method-item p {
  color: #E2E8F0;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 6. CONTATO & FORMULÁRIO — Contraste Definitivo (#142D3B e #64748B sobre #FFFFFF) */
.cbh-cta-box {
  background: linear-gradient(135deg, var(--cbh-petrol) 0%, #193A4C 100%);
  border-radius: var(--cbh-radius-lg);
  padding: 52px 44px;
  color: var(--cbh-white);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: start;
}

.cbh-cta-box > div:first-child h2 {
  color: var(--cbh-white);
  margin-bottom: 14px;
}

.cbh-cta-box > div:first-child > p {
  color: #E2E8F0;
  font-size: 1rem;
}

.cbh-contact-details {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbh-contact-details li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  color: #F1F5F9;
}

.cbh-contact-details a {
  color: #2EE6D6;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cbh-form-card {
  background-color: #FFFFFF;
  border-radius: var(--cbh-radius-md);
  padding: 30px;
  color: #142D3B;
  box-shadow: var(--cbh-shadow-md);
}

.cbh-form-card h3.cbh-form-card__title {
  color: #142D3B;
  margin-bottom: 6px;
}

.cbh-form-card p.cbh-form-card__subtitle {
  color: #64748B;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.cbh-form-group {
  margin-bottom: 14px;
}

.cbh-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #142D3B;
  margin-bottom: 5px;
}

.cbh-form-control {
  width: 100%;
  font-family: var(--cbh-font);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid #64748B;
  border-radius: var(--cbh-radius-sm);
  color: #142D3B;
  background-color: #FFFFFF;
  transition: var(--cbh-transition);
}

.cbh-form-control::placeholder {
  color: #64748B;
  opacity: 1;
}

.cbh-form-control:focus {
  border-color: #009D91;
}

.cbh-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.cbh-form-card p.cbh-privacy-notice {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #64748B;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 16px;
}

.cbh-form-card p.cbh-privacy-notice a {
  color: #142D3B;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cbh-form-card p.cbh-privacy-notice a:hover {
  color: #009D91;
}

.cbh-form-feedback {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
  padding: 12px 14px;
  border-radius: var(--cbh-radius-sm);
}

.cbh-form-feedback.is-success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.cbh-form-feedback.is-error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Single / Page Content */
.cbh-page-header {
  background: var(--cbh-petrol);
  color: var(--cbh-white);
  padding: 60px 0 48px;
}

.cbh-page-header h1 {
  color: var(--cbh-white);
}

.cbh-page-header p {
  color: #E2E8F0;
  max-width: 720px;
  margin-bottom: 0;
}

.cbh-page-header .cbh-eyebrow {
  background: rgba(0, 184, 169, 0.16);
  border: 1px solid rgba(0, 184, 169, 0.35);
  color: #2EE6D6;
}

.cbh-entry-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}

.cbh-entry-content p,
.cbh-entry-content li {
  color: #1E293B;
  font-size: 1.04rem;
  line-height: 1.75;
}

/* 5. RODAPÉ (Sem hashtags, com assinatura institucional e links legais configuráveis) */
.cbh-footer {
  background-color: var(--cbh-petrol-dark);
  color: #E2E8F0;
  padding: 64px 0 28px;
}

.cbh-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cbh-footer__logo img,
.cbh-footer__logo svg {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
}

.cbh-footer__desc {
  color: #CBD5E1;
  font-size: 0.92rem;
  max-width: 320px;
}

.cbh-footer h4 {
  color: var(--cbh-white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.cbh-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cbh-footer li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #E2E8F0;
}

.cbh-footer a {
  color: #CBD5E1;
}

.cbh-footer a:hover {
  color: #2EE6D6;
  text-decoration: underline;
}

.cbh-footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: #CBD5E1;
}

/* WordPress Core Accessibility & Alignment Helpers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.alignwide { max-width: 1200px; }
.alignfull { width: 100%; max-width: 100%; }

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .cbh-hero__grid,
  .cbh-about-split,
  .cbh-cta-box,
  .cbh-pillar-row,
  .cbh-tour-showcase {
    grid-template-columns: 1fr;
  }

  .cbh-pillar-row--reverse .cbh-pillar-row__visual {
    order: 0;
  }

  .cbh-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cbh-method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cbh-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cbh-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cbh-section {
    padding: 56px 0;
  }

  .cbh-header__inner {
    min-height: 68px;
    gap: 10px;
  }

  /* Garante 100% de visibilidade do logotipo horizontal completo em smartphones */
  .cbh-brand {
    max-width: calc(100% - 56px);
  }

  .cbh-brand img,
  .cbh-brand svg,
  .cbh-brand .custom-logo {
    height: auto;
    max-height: 38px;
    width: auto;
    max-width: 195px;
  }

  .cbh-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cbh-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cbh-white);
    border-bottom: 1px solid var(--cbh-border);
    padding: 20px 24px 26px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--cbh-shadow-md);
  }

  .cbh-nav.is-open {
    display: flex;
  }

  .cbh-nav__list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }

  .cbh-nav__list a {
    display: block;
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
  }

  .cbh-hero {
    padding: 52px 0 64px;
  }

  .cbh-hero__actions .cbh-btn {
    width: 100%;
  }

  .cbh-tour-stage,
  .cbh-tour-cover,
  .cbh-tour-frame-wrap iframe {
    min-height: 290px;
  }

  .cbh-tour-info {
    padding: 24px 20px;
  }

  .cbh-pillar-row__body {
    padding: 24px 20px;
  }

  .cbh-service-list,
  .cbh-grid-3,
  .cbh-method-grid,
  .cbh-footer__grid {
    grid-template-columns: 1fr;
  }

  .cbh-cta-box {
    padding: 32px 20px;
  }

  .cbh-form-card {
    padding: 22px 18px;
  }
}
