/* ===== Fontes ===== */
@font-face {
  font-family: 'Museo Sans';
  src: url('fonte/Museo Sans 300.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('fonte/Museo Sans 700.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('fonte/Museo Sans 900.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* ===== Reset e variáveis ===== */
body {
  font-family: 'Museo Sans', sans-serif;
  background-color: #ffffff;
  color: #231F20;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --bs-primary: #009CA7;
  --bs-secondary: #004851;
  --bs-success: #52BD8B;
  --bs-info: #00E6F0;
  --bs-warning: #FEBD2A;
  --bs-danger: #F25A3C;

  --bs-dark: #231F20;
  --bs-light: #f8f9fa;

  --bs-body-font-family: 'Museo Sans', sans-serif;
  --bs-body-color: #231F20;
  --bs-body-bg: #ffffff;
}

.section-pad-tight {
  padding-top: 1rem !important;
  padding-bottom: 0 !important;
}

.bg-Azul {
  background-color: #009AAA; /* azul clarinho, combina com o site */
}

/* Faixa degradê no menu de âncoras */
.bg-info {
  background: linear-gradient(210deg, #009CA7 50%, #00D985 100%);
}

.card-text {
  padding-top: 10px;
  text-align: left;
}

.branco {
  color: var(--bs-body-bg);
}
.lead {
  font-size: 30px;
}

/* ===== Tipografia e botões ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  background-color: #006D79;
  border-color: #006D79;
}

/* ===== Top Bar (PT | EN) ===== */
.top-bar {
  background-color: #008493;
  padding: 6px 0;
  font-size: 0.9rem;
  color: white;
  position: relative;
  z-index: 1100;
  overflow: visible; /* permite o selo sair da área */
}

.selo-irec {
  position: absolute;
  right: calc(20% - 75px); /* posiciona antes do PT|EN sem mexer na barra */
  top: 100%;               /* parte de baixo da barra azul */
  transform: translateY(-50%);
  height: 80px;
  z-index: 1200;
}

/* Padrão (desktop grande) */
@media (min-width: 1800px) {
  .selo-irec {
    right: calc(20% - 10px);
  }
}

@media (max-width: 575.98px) {
  .selo-irec {
    height: 50px;
    right: calc(40% - 50px);
    transform: translateY(-60%);
  }
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-bar .idioma {
  color: white;
  text-decoration: none;
  margin-left: 10px;
  font-weight: 600;
}

.top-bar .idioma:hover {
  color: #FEBD2A;
}

.top-bar .idioma.ativo {
  color: #FEBD2A;
}

/* ===== Navbar (sobre o banner, não fixa) ===== */
.navbar {
  position: absolute;
  top: 45px; /* deixa espaço para .top-bar */
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 0.5rem 2rem;
  transition: background 0.25s ease;
  align-items: center;
}

/* Logo dimension */
.navbar-brand img {
  height: 90px;
  width: auto;
  max-height: 100px;
}

/* Toggler (hambúrguer) - ícone visível em branco */
.navbar-light .navbar-toggler {
  border: none;
  outline: none;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Links na navbar (visíveis sobre o banner) */
.navbar .nav-link {
  display: inline-block;
  padding: 0.5rem 0;
  color: white !important;
  font-weight: 600;
}

.navbar .nav-link:hover {
  color: var(--bs-success) !important;
}

/* separador vertical entre itens (desktop) */
.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .nav-item:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.6);
  margin: 0 10px;
}

/* ===== Hero ===== */

/* Banner com movimento suave no hover (sem scroll) */
.hero {
  position: relative;
  overflow: hidden;         /* impede barras de rolagem */
  background: none !important; /* desliga o background antigo */
  height: 600px;
}

/* camada visual do banner */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/banner.png') center center / cover no-repeat;
  transform: scale(1);                 /* estado normal */
  transition: transform 0.8s ease;     /* animação suave */
  will-change: transform;
  z-index: 0;
}

/* conteúdo fica acima da camada visual */
.hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-top: 40px;
}

/* efeito no hover: leve zoom (e opcionalmente um sutil deslocamento) */
.hero:hover::before {
  transform: scale(1.06) translateY(-6px); /* pode tirar o translateY se quiser só o zoom */
}

.hero-sub {
  position: relative;
  height: 400px;
  color: white;
  padding-top: 50px; /* top-bar (≈45px) + navbar (≈90px) + folga */
  display: flex;
  align-items: center;
}

.hero-estrategia {background: url('images/banner_estrategia.png') center center / cover no-repeat;}
.hero-pessoas {background: url('images/banner_pessoas.png') center center / cover no-repeat;}
.hero-governanca {background: url('images/banner_governança.png') center center / cover no-repeat;}
.hero-planeta {background: url('images/banner_planeta.png') center center / cover no-repeat;}
.hero-prosperidade {background: url('images/banner_prosperidade.png') center center / cover no-repeat;}
.hero-compromisso {background: url('images/banner_compromisso.png') center center / cover no-repeat;}
.hero-presidente {background: url('images/banner_mensagens.png') center center / cover no-repeat;}
.hero-destaques {background: url('images/banner_destaques.png') center center / cover no-repeat;}

.ameba {
  background: url('images/ameba.png') center center / cover no-repeat;
  padding: 50px;
}

.hero-content {
  max-width: 600px;
  padding-top: 60px;
}

.zoom-link {
  cursor: zoom-in;
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.linha-separadora {
  width: 100px;
  height: 2px;
  border: none;
  margin: 20px 0;
}

/* cores e títulos */
.azul { background-color: var(--bs-primary); }
.branca { background-color: white; }
.txt-azul { color: var(--bs-primary); }
.txt-amarelo { color: var(--bs-warning);}
.txt-banner {font-size: 40px;}

.section-title {
  font-weight: bold;
  font-size: 2rem;
  color: #009CA7;
}

.section-title-maior {
  font-weight: bold;
  font-size: 3rem;
  color: #009CA7;
}

.section-title-branco {
  font-weight: bold;
  font-size: 2rem;
  color: #ffffff;
}

.citacao {
  font-style: italic;
  font-size: 1.5rem;
  color: #004851;
  border-left: 4px solid #009CA7;
  padding-left: 30px;
  margin: 30px 0;
  position: relative;
}

.citacao::before {
  content: "“";
  font-size: 4rem;
  color: #009CA7;
  position: absolute;
  left: -5px;
  top: -15px;
}

.citacao footer {
  font-size: 1rem;
  font-style: normal;
  font-weight: bold;
  color: #009CA7;
  margin-top: 10px;
}

.quebra-curta { margin-bottom: -20px; }
.quebra-media { margin-bottom: 50px; }
.quebra { margin-bottom: 20px; }

/* ===== Destaques e imagens ===== */
.highlight-box {
  background-color: #e0f7f4;
  border-left: 5px solid #00bfa5;
  padding: 15px;
  margin-bottom: 20px;
}

.president-img { max-width: 600px; width: 100%; height: auto; }
.relatorio-img { max-width: 300px; width: 100%; height: auto; }
.padrao-img { max-width: 100%; width: 100%; height: auto; }

.destaque-img {
  max-width: 350px;
  height: auto;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.destaque-img:hover {
  box-shadow: 0 8px 25px rgba(0, 156, 167, 0.4); /* sombra azul desfocada */
  transform: scale(1.03); /* leve aumento para dar destaque */
}

footer img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Cards e botões ===== */
.card { border: none; box-shadow: none; }

.leia-mais {
  text-transform: uppercase;
  position: relative;
  padding-right: 25px;
  border: 0;
  color: #009CA7;
  font-size: 15px !important;
}

.leia-mais::after {
  content: ">";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #009CA7;
}

/* ===== Anchor menu ===== */
.anchor-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 20px;  
}

.anchor-link {
  color: var(--bs-body-bg);
  text-decoration: none;
  font-weight: 600;
  padding: 0 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  line-height: 1.2;
  padding-left: 20px;
  padding-right: 20px;
}

.anchor-link:hover {
  color: var(--bs-warning);
  
}
.anchor-link:not(:last-child) {
  border-right: 1px solid var(--bs-body-bg);
}

/* ===== Links com setas ===== */
.link-com-seta {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: bold;
  color: #009CA7;
  text-decoration: none;
  position: relative;
  padding-right: 25px;
}

.link-com-seta::after {
  content: ">";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 1.2em;
  color: #009CA7;
}

.link-cinza {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--bs-body-color);
  text-decoration: none;
  position: relative;
  padding-right: 25px;
}

.link-cinza::after {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 1.2em;
  color: var(--bs-body-color);
}

/* Hover */
.link-com-seta:hover { color: #006D79; }
.link-com-seta:hover::after { color: #006D79; }

/* ===== Faixa separadora ===== */
.faixa-separadora {
  width: 100%;
  margin: 40px 0;
  text-align: center;
}

.faixa-separadora img {
  max-width: 100%;
  height: auto;
}

/* ===== Acessibilidade e pequenos ajustes ===== */
a { outline: none; }

a:focus {
  box-shadow: 0 0 0 3px rgba(0, 150, 167, 0.15);
}

/* ===== Responsividade ===== */
@media (max-width: 991.98px) {
  /* Navbar mais compacta e o menu colapsado ocupa a largura inteira com fundo legível */
  .navbar {
    top: 45px;
    padding: 0.5rem 1rem;
  }

  .navbar-brand img { height: 70px; }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.65); /* fundo escuro para legibilidade */
    padding: 0.75rem 1rem;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.25rem;
  }

  .navbar-nav .nav-item:not(:last-child)::after { content: none; }

  .navbar .nav-link {
    color: #fff !important;
    padding: 0.5rem 0.5rem;
  }

  .hero {
    padding-top: 140px; /* mantém espaço para o menu e top-bar */
    height: auto;
    min-height: 520px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img { height: 60px; }
  .top-bar { font-size: 0.85rem; padding: 5px 0; }
  .hero { padding-top: 120px; min-height: 480px; }
}

@media (max-width: 767.98px) {
  .row.text-center .card {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

/* ===== Faixas azuis antigas / títulos deslocados ===== */
.estrategia-bg {
  background-color: var(--bs-primary);
  background-size: 100%; /* ou 'contain' se quiser ver tudo */
}

.topo_azul { margin-bottom: -150px; }
.rodape_azul { margin-top: -200px; }

.titulo_img   { margin-top: -10px; margin-bottom: 20px; }


/* ===== Ajustes específicos de #estrategia ===== */
#estrategia .card {
  background: transparent;
  border: none;
  box-shadow: none;
}

#estrategia .card-body { padding: 0; } /* remove espaço interno */

.card-body {
  width: fit-content;       /* Adapta à largura do conteúdo */
  max-width: 100%;          /* Não ultrapassa a largura do card */
  margin: 0 auto;           /* Centraliza, se necessário */
  max-width: 350px;;
}


#estrategia .destaque-img {
  display: block;
  width: 100%;
  height: auto;
}

#prosperidade .card {
  background: transparent;
  border: none;
  box-shadow: none;
}

#prosperidade .card-body {
  padding: 0; /* remove o espaçamento interno */
}

#prosperidade .destaque-img {
  display: block;
  width: 100%;
  height: auto;
}


