/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SMOOTH SCROLLING */
html {
  scroll-behavior: smooth;
}

/* BODY */
body {
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, #4F695B 0%, #7f9e8e 100%);
  min-height: 100vh;
  color: #2f4f4f;
  overflow-x: hidden;
}



/* HEADER + NAVBAR */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  padding: 10px 40px;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

header.scrolled {
  background: transparent;
  
}

.logo img {
  height: 95px;
  width: auto;
  transition: all 0.3s ease;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
  margin-top: 8px;
}

nav a {
  text-decoration: none;
  color: #EDE8DA;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #EDE8DA;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  opacity: 0.8;
}

/* CONTEÚDO PRINCIPAL */
.content {
  width: 90%;
  max-width: 1200px;
  margin: 160px auto 40px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 10;
}

/* CAIXAS PRINCIPAIS */
.text-box,
.image-box {
  background: rgba(237, 232, 218, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  padding: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: slideInUp 0.8s ease-out;
}

.text-box::before,
.image-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 105, 91, 0.1), transparent);
  transition: left 0.8s ease;
}

.text-box:hover::before,
.image-box:hover::before {
  left: 100%;
}

.text-box:hover,
.image-box:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* CAIXA DE TEXTO */
.text-box {
  flex: 1 1 500px;
  animation-delay: 0.2s;
}

.text-box h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 42px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #4F695B, #2a3a2f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 5px rgba(79, 105, 91, 0.3)); }
  100% { filter: drop-shadow(0 0 15px rgba(79, 105, 91, 0.6)); }
}

.text-box p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #2f4f4f;
  opacity: 0;
  animation: fadeInText 0.8s ease-out forwards;
  position: relative;
}

.text-box p:nth-of-type(1) { animation-delay: 0.4s; }
.text-box p:nth-of-type(2) { animation-delay: 0.6s; }
.text-box p:nth-of-type(3) { animation-delay: 0.8s; }
.text-box p:nth-of-type(4) { animation-delay: 1.0s; }

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CAIXA DE IMAGEM */
.image-box {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation-delay: 0.4s;
  position: relative;
}

.image-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(79, 105, 91, 0.1), transparent);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.image-box img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.image-box:hover img {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

/* TEAM MEMBERS SECTION */
.team-section {
  width: 100%;
  margin-top: 60px;
  text-align: center;
}

.team-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 36px;
  color: #EDE8DA;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.8s ease-out;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background: rgba(237, 232, 218, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s ease;
  animation: slideInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 105, 91, 0.1), rgba(127, 158, 142, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover::before {
  opacity: 1;
}

.team-member:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F695B, #7f9e8e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 32px;
  font-weight: bold;
  color: white;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.team-member:hover .member-avatar {
  transform: rotate(360deg) scale(1.1);
}

.member-name {
  font-size: 18px;
  font-weight: 600;
  color: #4F695B;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}

.member-role {
  font-size: 14px;
  color: #7f9e8e;
  position: relative;
  z-index: 2;
}

/* STATS SECTION */
.stats-section {
  width: 100%;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  background: rgba(237, 232, 218, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  animation: slideInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.stat-card:nth-child(1) { animation-delay: 0.2s; }
.stat-card:nth-child(2) { animation-delay: 0.4s; }
.stat-card:nth-child(3) { animation-delay: 0.6s; }

.stat-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(79, 105, 91, 0.1), transparent);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.stat-card:hover::before {
  width: 200%;
  height: 200%;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: #4F695B;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.stat-label {
  font-size: 16px;
  color: #7f9e8e;
  position: relative;
  z-index: 2;
}

/* ANIMATIONS */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* SCROLL ANIMATIONS */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  header { padding: 10px 20px; }
  nav { gap: 20px; }
  .content { 
    margin-top: 140px; 
    gap: 30px; 
    flex-direction: column;
  }
  .image-box { 
    flex: 1 1 280px; 
    margin: 0 auto; 
  }
  .text-box h1 {
    font-size: 32px;
  }
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  .stats-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .content {
    width: 95%;
    margin-top: 120px;
  }
  .text-box,
  .image-box {
    padding: 30px 20px;
  }
  .text-box h1 {
    font-size: 28px;
  }
  .text-box p {
    font-size: 16px;
  }
  nav {
    gap: 15px;
  }
  nav a {
    font-size: 14px;
    padding: 6px 12px;
  }
}

