*{
  --primary: #0f4c81;
  --primary-dark: #0b355b;
  --secondary: #7aaed0;
  --accent: #d4af37;
  --bg: #f7fbff;
  --text: #17364b;
  --muted: #5d7383;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(11, 53, 91, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(120deg, rgba(8, 35, 63, 0.9), rgba(15, 76, 129, 0.84));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 219, 223, 0.08);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}
.brand {
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-mark {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 999px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
}
.brand-logo {
  height: 150px;
  width: auto;
  display: block;
  filter: saturate(1.2) contrast(1.12) brightness(1.08) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.nav-links {
  display: flex;
  gap: 1rem;
}
.nav-links a {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  font-weight: 600;
  color: var(--white);
}
.nav-links a:hover, .nav-links a.active {
  background: linear-gradient(135deg, #f2d47c, var(--accent));
  color: var(--primary-dark);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.3rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
}

.hero-section, .page-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.hero-section {
  background: linear-gradient(120deg, rgba(7, 33, 57, 0.72), rgba(15, 76, 129, 0.42)), url('imagem_fundoazul.png') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(1px);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: center;
}
.hero-text {
  color: var(--white);
  max-width: 700px;
}
.eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #dceef8;
}
.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.hero-description {
  font-size: 1.05rem;
  max-width: 620px;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.24), 0 0 0 2px rgba(212, 175, 55, 0.28);
}
.btn-primary, .btn-accent {
  background: linear-gradient(145deg, #f8e3a1, var(--accent));
  color: var(--primary-dark);
  border: 1px solid rgba(255, 244, 210, 0.8);
}
.btn-secondary {
  background: linear-gradient(145deg, rgba(9, 44, 78, 0.82), rgba(15, 76, 129, 0.9));
  color: #f5deb3;
  border: 1px solid rgba(212, 175, 55, 0.58);
}
.hero-logo-placeholder {
  min-height: 240px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  justify-self: end;
  margin-right: -42px;
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-logo-image {
  width: min(280px, 100%);
  height: auto;
  object-fit: contain;
  transform: scale(1.2);
}

.cards-section {
  padding: 4rem 0 5rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.info-card, .glass-card, .service-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,76,129,0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--primary-dark);
}
.info-card:hover, .glass-card:hover, .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(11, 53, 91, 0.16);
}
.icon, .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  margin-bottom: 0.8rem;
}

.about-section,
.services-section,
.contact-section {
  background: linear-gradient(120deg, rgba(6, 29, 54, 0.78), rgba(15, 76, 129, 0.64)), url('imagem_fundoazul.png') center/cover no-repeat;
}
.profile-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: var(--shadow);
}
.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.22);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.1fr;
  gap: 1.2rem;
}
.services-section .services-grid {
  width: min(1320px, calc(100% - 1.5rem));
  grid-template-columns: 1fr;
}
.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: rgb(225, 238, 46);
  position: relative;
  overflow: hidden;
}
.services-section .service-card {
  display: block;
  min-height: auto;
  height: 72vh;
  max-height: 72vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.2rem;
}
.services-section .service-card p {
  margin: 0;
  white-space: pre-line;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 0;
  pointer-events: none;
}
.service-card > * { position: relative; z-index: 1; }
.service-card-1 { background: linear-gradient(135deg, rgba(9,50,86,0.9), rgba(9,50,86,0.9)), url('fundo-servicos.png') center/cover no-repeat; }
.service-card-2 { background: linear-gradient(135deg, rgba(9,50,86,0.82), rgba(122,174,208,0.4)), url('fundo-servicos.png') center/cover no-repeat; }
.service-card-3 { background: linear-gradient(135deg, rgba(34,85,123,0.82), rgba(212,175,55,0.35)), url('fundo-servicos.png') center/cover no-repeat; }

.contact-wrapper {
  background: rgba(255,255,255,0.82);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.contact-intro h1 { margin-top: 0; font-size: clamp(2rem, 3vw, 2.6rem); }
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  text-align: center;
  border-radius: 16px;
  color: var(--white);
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 20px rgba(0,0,0,0.16); }
.social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.whatsapp { background: #25D366; }
.instagram { background: linear-gradient(45deg, #405DE6, #C13584, #F56040); }
.facebook { background: #1877F2; }
.linkedin { background: #0A66C2; }
.btn-block { width: 100%; margin: 1rem 0 1.5rem; }
.contact-details p { margin: 0.35rem 0; }

.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  padding: 2.2rem 0;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.2rem;
}
.site-footer h3, .site-footer h4 { margin-top: 0; }
.site-footer a { display: block; margin-bottom: 0.45rem; color: rgba(255,255,255,0.8); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-logo-placeholder { justify-self: center; margin-right: 0; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .services-grid, .social-grid, .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-bar { min-height: 84px; }
  .brand-logo { height: 68px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    padding: 1rem;
    background: rgba(255,255,255,0.96);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .cards-grid, .about-grid, .services-grid, .social-grid, .footer-content { grid-template-columns: 1fr; }
  .services-section .services-grid { width: min(1320px, calc(100% - 1rem)); }
  .services-section .service-card {
    height: 75vh;
    max-height: 75vh;
  }
  .social-btn {
    padding: 1.05rem 1rem;
    font-size: 1.05rem;
    gap: 0.7rem;
  }
  .social-icon {
    width: 24px;
    height: 24px;
  }
  .contact-wrapper { padding: 1.2rem; }
  .hero-section, .page-section { padding: 3rem 0; }
}
