:root {
  --primary-dark: #0b2e59;
  --primary: #174a84;
  --primary-light: #3f78b8;
  --accent: #d9e9ff;
  --soft-bg: #f4f8fc;
  --white: #ffffff;
  --text-dark: #1c2b39;
  --text-muted: #5f6f81;
  --border-soft: rgba(23, 74, 132, 0.12);
  --shadow-soft: 0 10px 30px rgba(11, 46, 89, 0.10);
  --shadow-strong: 0 20px 60px rgba(11, 46, 89, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-padding {
  padding: 70px 0;
}

.section-header {
  max-width: 800px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 16px;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 14px;
}

/* NAVBAR */

.custom-navbar {
  background: rgba(11, 46, 89, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  margin-left: 0;
  padding: 10px 0;
  transition: 0.3s;
}

.navbar .nav-link:hover {
  color: var(--white);
}

.navbar-collapse {
  margin-top: 12px;
  background: rgba(11, 46, 89, 0.98);
  border-radius: 16px;
  padding: 14px 18px;
}

.btn-nav {
  width: 100%;
  background: linear-gradient(135deg, #3f78b8, #174a84);
  color: var(--white);
  border-radius: 50px;
  padding: 12px 18px;
  font-weight: 600;
  border: none;
  text-align: center;
}

.btn-nav:hover {
  color: var(--white);
}

/* HERO */

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(217, 233, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #071f3d 0%, #0b2e59 45%, #174a84 100%);
  color: var(--white);
  padding-top:90px;
  padding-bottom: 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-top: 18px;
}

.hero-title span {
  color: #dbe9ff;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-top: 20px;
}

.hero-buttons {
  margin-top: 28px;
}

.btn-primary-custom,
.btn-outline-custom {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 20px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary-custom {
  background: linear-gradient(135deg, #ffffff, #d9e9ff);
  color: var(--primary-dark);
  border: none;
  box-shadow: var(--shadow-soft);
}

.btn-primary-custom:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-custom {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.btn-outline-custom:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.hero-metrics {
  margin-top: 40px;
}

.hero-metrics .metric-box {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  backdrop-filter: blur(6px);
  height: 100%;
}

.metric-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.metric-box p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.80);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 10px 10px;
  margin-top: 24px;
}

.hero-logo {
  width: 100%;
  max-width: 250px;
  position: relative;
  z-index: 2;
  border-radius: 24px;
  
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
}

.glow-1 {
  width: 140px;
  height: 140px;
  background: rgba(217, 233, 255, 0.18);
  top: -20px;
  right: -40px;
}

.glow-2 {
  width: 100px;
  height: 100px;
  background: rgba(63, 120, 184, 0.25);
   bottom: -20px;
  left: -40px;
}

/* CARDS */

.info-card,
.service-card,
.member-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  transition: 0.3s;
  height: 100%;
}

.info-card:hover,
.service-card:hover,
.member-card:hover {
  transform: translateY(-4px);
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #174a84, #3f78b8);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

.info-card h3,
.service-card h3,
.member-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.info-card p,
.service-card p,
.member-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.values-list {
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* HIGHLIGHT */

.section-highlight {
  background: linear-gradient(135deg, #0b2e59 0%, #174a84 100%);
}

.feature-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 22px 18px;
  color: var(--white);
  height: 100%;
  backdrop-filter: blur(6px);
}

.feature-card h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-size: 0.95rem;
}

.bg-light-custom {
  background: var(--soft-bg);
}

/* CONTATO */

.contact-section {
  background: linear-gradient(135deg, #071f3d 0%, #123b6b 100%);
}

.contact-card {
  border: 1px solid rgba(255,255,255,0.08);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-control {
  border-radius: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(23, 74, 132, 0.18);
  box-shadow: none;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(63, 120, 184, 0.12);
}

/* FOOTER */

.footer-custom {
  background: #061a33;
  color: rgba(255,255,255,0.78);
  padding: 22px 0;
  font-size: 0.9rem;
}

/* TABLET */
@media (min-width: 576px) {
  .section-padding {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-logo {
    max-width: 300px;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    width: auto;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* TABLET GRANDE */
@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 72px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-text {
    font-size: 1.05rem;
    max-width: 620px;
  }

  .hero-logo {
    max-width: 360px;
  }

  .brand-logo {
    width: 80px;
    height: 80px;
  }

  .brand-text {
    font-size: 1.25rem;
  }

  .info-card,
  .service-card,
  .member-card,
  .contact-card {
    padding: 28px 24px;
  }
}

/* DESKTOP */
@media (min-width: 992px) {
  .section-padding {
    padding: 100px 0;
  }

  .navbar-collapse {
    margin-top: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .navbar .nav-link {
    margin-left: 10px;
    padding: 8px 0;
  }

  .btn-nav {
    width: auto;
    padding: 10px 18px;
  }

  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-bottom: 84px;
  }

  .hero-title {
    font-size: 3.2rem;
    max-width: 700px;
  }

  .hero-image-wrapper {
    margin-top: 0;
    padding: 40px;
  }

  .hero-logo {
    max-width: 460px;
  }

  .brand-logo {
    width: 65px;
    height: 65px;
  }

  .glow-1 {
    width: 220px;
    height: 220px;
    top: 8%;
    right: 10%;
  }

  .glow-2 {
    width: 160px;
    height: 160px;
    bottom: 12%;
    left: 10%;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .info-card:hover,
  .service-card:hover,
  .member-card:hover {
    transform: translateY(-6px);
  }
}

/* TELAS MUITO GRANDES */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.6rem;
  }

  .hero-logo {
    max-width: 400px;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* EQUIPE */
.team-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 30px 24px;
  box-shadow: var(--shadow-soft);
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 24px rgba(11, 46, 89, 0.12);
}

.team-name {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.team-role {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 18px;
}

.team-btn {
  min-width: 220px;
}

/* SWOT */
.swot-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  transition: 0.3s;
}

.swot-card:hover {
  transform: translateY(-6px);
}

.swot-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
  color: var(--white);
}

.swot-card h4 {
  font-weight: 700;
  margin-bottom: 14px;
}

.swot-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.8;
}

.swot-strength .swot-icon {
  background: linear-gradient(135deg, #198754, #20c997);
}

.swot-weakness .swot-icon {
  background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.swot-opportunity .swot-icon {
  background: linear-gradient(135deg, #0d6efd, #3f78b8);
}

.swot-threat .swot-icon {
  background: linear-gradient(135deg, #6f42c1, #d63384);
}

/* MODAIS DE PERFIL */
.custom-modal {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 46, 89, 0.20);
}

.custom-modal .modal-header {
  background: linear-gradient(135deg, #0b2e59, #174a84);
  color: var(--white);
  border-bottom: none;
  padding: 20px 24px;
}

.custom-modal .modal-title {
  font-weight: 700;
}

.custom-modal .btn-close {
  filter: invert(1);
}

.custom-modal .modal-body {
  padding: 28px 24px;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 24px rgba(11, 46, 89, 0.12);
}

.profile-function {
  color: var(--text-muted);
  font-weight: 600;
}

.profile-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.profile-link:hover {
  color: var(--primary-dark);
}

.profile-link i {
  margin-right: 8px;
}

.profile-section {
  margin-bottom: 22px;
}

.profile-section h6 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.profile-section h6 i {
  color: var(--primary);
  margin-right: 8px;
}

.profile-section p,
.profile-section ul {
  color: var(--text-muted);
  line-height: 1.8;
}

.profile-section ul {
  padding-left: 20px;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .team-btn {
    width: 100%;
    min-width: unset;
  }

  .custom-modal .modal-body {
    padding: 22px 18px;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
  }
}

.hero-section {
  padding-top: 60px !important;
}

/* EXTENSÃO (3ª dobra) */

.extension-card .icon-circle {
  margin: 0 auto 16px;
}

.extension-card h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.extension-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* efeito mais bonito no hover */
.extension-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.map-responsive iframe {
  box-shadow: var(--shadow-strong);
  transition: 0.3s;
}

.map-responsive iframe:hover {
  transform: scale(1.01);
}

.team-hero {
  width: 100%;
  max-width: 900px;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
  margin: 0 auto;
}