/* Fundo azul para seções com topo e rodapé */
#estrategia,
#gente,
#prosperidade {
  background-color: #009CA7; /* azul do tema */
}

#estrategia .section-title,
#gente .section-title,
#prosperidade .section-title {
  color: #fff; /* título branco para contraste */
}

#estrategia .destaque-img,
#gente .destaque-img,
#prosperidade .destaque-img {
  background: transparent; /* só imagens, sem fundo */
}



/* ===== Carrossel genérico ===== */
.carousel-custom { position: relative; }

/* 3 por slide no desktop, 1 no mobile (usa grid padrão do HTML) */
.carousel-custom .col-md-4 { margin-bottom: 1rem; }

/* remover bordas/fundos dos cards neste carrossel */
.carousel-custom .card {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Sombra suave nas imagens dos cards */
.card .destaque-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.card:hover .destaque-img {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.carousel-custom .carousel-control-prev { left: -50px; }
.carousel-custom .carousel-control-next { right: -50px; }

.carousel-custom .card-body { padding: 0; }

.carousel-custom .destaque-img {
  display: block;
  width: 100%;
  height: auto;
}

/* setas grandes, azuis, sem círculo */
.carousel-custom .carousel-control-prev,
.carousel-custom .carousel-control-next {
  width: 5%; /* pequena área clicável */
}

.carousel-custom .carousel-control-prev-icon,
.carousel-custom .carousel-control-next-icon {
  background-image: none;
  width: auto;
  height: auto;
}

.carousel-custom .carousel-control-prev-icon::after,
.carousel-custom .carousel-control-next-icon::after {
  font-size: 7.5rem; /* mais fina/delicada */
  font-weight: normal; /* tira o bold pesado */
  color: var(--bs-secondary); /* azul tema */
  opacity: 0.8; /* leve transparência */
  transition: opacity 0.2s ease;
}

.carousel-custom .carousel-control-prev-icon:hover::after,
.carousel-custom .carousel-control-next-icon:hover::after {
  opacity: 1;
}

.carousel-custom .carousel-control-prev-icon::after {
  content: '\276E'; /* ❮ seta esquerda mais aberta */
  font-size: 4rem;
  font-weight: 300; /* mais fina */
  color: var(--bs-secondary); /* cor padrão */
}

.carousel-custom .carousel-control-next-icon::after {
  content: '\276F'; /* ❯ seta direita mais aberta */
  font-size: 4rem;
  font-weight: 300;
  color: var(--bs-secondary);
}


/* responsivo: aproxima um pouco no mobile pra não vazar demais */
@media (max-width: 991.98px) {
  .carousel-custom .carousel-control-prev { left: -10px; }
  .carousel-custom .carousel-control-next { right: -10px; }
  .carousel-custom .carousel-control-prev-icon::after,
  .carousel-custom .carousel-control-next-icon::after {
    font-size: 3rem;
  }
}
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #009CA7;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1500;
}

.scroll-top:hover {
  background-color: #006D79;
  transform: translateY(-4px);
}

/* Mostrar quando rolar */
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Governança: faixa + cartão ===== */
/* ===== Wrapper (mantém centralização) ===== */
.gc-wrap{
  position: relative;
  max-width: 1100px;
  margin: 56px auto 40px;
  padding: 0 16px;
}

/* ===== Caixa branca ===== */
.gc-card{
  position: relative;
  background: #fff;
  border: 2px solid #00B7C5;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
  padding: 26px 24px;               /* padding padrão */
}
.gc-card--textonly{
  padding-top: 56px;                /* espaço para a faixa sobrepor */
}

/* ===== Faixa azul na frente (com título) ===== */
.gc-ribbon-front{
  --ribbon-h: 84px;                 /* altura da faixa */
  --ribbon-w: clamp(1000px, 55%, 520px); /* largura (ajuste aqui) */

  position: absolute;
  top: calc(-1 * var(--ribbon-h) / 2 + 8px); /* meio para fora da caixa */
  left: -10px;
  height: var(--ribbon-h);
  width: var(--ribbon-w);
  display: flex;
  align-items: center;

  padding-left: 24px;
  padding-right: 28px;

  color: #fff;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.1;

  background: linear-gradient(90deg, #009CA7 0%, #00E6F0 100%);
  border-radius: 20px 90px 90px 20px;      /* “pílula” com canto direito alongado */
  box-shadow: 0 10px 24px rgba(0,156,167,.22);

  z-index: 3;
}

/* ===== Texto ===== */
.gc-content p{
  margin: 0px 0 14px 0;
  line-height: 1.6;
  color: var(--bs-body-color);
}

/* ===== Mobile ===== */
@media (max-width: 767.98px){
  .gc-card{ padding: 22px 18px; }
  .gc-card--textonly{ padding-top: 62px; }
  .gc-ribbon-front{
    --ribbon-h: 72px;
    left: 18px;
    width: clamp(230px, 80%, 440px);
  }
}

/* ===== Desliga a faixa antiga, se existir no HTML/CSS atual ===== */
.gc-wrap .gc-ribbon{ display: none !important; }

/* Versão mobile ativa */
@media (max-width: 767.98px) {
  .topo_azul { margin-bottom: -10px !important; }
  .rodape_azul { margin-top: -10px !important; }
}


/* =======================================================================
   CARROSSEL — STACK NO MOBILE SEM SOBREPOR OS CARDS (≤ 767.98px)
   Use APÓS seu style.css.
   Objetivo: empilhar .carousel-item, remover camadas e garantir fluxo normal.
   ======================================================================= */
@media (max-width: 767.98px) {
  /* Contêiner: entra no fluxo, sem recortes, com espaço inferior */
  .carousel {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    margin-bottom: 1.25rem !important;
    clear: both;
  }
  .carousel .carousel-inner {
    position: static !important;
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Itens: empilhados e SEM posicionamento/transição que criem camadas */
  .carousel .carousel-item,
  .carousel .carousel-item.active,
  .carousel .carousel-item-next,
  .carousel .carousel-item-prev,
  .carousel .carousel-item-start,
  .carousel .carousel-item-end {
    display: block !important;
    float: none !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: auto !important;
  }

  /* Imagens responsivas e dentro do fluxo */
  .carousel .carousel-item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    object-position: center;
  }

  /* Legenda não sai do slide e não fica sobre nada */
  .carousel .carousel-caption {
    position: static !important;
    margin-top: 0.5rem;
    background: rgba(0,0,0,0.35);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  /* Esconde setas/indicadores no mobile para não criar camadas */
  .carousel .carousel-control-prev,
  .carousel .carousel-control-next,
  .carousel .carousel-indicators {
    display: none !important;
  }

  /* Z-index neutro para todo o carrossel no mobile */
  .carousel,
  .carousel * {
    z-index: auto !important;
  }
}

