/* ==========================================================================
   SEBRAE/MT INOVAÇÃO — style.css
   Estratégia: Bootstrap 5 padrão, personalizado somente via variáveis.
   ========================================================================== */

/* Fonte (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. VARIÁVEIS DO PROJETO (sobrescrevem as do Bootstrap)
   -------------------------------------------------------------------------- */
:root {
  /* Cores do tema */
  --bs-primary: #9333ea;          /* roxo – CTAs */
  --bs-primary-rgb: 147, 51, 234;
  --bs-secondary: #0b63e5;        /* azul vibrante */
  --bs-secondary-rgb: 11, 99, 229;
  --bs-info: #0b63e5;             /* azul – eyebrows, ícones, links */
  --bs-info-rgb: 11, 99, 229;
  --bs-dark: #0a2463;             /* azul-marinho – títulos, topbar, rodapé */
  --bs-dark-rgb: 10, 36, 99;
  --bs-light: #eaf3ff;            /* azul gelo – fundos de seção */
  --bs-light-rgb: 234, 243, 255;

  /* Tons suaves (bg-*-subtle / border-*-subtle) */
  --bs-info-bg-subtle: #eaf3ff;
  --bs-info-border-subtle: #cfe2ff;
  --bs-info-text-emphasis: #0a2463;
  --bs-primary-bg-subtle: #f3e8ff;
  --bs-primary-border-subtle: #e2c7fc;
  --bs-primary-text-emphasis: #6b21a8;

  /* Texto, links, bordas */
  --bs-body-font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.5;
  --bs-body-color: #3d4b6b;
  --bs-body-color-rgb: 61, 75, 107;
  --bs-heading-color: #0a2463;
  --bs-emphasis-color: #0a2463;
  --bs-link-color: #0b63e5;
  --bs-link-color-rgb: 11, 99, 229;
  --bs-link-hover-color: #0a2463;
  --bs-link-hover-color-rgb: 10, 36, 99;
  --bs-border-color: #dbe6f7;
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: 1rem;
  --bs-border-radius-xl: 1.25rem;
  --bs-border-radius-xxl: 1.75rem;
  --bs-box-shadow-sm: 0 .25rem .9rem rgba(10, 36, 99, .07);
  --bs-box-shadow: 0 .6rem 1.6rem rgba(10, 36, 99, .10);

  /* Altura do cabeçalho fixo (atualizada via main.js) */
  --header-h: 112px;
}

/* Botão primário (variáveis do componente) */
.btn-primary {
  --bs-btn-bg: #9333ea;
  --bs-btn-border-color: #9333ea;
  --bs-btn-hover-bg: #7e22ce;
  --bs-btn-hover-border-color: #7e22ce;
  --bs-btn-active-bg: #6b21a8;
  --bs-btn-active-border-color: #6b21a8;
  --bs-btn-disabled-bg: #9333ea;
  --bs-btn-disabled-border-color: #9333ea;
  --bs-btn-focus-shadow-rgb: 147, 51, 234;
}

/* Botão outline escuro (padrão do botão secundário do hero) */
.btn-outline-dark {
  --bs-btn-color: #0a2463;
  --bs-btn-border-color: #8ea3c9;
  --bs-btn-hover-bg: #0a2463;
  --bs-btn-hover-border-color: #0a2463;
  --bs-btn-active-bg: #0a2463;
  --bs-btn-active-border-color: #0a2463;
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { padding-top: var(--header-h); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.02em; }
.btn { font-weight: 600; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--bs-box-shadow-sm); }

/* --------------------------------------------------------------------------
   3. CABEÇALHO FIXO
   -------------------------------------------------------------------------- */
#site-header { transition: box-shadow .3s ease; }
.navbar { --bs-navbar-nav-link-padding-x: .45rem; }
.navbar .nav-link { font-weight: 600; font-size: .8125rem; color: var(--bs-dark); position: relative; }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--bs-info); --bs-dropdown-font-size: .875rem; }
.dropdown-item { font-weight: 600; }
.navbar .nav-link:not(.dropdown-toggle)::after {
  content: ''; position: absolute; left: .5rem; right: .5rem; bottom: .25rem; height: 2px;
  background: var(--bs-info); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.navbar .nav-link:not(.dropdown-toggle):hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }

/* Dropdown: abre ao passar o mouse (desktop) */
@media (min-width: 1200px) {
  .navbar .dropdown > .dropdown-menu {
    display: block; visibility: hidden; opacity: 0; transform: translateY(8px);
    margin-top: 0; top: 100%; left: 0;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu { visibility: visible; opacity: 1; transform: none; }
}

/* Menu mobile: desliza por cima do conteúdo (não empurra a página) */
@media (max-width: 1199.98px) {
  .navbar .navbar-collapse {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    background: #fff; padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--bs-border-color); box-shadow: var(--bs-box-shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .navbar .dropdown-menu { border: 0; padding-top: 0; }
}

/* --------------------------------------------------------------------------
   4. HERO
   -------------------------------------------------------------------------- */
#hero { background: linear-gradient(120deg, #f4f9ff 0%, #e3efff 100%); }
#hero img { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------------------------
   5. CARDS
   -------------------------------------------------------------------------- */
.card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--bs-box-shadow) !important; border-color: var(--bs-info-border-subtle) !important; }
.card:hover .bi-arrow-right { transform: translateX(3px); }
.bi-arrow-right { transition: transform .25s ease; display: inline-block; }
.card-img-top { aspect-ratio: 16 / 9; object-fit: cover; }
.card .stretched-link { text-decoration: none; }

/* Owl Carousel: cards com mesma altura */
.owl-carousel .owl-stage { display: flex; }
.owl-carousel .owl-item { display: flex; }
.owl-carousel .owl-item > div { width: 100%; padding: .5rem .25rem 1rem; }
.owl-theme .owl-dots .owl-dot span { background: var(--bs-info-border-subtle); transition: all .3s ease; }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background: var(--bs-info); width: 24px; }

/* --------------------------------------------------------------------------
   6. CTA FINAL
   -------------------------------------------------------------------------- */
#contato {
  background-color: var(--bs-info-bg-subtle);
  background-image: url('../img/cta-bg.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* --------------------------------------------------------------------------
   7. ANIMAÇÕES DE ENTRADA (suaves)
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  #hero img { animation: none; }
  .card, .btn { transition: none; }
}

