/* ============================================
   VARIÁVEIS DE COR E PADRÕES GERAIS
   ============================================ */
:root {
  --primary: #2A7F62;   /* Verde institucional Hórus */
  --secondary: #fff;
  --bg: #f9f9f9;
  --text: #5f6368;
  --light-bg: #f6fbf8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================
   FONTES GERAIS
   ======================== */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
}

/* Títulos principais */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* Títulos maiores (Hero) */
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #fff;
}

/* Subtítulo (Hero, seções e parágrafos) */
.hero p, p, .section-subtitle, .intro-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
}

/* Botões / CTAs */
.cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ============================================
   HEADER COM EFEITO DE ESCURECIMENTO AO ROLAR
   ============================================ */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2); /* começa quase transparente */
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 64px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95); /* cor sólida ao rolar */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Ajustes para SVG e imagens */
img, svg {
  image-rendering: optimizeQuality; /* Renderização de alta qualidade */
}

.logo img {
  /* Ajustes específicos para a logo */
  image-rendering: geometricPrecision; /* Melhor para SVG */
  height: 48px; /* Define uma altura fixa */
  width: auto; /* Mantém a proporção */
  filter: none !important;
  transform: none !important;
  transition: none;
}

/* Se a logo for um SVG, podemos adicionar ajustes no próprio SVG */
svg {
  shape-rendering: geometricPrecision; /* Qualidade de renderização mais alta para SVG */
}


/* Botão hambúrguer sempre visível */
#menu-toggle {
  display: block;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: color 0.3s ease;
  z-index: 100;
}

#menu-toggle:hover {
  color: var(--primary);
}

/* Menu oculto por padrão */
#main-nav {
  display: none;
  position: absolute;
  top: 64px;
  right: 0;
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  padding: 1rem 0;
}

/* Quando aberto */
#main-nav.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Suavidade */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ajusta os links dentro do menu */
#main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-nav a {
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-weight: 400;
}

#main-nav a:hover {
  color: var(--primary);
}


/* ============================================
   MENU FLUTUANTE MAIS ESTREITO
   ============================================ */
#main-nav {
  display: none;
  position: absolute;
  top: 70px;
  right: 1rem;
  width: 170px;                 /* reduzido de 220px → 170px */
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 0.5rem 0;            /* menos espaçamento interno */
  text-align: left;
  z-index: 999;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}

#main-nav a {
  display: block;
  padding: 0.45rem 0.9rem;      /* menos altura por item */
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 6px;
}

#main-nav a:hover {
  background: var(--light-bg);
  color: var(--primary);
}


/* animação sutil */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* ==========================
   RESPONSIVIDADE HEADER
   ========================== */
@media (max-width: 1024px) {
  header {
    height: 60px;
    padding: 0.25rem 0.75rem;
  }
  .logo img {
    height: 38px;
  }
}

@media (max-width: 768px) {
  header {
    height: 56px;
  }
  .logo img {
    height: 34px;
  }
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 5s ease-out;
}

.hero:hover .hero-bg {
  transform: scale(1.02);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8vw; /* deixa mais fluido em telas grandes */
}

.hero-content {
  max-width: 700px;
  transform: translateY(-5%); /* eleva levemente o bloco */
  animation: fadeInText 1.5s ease-out forwards;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem); /* responsivo e elegante */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.75rem; /* mais respiro entre título e subtítulo */
}

.hero p {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.7;
  opacity: 0.92;
  max-width: 90%;
}

/* Animação leve de entrada */
@keyframes fadeInText {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(-5%); }
}

/* Responsivo */
@media (max-width: 1024px) {
  .hero-overlay {
    padding: 0 6vw;
  }
  .hero-content {
    transform: translateY(-3%);
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
  }

  .hero-content {
    transform: translateY(0);
  }

  .hero h1 {
    margin-bottom: 1.25rem;
  }

  .hero p {
    max-width: 95%;
    margin: 0 auto;
  }
}




.hero p {
  color: #fff;
  font-size: 1.25rem;
  max-width: 600px;
  margin-top: 1.5rem;
  opacity: 0.95;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}



/* ============================================
   SEÇÕES PADRÃO
   ============================================ */
section {
  padding: 4rem 2rem;
  text-align: center;
}

h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
}

