/* ==================================================
   RESET & BASE
================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
}

/* ==================================================
   TOPO
================================================== */
.top-bar {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}

/* ==================================================
   HEADER
================================================== */
.main-header {
  position: fixed;
  top: 36px;
  width: 100%;
  z-index: 19;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
}

.menu a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
}

/* ==================================================
   HERO
================================================== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
}

/* ==================================================
   PADRÃO DE TÍTULOS DAS SEÇÕES
================================================== */

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

/* subtítulo pequeno */
.section-subtitle {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 10px;
}

/* título principal */
.section-title {
  font-size: 38px;
  font-weight: 500;
  color: #0b1a3a; /* azul marinho */
  line-height: 1.2;
}

/* linha dourada */
.section-divider {
  width: 60px;
  height: 2px;
  background: #d4af37; /* dourado */
  margin: 20px auto 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}


/* ==================================================
   ÁREAS DE ATUAÇÃO (SLIDER) – AZUL MARINHO + DOURADO
================================================== */

.especialidades {
  padding: 120px 20px;
  background: #ffffff;
}

.especialidades-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
}

/* GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.card {
  height: 240px;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

/* CARD AZUL */
.card.red {
  background: #0b1a3a;
  color: #ffffff;
}

/* CARD BRANCO */
.card.white {
  background: #ffffff;
  color: #0b1a3a;
}

/* ÍCONE COMO IMAGEM */
.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* deixa o ícone dourado */
  filter: brightness(0) saturate(100%)
          invert(77%) sepia(31%)
          saturate(412%) hue-rotate(8deg)
          brightness(95%) contrast(90%);
}

/* TÍTULO */
.card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* HOVER */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* SETAS */
.arrow {
  background: #f2f2f2;
  border: none;
  width: 45px;
  height: 45px;
  font-size: 26px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #0b1a3a;
}

.arrow.left { left: -60px; }
.arrow.right { right: -60px; }

.arrow:hover {
  background: #0b1a3a;
  color: #d4af37;
}

/* RESPONSIVO */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}


/* ==================================================
   EQUIPE
================================================== */
.team {
  position: relative;
  padding: 120px 20px;
  background: #f4f4f4;
}

.team::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/bg-colunas.jpg") center/cover no-repeat;
  opacity: 0.08;
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.9);
}

.team-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  z-index: 2;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.team-card {
  width: 260px;
  background: #fff;
  padding: 20px 20px 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 20px;
}

/* ==================================================
   POR QUE ESCOLHER
================================================== */
.why-choose {
  padding: 120px 0;
  background: #fff;
}

.why-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 20px;
}

.why-images {
  position: relative;
  max-width: 420px;
}

.img-back {
  position: absolute;
  top: 40px;
  left: -40px;
  opacity: 0.15;
  filter: grayscale(100%);
}

/* BOTÃO PADRÃO */
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #d4af37;
  color: #d4af37;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #d4af37;
  color: #0b1a3a;
}

/* ==================================================
   CONHEÇA NOSSO ESCRITÓRIO – AJUSTADO
================================================== */

.office-contact {
  padding: 140px 20px;
  background: #f5f6f8; /* cinza bem claro */
  text-align: center;
}

.office-content h2 {
  font-size: 36px;
  color: #0b1a3a;
  margin-bottom: 10px;
}

.office-content p {
  max-width: 600px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 15px;
}

/* CARD MAPA */
.contact-card {
  max-width: 1200px;
  margin: 0 auto 30px;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.contact-card iframe {
  width: 100%;
  height: 320px;
  border-radius: 4px;
  border: 0;
}

/* INFO ABAIXO DO MAPA */
.contact-info {
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
}

/* BOTÃO WHATSAPP */
.btn-whatsapp {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  border: 1px solid #d4af37;
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background: #d4af37;
  color: #0b1a3a;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .office-content h2 {
    font-size: 28px;
  }

  .contact-card iframe {
    height: 260px;
  }
}


/* ==================================================
   FOOTER – AZUL MARINHO + DOURADO
================================================== */

.footer {
  background: linear-gradient(180deg, #0b1a3a 0%, #08132b 100%);
  color: #ffffff;
}

/* GRID */
.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 90px 20px 70px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
}

/* BRAND */
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-top: 15px;
}

.footer-logo {
  max-width: 180px;
}

/* TÍTULOS */
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #d4af37; /* dourado */
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: #d4af37;
  margin-top: 8px;
}

/* TEXTO */
.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}

/* LINKS */
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
  color: #d4af37;
  transform: translateX(4px);
}

/* BOTÃO WEBMAIL */
.footer-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 26px;
  border: 1px solid #d4af37;
  color: #d4af37;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #d4af37;
  color: #0b1a3a;
}

/* COPYRIGHT */
.footer-copy {
  background: #050c1f;
  text-align: center;
  padding: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h4::after {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo {
    margin: 0 auto;
  }
}


/* =========================
   FOOTER - ADMIN
========================= */

.footer-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 22px;
  border: 1px solid #d4af37;
  color: #d4af37;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-btn:hover {
  background: #d4af37;
  color: #0b1a3a;
}

.footer-btn.outline {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}

.footer-btn.outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
