body {
  font-family: 'Figtree', sans-serif;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: "ofelia-display", 'Figtree', sans-serif;
  font-weight: 400;
}

/* ===== Header & Navbar (Regras Unificadas) ===== */
#main-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
}

#main-header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#main-header .nav-link {
  color: #fff;
  transition: color 0.3s ease;
}

#main-header.scrolled .nav-link {
  color: #000;
}

.navbar {
  padding: 0.5rem 0;
}

.navbar .nav-link {
  margin-left: 1rem;
}

.navbar .nav-link:hover {
  color: #ccc;
}

#logo {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero video,
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2rem;
  animation: fadeIn 1s ease-in-out;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

.hero p {
  font-size: 1.25rem;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

/* ===== Cards e Seções Gerais ===== */
.card {
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* ===== Footer (Regras Corrigidas) ===== */
footer {
  font-size: 0.9rem;
}

footer a {
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #dea72e;
}

footer h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer i {
  transition: transform 0.2s ease;
}

footer a:hover i {
  transform: scale(1.2);
}

/* SOLUÇÃO: Regra aplicada apenas aos selos, não a todas as imagens */
.certification-seal {
  max-height: 40px;
  object-fit: contain;
}

/* SOLUÇÃO: Container da logo agora funciona sem !important */
.footer-logo-container {
  width: 100px;
  margin-bottom: 1.5rem;
}

/* ======= Contato cta =========== */

/* ===== Seção Call-to-Action de Contato (CTA) ===== */
#contato-cta {
  background-color: #fff9e6;
  /* Seu azul sugerido como fundo */
}

#contato-cta .cta-title {
  font-weight: 700;
  color: #00528c;
}

#contato-cta .cta-subtitle {
  color: #af721d;
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Destaque do telefone */
.phone-highlight .phone-link {
  color: #00528c;
  font-family: 'ofelia-display', 'Figtree', sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  /* Tamanho de fonte responsivo */
  font-weight: 200;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.phone-highlight .phone-link:hover {
  transform: scale(1.05);
  /* Efeito de zoom sutil no hover */
}

/* Links de ícones */
.icon-links {
  margin-top: 1rem;
}

.icon-links .icon-link {
  color: #dea72e;
  /* Ícones na cor bege */
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.icon-links .icon-link:hover {
  color: #dea72e;
  /* Ícones ficam dourados no hover */
  transform: translateY(-5px);
  /* Efeito de elevação */
}


/* ===== Outros Componentes ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-size: 0.875rem;
}

.cookie-banner a {
  color: #dea72e;
  text-decoration: underline;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.scrolling {
  font-family: "ofelia-display", sans-serif;
  font-weight: 400;
  font-style: normal;
  will-change: transform;
  font-size: 40px;
  animation: marquee 30s linear infinite;
  display: inline-block;
  padding-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.barra {
  font-weight: 700;
  color: #dea72e;
  padding-left: 1rem;
  padding-right: 2rem;
}

/* ===== Animações e Media Queries ===== */
@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}