/* Reset & Variáveis */
:root {
  --verde-escuro: #142825;
  --dourado: #cca378;
  --off-white: #f4efef;
  --fonte-titulo: 'Playfair Display', serif;
  --fonte-texto: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fonte-texto);
  background-color: var(--off-white);
  color: var(--verde-escuro);
  line-height: 1.6;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}


h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  color: var(--verde-escuro);
  text-align: left;
}

.titulo-destaque {
  color: var(--dourado);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 1rem 2rem;
}

/* Header */
.header {
  background-color: var(--off-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem 0;
  z-index: 1000;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  max-height: 120px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo img {
    max-height: 38px;
    max-width: 140px;
  }
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.menu li a {
  color: var(--verde-escuro);
  font-weight: bold;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu li a:hover {
  background-color: var(--dourado);
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--verde-escuro);
}

@media (max-width: 1024px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--off-white);
    padding: 1rem;
  }
  .menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* Hero */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background-color: rgba(20, 40, 37, 0.65);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.hero-content {
  max-width: 700px;
  text-align: left;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: var(--dourado);
  color: var(--verde-escuro);
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
  text-align: center;
  border: none;
  font-size: 1rem;
  text-decoration: none;
}

.btn:hover {
  background-color: #b38b60;
  color: white;
  transform: scale(1.05);
}

.destaque {
  animation: pulse 2s infinite;
  font-weight: bold;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* SOBRE NÓS */
.sobre .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.image-holder {
  flex: 1 1 40%;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  border-radius: 10px;
  position: relative;
}

.image-holder img {
  display: none;
}

.white-box {
  flex: 1 1 55%;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  line-height: 1.8;
  font-size: 1.05rem;
  color: #333;
}

.white-box p {
  margin-bottom: 1.2rem;
}

.title-mark {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  color: var(--dourado);
}

.title-mark .square {
  width: 12px;
  height: 12px;
  background-color: var(--dourado);
  margin-right: 0.75rem;
}

@media (max-width: 768px) {
  .sobre .row {
    flex-direction: column;
  }
  .image-holder {
    display: none;
  }
  .image-holder img {
    display: block;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
}

/* MISSÃO E VISÃO */
.missao-visao {
  background-color: var(--off-white);
  padding: 4rem 2rem;
}

.missao-visao .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.missao-visao .white-box {
  flex: 1 1 45%;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  font-family: var(--fonte-titulo);
  font-size: 1.1rem;
  color: var(--verde-escuro);
}

/* OPORTUNIDADES */
.oportunidades {
  background-color: var(--off-white);
  padding: 4rem 2rem;
  text-align: center;
}

.oportunidades .titulo-destaque {
  color: var(--dourado);
  margin-bottom: 3rem;
}

.oportunidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.card-op {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center; /* Centraliza verticalmente */
  gap: 1rem;
  height: 100px; /* Altura reduzida e uniforme */
  width: 100%;
  max-width: 100%;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-op:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--dourado);
}

.icon-op {
  font-size: 1.5rem;
  color: var(--dourado);
  flex-shrink: 0;
  margin: 0;
}

.card-op p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--verde-escuro);
  margin: 0;
  line-height: 1.4;
}




/* SEÇÕES */

.servicos {
  background: linear-gradient(to bottom, var(--verde-escuro), #0f1e1d);
  color: var(--off-white);
  padding: 4rem 2rem;
}

.servicos .titulo-destaque {
  color: var(--dourado);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left;
}

.cards-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cards-scroll::-webkit-scrollbar {
  display: none;
}

.cards-scroll .card {
  flex: 1 1 calc(25% - 1.5rem); /* 4 cards por linha no desktop */
  max-width: calc(25% - 1.5rem);
  scroll-snap-align: start;
  background: white;
  color: var(--verde-escuro);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cards-scroll .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 2px var(--dourado);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.card h3, .card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p {
  font-size: 0.95rem;
}

.scroll-btn {
  background-color: var(--dourado);
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
  z-index: 10;
}

.scroll-btn:hover {
  background-color: #b38b60;
}

.cards-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Responsivo */
@media (max-width: 1024px) {
  .cards-scroll {
    flex-wrap: nowrap;
  }

  .cards-scroll .card {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

@media (max-width: 600px) {
  .cards-scroll .card {
    flex: 0 0 90%;
    max-width: 90%;
  }
}


/* QUEM ATENDEMOS */
.publico {
  background-color: var(--verde-escuro);
  padding: 4rem 2rem;
}

.publico .titulo-destaque {
  color: var(--dourado);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.publico-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards por linha */
  gap: 0.5rem; /* espaçamento mínimo */
}

@media (max-width: 1024px) {
  .publico-grid {
    grid-template-columns: 1fr; /* cards empilhados no mobile */
  }
}

.publico .card {
  background-color: white;
  color: var(--verde-escuro);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  transition: 0.3s ease;
}

.publico .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--dourado);
}

.publico .card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.publico .card p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

/* METODOLOGIA */
.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.metodologia .card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.metodologia .icone {
  font-size: 2rem;
  color: var(--dourado);
  margin-bottom: 1rem;
}

.metodologia .card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.metodologia .card p {
  font-size: 0.95rem;
  color: #444;
}

/* Responsividade */
@media (max-width: 1024px) {
  .metodologia-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .metodologia-grid {
    grid-template-columns: 1fr;
  }
}


.metodologia {
  background-color: var(--off-white);
  color: var(--verde-escuro);
  padding: 4rem 2rem;
}

.metodologia .titulo-destaque {
  color: var(--dourado);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left;
}

.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Scroll horizontal no mobile, linha única no desktop */
/* Sessão Nossa Metodologia */
.metodologia {
  padding: 4rem 0;
}

.cards-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1rem;
  justify-content: center;
  flex-wrap: nowrap; /* ESSENCIAL: impede quebra no desktop */
}

.cards-scroll::-webkit-scrollbar {
  display: none;
}

.cards-scroll .card {
  flex: 0 0 280px; /* Tamanho fixo para manter consistência */
  scroll-snap-align: start;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s ease;
}

.cards-scroll .card:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.cards-scroll .card .icone {
  font-size: 2rem;
  color: var(--dourado);
  margin-bottom: 1rem;
}

.cards-scroll .card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--verde-escuro);
}

.cards-scroll .card p {
  font-size: 0.95rem;
  color: #444;
}


/* Scroll só no mobile */
@media (max-width: 1024px) {
  .cards-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .cards-scroll .card {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
    max-width: unset;
  }

  .cards-scroll::-webkit-scrollbar {
    display: none;
  }
}

/* DESKTOP: Mostrar todos em uma linha, sem scroll */
@media (min-width: 1025px) {
  .cards-scroll {
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: hidden;
  }

  .cards-scroll .card {
    flex: 1 1 calc(16.66% - 1rem);
    max-width: calc(16.66% - 1rem);
  }
}


/* CTA */
.cta {
  background-color: var(--verde-escuro);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.cta-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer */
.footer {
  background: var(--verde-escuro);
  color: var(--off-white);
  text-align: center;
  padding: 2rem 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--off-white);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.dev-credit {
  font-size: 0.9rem;
  color: #ccc;
}

.dev-credit a {
  color: var(--dourado);
  text-decoration: none;
  font-weight: 600;
}

.dev-credit a:hover {
  text-decoration: underline;
}


/* Scroll Reveal */
.escondido {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.mostrar {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content, .cta, .sobre, .servicos, .metodologia, .missao-visao, .oportunidades {
  animation: fadeInUp 1s ease forwards;
}