/* --------------------------------------------------------------------------
   8. AJUSTE FINO DE TIPOGRAFIA E ESPAÇAMENTO (conforme a referência)
   Fonte Figtree · títulos 700 · botões/menu 600 · texto 400
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.005em; line-height: 1.15; }

/* Títulos (fluidos) */
h1 { font-size: clamp(2.1rem, 1.2rem + 2.7vw, 3.4rem); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
#ajuda h2, #jornada h2 { font-size: clamp(1.65rem, 1rem + 1.6vw, 2.3rem); }
#solucoes h2, #oportunidades h2 { font-size: clamp(1.5rem, 1rem + 1.15vw, 1.9rem); }
#resultados h2 { font-size: clamp(1.4rem, .9rem + 1vw, 1.7rem); }
#contato h2 { font-size: clamp(1.35rem, .9rem + .85vw, 1.55rem); }

/* Títulos de card */
#ajuda .card h3 { font-size: 1.3rem; }
#solucoes .card h3 { font-size: 1.125rem; }
#oportunidades .card h3 { font-size: 1.05rem; }
#jornada h3.h6 { font-size: 1rem; }

/* Eyebrows (texto em caixa-alta acima dos títulos) */
.text-uppercase.small { font-size: .8125rem; font-weight: 800; letter-spacing: .1em; }
#hero .text-uppercase.small { font-size: .9rem; }

h3 { text-wrap: balance; }

/* Textos de apoio */
.lead { font-size: 1.2rem; font-weight: 400; line-height: 1.5; }
#ajuda .container > div:first-child > p:last-child,
#jornada .col-lg-5 > p:not(.text-uppercase) { font-size: 1.125rem; }
#ajuda .card .small { font-size: 1rem; }
.card .small, #jornada .col-lg-7 .small { font-size: .9375rem; }
#resultados .small { font-size: .8125rem; }
#resultados .h5 { font-size: 1.35rem; }
.card .small { line-height: 1.4; }

/* Botões */
.btn { --bs-btn-font-size: .95rem; --bs-btn-font-weight: 600; --bs-btn-padding-y: .6rem; --bs-btn-padding-x: 1.15rem; --bs-btn-border-radius: .6rem; }
.btn-lg { --bs-btn-font-size: .95rem; --bs-btn-padding-y: .75rem; --bs-btn-padding-x: 1.5rem; --bs-btn-border-radius: .6rem; }

/* Botão outline (hero) */
.btn-outline-dark { --bs-btn-bg: #fff; --bs-btn-border-width: 1.5px; }

/* Eyebrow dentro dos cards e badges (como na referência) */
.card .text-uppercase.small { font-size: .7rem; letter-spacing: .06em; }
.badge { --bs-badge-font-size: .65rem; --bs-badge-font-weight: 800; --bs-badge-padding-x: .55em; --bs-badge-padding-y: .4em; --bs-badge-border-radius: .3rem; text-transform: uppercase; letter-spacing: .04em; }

/* Menu */
.navbar .nav-link { font-size: .8125rem; }
.dropdown-menu { --bs-dropdown-font-size: .8125rem; }
footer .nav-link { font-size: .8125rem; }

/* Capa: imagem ligeiramente maior que a coluna, sangrando à direita (como na referência) */
@media (min-width: 992px) { #hero img { width: 118%; max-width: none; } }

/* Cards de soluções: imagem mais baixa (proporção da referência) */
.card-img-top { aspect-ratio: 5 / 2; }
@media (min-width: 992px) { .card-img-top { aspect-ratio: 3 / 1; } }

/* Divisores verticais (jornada e resultados) */
@media (min-width: 992px) {
  #jornada .col-lg-7 { border-left: 1px solid var(--bs-border-color); padding-left: 2.5rem; }
}
@media (min-width: 576px) {
  #resultados .col + .col { border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 1.5rem; }
}

/* Menu com 8 itens: compacta logo, links e botão entre 1200 e 1399px para caber em uma linha */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  #site-header .navbar-brand img { width: 200px; height: auto; }
  .navbar { --bs-navbar-nav-link-padding-x: .35rem; }
  #menu > .btn { --bs-btn-padding-x: .85rem; margin-left: .5rem; }
}

/* Jornada (somente mobile): 3 passos em carrossel deslizante com scroll-snap */
@media (max-width: 767.98px) {
  .journey-steps {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--bs-gutter-x) * -.5); padding-inline: calc(var(--bs-gutter-x) * .5);
    scroll-padding-inline: calc(var(--bs-gutter-x) * .5);
  }
  .journey-steps::-webkit-scrollbar { display: none; }
  .journey-steps > .col { flex: 0 0 72%; max-width: 72%; scroll-snap-align: start; }
}

/* --------------------------------------------------------------------------
   9. INDEX2 (home por perfil e necessidade)
   -------------------------------------------------------------------------- */
