:root {
  --color-light: #EAF3F8;
  --color-dark: #123B5D;
  --color-dark-soft: #1D4C73;
  --color-white: #ffffff;
  --color-text: #263746;
  --color-muted: #6b7a88;
  --color-border: rgba(18, 59, 93, 0.12);
  --shadow-soft: 0 18px 45px rgba(18, 59, 93, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
}

/* NAVBAR */
.custom-navbar {
  background: rgba(18, 59, 93, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(18, 59, 93, 0.18);
}

.navbar-brand {
  color: var(--color-white) !important;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 1.25rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 500;
  margin: 0 6px;
  transition: all 0.25s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-light) !important;
  transform: translateY(-1px);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* BOTÕES */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--color-light), #D7EAF4);
  color: var(--color-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: var(--color-white);
  color: var(--color-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.btn-outline-custom {
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* HERO */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(234, 243, 248, 0.95), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, var(--color-light) 100%);
  overflow: hidden;
}

.eyebrow,
.section-tag {
  display: inline-block;
  color: var(--color-dark);
  background: rgba(18, 59, 93, 0.08);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
}

h1,
h2,
h3 {
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 900;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-text {
  color: var(--color-muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats div {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  min-width: 140px;
  box-shadow: var(--shadow-soft);
}

.hero-stats strong {
  display: block;
  color: var(--color-dark);
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-stats span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero-image-card {
  background: linear-gradient(145deg, var(--color-light), #ffffff);
  border-radius: 36px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.hero-image-card img {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

/* SEÇÕES */
.section-padding {
  padding: 95px 0;
}

.bg-light-custom {
  background: var(--color-light);
}

.section-title {
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-title p,
#formacao p,
#sobre p,
#contato p {
  color: var(--color-muted);
}

.rounded-image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.signature-box {
  margin-top: 28px;
  padding: 24px;
  background: var(--color-light);
  border-left: 5px solid var(--color-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.signature-box strong {
  display: block;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.signature-box span {
  color: var(--color-muted);
}

/* CARDS DE SERVIÇOS */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(18, 59, 93, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(18, 59, 93, 0.16);
}

.service-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 22px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 2px;
  height: calc(100% - 12px);
  background: rgba(18, 59, 93, 0.2);
}

.timeline-item {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(18, 59, 93, 0.08);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 28px;
  width: 14px;
  height: 14px;
  background: var(--color-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--color-light);
}

.timeline-item span {
  color: var(--color-dark);
  font-weight: 900;
  font-size: 0.9rem;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--color-muted);
}

/* CTA */
.cta-section {
  padding: 30px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark-soft));
  color: var(--color-white);
  border-radius: 34px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 22px 50px rgba(18, 59, 93, 0.22);
}

.cta-box h2,
.cta-box p {
  color: var(--color-white);
}

.cta-box p {
  margin-bottom: 0;
  opacity: 0.9;
}

/* CONTATO */
.contact-list {
  margin-top: 24px;
}

.contact-list p {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(18, 59, 93, 0.06);
}

.contact-list strong {
  color: var(--color-dark);
}

/* FORM */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.form-control {
  border-radius: 14px;
  border: 1px solid var(--color-border);
  padding: 13px 15px;
}

.form-control:focus {
  border-color: var(--color-dark);
  box-shadow: 0 0 0 0.2rem rgba(18, 59, 93, 0.12);
}

/* FOOTER */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 24px 0;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--color-light);
  text-decoration: none;
  font-weight: 700;
}

.footer a:hover {
  color: var(--color-white);
}

/* ANIMAÇÕES */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: revealUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-card {
  animation: floating 4.5s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* RESPONSIVO */
@media (max-width: 991px) {
  .custom-navbar {
    background: var(--color-dark);
  }

  .navbar-collapse {
    padding-top: 18px;
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
  }

  .btn-primary-custom.ms-lg-3 {
    margin-top: 12px;
  }

  .hero-section {
    padding-top: 120px;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
}

@media (max-width: 575px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero-stats div {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-box {
    border-radius: 24px;
  }
}