.section-subtitle {
  color: #4f4f4f;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* ============================================
   O QUE ESPERAR - SEÇÃO INTRO
   ============================================ */
#preservation-assets {
  background: #ffffff;
}

.intro-text {
  max-width: 850px;
  margin: 0 auto 3rem auto;
  font-size: 1.05rem;
  color: #555;
  text-align: justify;
}

.intro-text p {
  margin-bottom: 1rem;
}

/* ============================================
   GRID DE VALORES
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
  padding: 2rem;
  border-radius: 16px;
}

.value-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

.value-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   SEÇÃO DE SOLUÇÕES - DESIGN LEVE E MODERNO
   ============================================ */
.solutions-section {
  background: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.solutions-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.solutions-section .section-subtitle {
  color: #555;
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.solution-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.solution-logo {
  width: 90px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.15));
}

.solution-card h3 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.solution-card p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
}

.solution-card .cta {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.solution-card .cta:hover {
  background: #256f56;
  transform: translateY(-2px);
}


/* ============================================
   SEÇÃO DE SUPORTE - AJUSTADA E EQUILIBRADA
   ============================================ */
#suporte {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1100px;          /* mesmo limite das outras seções */
  margin: 0 auto;             /* centraliza na página */
  padding: 5rem 2rem;         /* mesmo espaçamento vertical */
  text-align: left;
}

#suporte h2 {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#suporte p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 480px;
  text-align: justify;
}

#suporte img {
  width: 100%;
  max-width: 380px;           /* reduzida para equilibrar o layout */
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

#suporte img:hover {
  transform: scale(1.02);
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  #suporte {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 3.5rem 1.5rem;
  }

  #suporte p {
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
  }
}

/* ============================================ */
/* SEÇÃO DE CLIENTES - MELHORIAS VISUAIS         */
/* ============================================ */
.clients {
  background: #f3f8f6; /* Cor suave de fundo para destacar a seção */
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 10px;  /* Bordas arredondadas para um visual mais suave */
}

.clients h2 {
  color: var(--primary);
  font-size: 2rem;  /* Ajuste no tamanho do título para dar mais destaque */
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.clients-intro {
  color: #555;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

.clients-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.client-icon {
  height: 80px;  /* Ajustado para garantir que todas as imagens tenham a mesma altura */
  width: auto;
  object-fit: contain;
  max-width: 180px; /* Limitar a largura máxima das imagens */
  transition: transform 0.3s ease, opacity 0.3s ease;  /* Efeito suave para transformação e opacidade */
  filter: grayscale(0);  /* Remover filtro em preto e branco, garantindo que as imagens fiquem coloridas */
  opacity: 0.9;  /* Ajuste de opacidade para dar mais suavidade */
}

.client-icon:hover {
  transform: scale(1.1);  /* Aumenta o ícone ao passar o mouse */
  opacity: 1;  /* Aumenta a opacidade ao passar o mouse */
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .clients-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}




/* ============================================ */
/* Contato (Ajustes de ícones e botões)        */
/* ============================================ */

.contact {
  background: linear-gradient(180deg, var(--light-green), #ffffff);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--dark-text);
  border-top: 4px solid var(--primary);  /* Borda no topo para destacar a seção */
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

/* Melhora o layout dos botões de contato */
.contact-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; /* Responsivo para dispositivos menores */
}

/* Estilo dos botões */
.contact-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 400px;
  margin: 0 10px;
}

.contact-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Tamanho dos ícones */
.contact-option .icon {
  width: 24px;  /* Ícones de tamanho controlado */
  height: 24px;
  object-fit: contain;
}

/* Adicionando cor e efeitos no texto */
.contact-option span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
  .contact-options {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-option {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .contact h2 {
    font-size: 2rem;
  }

  .contact p {
    font-size: 1rem;
  }

  .contact-option {
    padding: 1rem 1.5rem;
  }

  .contact-option span {
    font-size: 1rem;
  }
}


/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 900px) {
  .cards-flex {
    flex-direction: column;
    align-items: center;
  }
  .cards-flex .card {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  #main-nav ul {
    flex-direction: column;
    background: var(--secondary);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    display: none;
  }
  #main-nav.open ul {
    display: flex;
  }
  #menu-toggle {
    display: block;
  }
  .hero-overlay {
    padding: 2rem 1rem;
    text-align: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