.sec-title { font-size: clamp(1.5rem, 1rem + 1.15vw, 1.9rem); }
.home-2 #jornada .col-lg-7 { border-left: 0; padding-left: calc(var(--bs-gutter-x) * .5); }
.home-2 #resultados .col + .col { border-left: 0; padding-left: calc(var(--bs-gutter-x) * .5); }
.home-2 #resultados h2 { font-size: clamp(1.5rem, 1rem + 1.15vw, 1.9rem); }
.btn-outline-dark.btn-sm { --bs-btn-font-size: .875rem; --bs-btn-padding-y: .35rem; --bs-btn-padding-x: .9rem; }
.btn-check:checked + .btn, [data-filter].btn-dark { color: #fff; }
a.card:hover { color: inherit; }

/* --------------------------------------------------------------------------
   10. INDEX3 — pegada tecnológica dentro da identidade Sebrae
   Fundo azul-marinho com grade sutil, brilhos azul/roxo, cards com borda luminosa.
   -------------------------------------------------------------------------- */
.home-3 { --tech-blue: #7cc4ff; --tech-purple: #c084fc; }

/* Eyebrow com ponto "ao vivo" */
.eyebrow-tech { color: var(--bs-info); letter-spacing: .1em; font-size: .8125rem; display: flex; align-items: center; gap: .6rem; }
.dot-live { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse-dot 2.4s ease-out infinite; flex-shrink: 0; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(11,99,229,.45); } 70%,100% { box-shadow: 0 0 0 .55rem rgba(11,99,229,0); } }
.hero-tech .eyebrow-tech, .section-dark .eyebrow-tech { color: var(--tech-blue); }
.hero-tech .dot-live, .section-dark .dot-live { animation-name: pulse-dot-light; }
@keyframes pulse-dot-light { 0% { box-shadow: 0 0 0 0 rgba(124,196,255,.55); } 70%,100% { box-shadow: 0 0 0 .55rem rgba(124,196,255,0); } }

/* Hero e seções escuras */
.hero-tech, .section-dark { background: linear-gradient(135deg, #061a4d 0%, #0a2463 55%, #0b3a8f 100%); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; }
.hero-glow-1 { width: 420px; height: 420px; background: #0b63e5; top: -120px; right: 8%; }
.hero-glow-2 { width: 320px; height: 320px; background: #9333ea; bottom: -140px; left: 30%; opacity: .35; }
.text-gradient { background: linear-gradient(90deg, var(--tech-blue), var(--tech-purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-tech h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.2rem); }

/* Visual do hero: rede de nós atrás da imagem */
.hero-visual { position: relative; }
.hero-visual .hero-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual img { animation: float 7s ease-in-out infinite; }
.hero-net .node { animation: node-pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-net .node:nth-child(2n) { animation-delay: .8s; } .hero-net .node:nth-child(3n) { animation-delay: 1.6s; }
@keyframes node-pulse { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.5); } }
@media (min-width: 992px) { .hero-visual img { width: 112%; max-width: none; } }

/* Números-chave (vidro) */
.stat-strip { margin-top: 1rem; padding-bottom: 2.5rem; }
.stat-tech { height: 100%; padding: 1.1rem 1.25rem; border-radius: 1rem; color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .3s ease, border-color .3s ease; }
.stat-tech:hover { transform: translateY(-3px); border-color: rgba(124,196,255,.55); }
.stat-num { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: .25rem; letter-spacing: -.01em; }
.stat-num::first-letter { color: inherit; }

/* Cards "tech": borda com brilho no hover */
.card-tech { background: #fff; border: 1px solid var(--bs-border-color); box-shadow: var(--bs-box-shadow-sm); position: relative; }
.card-tech:hover { border-color: rgba(11,99,229,.45) !important; box-shadow: 0 .6rem 1.6rem rgba(10,36,99,.12), 0 0 0 4px rgba(11,99,229,.07) !important; }
.icon-tech { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: .9rem; font-size: 1.5rem; color: var(--bs-info);
  background: linear-gradient(135deg, #eaf3ff, #f3e8ff); border: 1px solid #d6e6ff; }
.icon-tech-sm { width: 2.5rem; height: 2.5rem; font-size: 1.2rem; border-radius: .7rem; }
.chip-tech { display: inline-flex; align-items: center; padding: .25rem .65rem; border-radius: 2rem; font-size: .8125rem; font-weight: 600; color: var(--bs-dark);
  background: var(--bs-info-bg-subtle); border: 1px solid var(--bs-info-border-subtle); text-decoration: none; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
a.chip-tech:hover { background: var(--bs-info); border-color: var(--bs-info); color: #fff; }

/* Painel de vidro (diagnóstico e newsletter) */
.panel-tech { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1.5rem 3rem rgba(0,0,0,.18); }
.panel-tech.panel-light { background: #fff; border-color: var(--bs-border-color); box-shadow: var(--bs-box-shadow-sm); -webkit-backdrop-filter: none; backdrop-filter: none; }
.home-3 #conhecimento .panel-tech { background: linear-gradient(135deg, #061a4d, #0a2463 60%, #0b3a8f); }
.panel-tech .form-label { color: #fff; }
.panel-tech .form-select, .panel-tech .form-control { border-color: rgba(255,255,255,.25); }
.diag-result { padding-top: 1.25rem; border-top: 1px dashed rgba(255,255,255,.28); animation: fade-up .5s ease both; }
.diag-result li { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; margin-bottom: .5rem; border-radius: .7rem; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); font-weight: 600; }
.diag-result li i { color: var(--tech-blue); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Passos de desafios (linha conectora no desktop) */
.step-tech { position: relative; padding: 1.5rem 1.25rem 1.25rem; border-radius: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); transition: transform .3s ease, border-color .3s ease; }
.step-tech:hover { transform: translateY(-4px); border-color: rgba(124,196,255,.55); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; margin-bottom: .75rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--bs-info), var(--bs-primary)); box-shadow: 0 0 0 5px rgba(124,196,255,.15); }
@media (min-width: 992px) {
  .steps-line > .col:not(:last-child) .step-tech::after { content: ''; position: absolute; top: 2.55rem; left: calc(100% + 1px); width: calc(var(--bs-gutter-x) - 2px); height: 2px; background: linear-gradient(90deg, rgba(124,196,255,.7), rgba(124,196,255,.15)); }
}

/* Estágios de startups */
.stage-tech { height: 100%; padding: 1.25rem; border-radius: 1rem; background: #fff; border: 1px solid var(--bs-info-border-subtle); transition: transform .3s ease, box-shadow .3s ease; }
.stage-tech:hover { transform: translateY(-3px); box-shadow: var(--bs-box-shadow); }
.stage-n { display: block; font-weight: 800; font-size: 1.6rem; line-height: 1; margin-bottom: .5rem; background: linear-gradient(90deg, var(--bs-info), var(--bs-primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Data da agenda */
.date-tech { min-width: 4.25rem; text-align: center; padding: .5rem .75rem; border-radius: .8rem; background: linear-gradient(135deg, #eaf3ff, #f3e8ff); color: var(--bs-dark); border: 1px solid #d6e6ff; }

/* Carrossel de cases na seção escura */
.section-dark .owl-theme .owl-dots .owl-dot span { background: rgba(255,255,255,.3); }
.section-dark .owl-theme .owl-dots .owl-dot.active span, .section-dark .owl-theme .owl-dots .owl-dot:hover span { background: var(--tech-blue); }
.section-dark .card-tech .card-body { color: var(--bs-body-color); }

/* Seção escura: tipografia */
.section-dark h2 { font-size: clamp(1.5rem, 1rem + 1.15vw, 1.9rem); }
.home-3 .section-dark .small, .home-3 #resultados .small { font-size: .875rem; }
.home-3 #resultados .col + .col { border-left: 0; padding-left: calc(var(--bs-gutter-x) * .5); }

@media (prefers-reduced-motion: reduce) { .dot-live, .hero-net .node, .hero-visual img { animation: none; } }
#hero.hero-tech { background: linear-gradient(135deg, #061a4d 0%, #0a2463 55%, #0b3a8f 100%); }
.home-3 .text-white-50 { color: rgba(255,255,255,.74) !important; }

/* --------------------------------------------------------------------------
   11. INDEX3 v2 — componentes enxutos e dinâmicos
   -------------------------------------------------------------------------- */
/* Portas de entrada (bento) */
.door-lg { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 15rem; padding: 2rem; border-radius: 1.5rem; overflow: hidden; text-decoration: none; color: rgba(255,255,255,.85);
  transition: transform .35s ease, box-shadow .35s ease; }
.door-lg:hover { transform: translateY(-5px); box-shadow: 0 1.2rem 2.4rem rgba(10,36,99,.28); color: #fff; }
.door-blue { background: linear-gradient(135deg, #0a2463 0%, #0b63e5 100%); }
.door-purple { background: linear-gradient(135deg, #3b0f8c 0%, #9333ea 100%); }
.door-bg { position: absolute; top: -1rem; right: -.5rem; font-size: 9rem; line-height: 1; opacity: .13; transition: transform .5s ease, opacity .35s ease; }
.door-lg:hover .door-bg { transform: scale(1.12) rotate(-6deg); opacity: .22; }
.door-go { position: absolute; right: 1.5rem; bottom: 1.5rem; width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--bs-dark); font-size: 1.2rem; transition: transform .3s ease; }
.door-lg:hover .door-go { transform: translateX(4px); }
.door-lg h3 { letter-spacing: -.01em; max-width: 80%; }
.door-sm { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.25rem; border-radius: 1.25rem; background: #fff; border: 1px solid var(--bs-border-color); text-decoration: none; color: var(--bs-dark);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.door-sm .icon-tech { flex-shrink: 0; }
.door-sm h3 { flex-grow: 1; }
.door-sm:hover, .sol-item:hover, .agenda-row:hover { transform: translateY(-3px); border-color: rgba(11,99,229,.45); box-shadow: 0 .6rem 1.6rem rgba(10,36,99,.1), 0 0 0 4px rgba(11,99,229,.06); }

/* Item de lista (catálogo, conhecimento) */
.sol-item { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem 1.25rem; border-radius: 1.1rem; background: #fff; border: 1px solid var(--bs-border-color); text-decoration: none; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.sol-item .small { color: var(--bs-body-color); }
.sol-arrow { color: var(--bs-info); font-size: 1.2rem; transition: transform .3s ease; flex-shrink: 0; }
.sol-item:hover .sol-arrow, .agenda-row:hover .sol-arrow, .door-sm:hover .sol-arrow { transform: translateX(5px); }

/* Linha de agenda */
.agenda-row { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.25rem .85rem .85rem; border-radius: 1.1rem; background: #fff; border: 1px solid var(--bs-border-color); text-decoration: none; color: var(--bs-body-color); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }

/* Fluxo de desafios */
.flow-step { display: flex; align-items: center; gap: .85rem; height: 100%; padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); transition: transform .3s ease, border-color .3s ease; }
.flow-step:hover { transform: translateY(-3px); border-color: rgba(124,196,255,.55); }
.flow-step .step-n { margin: 0; flex-shrink: 0; }

/* Biomas / pilares */
.biome { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.4rem .5rem; border-radius: 1.25rem; background: linear-gradient(160deg, #eaf3ff, #f3e8ff); border: 1px solid #d6e6ff; font-weight: 700; color: var(--bs-dark); transition: transform .3s ease; }
.biome i { font-size: 1.9rem; color: var(--bs-info); }
.biome:hover { transform: translateY(-4px); }
.biome-w { background: #fff; }

/* Marquee de territórios */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: .75rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { padding: .55rem 1.1rem; border-radius: 2rem; white-space: nowrap; font-weight: 600; text-decoration: none; color: var(--bs-dark); background: #fff; border: 1px solid var(--bs-info-border-subtle); transition: background-color .25s ease, color .25s ease; }
.mq-item:hover { background: var(--bs-info); border-color: var(--bs-info); color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee { -webkit-mask-image: none; mask-image: none; } }

/* Linha do tempo de startups */
.timeline-tech { position: relative; counter-reset: tl; }
.timeline-tech > li { position: relative; text-align: left; padding-top: 3.2rem; }
.timeline-tech .tl-dot { position: absolute; top: 0; left: calc(var(--bs-gutter-x) * .5); width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--bs-info), var(--bs-primary)); box-shadow: 0 0 0 6px rgba(11,99,229,.12); z-index: 1; }
.timeline-tech h3 { font-size: 1.15rem; }
@media (min-width: 992px) {
  .timeline-tech > li::before { content: ''; position: absolute; top: 1.15rem; left: calc(var(--bs-gutter-x) * .5 + 2.4rem); right: calc(var(--bs-gutter-x) * -.5); height: 2px; background: linear-gradient(90deg, var(--bs-info), rgba(11,99,229,.15)); }
  .timeline-tech > li:last-child::before { display: none; }
}

/* Cases em vidro */
.case-glass { position: relative; padding: 1.6rem; min-height: 11rem; border-radius: 1.25rem; color: rgba(255,255,255,.78); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); transition: transform .3s ease, border-color .3s ease, background-color .3s ease; }
.case-glass:hover { transform: translateY(-4px); border-color: rgba(124,196,255,.55); background: rgba(255,255,255,.11); color: #fff; }
.case-n { display: block; font-weight: 800; font-size: 2rem; line-height: 1; margin-bottom: 1.5rem; background: linear-gradient(90deg, var(--tech-blue), var(--tech-purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-dark .owl-carousel .owl-item > div { padding: .25rem; }

/* Seções: respiro vertical e subtítulos */
.home-3 .sec-title { max-width: 32ch; }
@media (max-width: 575.98px) { .door-lg { min-height: 12.5rem; padding: 1.5rem; } .door-lg h3 { font-size: 1.4rem; } }
.door-lg p { max-width: calc(100% - 4.5rem); }

/* --------------------------------------------------------------------------
   12. INDEX3 — portas de entrada em cards verticais (estilo tabela de planos)
   -------------------------------------------------------------------------- */
.portas-tech { background: linear-gradient(180deg, #f4f9ff 0%, #eaf3ff 100%); }
.hero-grid-light { background-image: linear-gradient(rgba(11,99,229,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,99,229,.07) 1px, transparent 1px); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 75%); }
.plan-card { display: flex; flex-direction: column; height: 100%; position: relative; border-radius: 1.5rem; overflow: hidden; background: #fff; border: 1px solid var(--bs-info-border-subtle);
  box-shadow: var(--bs-box-shadow-sm); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.plan-card:hover { transform: translateY(-8px); border-color: rgba(11,99,229,.5); box-shadow: 0 1.4rem 2.6rem rgba(10,36,99,.16), 0 0 0 4px rgba(11,99,229,.08); }
.plan-head { position: relative; min-height: 15rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .75rem; color: #fff; overflow: hidden; }
.plan-head::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.plan-head::after { content: ''; position: absolute; width: 11rem; height: 11rem; right: -3rem; top: -3rem; border-radius: 50%; background: rgba(255,255,255,.18); filter: blur(30px); }
.plan-blue   { background: linear-gradient(160deg, #0a2463, #0b63e5); }
.plan-purple { background: linear-gradient(160deg, #3b0f8c, #9333ea); }
.plan-navy   { background: linear-gradient(160deg, #061a4d, #1d4ed8); }
.plan-sky    { background: linear-gradient(160deg, #0b3a8f, #38a1ff); }
.plan-violet { background: linear-gradient(160deg, #0a2463, #7c3aed); }
.plan-idx { position: absolute; top: 1.25rem; left: 1.5rem; font-weight: 800; font-size: .95rem; letter-spacing: .08em; color: rgba(255,255,255,.9); z-index: 1; }
.plan-idx small { font-weight: 600; color: rgba(255,255,255,.55); }
.plan-icon { position: absolute; top: 1rem; right: 1.25rem; font-size: 3.2rem; line-height: 1; opacity: .9; z-index: 1; transition: transform .5s ease; }
.plan-card:hover .plan-icon { transform: scale(1.12) rotate(-6deg); }
.plan-head h3 { position: relative; z-index: 1; letter-spacing: -.01em; }
.plan-body { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.5rem 1.5rem; }
.plan-list { margin-bottom: 1.5rem; }
.plan-list li { display: flex; align-items: center; gap: .6rem; padding: .6rem 0; border-bottom: 1px dashed var(--bs-border-color); font-weight: 600; color: var(--bs-dark); font-size: .9375rem; }
.plan-list li:last-child { border-bottom: 0; }
.plan-list i { color: var(--bs-info); font-size: 1.1rem; flex-shrink: 0; }
.plan-btn { background: var(--bs-info-bg-subtle); color: var(--bs-dark); border: 1px solid var(--bs-info-border-subtle); font-weight: 700; border-radius: .8rem; padding: .7rem 1rem; text-align: left; display: flex; align-items: center; justify-content: space-between; transition: background-color .3s ease, color .3s ease; }
.plan-btn i { transition: transform .3s ease; }
.plan-card:hover .plan-btn { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.plan-card:hover .plan-btn i { transform: translateX(4px); }
/* carrossel: setas e pontos */
.plan-carousel .owl-stage-outer { padding: .5rem 0 1rem; }
.plan-carousel .owl-item > div { padding: 0; }
.plan-carousel.owl-theme .owl-nav { position: absolute; top: -4.5rem; right: 0; margin: 0; display: flex; gap: .5rem; }
.plan-carousel.owl-theme .owl-nav [class*=owl-] { width: 2.75rem; height: 2.75rem; margin: 0; border-radius: 50%; background: #fff; color: var(--bs-dark); border: 1px solid var(--bs-info-border-subtle); font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; transition: background-color .25s ease, color .25s ease; }
.plan-carousel.owl-theme .owl-nav [class*=owl-]:hover { background: var(--bs-info); color: #fff; }
.plan-carousel.owl-theme .owl-nav [class*=owl-].disabled { opacity: .35; pointer-events: none; }
.plan-carousel { position: relative; }
@media (max-width: 991.98px) { .plan-head { min-height: 12rem; } }
@media (max-width: 991.98px) { .plan-carousel.owl-theme .owl-nav { display: none !important; } }

/* Portas de entrada — versão suave: cards verticais claros + fundo xadrez sutil */
.portas-tech { background: #fff; }
.hero-grid-light {
  background-image: conic-gradient(rgba(11,99,229,.06) 25%, transparent 0 50%, rgba(11,99,229,.06) 0 75%, transparent 0);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 78%); mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 78%);
}
.plan-head, .plan-blue, .plan-purple, .plan-navy, .plan-sky, .plan-violet { background: linear-gradient(170deg, #f7fbff 0%, #e6f0ff 100%); color: var(--bs-dark); min-height: 13rem; }
.plan-head::before { background-image: linear-gradient(rgba(11,99,229,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(11,99,229,.09) 1px, transparent 1px); }
.plan-head::after { background: rgba(11,99,229,.12); }
.plan-idx { color: var(--bs-info); }
.plan-idx small { color: rgba(10,36,99,.4); }
.plan-icon { top: 1.1rem; right: 1.25rem; display: inline-flex; align-items: center; justify-content: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; font-size: 1.6rem; color: var(--bs-info); background: #fff; border: 1px solid var(--bs-info-border-subtle); box-shadow: var(--bs-box-shadow-sm); opacity: 1; }
.plan-head h3 { color: var(--bs-dark); }
.plan-card { border-color: var(--bs-border-color); }
@media (max-width: 991.98px) { .plan-head, .plan-blue, .plan-purple, .plan-navy, .plan-sky, .plan-violet { min-height: 11rem; } }

/* --------------------------------------------------------------------------
   13. INDEX3 — portas: cards lisos, fundo tecnológico na seção, badges discretos
   -------------------------------------------------------------------------- */
.portas-tech { background: linear-gradient(170deg, #f7fbff 0%, #e6f0ff 100%); }
.portas-tech::before { content: ''; position: absolute; width: 38rem; height: 38rem; right: -10rem; top: -14rem; border-radius: 50%; background: rgba(11,99,229,.12); filter: blur(70px); pointer-events: none; }
.portas-tech::after { content: ''; position: absolute; width: 30rem; height: 30rem; left: -10rem; bottom: -14rem; border-radius: 50%; background: rgba(147,51,234,.07); filter: blur(70px); pointer-events: none; }
.hero-grid-light {
  background-image: linear-gradient(rgba(11,99,229,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(11,99,229,.09) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
.plan-card { background: #fff; }
.plan-head, .plan-blue, .plan-purple, .plan-navy, .plan-sky, .plan-violet { background: transparent; min-height: 9.5rem; padding: 1.5rem 1.5rem .5rem; }
.plan-head::before, .plan-head::after { display: none; }
.plan-idx { top: 1.5rem; left: 1.5rem; }
.plan-icon { top: 1.25rem; right: 1.5rem; }
.plan-body { padding: .75rem 1.5rem 1.5rem; }
.plan-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.plan-tag { display: inline-flex; align-items: center; padding: .22rem .65rem; border-radius: 2rem; font-size: .78rem; font-weight: 600; letter-spacing: .01em; color: #3d5a99;
  background: rgba(11,99,229,.06); border: 1px solid rgba(11,99,229,.16); transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.plan-card:hover .plan-tag { background: rgba(11,99,229,.1); border-color: rgba(11,99,229,.32); color: var(--bs-dark); }
@media (max-width: 991.98px) { .plan-head, .plan-blue, .plan-purple, .plan-navy, .plan-sky, .plan-violet { min-height: 8.5rem; } }

/* --------------------------------------------------------------------------
   14. INDEX3 — efeitos tecnológicos suaves (site todo)
   -------------------------------------------------------------------------- */
/* Grade do hero e seções escuras com deriva lenta */
.hero-grid:not(.hero-grid-light) { animation: grid-drift 40s linear infinite; }
@keyframes grid-drift { to { background-position: 48px 48px, 48px 48px; } }

/* Spotlight que acompanha o cursor (variáveis --mx/--my definidas no JS) */
.fx-spot { background-image: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), rgba(11,99,229,.10), transparent 65%); }
.stat-tech.fx-spot, .step-tech.fx-spot, .flow-step.fx-spot, .case-glass.fx-spot, .panel-tech.fx-spot { background-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(124,196,255,.20), transparent 65%); }
.biome.fx-spot { background-image: radial-gradient(200px circle at var(--mx, -999px) var(--my, -999px), rgba(11,99,229,.14), transparent 65%), linear-gradient(160deg, #eaf3ff, #f3e8ff); }
.biome-w.fx-spot { background-image: radial-gradient(200px circle at var(--mx, -999px) var(--my, -999px), rgba(11,99,229,.12), transparent 65%); }

/* Brilho que atravessa os botões ao passar o mouse */
.home-3 .btn { position: relative; overflow: hidden; }
.home-3 .btn::before { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); }
.home-3 .btn:hover::before { left: 130%; transition: left .7s ease; }

/* Entrada com leve desfoque (efeito "foco") */
.home-3 [data-reveal] { filter: blur(5px); transition: opacity .8s ease, transform .8s ease, filter .8s ease; }
.home-3 [data-reveal].is-visible { filter: none; }

/* Linha de luz no topo dos cards ao passar o mouse */
.plan-card::before, .card-tech::before, .sol-item::before, .agenda-row::before, .door-sm::before { content: ''; position: absolute; left: 12%; right: 12%; top: -1px; height: 2px; border-radius: 2px; opacity: 0; transform: scaleX(.3);
  background: linear-gradient(90deg, transparent, var(--bs-info), var(--bs-primary), transparent); transition: opacity .4s ease, transform .5s ease; pointer-events: none; }
.plan-card:hover::before, .card-tech:hover::before, .sol-item:hover::before, .agenda-row:hover::before, .door-sm:hover::before { opacity: 1; transform: none; }
.sol-item, .agenda-row, .door-sm { position: relative; }

/* Cabeçalhos de seção: sublinhado de luz que "escreve" ao entrar */
.home-3 .sec-title::after { content: ''; display: block; width: 0; height: 3px; margin-top: .75rem; border-radius: 3px; background: linear-gradient(90deg, var(--bs-info), var(--bs-primary)); transition: width 1s ease .3s; }
.home-3 .is-visible .sec-title::after, .home-3 .sec-title.is-visible::after { width: 3.5rem; }
.section-dark .sec-title::after { background: linear-gradient(90deg, var(--tech-blue), var(--tech-purple)); }

@media (prefers-reduced-motion: reduce) {
  .hero-grid { animation: none !important; }
  .home-3 [data-reveal] { filter: none; }
  .home-3 .btn::before { display: none; }
  .home-3 .sec-title::after { width: 3.5rem; transition: none; }
}
@media (hover: none) { .fx-spot { background-image: none; } }

/* Portas: sem numeração, título em destaque, ícone sem borda, botão suave */
.plan-head h3 { font-size: clamp(1.3rem, 1.05rem + .5vw, 1.55rem); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.plan-head, .plan-blue, .plan-purple, .plan-navy, .plan-sky, .plan-violet { min-height: 10.5rem; justify-content: flex-end; }
.plan-icon { border: 0; box-shadow: 0 .35rem .9rem rgba(11,99,229,.12); }
.plan-card:hover .plan-btn { background: rgba(11,99,229,.1); border-color: rgba(11,99,229,.3); color: var(--bs-dark); }
.plan-card:hover .plan-btn i { color: var(--bs-info); }

/* --------------------------------------------------------------------------
   15. INDEX2 — Hub de Inovação: mapa de MT em rede, jornadas, diagnóstico, filtros
   -------------------------------------------------------------------------- */
/* Mapa de Mato Grosso (pontos + linhas de conexão) */
.mt-stage { position: relative; max-width: 34rem; margin-inline: auto; }
.mt-map { display: block; width: 100%; height: auto; overflow: visible; }
.mt-dots { fill: none; stroke: rgba(124,196,255,.55); stroke-width: 3.2; stroke-linecap: round; animation: mt-breathe 5s ease-in-out infinite; }
@keyframes mt-breathe { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.mt-outline { fill: rgba(124,196,255,.05); stroke: rgba(124,196,255,.5); stroke-width: 1.4; stroke-linejoin: round; }
.mt-links path { fill: none; stroke: rgba(124,196,255,.6); stroke-width: 1.3; stroke-dasharray: 5 6; animation: mt-flow 7s linear infinite; }
@keyframes mt-flow { to { stroke-dashoffset: -110; } }
.mt-nodes .node { fill: #fff; stroke: rgba(124,196,255,.45); stroke-width: 7; transform-box: fill-box; transform-origin: center; animation: node-pulse 3.2s ease-in-out infinite; }
.mt-nodes .node:nth-child(2n) { animation-delay: .8s; } .mt-nodes .node:nth-child(3n) { animation-delay: 1.6s; }
.mt-chip { position: absolute; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 2rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: rgba(10,36,99,.72); border: 1px solid rgba(124,196,255,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: float 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.mt-chip i { color: var(--tech-blue); }
/* variante clara (seção do território) */
.mt-stage-light .mt-dots { stroke: rgba(11,99,229,.3); }
.mt-stage-light .mt-outline { fill: rgba(11,99,229,.035); stroke: rgba(11,99,229,.38); }
.mt-stage-light .mt-links path { stroke: rgba(11,99,229,.45); }
.mt-stage-light .mt-nodes { display: none; }
.mt-pin { position: absolute; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: transparent; transform: translate(-50%, -50%); cursor: pointer; }
.mt-pin::before { content: ''; position: absolute; inset: .6rem; border-radius: 50%; background: var(--bs-info); box-shadow: 0 0 0 3px rgba(11,99,229,.18); transition: inset .3s ease, box-shadow .3s ease, background-color .3s ease; }
.mt-pin:hover::before, .mt-pin:focus-visible::before { inset: .45rem; box-shadow: 0 0 0 6px rgba(11,99,229,.2); }
.mt-pin.is-on::before { inset: .4rem; background: var(--bs-primary); box-shadow: 0 0 0 5px rgba(147,51,234,.22); animation: pin-ring 2.2s ease-out infinite; }
@keyframes pin-ring { 0% { box-shadow: 0 0 0 3px rgba(147,51,234,.35); } 100% { box-shadow: 0 0 0 .9rem rgba(147,51,234,0); } }
.terr-num { font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: var(--bs-dark); }
.terr-panel { animation: fade-up .4s ease both; }

/* Seis jornadas */
.door6 { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.6rem; border-radius: 1.25rem; text-decoration: none; color: var(--bs-body-color); background: #fff;
  border: 1px solid var(--bs-border-color); box-shadow: var(--bs-box-shadow-sm); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.door6:hover { transform: translateY(-5px); color: var(--bs-body-color); border-color: rgba(11,99,229,.45); box-shadow: 0 .9rem 2rem rgba(10,36,99,.12), 0 0 0 4px rgba(11,99,229,.06); }
.door6 h3 { color: var(--bs-dark); letter-spacing: -.01em; }
.door6-cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.1rem; font-weight: 700; color: var(--bs-info); }
.door6-cta i { transition: transform .3s ease; }
.door6:hover .door6-cta i, .sol-card:hover .door6-cta i { transform: translateX(5px); }
.door6 p { margin-bottom: 0; }

/* Diagnóstico (mini-interface) */
.diag-ui { padding: 1.25rem; }
.diag-step { position: relative; display: flex; gap: 1rem; padding: 1rem 1.1rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); transition: opacity .3s ease, border-color .3s ease, background-color .3s ease; }
.diag-step + .diag-step { margin-top: 1.1rem; }
.diag-step + .diag-step::before { content: ''; position: absolute; left: 2.2rem; top: -1.1rem; width: 2px; height: 1.1rem; background: linear-gradient(180deg, rgba(124,196,255,.15), rgba(124,196,255,.6)); }
.diag-step.is-locked { opacity: .5; }
.diag-step.is-active { border-color: rgba(124,196,255,.6); background: rgba(255,255,255,.1); }
.diag-n { flex-shrink: 0; width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; font-size: .85rem; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); transition: background .3s ease; }
.diag-step.is-active .diag-n, .diag-step.is-done .diag-n { background: linear-gradient(135deg, var(--bs-info), var(--bs-primary)); border-color: transparent; }
.diag-q { font-weight: 700; color: #fff; margin: .15rem 0 .6rem; }
.diag-opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.diag-opt { padding: .3rem .8rem; border-radius: 2rem; font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.88); background: transparent; border: 1px solid rgba(255,255,255,.3); transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.diag-opt:not(:disabled):hover { border-color: var(--tech-blue); color: #fff; }
.diag-opt.is-on { background: var(--tech-blue); border-color: var(--tech-blue); color: #061a4d; }
.diag-opt:disabled { cursor: not-allowed; }
.diag-final .diag-out { color: rgba(255,255,255,.8); }
.diag-final.is-active .diag-out { color: #fff; font-weight: 600; }

/* Frentes de inovação */
.front-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.75rem; border-radius: 1.5rem; overflow: hidden; }
.front-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--bs-info), var(--bs-primary)); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.front-card:hover::after { transform: scaleX(1); }
.front-n { position: absolute; right: 1.25rem; top: .5rem; font-size: 4rem; font-weight: 800; line-height: 1; color: rgba(11,99,229,.07); }

/* Filtros do catálogo */
.filter-panel { padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: #fff; border: 1px solid var(--bs-info-border-subtle); box-shadow: var(--bs-box-shadow-sm); }
.filter-row { display: flex; flex-direction: column; gap: .5rem; padding: .6rem 0; }
.filter-row + .filter-row { border-top: 1px dashed var(--bs-border-color); }
@media (min-width: 768px) { .filter-row { flex-direction: row; align-items: center; gap: 1rem; } .filter-label { width: 6rem; flex-shrink: 0; } }
.filter-label { font-weight: 700; color: var(--bs-dark); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.fchip { padding: .4rem .95rem; border-radius: 2rem; font-size: .875rem; font-weight: 600; color: var(--bs-dark); background: #fff; border: 1px solid var(--bs-info-border-subtle); transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.fchip:hover { border-color: var(--bs-info); transform: translateY(-1px); }
.fchip.is-on { background: var(--bs-dark); border-color: var(--bs-dark); color: #fff; }
.sol-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: 1.25rem; text-decoration: none; color: var(--bs-body-color); }
.sol-card h3 { color: var(--bs-dark); }
.sol-card:hover { color: var(--bs-body-color); transform: translateY(-4px); }

/* Fluxo de desafios: 5º passo ocupa a linha inteira no mobile */
@media (max-width: 767.98px) { .col-span-mobile { flex: 0 0 100%; width: 100%; } }

/* Startups */
.owl-carousel.stretch .owl-stage { display: flex; }
.owl-carousel.stretch .owl-item { display: flex; }
.owl-carousel.stretch .owl-item > div { width: 100%; padding: .25rem; }
.st-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.4rem; border-radius: 1.25rem; text-decoration: none; color: var(--bs-body-color); }
.st-card:hover { color: var(--bs-body-color); transform: translateY(-4px); }
.st-card h3 { color: var(--bs-dark); }
.st-logo { width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: .9rem; font-weight: 800; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--bs-info), var(--bs-primary)); }
.st-meta li { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; }
.st-meta i { color: var(--bs-info); }

/* Conhecimento */
.kn-card { position: relative; display: block; height: 100%; padding: 1.35rem; border-radius: 1.15rem; text-decoration: none; color: var(--bs-body-color); }
.kn-card h3 { color: var(--bs-dark); }
.kn-card:hover { color: var(--bs-body-color); transform: translateY(-4px); }
.news-bar { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: linear-gradient(135deg, #061a4d, #0a2463 60%, #0b3a8f); }
.news-form { width: 100%; }
@media (min-width: 768px) { .news-bar { flex-direction: row; align-items: center; } .news-form { max-width: 26rem; } }

/* Agenda */
.ag-tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: none; }
.ag-tabs::-webkit-scrollbar { display: none; }
.ag-tabs .btn { white-space: nowrap; flex-shrink: 0; }
.ag-card { position: relative; display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem 1.25rem 1rem 1rem; border-radius: 1.25rem; text-decoration: none; color: var(--bs-body-color); }
.ag-card:hover { color: var(--bs-body-color); transform: translateY(-4px); }
.ag-card:hover .sol-arrow { transform: translateX(5px); }
.ag-date { flex-shrink: 0; width: 4.5rem; padding: .7rem 0; text-align: center; border-radius: 1rem; color: #fff; background: linear-gradient(160deg, #0a2463, #0b63e5); }
.ag-date strong { display: block; font-size: 1.9rem; line-height: 1; font-weight: 800; }
.ag-date small { display: block; margin-top: .25rem; font-weight: 700; letter-spacing: .1em; font-size: .72rem; opacity: .85; }
.ag-info { flex-grow: 1; min-width: 0; }

/* Resultados */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.res-grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 992px) { .res-grid { grid-template-columns: repeat(5, 1fr); } .res-grid > :last-child { grid-column: auto; } }
.res-grid .stat-num { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); }

/* Histórias */
.story-feature { position: relative; display: block; height: 100%; min-height: 22rem; border-radius: 1.5rem; overflow: hidden; text-decoration: none; background: #0a2463; }
.story-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.story-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,77,.05) 25%, rgba(6,26,77,.92) 100%); }
.story-feature:hover img { transform: scale(1.05); }
.story-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.75rem; }

/* CTA final com rede ao fundo */
.cta-title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); letter-spacing: -.02em; }
.cta-map { position: absolute; right: -4rem; top: 50%; width: min(34rem, 80%); transform: translateY(-50%); opacity: .45; pointer-events: none; }
@media (max-width: 991.98px) { .cta-map { opacity: .2; right: -8rem; } }

@media (prefers-reduced-motion: reduce) { .mt-dots, .mt-links path, .mt-nodes .node, .mt-chip, .mt-pin.is-on::before { animation: none; } }

/* Agenda (index2): abas limpas + cards verticais */
.ag2-tabs { display: flex; gap: 2rem; overflow-x: auto; border-bottom: 1px solid var(--bs-border-color); scrollbar-width: none; }
.ag2-tabs::-webkit-scrollbar { display: none; }
.ag2-tab { position: relative; flex-shrink: 0; padding: .75rem 0; margin-bottom: -1px; font-weight: 600; color: var(--bs-body-color); background: none; border: 0; border-bottom: 2px solid transparent; transition: color .25s ease, border-color .25s ease; }
.ag2-tab:hover { color: var(--bs-info); }
.ag2-tab.is-on { color: var(--bs-info); border-bottom-color: var(--bs-info); }
.ag2-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: 1rem; background: #fff; border: 1px solid var(--bs-border-color);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.ag2-card:hover { transform: translateY(-4px); border-color: rgba(11,99,229,.45); box-shadow: 0 .6rem 1.6rem rgba(10,36,99,.1); }
.ag2-tag { position: absolute; top: 1.5rem; right: 1.5rem; padding: .15rem .6rem; border-radius: .4rem; font-size: .75rem; color: var(--bs-body-color); border: 1px solid var(--bs-border-color); background: #fff; }
.ag2-date { align-self: flex-start; min-width: 4rem; padding: .6rem .5rem; margin-bottom: 1.5rem; text-align: center; border-radius: .6rem; background: var(--bs-info-bg-subtle); color: var(--bs-info); }
.ag2-date strong { display: block; font-size: 1.5rem; line-height: 1.1; font-weight: 700; }
.ag2-date small { display: block; font-size: .7rem; letter-spacing: .08em; }
.ag2-title { font-size: 1.15rem; font-weight: 600; color: var(--bs-dark); margin-bottom: 1.25rem; }
.ag2-local { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-size: .875rem; }
.ag2-link { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9375rem; text-decoration: none; }
.ag2-link i { transition: transform .3s ease; }
.ag2-card:hover .ag2-link i { transform: translate(2px, -2px); }

/* Briefing: portas com programas, porta larga, linhas transversais, resultados em 6 */
.door6-prog { display: block; margin-top: .9rem; font-size: .8125rem; font-weight: 600; color: #3d5a99; }
.door6-wide { flex-direction: row; align-items: center; gap: 1.25rem; flex-wrap: wrap; background: linear-gradient(120deg, #fff 0%, #eaf3ff 100%); }
.door6-wide .door6-prog { margin-top: .5rem; }
@media (max-width: 767.98px) { .door6-wide { align-items: flex-start; flex-direction: column; } }
.also-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.also-label { margin-right: .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-dark); }
.chip-on-dark { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.diag-out ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.diag-out li { margin-bottom: .15rem; }
@media (min-width: 992px) { .res-grid { grid-template-columns: repeat(6, 1fr); } }
.res-grid > :last-child { grid-column: auto; }
.res-grid .stat-num { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); }
.res-note { max-width: 40rem; }
@media (min-width: 992px) { .res-note { text-align: right; } }
@media (max-width: 575.98px) { .mt-pin { width: 1.5rem; height: 1.5rem; } .mt-pin::before { inset: .4rem; } .mt-pin.is-on::before { inset: .25rem; } }

/* Desafios: rede de conexões (constelação) */
.flow-wrap { position: relative; max-width: 71rem; margin: 0 auto 2.5rem; }
.fl-svg { display: block; width: 100%; height: auto; overflow: visible; }
.fl-lines line { stroke: rgba(124,196,255,.11); stroke-width: .6; transition: stroke .35s ease, stroke-width .35s ease; }
.fl-lines line.is-near { stroke: rgba(124,196,255,.55); stroke-width: .9; }
.fl-main { fill: none; stroke: url(#flg-d); stroke-width: .9; stroke-opacity: .4; transition: stroke-opacity .4s ease, stroke-width .4s ease; }
.flow-wrap-m .fl-main { stroke: #7cc4ff; }
.fl-main.is-on { stroke-opacity: 1; stroke-width: 1.6; }
.fl-tw { animation: fl-tw 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes fl-tw { 0%, 100% { opacity: .2; } 50% { opacity: .75; } }
.fl-ring { fill: none; stroke: rgba(124,196,255,.5); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: fl-ring 4s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes fl-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
.fl-node { cursor: pointer; }
.fl-node > circle { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.fl-node circle:nth-child(4) { filter: drop-shadow(0 0 4px rgba(124,196,255,.8)); }
.fl-node.is-on > circle:nth-child(1) { transform: scale(1.7); }
.fl-node.is-on > circle:nth-child(3), .fl-node.is-on > circle:nth-child(4) { transform: scale(1.35); }
.fl-node.is-on .fl-ring { animation-duration: 1.4s; stroke: rgba(191,230,255,.9); }
.fl-dot { fill: #fff; filter: drop-shadow(0 0 4px #7cc4ff); }
.fl-dot-s { fill: #bfe6ff; }
.fl-cursor { position: absolute; left: 0; top: 0; width: 22rem; height: 22rem; margin: -11rem 0 0 -11rem; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .4s ease; background: radial-gradient(closest-side, rgba(56,189,248,.16), rgba(56,189,248,0)); transform: translate(var(--mx, 50%), var(--my, 50%)); }
.flow-wrap.is-hover .fl-cursor { opacity: 1; }
.fl-label { position: absolute; width: 12.5rem; transform: translateX(-50%); text-align: center; padding: .7rem .85rem; border-radius: .75rem; font-size: .8125rem; line-height: 1.45; color: rgba(255,255,255,.76); background: rgba(10,36,99,.4); border: 1px solid rgba(124,196,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .35s ease, background .35s ease, box-shadow .35s ease, margin .35s ease; cursor: default; }
.fl-label.is-on { border-color: rgba(124,196,255,.65); background: rgba(11,99,229,.28); box-shadow: 0 0 28px rgba(56,189,248,.28); margin-top: -4px; }
.fl-label.is-on strong { color: #bfe6ff; }
.fl-label strong { display: block; margin-bottom: .2rem; font-size: .975rem; color: #fff; transition: color .3s ease; }
.fl-idx { display: block; margin-bottom: .15rem; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; color: var(--tech-blue, #7cc4ff); font-variant-numeric: tabular-nums; }
.flow-wrap-m { max-width: 21rem; }
.fl-label-m { width: auto; max-width: 62%; transform: translateY(-50%); text-align: left; }
@media (prefers-reduced-motion: reduce) { .fl-tw, .fl-ring { animation: none; } .fl-cursor { display: none; } }
/* Soluções: carrossel */
.sol-carousel .owl-stage-outer { padding: .5rem 0 .75rem; margin: -.5rem 0 0; }
.sol-carousel.owl-carousel.stretch .owl-item > div { padding: .25rem; }
.sol-carousel .owl-nav { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.sol-carousel .owl-nav button.owl-prev, .sol-carousel .owl-nav button.owl-next { width: 2.75rem; height: 2.75rem; margin: 0; border-radius: 50%; background: #fff !important; border: 1px solid var(--bs-info-border-subtle) !important; color: var(--bs-info) !important; font-size: 1.1rem !important; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: all .25s ease; }
.sol-carousel .owl-nav button:hover:not(.disabled) { background: var(--bs-info) !important; color: #fff !important; }
.sol-carousel .owl-nav button.disabled { opacity: .4; cursor: default; }
.sol-carousel .owl-dots { margin-top: -2.4rem; text-align: left; }
@media (max-width: 575.98px) { .sol-carousel .owl-nav { display: none; } .sol-carousel .owl-dots { margin-top: 1rem; text-align: center; } }

/* Capa: efeito de rede reativo ao mouse */
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1s ease; }
.hero-fx.is-ready { opacity: 1; }
.hero-spot { position: absolute; left: 0; top: 0; width: 34rem; height: 34rem; margin: -17rem 0 0 -17rem; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: radial-gradient(closest-side, rgba(56,189,248,.17), rgba(147,51,234,.06) 55%, transparent); transform: translate(var(--mx, 50%), var(--my, 50%)); will-change: transform; }
.hero-spot.is-on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .hero-spot { display: none; } }

.plan-desc { margin: 0 0 1rem; color: var(--bs-body-color); line-height: 1.5; }

/* Cabeçalho: visual tech + glass ao rolar */
#site-header { transition: box-shadow .4s ease; }
#site-header .navbar, #site-header > div:first-child { transition: background-color .4s ease, backdrop-filter .4s ease, -webkit-backdrop-filter .4s ease, padding .3s ease; }
#site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; opacity: 0; transition: opacity .4s ease; background: linear-gradient(90deg, transparent, rgba(11,99,229,.7) 20%, rgba(147,51,234,.7) 80%, transparent); background-size: 200% 100%; animation: hd-line 8s linear infinite; }
@keyframes hd-line { to { background-position: -200% 0; } }
#site-header.is-scrolled::after { opacity: 1; }
#site-header.is-scrolled { box-shadow: 0 .6rem 2rem rgba(10,36,99,.14) !important; }
#site-header.is-scrolled > div:first-child { background-color: rgba(10,36,99,.72) !important; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
#site-header.is-scrolled .navbar { background-color: rgba(255,255,255,.74) !important; -webkit-backdrop-filter: blur(18px) saturate(190%); backdrop-filter: blur(18px) saturate(190%); }
.navbar .nav-link:not(.dropdown-toggle)::after { height: 2px; border-radius: 2px; background: linear-gradient(90deg, #0b63e5, #9333ea); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--bs-info); }
.navbar .btn-primary { position: relative; box-shadow: 0 0 0 0 rgba(147,51,234,.4); transition: box-shadow .3s ease, transform .3s ease, background-color .3s ease; }
.navbar .btn-primary:hover { box-shadow: 0 .4rem 1.4rem rgba(147,51,234,.45); transform: translateY(-1px); }
.navbar .dropdown-menu { border: 1px solid rgba(11,99,229,.14) !important; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: 0 1rem 2.4rem rgba(10,36,99,.18) !important; padding: .5rem; }
.navbar .dropdown-item { border-radius: .6rem; transition: background-color .2s ease, color .2s ease, padding .2s ease; }
.navbar .dropdown-item:hover { background: rgba(11,99,229,.1); color: var(--bs-info); padding-left: 1.2rem; }
@media (max-width: 1199.98px) {
  #site-header.is-scrolled .navbar .navbar-collapse { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(18px) saturate(190%); backdrop-filter: blur(18px) saturate(190%); }
}
@media (prefers-reduced-motion: reduce) { #site-header::after { animation: none; } }

/* ===== Ajustes (09/10) ===== */
/* Busca */
.btn-search { background: none; border: 0; padding: 0; color: inherit; line-height: 1; transition: color .2s ease, transform .2s ease; }
.btn-search:hover { color: var(--tech-blue, #7cc4ff) !important; transform: scale(1.12); }
.search-modal .modal-content { border: 1px solid rgba(124,196,255,.25); border-radius: 1.25rem; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); box-shadow: 0 2rem 4rem rgba(10,36,99,.3); }
.search-modal .modal-header, .search-modal .modal-body { padding-left: 1.75rem; padding-right: 1.75rem; }
.search-modal .modal-title { color: var(--bs-info); letter-spacing: .08em; display: inline-flex; align-items: center; gap: .5rem; }
.search-modal .input-group-text { background: #fff; border-right: 0; color: var(--bs-info); }
.search-modal .form-control { border-left: 0; }
.search-modal .form-control:focus { box-shadow: none; border-color: var(--bs-border-color); }
.search-modal .input-group:focus-within { box-shadow: 0 0 0 .25rem rgba(11,99,229,.15); border-radius: .6rem; }
.modal-backdrop.show { --bs-backdrop-opacity: .55; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Onde começar: botões azuis */
.home-2 .plan-btn, .home-2 .plan-card:hover .plan-btn { background: var(--bs-info); border-color: var(--bs-info); color: #fff; }
.home-2 .plan-card:hover .plan-btn { background: #0a52c4; border-color: #0a52c4; }
.home-2 .plan-card:hover .plan-btn i { color: #fff; }
.home-2 .plan-head h3 { text-wrap: balance; }

/* Frentes: ícone roxo / azul */
.front-card .icon-tech { background: #e6d4fd; color: #0b63e5; box-shadow: none; }

/* Inovação: "Conhecer" roxo */
.sol-card .door6-cta { color: var(--bs-primary); }

/* Território: realce ao trocar de município */
#terr-label { transition: color .3s ease; }
.terr-panel.is-flash #terr-label { animation: terr-lab .9s ease; }
.terr-panel.is-flash #terr-nome span { animation: terr-name .9s ease; }
.terr-panel.is-flash .terr-num { animation: terr-n .7s ease; }
#terr-nome span { display: inline-block; padding: 0 .35rem; margin-left: -.35rem; border-radius: .4rem; }
@keyframes terr-name { 0% { background: rgba(147,51,234,.28); transform: translateY(-3px); } 100% { background: transparent; transform: none; } }
@keyframes terr-lab { 0% { color: var(--bs-primary); letter-spacing: .18em; } 100% { letter-spacing: normal; } }
@keyframes terr-n { 0% { opacity: .2; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }

/* Startups */
.st-logo-img { display: block; height: 2.75rem; width: auto; max-width: 100%; margin-bottom: 1rem; object-fit: contain; align-self: flex-start; }
.st-card p { color: var(--bs-body-color); }

/* Agenda: data em azul-marinho, uma linha por conteúdo */
.ag2-date { background: #0a2463; color: #fff; }
.ag2-title, .ag2-local { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag2-title { margin-bottom: .75rem; }
.ag2-local { margin-bottom: 1.25rem; }
.ag2-card { padding: 1.75rem; }

/* Seções que ocupam mais da tela (desktop) */
@media (min-width: 992px) {
  .sec-fill { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
  .sec-fill > .container { width: 100%; }
}

/* Resultados: 2 fileiras de 3, ícone ao lado do número */
@media (min-width: 768px) { .res-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .res-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.res-grid > :last-child { grid-column: auto; }
.res-grid .stat-tech { padding: 1.5rem 1.6rem; }
.res-grid .stat-num { font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem); margin-bottom: 0; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.stat-ico { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; font-size: 1.4rem; color: var(--tech-blue, #7cc4ff); background: rgba(124,196,255,.12); border: 1px solid rgba(124,196,255,.3); }
.res-note { max-width: 44rem; }

/* Histórias: fotos nos cards */
.sol-thumb { flex-shrink: 0; width: 4.5rem; height: 4.5rem; border-radius: .9rem; object-fit: cover; }

/* Rodapé */
.site-footer .foot-title { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer .foot-list { list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.site-footer .foot-list li { margin-bottom: .55rem; }
.site-footer .foot-list a, .site-footer .foot-bottom a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s ease; }
.site-footer .foot-list a:hover, .site-footer .foot-bottom a:hover { color: #fff; }
.site-footer .foot-contact li { display: flex; gap: .7rem; color: rgba(255,255,255,.85); }
.site-footer .foot-contact i { color: var(--tech-blue, #7cc4ff); margin-top: .1rem; }
.site-footer .foot-contact small { font-size: .75rem; }
.foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.25); font-size: 1.05rem; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.foot-social a:hover { background: var(--bs-primary); border-color: var(--bs-primary); transform: translateY(-2px); }
.foot-about { max-width: 22rem; }
.site-footer .foot-bottom { font-size: .75rem; }
@media (max-width: 991.98px) { .site-footer .foot-bottom { text-align: center; } }
.ag2-title { font-size: 1.05rem; }

/* ===== Ajustes (09/10, 2) ===== */
.terr-title { font-size: clamp(2.1rem, 1.5rem + 2vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; }
.terr-panel { max-width: 25rem; }
.terr-panel #terr-nome { transition: color .35s ease; }
.terr-panel.is-picked #terr-nome { color: var(--bs-primary); }
.terr-panel.is-picked #terr-label { color: var(--bs-primary); }
.st-logo-img { height: 3.25rem; }
.res-grid { grid-template-columns: repeat(2, 1fr) !important; max-width: 56rem; margin-left: auto; margin-right: auto; }
@media (max-width: 575.98px) { .res-grid { grid-template-columns: 1fr !important; } }
.terr-title .text-gradient { background-image: linear-gradient(90deg, #0b63e5, #9333ea); }
