/* ===== VARIÁVEIS ===== */
:root {
  --primary-color: #0c915e;
  --primary-dark: #07612d;
  --secondary-color: #0abbbb;
  --accent-color: #10b981;
  --text-color: #334155;
  --text-light: #455161;
  --text-dark: #1e293b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --rounded-sm: 0.25rem;
  --rounded: 0.5rem;
  --rounded-md: 0.75rem;
  --rounded-lg: 1rem;
  --rounded-full: 9999px;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

span {
  color: var(--primary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow);
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded);
}

.btn-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded);
}

.btn-link:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
}

.btn-contato {
  background-color: var(--accent-color);
  color: white;
  border-radius: var(--rounded);
  padding: 0.75rem 1.5rem;
}

.btn-contato:hover {
  background-color: #0d9e6f;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo span {
  color: var(--primary-color);
}

.navbar ul {
  display: flex;
  gap: 2rem;
}

.navbar a {
  font-weight: 500;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.menu-mobile {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 7rem;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* ===== SERVIÇOS SECTION ===== */
.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.servico-card {
  background-color: var(--bg-white);
  border-radius: var(--rounded-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.servico-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--rounded);
  background-color: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.servico-card h3 {
  margin-bottom: 1rem;
}

.servico-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ===== DESTAQUES SECTION ===== */
.destaques {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
}

.destaque-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.destaque-content h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.destaque-content h2 span {
  color: rgba(255, 255, 255, 0.9);
}

.destaque-content p {
  opacity: 0.9;
}

/* ===== PROJETOS SECTION ===== */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.projeto-card {
  position: relative;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow);
}

.projeto-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.projeto-card:hover img {
  transform: scale(1.1);
}

.projeto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 2rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.projeto-card:hover .projeto-overlay {
  transform: translateY(0);
}

.projeto-overlay h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.projeto-overlay p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* ===== CONTATO SECTION ===== */
.contato-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  align-items: center;
}

.contato-info h2 {
  margin-bottom: 1.5rem;
}

.contato-info h2 span {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contato-info p {
  margin-bottom: 2rem;
  max-width: 90%;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--rounded);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--rounded) 0 0 var(--rounded);
  font-family: inherit;
}

.newsletter-form button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 0 var(--rounded) var(--rounded) 0;
  padding: 0 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #0d9e6f;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.7;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

/* ===== PÁGINAS INTERNAS ===== */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

/* SERVIÇOS DETALHADOS */
.servicos-detalhados {
  padding: 4rem 0;
}

.servico-detalhe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  align-items: center;
}

.servico-detalhe.reverse {
  direction: rtl;
}

.servico-detalhe.reverse > * {
  direction: ltr;
}

.servico-imagem {
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.servico-imagem img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.servico-imagem:hover img {
  transform: scale(1.05);
}

.servico-conteudo h2 {
  margin-bottom: 1.5rem;
}

.servico-conteudo h2 span {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.servico-conteudo p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.servico-lista {
  margin-bottom: 2rem;
}

.servico-lista li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.servico-lista i {
  color: var(--accent-color);
  margin-top: 0.25rem;
}

/* PORTFOLIO */
.portfolio-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--rounded);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 1.5rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* DEPOIMENTOS */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.depoimento-card {
  background-color: var(--bg-white);
  border-radius: var(--rounded-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.rating {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.depoimento-conteudo p {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.depoimento-conteudo p::before,
.depoimento-conteudo p::after {
  content: '"';
  font-size: 2rem;
  color: var(--border-color);
  line-height: 0;
  position: absolute;
}

.depoimento-conteudo p::before {
  top: 0;
  left: -15px;
}

.depoimento-conteudo p::after {
  bottom: -20px;
  right: -15px;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.depoimento-autor img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.depoimento-autor h4 {
  margin-bottom: 0.25rem;
}

.depoimento-autor span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* SOBRE NÓS */
.sobre-nos .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  align-items: center;
}

.sobre-imagem {
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sobre-imagem img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.sobre-imagem:hover img {
  transform: scale(1.05);
}

.sobre-conteudo h2 {
  margin-bottom: 1.5rem;
}

.sobre-conteudo h2 span {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sobre-conteudo p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.destaques-sobre {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.destaque-item {
  text-align: center;
}

.destaque-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.destaque-item p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* VALORES */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.valor-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--rounded-lg);
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.valor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.valor-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--rounded-full);
  background-color: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.valor-card:hover .valor-icon {
  background-color: var(--primary-color);
  color: white;
  transform: rotateY(180deg);
}

.valor-card h3 {
  margin-bottom: 1rem;
}

.valor-card p {
  color: var(--text-light);
}

/* EQUIPE */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.membro-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--rounded-lg);
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.membro-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.membro-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--bg-light);
}

.membro-card h3 {
  margin-bottom: 0.5rem;
}

.membro-card span {
  display: block;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.membro-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.membro-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.membro-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* CTA SECTION */
.cta {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 1rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .navbar.active {
    transform: translateY(0);
    opacity: 1;
  }

  .navbar ul {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-mobile {
    display: block;
  }

  section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .contato-content {
    grid-template-columns: 1fr;
  }

  .servico-detalhe {
    grid-template-columns: 1fr;
  }

  .sobre-nos .container {
    grid-template-columns: 1fr;
  }
}

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .servicos-grid, .projetos-grid {
    grid-template-columns: 1fr;
  }

  .destaque-card {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    justify-content: flex-start;
  }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}