/* Cabeçalho e hero na identidade do logo: marinho #0F284C, azul #6CA6DB e verde de ação #21AA67. */
:root { --gcb-navy: #0f284c; --gcb-blue: #6ca6db; --gcb-green: #21aa67; --gcb-ice: #eef5fc; }

/* ---------- Cabeçalho ---------- */
.header-topbar > .container-fluid, .header-layout-gcb .navbar > .container-fluid, .gcb-hero .container { width: 100%; max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.header-topbar .contact__list { margin: 0; padding: 0; }
.header-topbar .contact__list li { display: flex; align-items: center; line-height: 1; }
.header-topbar .contact__list li > i { margin-right: 8px; display: inline-flex; align-items: center; }
.header-topbar .contact__list li a { line-height: 1; }
.header-topbar .social-icons { display: flex; align-items: center; gap: 4px; margin: 0 !important; }
.header-topbar .social-icons li { display: flex; margin: 0; }
.header-topbar .social-icons li a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.header-topbar { background: var(--gcb-navy); height: 44px; }
.header-topbar .contact__list li a:not(.btn), .header-topbar .contact__list li > i { color: #dbe9f7; font-size: 13px; }
.header-topbar .contact__list li > i { color: var(--gcb-blue); }
.header-topbar .social-icons li a { color: #fff; opacity: .85; transition: opacity .3s, transform .3s; }
.header-topbar .social-icons li a:hover { opacity: 1; color: var(--gcb-blue); transform: translateY(-2px); }
.header-layout-gcb .navbar { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.header-layout-gcb .nav__item-link { position: relative; color: var(--gcb-navy); font-weight: 700; transition: color .3s; }
.header-layout-gcb .nav__item-link:before { display: none; }
.header-layout-gcb .nav__item-link:after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 0; height: 3px; border-radius: 3px; background: var(--gcb-blue); transform: translateX(-50%); transition: width .35s cubic-bezier(.22, .8, .24, 1); }
.header-layout-gcb .nav__item-link:hover, .header-layout-gcb .nav__item-link.active { color: var(--gcb-blue); }
.header-layout-gcb .nav__item-link:hover:after, .header-layout-gcb .nav__item-link.active:after { width: 26px; }
.header-action-buttons .btn { height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; letter-spacing: 0; text-transform: none; font-size: 15px; }
.header-action-buttons .btn__secondary { background: transparent; color: var(--gcb-navy); border: 2px solid var(--gcb-navy); }
.header-action-buttons .btn__secondary:hover { background: var(--gcb-navy); color: #fff; }
.header-action-buttons .btn__primary { background: var(--gcb-green); color: #fff; border: 2px solid var(--gcb-green); box-shadow: 0 10px 22px rgba(33, 170, 103, .3); }
.header-action-buttons .btn__primary:hover { background: #198a53; border-color: #198a53; box-shadow: 0 14px 28px rgba(33, 170, 103, .4); }

/* ---------- Hero ---------- */
.gcb-hero { position: relative; z-index: 5; padding: 72px 0 0; color: #fff; background: radial-gradient(120% 100% at 85% 0%, #1d4f8f 0%, var(--gcb-navy) 55%, #091a33 100%); }
.gcb-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gcb-hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: gcb-orb 14s ease-in-out infinite alternate; }
.gcb-hero__orb--1 { width: 420px; height: 420px; right: -80px; top: -120px; background: var(--gcb-blue); }
.gcb-hero__orb--2 { width: 320px; height: 320px; left: -100px; bottom: 40px; background: #2a6db3; animation-delay: -6s; }
@keyframes gcb-orb { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-40px, 30px, 0) scale(1.15); } }
.gcb-hero__pulse { position: absolute; left: 0; right: 0; top: 46%; width: 100%; height: 90px; opacity: .22; }
.gcb-hero__pulse path { fill: none; stroke: var(--gcb-blue); stroke-width: 2; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: gcb-draw 6s ease-in-out infinite; }
@keyframes gcb-draw { 0% { stroke-dashoffset: 1200; } 55%, 100% { stroke-dashoffset: 0; } }

.gcb-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.gcb-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(108, 166, 219, .45); border-radius: 999px; background: rgba(108, 166, 219, .14); color: #cfe3f7; font-size: 14px; font-weight: 700; }
.gcb-hero__eyebrow i { color: var(--gcb-blue); animation: gcb-beat 1.6s ease-in-out infinite; }
@keyframes gcb-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } }
.gcb-hero h1 { margin: 22px 0 18px; color: #fff; font-family: Quicksand, sans-serif; font-weight: 700; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -.02em; }
.gcb-hero h1 span { background: linear-gradient(90deg, #9ccbf5, var(--gcb-blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gcb-hero__lead { max-width: 560px; margin: 0 0 30px; color: #d3e2f2; font-size: 19px; line-height: 1.6; }
.gcb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.gcb-btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 30px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .3s cubic-bezier(.22, .8, .24, 1), box-shadow .3s, background-color .3s; }
.gcb-btn--green { background: var(--gcb-green); color: #fff; box-shadow: 0 14px 30px rgba(33, 170, 103, .4); }
.gcb-btn--green:hover { background: #1a965a; color: #fff; transform: translateY(-3px); box-shadow: 0 20px 38px rgba(33, 170, 103, .5); }
.gcb-btn--green i { transition: transform .3s; }
.gcb-btn--green:hover i { transform: translateX(5px); }
.gcb-btn--ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .55); }
.gcb-btn--ghost:hover { color: var(--gcb-navy); background: #fff; transform: translateY(-3px); }
.gcb-hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: #cfe3f7; font-weight: 700; font-size: 15px; }
.gcb-hero__chips i { margin-right: 6px; color: var(--gcb-blue); }

.gcb-hero__visual { position: relative; }
.gcb-hero__visual::before { content: ""; position: absolute; inset: 6% -6% 0 8%; border-radius: 300px 300px 40px 40px; border: 2px solid rgba(108, 166, 219, .35); transform: rotate(3deg); }
.gcb-hero__photo { position: relative; border-radius: 300px 300px 36px 36px; overflow: hidden; aspect-ratio: 1 / 1.12; margin: 0 auto; width: min(100%, 520px); background: linear-gradient(180deg, #dcecfa, #b6d5f1); box-shadow: 0 40px 80px rgba(2, 10, 24, .45); }
.gcb-hero__photo img { width: 205%; max-width: none; margin-left: -93%; height: 100%; object-fit: cover; object-position: 100% 14%; animation: gcb-kenburns 18s ease-out both; }
.gcb-float { position: absolute; display: flex; flex-direction: column; padding: 14px 20px; border-radius: 18px; background: #fff; color: var(--gcb-navy); box-shadow: 0 18px 40px rgba(2, 10, 24, .35); animation: gcb-bob 5s ease-in-out infinite; }
.gcb-float strong { font-family: Quicksand, sans-serif; font-size: 26px; line-height: 1; color: var(--gcb-navy); }
.gcb-float span { margin-top: 4px; font-size: 13px; color: #5b6f89; font-weight: 700; }
.gcb-float--a { left: -34px; top: 56%; }
.gcb-float--b { right: -18px; top: 12%; animation-delay: -1.8s; }
.gcb-float--c { right: 6%; bottom: -22px; flex-direction: row; align-items: center; gap: 10px; animation-delay: -3.2s; }
.gcb-float--c i { color: var(--gcb-green); font-size: 22px; }
.gcb-float--c span { margin: 0; color: var(--gcb-navy); font-size: 14px; }
.gcb-float--c strong { font-size: 15px; }
@keyframes gcb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Categorias */
.gcb-hero__cats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; transform: translateY(50%); }
.gcb-hero__cats a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 12px; border-radius: 20px; background: #fff; color: var(--gcb-navy); font-weight: 700; box-shadow: 0 16px 38px rgba(15, 40, 76, .18); transition: transform .35s cubic-bezier(.22, .8, .24, 1), box-shadow .35s, color .3s; }
.gcb-hero__cats a i { font-size: 30px; color: var(--gcb-blue); transition: transform .35s; }
.gcb-hero__cats a:hover { transform: translateY(-6px); color: var(--gcb-blue); box-shadow: 0 24px 48px rgba(15, 40, 76, .26); }
.gcb-hero__cats a:hover i { transform: scale(1.15) rotate(-6deg); }
.gcb-hero + section { padding-top: 110px; }

/* Entrada */
.js-motion .gcb-hero__content > *, .js-motion .gcb-float, .js-motion .gcb-hero__photo, .js-motion .gcb-hero__cats li { opacity: 0; animation: gcb-up .9s cubic-bezier(.22, .8, .24, 1) forwards; }
.js-motion .gcb-hero__content > :nth-child(1) { animation-delay: .1s; }
.js-motion .gcb-hero__content > :nth-child(2) { animation-delay: .2s; }
.js-motion .gcb-hero__content > :nth-child(3) { animation-delay: .32s; }
.js-motion .gcb-hero__content > :nth-child(4) { animation-delay: .44s; }
.js-motion .gcb-hero__content > :nth-child(5) { animation-delay: .56s; }
.js-motion .gcb-hero__photo { animation-delay: .25s; }
.js-motion .gcb-float { animation: gcb-up .9s cubic-bezier(.22, .8, .24, 1) forwards, gcb-bob 5s ease-in-out 1.4s infinite; animation-delay: .8s, 1.4s; }
.js-motion .gcb-hero__cats li:nth-child(1) { animation-delay: .7s; }
.js-motion .gcb-hero__cats li:nth-child(2) { animation-delay: .78s; }
.js-motion .gcb-hero__cats li:nth-child(3) { animation-delay: .86s; }
.js-motion .gcb-hero__cats li:nth-child(4) { animation-delay: .94s; }
.js-motion .gcb-hero__cats li:nth-child(5) { animation-delay: 1.02s; }

@media (max-width: 991px) {
  .gcb-hero { padding-top: 48px; }
  .gcb-hero__grid { grid-template-columns: 1fr; }
  .gcb-float--a { left: 0; } .gcb-float--b { right: 0; }
  .gcb-hero__photo { border-radius: 200px 200px 28px 28px; aspect-ratio: 1 / 1; }
  .gcb-hero__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); transform: translateY(40px); margin-top: -10px; }
  .gcb-hero + section { padding-top: 130px; }
}
@media (max-width: 575px) { .gcb-btn { width: 100%; justify-content: center; } .gcb-float strong { font-size: 20px; } }

@media (prefers-reduced-motion: reduce) {
  .gcb-hero *, .gcb-hero *::before { animation: none !important; transition: none !important; }
  .js-motion .gcb-hero__content > *, .js-motion .gcb-float, .js-motion .gcb-hero__photo, .js-motion .gcb-hero__cats li { opacity: 1 !important; }
}

/* ---- Barra superior centralizada ---- */
.header-topbar { display: flex; align-items: center; }
.header-topbar > .container-fluid, .header-topbar .row, .header-topbar .col-12 { height: 100%; }
.header-topbar .col-12 > div { height: 100%; align-items: center; }
.header-topbar .contact__list li { height: auto !important; margin-top: 0 !important; margin-right: 28px; }
.header-topbar .contact__list li:last-child { margin-right: 0; }
.header-topbar .social-icons { margin-right: 0 !important; }
.header-topbar .social-icons li a { background: transparent !important; border-radius: 50%; }
.header-topbar .social-icons li a:hover { background: rgba(108, 166, 219, .22) !important; }
.header-topbar .mr-30 { margin-right: 0 !important; }

/* ---- Menu ---- */
.header-layout-gcb .navbar-brand { margin-right: clamp(32px, 5vw, 88px); }
.header-layout-gcb .navbar-nav { gap: 4px; }
.header-layout-gcb .nav__item { margin: 0; }
.header-layout-gcb .nav__item-link { padding: 0 18px; line-height: 40px !important; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; transition: background .3s, color .3s; }
.header-layout-gcb .nav__item-link:after { display: none; }
.header-layout-gcb .nav__item-link:hover { background: #eaf3fb; color: #0f284c; }
.header-layout-gcb .nav__item-link.active { background: #0f284c; color: #fff; }
.header-layout-gcb .navbar > .container-fluid { display: flex; align-items: center; }
.header-layout-gcb .header-action-buttons { margin-left: auto; }
.is-sticky .nav__item .nav__item-link { line-height: 40px !important; }
.is-sticky .nav__item .nav__item-link.active { color: #fff; }
.header-layout-gcb .nav__item-link, .header-action-buttons .btn { white-space: nowrap; }
.header-layout-gcb .navbar-brand { margin-right: clamp(20px, 3vw, 56px); flex-shrink: 0; }
.header-layout-gcb .nav__item-link { padding: 0 14px; font-size: 15px; }
.header-layout-gcb .navbar-nav { flex-wrap: nowrap; }
.header-action-buttons { flex-shrink: 0; gap: 10px; margin-left: auto; }
.header-action-buttons .btn { height: 46px; padding: 0 18px; font-size: 14px; margin: 0 !important; }

/* ---- Menu moderno: ativo em azul suave com ponto indicador ---- */
.header-layout-gcb .nav__item-link { position: relative; background: transparent; color: #24405f; font-weight: 600; letter-spacing: .005em; }
.header-layout-gcb .nav__item-link:hover { background: #f1f7fd; color: #1d6bb8; }
.header-layout-gcb .nav__item-link.active { background: linear-gradient(180deg, #eef6fd, #e3effa); color: #0f4f94; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(108, 166, 219, .45); }
.header-layout-gcb .nav__item-link.active::after { content: none !important; display: none !important; }
.is-sticky .nav__item .nav__item-link.active { color: #1d6bb8; }
.header-layout-gcb .nav__item-link.active:hover { background: linear-gradient(180deg, #e6f1fb, #dbeaf8); color: #0f4f94; }
.header-layout-gcb .navbar .nav__item .nav__item-link.active, .header-layout-gcb .navbar .nav__item .nav__item-link.active:hover { color: #0f4f94; }
/* O menu lateral do celular precisa ficar acima do hero e dos cartões */
.header.header-layout-gcb { position: relative; z-index: 100; }

/* backdrop-filter cria um bloco contenedor e prende o menu fixo dentro da barra */
@media (max-width: 991px) {
  .header-layout-gcb .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}
@media (max-width: 991px) {
  .header-layout-gcb .navbar .navbar-nav { padding: 24px 12px; }
  .header-layout-gcb .navbar .nav__item .nav__item-link { padding-left: 14px; padding-right: 14px; }
}
