

/* =========================
   Variáveis Globais
========================= */
:root {
  --cor-a: #004992;
  --cor-b: #0e5699;
  --cor-c: #2071af; /* Bootstrap primary */
  --cor-d: #ffffff;
  --cor-e: #e0e0e0;
  --cor-f: #151515;
  --heading-font: "Raleway", sans-serif;
  --heading-color: #273d4e;

  --jr-primary: #0d6efd; /* Bootstrap primary */
  --jr-secondary: #6c757d;
  --jr-accent: #198754; /* success */
}

/* =========================
   Reset / Base
========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

ul {
  list-style: none;
}

/* =========================
   Tipografia / Textos
========================= */
.text-p {
  color: var(--cor-c);
}

.about h3,
.about .content h5 {
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about .content h5 {
  font-size: 20px;
  margin-bottom: 20px;
}

.about .content ul i {
  margin-right: 4px;
  color: var(--cor-c);
}

.about .content ul li {
  position: relative;
  padding: 0 0 10px 15px;
}

#about-icon-title {
  margin-right: 10px;
  font-size: 28px;
  color: var(--heading-color);
}

/* =========================
   Navbar
========================= */
.navbar-brand span.logo-mark {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--jr-accent);
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.2);
}

.navbar-nav .active {
  background: linear-gradient(to right, var(--cor-c), #3498db00);
  border-radius: 10px;
}

/* =========================
   Hero Section
========================= */
.hero {
  background: linear-gradient(
    90deg,
    rgba(13, 110, 253, 0.1),
    rgba(25, 135, 84, 0.1)
  );
}

.hero-section {
  background: url(../images/background.webp) no-repeat center center;
  background-size: cover;
  min-height: 100vh;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.356);
  min-height: 100vh;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-text {
  font-size: 1rem;
  color: var(--cor-e);
  margin-top: 12px;
  line-height: 1.5;
}

.container-text {
  max-width: 420px;
  padding: 0 15px;
}

/* =========================
   Botões
========================= */
.btn-custom {
  text-decoration: none;
  background-color: var(--cor-c);
  border: none;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: var(--cor-b);
  transform: translateY(-3px);
}

.select:hover {
  background: linear-gradient(to right, var(--cor-c), #3498db00);
  border-radius: 10px;
}

/* =========================
   Cards / Componentes
========================= */
.section-title .bar {
  width: 64px;
  height: 4px;
  background: var(--cor-c);
  border-radius: 4px;
  margin: 12px auto 0;
}

.card.team-card img {
  object-fit: cover;
  height: 220px;
}

.team-card-img {
  object-fit: cover;
  height: 220px;
}

.team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.noticia-card img {
  height: 200px;
  object-fit: cover;
}

.badge-soft {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.2);
}

/* =========================
   Timeline
========================= */
.timeline {
  border-left: 3px solid #e9ecef;
  padding-left: 1rem;
}

.timeline .item {
  position: relative;
  margin-bottom: 1rem;
}

.timeline .item::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  background: #0d6efd;
  border-radius: 50%;
}

/* =========================
   Footer
========================= */
footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  margin-right: 8px;
  text-decoration: none;
}

footer .social a:hover {
  background: #f8f9fa;
}

/* =========================
   Utilitários
========================= */
.shadow-soft {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.rounded-2xl {
  border-radius: 1.25rem;
}

.section {
  padding: 60px 0;
}

.main {
  height: 100%;
  width: 100%;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  color: white;
  z-index: 10000;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: var(--cor-c);
  border: 0;
}

/* =========================
   Carousel
========================= */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}

/* =========================
   Responsividade
========================= */
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-text {
    font-size: 1.2rem;
  }
  .btn-custom {
    font-size: 1.1rem;
    padding: 14px 32px;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-text {
    font-size: 1.3rem;
  }
  .btn-custom {
    font-size: 1.2rem;
    padding: 16px 36px;
  }
  .container-text {
    max-width: 600px;
  }
}

/* =========================
   Animações
========================= */

.hover-float {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================
   Estilos Específicos (Index)
========================= */

/* Animação de Fade-in para seções */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo aprimorado para os cards de princípios */
.principio-card {
    background-color: #fff;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}
.principio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.principio-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 50%;
}

.principio-card .principio-text {
    min-width: 0; /* Garante que o texto possa ser quebrado corretamente */
}

/* Estilo para abas de informes */
#informesTab .nav-link {
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Divisores de seção */
.shape-divider-top, .shape-divider-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 0;
}
.shape-divider-top svg, .shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}
